/* NashVec — Official Website Styles */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2234;
  --bg-card-hover: #1f2a40;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(52, 211, 153, 0.3);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #34d399;
  --accent-dim: #10b981;
  --accent-glow: rgba(52, 211, 153, 0.15);
  --purple: #818cf8;
  --gradient-hero: linear-gradient(135deg, #34d399 0%, #22d3ee 50%, #818cf8 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(52, 211, 153, 0.08) 0%, transparent 60%);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(52, 211, 153, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #6ee7b7;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-hero);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent);
  color: #0a0e17 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #6ee7b7;
  color: #0a0e17 !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ── */

.hero {
  padding: 140px 0 80px;
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #0a0e17;
}

.btn-primary:hover {
  background: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Mock UI Screenshots ── */

.mock-ui {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.mock-ui-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #eab308; }
.mock-dot.green { background: #22c55e; }

.mock-ui-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex: 1;
}

.mock-ui-body {
  padding: 20px;
  min-height: 320px;
}

/* Hero product carousel */
.mock-ui-carousel .mock-ui-header {
  justify-content: flex-start;
}

.mock-carousel-controls {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.mock-carousel-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.mock-carousel-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.mock-carousel-viewport {
  overflow: hidden;
  height: 320px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.mock-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.mock-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mock-carousel-track.no-transition {
  transition: none;
}

.mock-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.mock-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.mock-carousel-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.35;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.mock-carousel-dot:hover {
  opacity: 0.65;
}

.mock-carousel-dot.active {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.15);
}

.mock-agent-layout {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  height: 100%;
}

.mock-sidebar-compact {
  padding: 10px;
}

.mock-sidebar-compact .mock-sidebar-item {
  font-size: 0.62rem;
  padding: 6px 8px;
}

.mock-chat-compact {
  padding: 0;
  min-height: 0;
  height: 280px;
  overflow: hidden;
}

.mock-msg.agent.typing {
  color: var(--accent);
  font-style: italic;
}

.mock-slide-suites {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-suites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-suites-badge {
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
}

.mock-suite-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mock-suite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px 14px;
}

.mock-suite-info strong {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.mock-suite-info span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mock-suite-stat {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.mock-suite-stat.pass {
  color: var(--accent);
  background: var(--accent-glow);
}

.mock-suite-stat.run {
  color: #eab308;
  background: rgba(234, 179, 8, 0.12);
}

.mock-suite-stat.warn {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
}

.mock-slide-reports {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-report-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 14px;
}

.mock-report-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-report-value {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 6px 0 2px;
}

.mock-report-value.green { color: var(--accent); }
.mock-report-value.purple { color: var(--purple); }

.mock-report-delta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-report-bars {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mock-report-bar-row {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.mock-report-bar-track {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.mock-report-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 4px;
}

.mock-report-bar-fill.purple {
  background: linear-gradient(90deg, #6366f1, var(--purple));
}

.mock-cicd-compact {
  padding: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-cicd-compact .mock-log {
  font-size: 0.72rem;
}

/* Dashboard mock */
.mock-dashboard {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  min-height: 300px;
}

.mock-sidebar {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px;
}

.mock-sidebar-item {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mock-sidebar-item.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.mock-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-metric {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px;
}

.mock-metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 4px;
}

.mock-metric-value.green { color: var(--accent); }
.mock-metric-value.purple { color: var(--purple); }

.mock-chart {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 16px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 120px;
}

.mock-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(52, 211, 153, 0.2) 100%);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
}

.mock-test-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-test-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.mock-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-status.pass { background: #22c55e; }
.mock-status.fail { background: #ef4444; }
.mock-status.run { background: #eab308; animation: pulse 1s infinite; }

.mock-test-name {
  flex: 1;
  color: var(--text-secondary);
}

.mock-test-time {
  color: var(--text-muted);
  font-size: 0.65rem;
}

/* Floating card */
.mock-float {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.mock-float-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mock-float-text {
  font-size: 0.8rem;
}

.mock-float-text strong {
  display: block;
  color: var(--accent);
}

.mock-float-text span {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* ── Section shared ── */

section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ── Features ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Screenshots showcase ── */

.screenshots {
  background: var(--bg-secondary);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.screenshot-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.screenshot-caption {
  padding: 20px 24px;
}

.screenshot-caption h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.screenshot-caption p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Agent chat mock */
.mock-chat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
}

.mock-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
}

.mock-msg.user {
  align-self: flex-end;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
}

.mock-msg.agent {
  align-self: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.mock-msg.agent code {
  display: block;
  margin-top: 8px;
  padding: 8px;
  background: var(--bg-primary);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
}

/* CI/CD mock */
.mock-cicd {
  padding: 16px;
  min-height: 260px;
}

.mock-pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.mock-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.mock-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 14px;
}

.mock-step-circle.done {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.mock-step-circle.active {
  border-color: var(--purple);
  background: rgba(129, 140, 248, 0.15);
  animation: pulse 1.5s infinite;
}

.mock-step-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mock-step::after {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 2px;
  background: var(--border);
}

.mock-step:last-child::after {
  display: none;
}

.mock-step.done::after {
  background: var(--accent);
}

.mock-log {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.mock-log .success { color: var(--accent); }
.mock-log .info { color: var(--purple); }

/* ── How it works ── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 auto 16px;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── Pricing ── */

.pricing {
  background: var(--gradient-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.06) 0%, var(--bg-card) 40%);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0e17;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-card.featured .btn-primary {
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.25);
}

/* ── CTA ── */

.cta {
  text-align: center;
  padding: 80px 0;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ── Footer ── */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.65;
}

.footer-domain {
  margin-top: 8px !important;
  font-size: 0.85rem !important;
}

.footer-domain a {
  color: var(--text-muted);
}

.footer-domain a:hover {
  color: var(--accent);
}

.footer-entity {
  font-size: 0.88rem !important;
  font-weight: 600;
  color: var(--text-secondary) !important;
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ── Legal pages ── */

.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-secondary);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Upgrade Notify Modal ── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notify-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.notify-modal.open {
  opacity: 1;
  visibility: visible;
}

.notify-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.notify-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.notify-modal.open .notify-modal-dialog {
  transform: translateY(0) scale(1);
}

.notify-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.notify-modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.notify-modal-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.notify-modal-dialog h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.notify-modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notify-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.notify-form input[type="email"]:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.notify-form .btn {
  width: 100%;
  justify-content: center;
}

.notify-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.notify-success {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
}

.notify-success strong {
  color: var(--accent);
}

/* ── Content pages (About, Contact) ── */

.content-page {
  padding: 96px 0 48px;
}

.content-page .section-label {
  margin-bottom: 8px;
}

.content-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 8px 0 12px;
}

.content-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 28px;
}

.content-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.content-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
  max-width: 760px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.audience-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
  max-width: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.contact-email {
  font-size: 1.05rem !important;
  font-weight: 600;
  margin-bottom: 8px !important;
}

.contact-meta {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Auth pages (Login, Sign Up) ── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.label-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder {
  color: var(--text-muted);
}

.form-field input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.btn-full:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-alert {
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.form-alert-error strong {
  display: block;
  color: #fecaca;
  margin-bottom: 4px;
}

.form-alert-error a {
  color: #fca5a5;
  text-decoration: underline;
}

.auth-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
}

.auth-footer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 20px;
}

.auth-entity {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 16px;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-stats {
    gap: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .mock-float {
    display: none;
  }

  .mock-dashboard {
    grid-template-columns: 1fr;
  }

  .mock-agent-layout {
    grid-template-columns: 1fr;
  }

  .mock-sidebar-compact {
    display: none;
  }

  .mock-report-bar-row {
    grid-template-columns: 56px 1fr 32px;
    gap: 6px;
  }

  .mock-metrics {
    grid-template-columns: 1fr 1fr;
  }
}
