/* ============================================================
   TextAuthentic Design System — "Academic Clarity"
   Light Mode · Students & Educators · Modern SaaS
   ============================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;600&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
  /* Backgrounds */
  --bg-base:         #FFFFFF;
  --bg-surface:      #F8FAFF;
  --bg-card:         #FFFFFF;
  --bg-accent-zone:  #EEF2FF;
  --bg-dark-cta:     #1E1B4B;

  /* Accent — Indigo académique */
  --accent-primary:  #4F46E5;
  --accent-hover:    #4338CA;
  --accent-light:    #E0E7FF;
  --accent-glow:     rgba(79, 70, 229, 0.12);
  --accent-violet:   #7C3AED;
  --accent-cyan:     #06B6D4;

  /* Gradients */
  --gradient-hero:   linear-gradient(135deg, #4F46E5 0%, #7C3AED 60%, #06B6D4 100%);
  --gradient-cta:    linear-gradient(90deg, #4F46E5, #7C3AED);
  --gradient-card-ai:  linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  --gradient-card-plag: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  --gradient-card-hum: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);

  /* Text */
  --text-primary:    #111827;
  --text-secondary:  #374151;
  --text-muted:      #6B7280;
  --text-light:      #9CA3AF;
  --text-on-accent:  #FFFFFF;

  /* Semantic */
  --success:         #059669;
  --success-light:   #D1FAE5;
  --danger:          #DC2626;
  --danger-light:    #FEE2E2;
  --warning:         #D97706;
  --warning-light:   #FEF3C7;
  --info:            #0284C7;
  --info-light:      #E0F2FE;

  /* Borders */
  --border:          #E5E7EB;
  --border-strong:   #D1D5DB;
  --border-focus:    rgba(79, 70, 229, 0.5);
  --border-accent:   rgba(79, 70, 229, 0.25);

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg:  0 20px 40px rgba(79, 70, 229, 0.10), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-xl:  0 32px 64px rgba(79, 70, 229, 0.15), 0 16px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(79, 70, 229, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Layout */
  --container-max:   1200px;
  --container-narrow: 860px;
  --section-gap:     96px;
  --section-gap-sm:  64px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-base);
}

img, video { max-width: 100%; display: block; }
a { color: var(--accent-primary); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

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

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

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ─── Section ─── */
.section { padding: var(--section-gap) 0; }
.section-sm { padding: var(--section-gap-sm) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ─── Grid ─── */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Flex Utilities ─── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { height: 38px; padding: 0 18px; font-size: 0.875rem; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 1.0625rem; }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  border: 1.5px solid var(--border-accent);
}
.btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--accent-primary);
}

.btn-white {
  background: #fff;
  color: var(--accent-primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* ─── Badge / Pill ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary  { background: var(--accent-light); color: var(--accent-primary); }
.badge-success  { background: var(--success-light); color: var(--success); }
.badge-warning  { background: var(--warning-light); color: var(--warning); }
.badge-danger   { background: var(--danger-light);  color: var(--danger); }
.badge-neutral  { background: #F3F4F6; color: var(--text-muted); }

/* ─── Card ─── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.navbar-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.navbar-logo span { color: var(--accent-primary); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.navbar-nav a {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.navbar-nav a:hover {
  background: var(--bg-surface);
  color: var(--accent-primary);
}
.navbar-nav a.active {
  background: var(--accent-light);
  color: var(--accent-primary);
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: var(--bg-base);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blob-float 8s ease-in-out infinite;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #C7D2FE, #A5B4FC);
  top: -200px; left: -100px;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #DDD6FE, #C4B5FD);
  top: -100px; right: -150px;
  animation-delay: -3s;
}
.hero-blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #BAE6FD, #7DD3FC);
  bottom: -150px; right: 100px;
  animation-delay: -5s;
  opacity: 0.2;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(20px, -30px) scale(1.05); }
  66%  { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: fade-up 0.6s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fade-up 0.6s ease 0.1s both;
}
.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
  animation: fade-up 0.6s ease 0.2s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fade-up 0.6s ease 0.3s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Trust Bar ─── */
.trust-bar {
  background: var(--bg-accent-zone);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 28px;
  border-right: 1px solid var(--border-accent);
}
.trust-stat:last-child { border-right: none; }
.trust-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-primary);
  font-family: 'JetBrains Mono', monospace;
}
.trust-stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }

/* ─── Feature Cards (Bento) ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.bento-card-ai     { border-top: 3px solid var(--accent-primary); }
.bento-card-plag   { border-top: 3px solid var(--warning); }
.bento-card-hum    { border-top: 3px solid var(--success); }

.bento-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 20px;
}
.bento-icon-ai   { background: var(--accent-light); color: var(--accent-primary); }
.bento-icon-plag { background: var(--warning-light); color: var(--warning); }
.bento-icon-hum  { background: var(--success-light); color: var(--success); }

.bento-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.bento-card p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.bento-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.bento-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.bento-feature-item i { font-size: 0.75rem; color: var(--success); flex-shrink: 0; }

/* ─── How It Works ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.6% + 16px);
  right: calc(16.6% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent-primary), var(--accent-light));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
  font-family: 'JetBrains Mono', monospace;
}
.step-card h3 { font-size: 1.125rem; margin-bottom: 10px; }
.step-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* ─── Stats Strip ─── */
.stats-strip {
  background: var(--bg-dark-cta);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,0.4) 0%, rgba(124,58,237,0.3) 50%, rgba(6,182,212,0.2) 100%);
}
.stats-strip .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ─── Tool Widget ─── */
.tool-widget {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.tool-widget-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 8px 12px 0;
  gap: 4px;
}
.tool-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  margin-bottom: -1px;
}
.tool-tab:hover { color: var(--accent-primary); background: rgba(79,70,229,0.05); }
.tool-tab.active {
  color: var(--accent-primary);
  background: var(--bg-card);
  border-color: var(--border);
  border-bottom-color: var(--bg-card);
}
.tool-widget-body { padding: 28px; }
.tool-textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.65;
  resize: vertical;
  transition: border-color var(--transition-fast);
  outline: none;
  background: var(--bg-surface);
}
.tool-textarea:focus { border-color: var(--border-focus); background: #fff; }
.tool-textarea::placeholder { color: var(--text-light); }
.tool-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}
.char-count { font-size: 0.8125rem; color: var(--text-light); font-family: 'JetBrains Mono', monospace; }
.tool-actions-mini { display: flex; gap: 8px; }
.btn-mini {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  transition: all var(--transition-fast);
}
.btn-mini:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: var(--accent-light); }

/* ─── Testimonials ─── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars i { color: #F59E0B; font-size: 0.875rem; }
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Pricing Cards ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all var(--transition-base);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card-popular {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.08), var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card-popular:hover { transform: scale(1.02) translateY(-4px); }
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.03em;
}
.price-period { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pricing-feature i { font-size: 0.875rem; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-feature.disabled { opacity: 0.45; }
.pricing-feature.disabled i { color: var(--text-light); }

/* ─── FAQ Accordion ─── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color var(--transition-fast);
}
.faq-item:hover { border-color: var(--border-accent); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: all var(--transition-fast);
  gap: 16px;
}
.faq-question:hover { color: var(--accent-primary); }
.faq-question i { font-size: 0.75rem; color: var(--text-muted); transition: transform var(--transition-base); flex-shrink: 0; }
.faq-item.open .faq-question { color: var(--accent-primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--accent-primary); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  background: var(--bg-card);
}
.faq-item.open .faq-answer { display: block; }

/* ─── Form ─── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
  outline: none;
}
.form-textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }

/* ─── Footer ─── */
.footer {
  background: #F9FAFB;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); margin: 12px 0 24px; line-height: 1.6; }
.footer-title { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--accent-primary); }
.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.footer-newsletter-form .form-input {
  flex: 1;
  height: 42px;
  font-size: 0.875rem;
}
.footer-newsletter-form .btn { height: 42px; padding: 0 18px; font-size: 0.875rem; border-radius: var(--radius-md); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.875rem; color: var(--text-light); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.875rem; color: var(--text-light); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--accent-primary); }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--bg-dark-cta);
  padding: var(--section-gap) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,70,229,0.5) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 16px; }
.cta-subtitle { color: rgba(255,255,255,0.7); font-size: 1.0625rem; max-width: 480px; margin: 0 auto 36px; }

/* ─── Hero Result Mockup ─── */
.hero-mockup {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  animation: fade-up 0.8s ease 0.4s both;
}
.mockup-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.mockup-header {
  background: var(--bg-surface);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot-r { background: #FC5F5A; }
.mockup-dot-y { background: #FDBD2E; }
.mockup-dot-g { background: #25CA40; }
.mockup-title-bar {
  flex: 1;
  background: var(--border);
  height: 24px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.mockup-body { padding: 24px; }
.mockup-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}
.mockup-score-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 4px solid var(--danger);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mockup-score-pct {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--danger);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}
.mockup-score-sub { font-size: 0.55rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.mockup-breakdown { flex: 1; }
.mockup-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.mockup-progress {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 8px;
}
.mockup-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease;
}
.fill-ai     { background: var(--danger); }
.fill-mixed  { background: var(--warning); }
.fill-human  { background: var(--success); }

.mockup-sentences { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.mockup-sentence {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.5;
  border-left: 3px solid;
}
.sentence-high   { background: #FEF2F2; border-color: var(--danger); color: #7F1D1D; }
.sentence-medium { background: #FFFBEB; border-color: var(--warning); color: #78350F; }
.sentence-low    { background: #ECFDF5; border-color: var(--success); color: #064E3B; }

/* ─── Scroll Animations ─── */
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ─── Auth Pages ─── */
.auth-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-brand {
  background: var(--gradient-cta);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
}
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.auth-brand-logo-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}
.auth-brand-logo span { font-size: 1.375rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.auth-brand-content { position: relative; z-index: 1; }
.auth-brand-title { color: #fff; font-size: 2.25rem; margin-bottom: 16px; }
.auth-brand-sub { color: rgba(255,255,255,0.8); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 40px; }
.auth-benefits { display: flex; flex-direction: column; gap: 14px; }
.auth-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-weight: 500;
}
.auth-benefit-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}

.auth-form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: var(--bg-base);
}
.auth-form-header { margin-bottom: 36px; }
.auth-form-title { font-size: 1.75rem; margin-bottom: 8px; }
.auth-form-sub { font-size: 0.9375rem; color: var(--text-muted); }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 500;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.auth-footer-link a { font-weight: 600; color: var(--accent-primary); }

.btn-google {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.btn-google:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ─── Blog ─── */
.blog-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-accent-zone);
  border-bottom: 1px solid var(--border);
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-accent-zone), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 2.5rem;
}
.blog-card-body { padding: 24px; }
.blog-card-tag { margin-bottom: 12px; }
.blog-card h3 { font-size: 1.0625rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--accent-primary); }
.blog-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ─── Mobile Menu ─── */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; --section-gap-sm: 40px; }

  .bento-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { flex-direction: column; gap: 12px; }
  .trust-stat { border-right: none; border-bottom: 1px solid var(--border-accent); padding: 12px 0; width: 100%; justify-content: center; }
  .trust-stat:last-child { border-bottom: none; }

  .navbar-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .navbar-actions .btn-secondary { display: none; }

  .hero { padding: 72px 0 48px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .pricing-card-popular { transform: none; }

  .auth-form-side { padding: 32px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding-left: 16px; padding-right: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
}
