/* ═══════════════════════════════════════════════
   TERMINAL CHAT — Landing Page
   Professional SaaS — clean, confident, modern
   ═══════════════════════════════════════════════ */

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

:root {
  /* Dark mode — Emerald + Graphite (matches ai-chat-app) */
  --bg: #2f3035;
  --bg-soft: #353639;
  --bg-card: #43454a;
  --bg-elevated: #4c4e53;
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #ededf0;
  --text-secondary: #9d9daa;
  --text-muted: #6e6e7a;
  --accent: #34d399;
  --accent-hover: #2ec48d;
  --accent-muted: rgba(52, 211, 153, 0.10);
  --accent-glow: rgba(52, 211, 153, 0.06);
  --accent-glow-strong: rgba(52, 211, 153, 0.14);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.28);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  --transition: 250ms ease;
}

[data-theme="light"] {
  /* Light mode — Emerald + Lightest (matches ai-chat-app) */
  --bg: #fafafa;
  --bg-soft: #f5f5f5;
  --bg-card: #ffffff;
  --bg-elevated: #f0f0f0;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.14);
  --text: #1a1a1a;
  --text-secondary: #65656f;
  --text-muted: #9e9ea8;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-muted: rgba(5, 150, 105, 0.07);
  --accent-glow: rgba(5, 150, 105, 0.04);
  --accent-glow-strong: rgba(5, 150, 105, 0.10);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Dot Grid ───────────────────────────────── */
.dot-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(
    circle,
    var(--text-muted) 0.4px,
    transparent 0.4px
  );
  background-size: 48px 48px;
  opacity: 0.025;
}

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

.accent {
  color: var(--accent);
}

em {
  font-style: italic;
  color: var(--accent);
}

/* ── Animations ─────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* glow-breathe kept for CTA section */
@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.04);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

[data-theme="dark"] .icon-moon {
  display: none;
}
[data-theme="light"] .icon-sun {
  display: none;
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 550;
  text-decoration: none;
  transition: all var(--transition);
}

[data-theme="dark"] .btn-nav {
  color: #0a0a0b;
}

.btn-nav:hover {
  filter: brightness(1.08);
}

/* Mobile */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 14px;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
}

.mobile-menu.open {
  display: flex;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

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

[data-theme="dark"] .btn-primary {
  color: #0a0a0b;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 32px var(--accent-glow-strong);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   HERO — Codex-style atmospheric
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0 0;
  overflow: hidden;
}

/* ── Atmospheric background ─────────────────── */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform;
}

.hero-orb--1 {
  width: 700px;
  height: 700px;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #4f46e5 0%, #7c3aed 40%, transparent 70%);
  animation: orb-drift-1 18s ease-in-out infinite;
}

.hero-orb--2 {
  width: 500px;
  height: 500px;
  top: -5%;
  right: -8%;
  background: radial-gradient(circle, #6366f1 0%, #a78bfa 50%, transparent 70%);
  animation: orb-drift-2 22s ease-in-out infinite;
  opacity: 0.22;
}

.hero-orb--3 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -5%;
  background: radial-gradient(circle, #818cf8 0%, #c4b5fd 50%, transparent 70%);
  animation: orb-drift-3 20s ease-in-out infinite;
  opacity: 0.18;
}

[data-theme="light"] .hero-orb--1 {
  background: radial-gradient(circle, #a5b4fc 0%, #c7d2fe 40%, transparent 70%);
  opacity: 0.5;
}
[data-theme="light"] .hero-orb--2 {
  background: radial-gradient(circle, #93c5fd 0%, #bfdbfe 50%, transparent 70%);
  opacity: 0.35;
}
[data-theme="light"] .hero-orb--3 {
  background: radial-gradient(circle, #a5b4fc 0%, #e0e7ff 50%, transparent 70%);
  opacity: 0.3;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(20px) scale(1.04); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(-20px); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(15px) translateX(15px); }
}

/* ── Hero content ───────────────────────────── */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: color-mix(in srgb, var(--bg-card) 60%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--accent);
  animation: fadeInUp 0.6s ease both;
}

[data-theme="light"] .hero-icon-wrap {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 400;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ── Screenshot showcase ────────────────────── */
.hero-screenshot {
  position: relative;
  z-index: 1;
  margin-top: 52px;
  animation: fadeInUp 0.8s ease 0.45s both;
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
}

.hero-screenshot-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 32px 100px -16px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 140px -20px rgba(99, 102, 241, 0.18);
}

[data-theme="light"] .hero-screenshot-inner {
  box-shadow:
    0 32px 100px -16px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 0 140px -20px rgba(99, 102, 241, 0.1);
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Theme-based image swap */
.hero-img--light { display: none; }
.hero-img--dark  { display: block; }

[data-theme="light"] .hero-img--light { display: block; }
[data-theme="light"] .hero-img--dark  { display: none; }

.hero-screenshot-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section-desc {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   PROBLEM
   ═══════════════════════════════════════════════ */
.problem {
  background: var(--bg-soft);
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s ease;
}

.problem-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  margin-bottom: 20px;
}

[data-theme="light"] .problem-icon {
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 620;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* ═══════════════════════════════════════════════
   SOLUTION
   ═══════════════════════════════════════════════ */
.solution-features {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sol-feature {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}

.sol-feature:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.sol-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-muted);
  color: var(--accent);
}

.sol-feature h3 {
  font-size: 1rem;
  font-weight: 620;
  margin-bottom: 6px;
}

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

/* ═══════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════ */
.features {
  background: var(--bg-soft);
}

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

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

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-muted);
  color: var(--accent);
  margin-bottom: 20px;
}

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

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

/* ═══════════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════════ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s ease;
}

.case-group:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.case-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 20px;
  color: var(--accent);
}

.case-group h3 svg {
  flex-shrink: 0;
}

.case-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-group li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}

.case-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-it-works {
  background: var(--bg-soft);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  width: 48px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 38px;
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--text-muted);
  border-top: 1px solid var(--text-muted);
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════════════
   SECURITY
   ═══════════════════════════════════════════════ */
.security-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
}

.security-content {
  flex: 1;
}

.security-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.security-content > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.security-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.sec-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.sec-point svg {
  color: var(--accent);
  flex-shrink: 0;
}

.security-visual {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.15;
}

/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.pricing {
  background: var(--bg-soft);
}

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

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

.price-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 8px 40px var(--accent-glow-strong);
}

.price-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0b;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

[data-theme="light"] .price-popular {
  color: #fff;
}

.price-tier {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.price-unit {
  font-size: 0.85rem;
  font-weight: 450;
  color: var(--text-muted);
  letter-spacing: 0;
}

.price-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: var(--border-hover);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 580;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════ */
.final-cta {
  padding: 60px 0 120px;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--accent-glow-strong) 0%,
    transparent 60%
  );
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
  line-height: 1.25;
}

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

.cta-box .btn {
  position: relative;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 36px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 64px;
}

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

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  width: 100%;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-right {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 0;
  }

  .hero-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 18px;
  }

  .hero-icon-wrap svg {
    width: 30px;
    height: 30px;
  }

  .hero-screenshot {
    margin-top: 36px;
  }

  .hero-screenshot-inner {
    border-radius: 12px;
  }

  .hero-orb--1 { width: 400px; height: 400px; }
  .hero-orb--2 { width: 280px; height: 280px; }
  .hero-orb--3 { width: 220px; height: 220px; }

  .problem-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .step-connector {
    width: 1px;
    height: 32px;
    margin-top: 0;
  }

  .step-connector::after {
    right: -3px;
    top: auto;
    bottom: -3px;
    transform: rotate(135deg);
  }

  .security-box {
    flex-direction: column;
    padding: 40px 28px;
    text-align: center;
  }

  .security-points {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .security-visual {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    gap: 40px;
  }

  .cta-box {
    padding: 52px 24px;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
  .hero-orb--1 { width: 300px; height: 300px; }
  .hero-orb--2 { width: 200px; height: 200px; }
  .hero-orb--3 { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}
