/* ==========================================================================
   InterviewPro AI - Core Design System & Global Styles
   Premium SaaS Palette: Deep Navy, Royal Blue, Soft Purple Gradients, Crisp Light/Dark Mode
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #070B19;
  --bg-secondary: #0D152D;
  --bg-tertiary: #141E3C;
  --bg-card: rgba(16, 26, 52, 0.75);
  --bg-card-hover: rgba(23, 37, 72, 0.9);
  --bg-glass: rgba(13, 21, 45, 0.65);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(59, 130, 246, 0.4);
  --border-color-glow: rgba(99, 102, 241, 0.45);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #070B19;

  /* Accent Colors */
  --brand-blue: #2563EB;
  --brand-blue-light: #3B82F6;
  --brand-blue-glow: rgba(37, 99, 235, 0.35);

  --brand-purple: #7C3AED;
  --brand-purple-light: #8B5CF6;
  --brand-purple-glow: rgba(124, 58, 237, 0.35);

  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-hero: linear-gradient(180deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
  --gradient-glow: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.18) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #93C5FD 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
  --shadow-glow-purple: 0 0 35px rgba(124, 58, 237, 0.25);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EEF2F6;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(37, 99, 235, 0.3);
  --border-color-glow: rgba(99, 102, 241, 0.3);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --gradient-hero: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.03) 50%, transparent 100%);
  --gradient-glow: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.12) 0%, rgba(124, 58, 237, 0.06) 40%, transparent 70%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  --gradient-text: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #2563EB 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: var(--gradient-glow);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-secondary);
}

a {
  color: var(--brand-blue-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #60A5FA;
}

ul, ol {
  list-style-position: inside;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.codex-brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  filter: drop-shadow(0 5px 12px rgba(37, 99, 235, 0.28));
}

.codex-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 145px;
}

.codex-company-name {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  color: #94A3B8;
  font-weight: 800;
  margin-bottom: 4px;
}

.codex-product-name {
  font-size: 1.08rem;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  font-weight: 750;
}

.codex-product-name b {
  color: #60A5FA;
  font-weight: 800;
}

.brand-tag {
  max-width: 116px;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #BFDBFE;
  font-size: 0.58rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: -0.2rem;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  cursor: pointer;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: #93C5FD;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

/* Hero Interactive Preview Mockup */
.hero-mockup-wrapper {
  margin-top: 3.5rem;
  position: relative;
}

.hero-mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: var(--gradient-brand);
  filter: blur(80px);
  opacity: 0.22;
  z-index: 0;
  border-radius: 50%;
}

.hero-mockup-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
}

.mockup-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Trusted By Section */
.trusted-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
}

.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  opacity: 0.7;
}

.company-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.company-logo-text:hover {
  opacity: 1;
  color: var(--text-primary);
}

/* Features Overview Section */
.features-section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue-light);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--brand-blue-light);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--brand-purple-light);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.feature-card:nth-child(4) .feature-icon-wrapper {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
}

.feature-card:nth-child(5) .feature-icon-wrapper {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

.feature-card:nth-child(6) .feature-icon-wrapper {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.25);
  color: var(--accent-rose);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue-light);
  cursor: pointer;
}

.feature-learn-more:hover {
  text-decoration: underline;
}

/* How It Works Section */
.how-it-works-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.step-card p {
  font-size: 0.92rem;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  color: #F59E0B;
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-blue-light);
}

.author-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hired-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-switch-container {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.3rem;
  border-radius: var(--radius-full);
}

.pricing-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing-toggle-btn.active {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.save-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.pricing-card.popular {
  border-color: var(--brand-purple-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, rgba(16, 26, 52, 0.8) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: 0.9rem;
  min-height: 40px;
}

.pricing-price {
  margin: 1.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.price-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.pricing-features li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* FAQ Accordion */
.faq-section {
  padding: 6rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--brand-blue-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* CTA Banner */
.cta-banner-section {
  padding: 4.5rem 0;
}

.cta-banner-card {
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(37, 99, 235, 0.4);
}

.cta-banner-card h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner-card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

.footer-col li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .navbar-inner {
    gap: 0.75rem;
  }
  .brand-tag {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-login {
    display: none;
  }
  .navbar-inner {
    gap: 0.5rem;
  }
  .codex-brand-mark {
    width: 34px;
    height: 34px;
  }
  .codex-brand-copy {
    min-width: 122px;
  }
  .codex-product-name {
    font-size: 0.95rem;
  }
  .nav-actions .btn-primary {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-section {
    padding: 3rem 0;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
}
