/* ============================================
   SEObolt.io - Dark SaaS Sales Page
   Design: linear.app / vercel.com inspired
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0F1117;
  --bg-card: #1A1D26;
  --bg-elevated: #252830;
  --bg-hover: #2E313B;
  --text-primary: #F5F5F7;
  --text-secondary: #A0A4AD;
  --text-muted: #6B7080;
  --gold: #C9A227;
  --gold-light: #D4B13D;
  --gold-dark: #A88620;
  --gold-glow: rgba(201, 162, 39, 0.15);
  --gold-subtle: rgba(201, 162, 39, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --green: #34D399;
  --blue: #60A5FA;
  --purple: #A78BFA;
  --red: #F87171;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 4px 24px rgba(201, 162, 39, 0.2);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gold { color: var(--gold); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: #000;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding: 14px 16px;
}

.btn-ghost:hover {
  color: var(--gold-light);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.nav-logo:hover { color: var(--text-primary); }

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo-text .gold { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

/* Features Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--transition);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 420px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.nav-dropdown-inner a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary) !important;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-dropdown-inner a:hover {
  background: var(--bg-hover);
  color: var(--text-primary) !important;
}

.nav-dropdown-inner a .dd-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Mobile menu feature sub-links */
.mobile-features-group {
  padding-left: 16px;
  border-left: 2px solid var(--border-light);
  margin-bottom: 8px;
}

.mobile-features-group a {
  font-size: 0.95rem !important;
  padding: 10px 0 !important;
  color: var(--text-secondary) !important;
}

.mobile-features-group a:hover {
  color: var(--gold) !important;
}

.mobile-features-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-features-toggle::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.mobile-features-toggle.open::after {
  content: '\2212';
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn-primary {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.nav-login {
  color: var(--text-secondary) !important;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-login:hover { color: var(--text-primary) !important; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--gold-subtle);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-screenshot {
  position: relative;
  margin-top: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.hero-screenshot img {
  width: 100%;
  display: block;
}

.hero-screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* --- Problem Section --- */
.problem {
  padding: 120px 0;
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem-content h2 {
  margin-bottom: 24px;
}

.problem-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- LLM Rankings (Hero Feature) --- */
.llm-feature {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-card) 50%, var(--bg-primary) 100%);
}

.llm-feature .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.llm-feature .section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 20px;
  line-height: 1.7;
}

.llm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  justify-items: center;
}
.llm-grid > :nth-child(4),
.llm-grid > :nth-child(5) {
  /* Center the bottom row of 2 under the top row of 3 */
}
@media (min-width: 769px) {
  .llm-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .llm-grid > * {
    grid-column: span 2;
  }
  .llm-grid > :nth-child(4) {
    grid-column: 2 / span 2;
  }
  .llm-grid > :nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.llm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.llm-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.llm-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.llm-card-icon.chatgpt { background: rgba(16, 163, 127, 0.12); color: #10A37F; }
.llm-card-icon.claude { background: rgba(167, 139, 250, 0.12); color: #A78BFA; }
.llm-card-icon.perplexity { background: rgba(96, 165, 250, 0.12); color: #60A5FA; }

.llm-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.llm-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.llm-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.llm-screenshot img {
  width: 100%;
  display: block;
}

.llm-screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/8;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.llm-byok {
  text-align: center;
  margin-top: 32px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.llm-byok p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.llm-byok strong { color: var(--text-primary); }

/* --- SEO Topbar & Slideout Feature --- */
.topbar-feature {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(201, 162, 39, 0.03) 50%, var(--bg-primary) 100%);
}

.topbar-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.topbar-feature-content .section-label {
  display: inline-block;
  margin-bottom: 16px;
}

.topbar-feature-content h2 {
  margin-bottom: 20px;
}

.topbar-feature-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.topbar-feature-desc em {
  color: var(--gold);
  font-style: italic;
}

.topbar-highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.topbar-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.topbar-highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.topbar-highlight h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.topbar-highlight p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.topbar-feature-visual {
  position: relative;
}

.topbar-feature-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow), 0 0 60px rgba(201, 162, 39, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.topbar-feature-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 80px rgba(201, 162, 39, 0.12);
}

.topbar-feature-screenshot img {
  width: 100%;
  display: block;
}

@media (max-width: 968px) {
  .topbar-feature-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .topbar-feature-content {
    text-align: center;
  }

  .topbar-highlights {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .topbar-feature {
    padding: 80px 0;
  }
}

/* --- Feature Grid --- */
.features {
  padding: 120px 0;
}

.features .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.features .section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
}

.feature-groups {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-group-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Comparison Section --- */
.comparison {
  padding: 120px 0;
  background: var(--bg-card);
}

.comparison .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.comparison .section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
}

.comparison-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-elevated);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.comparison-table th:last-child {
  color: var(--gold);
}

.comparison-table td {
  background: var(--bg-primary);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.check { color: var(--green); font-weight: 700; }
.cross { color: var(--text-muted); }
.gold-check { color: var(--gold); font-weight: 700; }

.comparison-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

/* --- Pricing Section --- */
.pricing {
  padding: 120px 0;
}

.pricing .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.pricing .section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-toggle span.active {
  color: var(--text-primary);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-switch.active {
  background: var(--gold);
  border-color: var(--gold);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch.active::after {
  transform: translateX(22px);
  background: #000;
}

.save-badge {
  font-size: 0.75rem;
  background: var(--gold-subtle);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-gold);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-annual-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-card.popular .btn-primary {
  background: var(--gold);
}

.pricing-plugin-note {
  text-align: center;
  max-width: 600px;
  margin: 48px auto 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pricing-plugin-note p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-plugin-note a { font-weight: 600; }

/* --- FAQ --- */
.faq {
  padding: 80px 0 120px;
}

.faq-grid {
  max-width: 700px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Integrations --- */
.integrations {
  padding: 100px 0;
  background: var(--bg-card);
}

.integrations .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.integrations .section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 16px;
}

.integration-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.integration-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.integration-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition);
}

.integration-logo:hover .integration-logo-icon {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.security-badge svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

/* --- Final CTA --- */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
}

/* --- Footer --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-col ul li 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);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover { color: var(--text-secondary); }

.footer-legal {
  display: flex;
  gap: 24px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }

  .hero { padding: 120px 0 80px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem-stats { grid-template-columns: repeat(3, 1fr); }

  .llm-grid { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr 1fr; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .comparison-table th,
  .comparison-table td { padding: 12px 16px; font-size: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .integration-logos { gap: 32px; }
  .security-badges { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .problem-stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pricing-card { padding: 32px 24px; }
}

/* --- Animations (subtle) --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 24px;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 24px;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}
