/* ============================================
   GEO LLM — Global Styles
   Aesthetic: Neural Editorial — precision tech meets editorial clarity
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-dark: #070B14;
  --bg-dark-2: #0D1321;
  --bg-dark-3: #111827;
  --bg-light: #F5F7FF;
  --bg-white: #FFFFFF;
  --primary: #4F6AFF;
  --primary-dark: #3A4FCC;
  --primary-light: #7B8FFF;
  --accent: #00DDB3;
  --accent-dark: #00B894;
  --cta: #FF6B35;
  --cta-hover: #FF8555;
  --text-dark: #0A0F1C;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #E8ECF4;
  --text-white-muted: #8B9DC3;
  --border-dark: #1E293B;
  --border-light: #E2E8F0;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-light: rgba(79, 106, 255, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 60px rgba(79, 106, 255, 0.15);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.text-gradient-warm {
  background: linear-gradient(135deg, var(--cta) 0%, #FFD166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section--dark-2 {
  background: var(--bg-dark-2);
  color: var(--text-white);
}

.section--light {
  background: var(--bg-light);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section--dark .section__header p,
.section--dark-2 .section__header p {
  color: var(--text-white-muted);
}

.section__header p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.1rem;
}

/* --- Grid Helpers --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s var(--ease-out);
}

.nav--scrolled {
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
}

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

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-white-muted);
  transition: color 0.3s;
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-white);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  background: var(--cta);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
  z-index: 999;
}

.nav__mobile.active {
  display: flex;
}

.nav__mobile a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-white-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  color: white;
  background: var(--cta);
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.25);
}

.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.35);
}

.btn--secondary {
  color: var(--text-white);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn--dark {
  color: white;
  background: var(--bg-dark);
}

.btn--dark:hover {
  background: var(--bg-dark-2);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn svg,
.btn .btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.hero__mesh--1 {
  top: -200px;
  right: -200px;
  background: var(--primary);
  animation: mesh-float-1 14s ease-in-out infinite;
}

.hero__mesh--2 {
  bottom: -300px;
  left: -200px;
  background: var(--accent);
  opacity: 0.15;
  animation: mesh-float-2 18s ease-in-out infinite;
}

.hero__mesh--3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.08;
  animation: mesh-pulse 8s ease-in-out infinite;
}

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

@keyframes mesh-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.08); }
}

@keyframes mesh-pulse {
  0%, 100% { opacity: 0.08; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.14; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 106, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 106, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  animation: grid-fade 3s ease-out forwards;
}

@keyframes grid-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 221, 179, 0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(0, 221, 179, 0); }
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--text-white);
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-white-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  margin-top: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__dashboard {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-glow);
}

.hero__dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

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

.hero__dash-dot:nth-child(1) { background: #FF5F57; }
.hero__dash-dot:nth-child(2) { background: #FEBC2E; }
.hero__dash-dot:nth-child(3) { background: #28C840; }

.hero__dash-title {
  margin-left: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

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

.hero__dash-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.hero__dash-card-label {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero__dash-card-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
}

.hero__dash-card-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}

.hero__dash-card-change--up { color: var(--accent); }
.hero__dash-card-change--down { color: #FF5F57; }

.hero__dash-bar {
  margin-top: 16px;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.hero__dash-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.8s var(--ease-out);
}

.hero__dash-bar-fill--blue { background: var(--primary); }
.hero__dash-bar-fill--green { background: var(--accent); }
.hero__dash-bar-fill--orange { background: var(--cta); }

.hero__dash-bar-fill--blue.animated { width: 72%; }
.hero__dash-bar-fill--green.animated { width: 58%; }
.hero__dash-bar-fill--orange.animated { width: 45%; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card--dark {
  background: var(--glass);
  border-color: var(--glass-border);
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.card:hover .card__icon {
  transform: scale(1.1) translateY(-2px);
}

.card__icon--blue {
  background: rgba(79, 106, 255, 0.1);
  color: var(--primary);
}

.card__icon--green {
  background: rgba(0, 221, 179, 0.1);
  color: var(--accent);
}

.card__icon--orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--cta);
}

.card__icon--dark-blue {
  background: rgba(79, 106, 255, 0.15);
  color: var(--primary-light);
}

.card__icon--dark-green {
  background: rgba(0, 221, 179, 0.15);
  color: var(--accent);
}

.card__icon--dark-orange {
  background: rgba(255, 107, 53, 0.15);
  color: var(--cta);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card--dark p {
  color: var(--text-white-muted);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

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

.step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-size: 200% 200%;
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  animation: step-gradient 5s ease-in-out infinite;
}

.step:hover .step__number {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(79, 106, 255, 0.35);
}

@keyframes step-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.step h3 {
  margin-bottom: 12px;
}

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

.section--dark .step p {
  color: var(--text-white-muted);
}

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

.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

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

.pricing-card--featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(79,106,255,0.04) 0%, var(--bg-white) 100%);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.pricing-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card__price {
  margin-bottom: 32px;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-card__features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-body);
}

.pricing-card__feature svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.pricing-card__feature--disabled {
  color: var(--text-light);
}

.pricing-card__feature--disabled svg {
  color: var(--text-light);
}

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

/* ---- Pricing toggle ---- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.pricing-toggle__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.pricing-toggle__label--active {
  color: var(--text-dark);
}

.pricing-toggle__save {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 221, 179, 0.12);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.pricing-toggle__switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border-light);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.pricing-toggle__switch[aria-checked="true"] {
  background: var(--accent);
}

.pricing-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.3s var(--ease-out);
}

.pricing-toggle__switch[aria-checked="true"] .pricing-toggle__knob {
  transform: translateX(24px);
}

/* ---- Price animation ---- */
.pricing-card__price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.pricing-card__old {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: var(--cta);
  text-decoration-thickness: 2px;
}

.pricing-card__amount {
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.pricing-card__amount.price-updating {
  transform: translateY(-6px);
  opacity: 0;
}

.pricing-card__period-annual {
  font-size: 0.82rem;
  color: var(--accent-dark);
  font-weight: 500;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 106, 255, 0.2);
  box-shadow: 0 12px 40px rgba(79, 106, 255, 0.08);
}

.testimonial__stars {
  color: #FFD166;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 1rem;
  color: var(--text-white-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial__name {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.95rem;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   AUDIENCE / TARGET
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.audience-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out);
}

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

.audience-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.audience-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================
   FEATURE SECTIONS (Platform page)
   ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.feature-row:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.section--dark .feature-row:not(:last-child) {
  border-bottom-color: var(--border-dark);
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-row__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.feature-row__content h3 {
  font-size: 1.8rem;
}

.feature-row__content p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section--dark .feature-row__content p,
.section--dark-2 .feature-row__content p {
  color: var(--text-white-muted);
}

.feature-row__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.feature-row__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-row__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.feature-row__visual {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--dark .feature-row__visual,
.section--dark-2 .feature-row__visual {
  background: var(--glass);
  border-color: var(--glass-border);
}

/* Dashboard mockup styles */
.mock-dashboard {
  width: 100%;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.section--dark .mock-row,
.section--dark-2 .mock-row {
  border-bottom-color: var(--border-dark);
}

.mock-row:last-child { border: none; }

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

.mock-dot--green { background: var(--accent); }
.mock-dot--blue { background: var(--primary); }
.mock-dot--orange { background: var(--cta); }
.mock-dot--red { background: #FF5F57; }

.mock-label {
  flex: 1;
  color: var(--text-body);
}

.section--dark .mock-label,
.section--dark-2 .mock-label {
  color: var(--text-white-muted);
}

.mock-value {
  font-weight: 600;
  color: var(--text-dark);
}

.section--dark .mock-value,
.section--dark-2 .mock-value {
  color: var(--text-white);
}

.mock-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mock-badge--green {
  background: rgba(0, 221, 179, 0.15);
  color: var(--accent);
}

.mock-badge--orange {
  background: rgba(255, 107, 53, 0.15);
  color: var(--cta);
}

.mock-badge--red {
  background: rgba(255, 95, 87, 0.15);
  color: #FF5F57;
}

/* ============================================
   FORMS
   ============================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section--dark .form-group label {
  color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 106, 255, 0.1);
}

.section--dark .form-group input,
.section--dark .form-group select,
.section--dark .form-group textarea {
  background: var(--glass);
  border-color: var(--glass-border);
  color: var(--text-white);
}

.section--dark .form-group input:focus,
.section--dark .form-group select:focus,
.section--dark .form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.comparison-table thead th {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background: var(--bg-light);
  border-bottom: 2px solid var(--border-light);
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead th.featured {
  background: rgba(79, 106, 255, 0.08);
  color: var(--primary);
}

.comparison-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.92rem;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}

.comparison-table tbody td.featured {
  background: rgba(79, 106, 255, 0.03);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

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

.table-cross {
  color: var(--text-light);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(79, 106, 255, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(0, 221, 179, 0.1) 0%, transparent 50%);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-white-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-banner .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: var(--text-white-muted);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-dark);
}

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

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-white);
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer__col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 0.88rem;
  color: var(--text-white-muted);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--text-white);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  color: var(--text-light);
  transition: color 0.3s;
}

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

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--bg-dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__mesh {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}

.page-hero__mesh--1 {
  top: -200px;
  right: -100px;
  background: var(--primary);
  animation: mesh-float-1 14s ease-in-out infinite;
}

.page-hero__mesh--2 {
  bottom: -200px;
  left: -100px;
  background: var(--accent);
  opacity: 0.1;
  animation: mesh-float-2 18s ease-in-out infinite;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--text-white);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-white-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   EDUCATION / GEO EXPLAINED
   ============================================ */
.edu-block {
  padding: 60px 0;
}

.edu-block:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.section--dark .edu-block:not(:last-child) {
  border-bottom-color: var(--border-dark);
}

.edu-block h2 {
  margin-bottom: 20px;
}

.edu-block p {
  margin-bottom: 16px;
  max-width: 700px;
}

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

.edu-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.edu-comparison-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.edu-comparison-card--seo {
  background: var(--bg-light);
}

.edu-comparison-card--geo {
  background: linear-gradient(135deg, rgba(79,106,255,0.06), rgba(0,221,179,0.06));
  border-color: rgba(79, 106, 255, 0.2);
}

.edu-comparison-card h4 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.edu-comparison-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edu-comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.edu-comparison-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.edu-comparison-card--seo li::before {
  background: var(--text-muted);
}

.edu-comparison-card--geo li::before {
  background: var(--accent);
}

/* AI Flow diagram */
.ai-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.ai-flow__step {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  min-width: 140px;
}

.ai-flow__step--prompt {
  background: rgba(79, 106, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(79, 106, 255, 0.2);
}

.ai-flow__step--ai {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: var(--font-display);
}

.ai-flow__step--sources {
  background: rgba(0, 221, 179, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(0, 221, 179, 0.2);
}

.ai-flow__step--reco {
  background: rgba(255, 107, 53, 0.1);
  color: var(--cta);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.ai-flow__arrow {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* ============================================
   AI CHAT ANIMATION (Perplexity-style)
   ============================================ */
.ai-chat {
  background: #0E1525;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(79, 106, 255, 0.06);
}

/* Top bar */
.ai-chat__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.ai-chat__bar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-chat__bar-dots span:nth-child(1) { background: #FF5F57; }
.ai-chat__bar-dots span:nth-child(2) { background: #FEBC2E; }
.ai-chat__bar-dots span:nth-child(3) { background: #28C840; }

.ai-chat__bar-title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
}

.ai-chat__bar-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(79, 106, 255, 0.15);
  color: var(--primary-light);
}

/* Messages area */
.ai-chat__step {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  padding: 0 20px;
}

.ai-chat__step.ai-chat__step--visible {
  opacity: 1;
  transform: translateY(0);
}

/* User message */
.ai-chat__msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ai-chat__msg--user {
  padding-top: 20px;
  padding-bottom: 16px;
}

.ai-chat__msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ai-chat__msg-avatar--user {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white-muted);
}

.ai-chat__msg-avatar--ai {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.ai-chat__msg-bubble {
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 100%;
}

.ai-chat__msg-bubble--user {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-weight: 500;
  border-bottom-left-radius: 4px;
}

.ai-chat__msg-bubble--ai {
  background: transparent;
  color: var(--text-white-muted);
  padding: 8px 0 8px 0;
  font-size: 0.88rem;
  line-height: 1.75;
}

/* Thinking indicator */
.ai-chat__thinking {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 12px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

.ai-chat__thinking-icon {
  animation: spin 2s linear infinite;
}

.ai-chat__thinking-dots {
  display: flex;
  gap: 3px;
  margin-left: 4px;
}

.ai-chat__thinking-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  animation: thinking-bounce 1.2s ease-in-out infinite;
}

.ai-chat__thinking-dots span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat__thinking-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes thinking-bounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Source pills */
.ai-chat__sources {
  padding-top: 4px;
  padding-bottom: 16px;
}

.ai-chat__sources-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 600;
}

.ai-chat__sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-chat__source {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
}

.ai-chat__source--highlight {
  background: rgba(0, 221, 179, 0.1);
  color: var(--accent);
  border-color: rgba(0, 221, 179, 0.2);
  font-weight: 600;
}

/* Typing cursor */
.ai-chat__typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.7s step-end infinite;
}

.ai-chat__typing--done::after {
  display: none;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Highlighted text inside typing */
.ai-chat__typing .hl-name {
  color: var(--text-white);
  font-weight: 600;
}

.ai-chat__typing .hl-accent {
  color: var(--accent);
  font-weight: 600;
}

.ai-chat__typing .hl-stat {
  color: var(--primary-light);
  font-weight: 600;
}

/* Recommendation card */
.ai-chat__reco {
  padding-top: 4px;
  padding-bottom: 16px;
}

.ai-chat__reco-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cta);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-chat__reco-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
  animation: pulse-dot 2s ease infinite;
}

.ai-chat__reco-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ai-chat__reco-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.08);
}

.ai-chat__reco-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ai-chat__reco-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.ai-chat__reco-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.ai-chat__reco-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1px;
}

.ai-chat__reco-stars {
  font-size: 0.82rem;
  color: #FFD166;
  margin-bottom: 10px;
}

.ai-chat__reco-stars span {
  color: var(--text-light);
  font-size: 0.75rem;
  margin-left: 4px;
}

.ai-chat__reco-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-chat__reco-tags span {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 221, 179, 0.08);
  color: var(--accent);
  border: 1px solid rgba(0, 221, 179, 0.12);
  font-weight: 500;
}

/* Source citation footer */
.ai-chat__cite {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-light);
  padding-top: 8px;
  padding-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin: 0 20px;
}

/* Replay button */
.ai-chat__replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-white-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}

.ai-chat__replay:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .ai-chat__sources-list {
    gap: 4px;
  }

  .ai-chat__source {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .ai-chat__reco-tags span {
    font-size: 0.65rem;
  }
}

/* ============================================
   SCHEMA / STRUCTURED DATA VISUAL
   ============================================ */
.schema-visual {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--accent);
  line-height: 1.8;
  overflow-x: auto;
}

/* ============================================
   INTEGRATIONS
   ============================================ */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.integration-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-white-muted);
  transition: all 0.3s;
}

.integration-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(79, 106, 255, 0.12);
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.active {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 221, 179, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--accent);
}

/* ============================================
   BLOG — Listing
   ============================================ */

/* Featured article */
.blog-featured {
  margin-bottom: 56px;
}

.blog-featured__link {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.blog-featured__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-featured__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-featured__link:hover .blog-featured__img img {
  transform: scale(1.04);
}

.blog-featured__placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.blog-featured__body {
  padding: 40px 40px 40px 0;
}

.blog-featured__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.blog-featured__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Blog card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.blog-card__cat {
  padding: 2px 10px;
  background: rgba(79, 106, 255, 0.08);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card__title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s;
}

.blog-card:hover .blog-card__read,
.blog-featured__link:hover .blog-card__read {
  gap: 10px;
}

.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

/* ============================================
   BLOG — Article viewer
   ============================================ */

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-white-muted);
  margin-bottom: 24px;
  transition: color 0.3s, gap 0.3s;
}

.article-back:hover {
  color: var(--text-white);
  gap: 12px;
}

/* Article hero tweaks */
.page-hero--article {
  text-align: center;
  padding-bottom: 60px;
}

.article-hero-meta {
  margin-bottom: 16px;
}

.article-hero-meta .blog-card__meta {
  color: var(--text-white-muted);
}

.article-hero-meta .blog-card__cat {
  background: rgba(79, 106, 255, 0.2);
  color: var(--primary-light);
}

/* Loading skeleton */
.article-loading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 0;
}

.article-loading__bar {
  height: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.article-loading__bar--short { width: 60%; }
.article-loading__bar--medium { width: 80%; }

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Article body — markdown rendered content */
.article-body {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  padding-bottom: 40px;
}

.article-body--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography inside article */
.article-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
  font-size: 1.6rem;
}

.article-body h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.article-body h4 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

.article-body em {
  font-style: italic;
}

.article-body a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(79, 106, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.article-body a:hover {
  text-decoration-color: var(--primary);
}

.article-body ul,
.article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-body);
}

.article-body li::marker {
  color: var(--primary);
}

/* Blockquotes */
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(79, 106, 255, 0.04), rgba(0, 221, 179, 0.04));
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  color: var(--text-body);
}

.article-body blockquote p {
  margin-bottom: 8px;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.92rem;
}

.article-body thead th {
  background: var(--bg-light);
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-light);
}

.article-body tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  line-height: 1.6;
}

.article-body tbody tr:last-child td {
  border-bottom: none;
}

.article-body tbody tr:hover {
  background: rgba(79, 106, 255, 0.02);
}

/* Code */
.article-body code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  padding: 2px 7px;
  background: var(--bg-light);
  border-radius: 4px;
  color: var(--primary-dark);
}

.article-body pre {
  margin: 24px 0;
  padding: 20px;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.article-body pre code {
  background: none;
  color: var(--text-white);
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Horizontal rule */
.article-body hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 40px 0;
}

/* Images */
.article-body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* Article error */
.article-error {
  text-align: center;
  padding: 60px 0;
}

.article-error h2 {
  margin-bottom: 12px;
}

.article-error p {
  color: var(--text-muted);
}

/* Share bar */
.article-footer {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 32px;
}

.article-share__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: block;
}

.article-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.article-share__btn:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
   BLOG — Responsive
   ============================================ */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-featured__link {
    grid-template-columns: 1fr;
  }

  .blog-featured__body {
    padding: 24px;
  }

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

  .article-body table {
    display: block;
    overflow-x: auto;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* Nav logo icon subtle pulse on hover */
.nav__logo-icon {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.nav__logo:hover .nav__logo-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 20px rgba(79, 106, 255, 0.3);
}

/* AI flow arrow bounce */
.ai-flow__arrow {
  animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Pricing card featured subtle glow pulse */
.pricing-card--featured {
  animation: featured-glow 4s ease-in-out infinite;
}

@keyframes featured-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(79, 106, 255, 0.1); }
  50% { box-shadow: 0 0 60px rgba(79, 106, 255, 0.2); }
}

/* CTA banner gradient animation */
.cta-banner::before {
  animation: cta-gradient-shift 8s ease-in-out infinite;
}

@keyframes cta-gradient-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, -3%); }
}

/* Dashboard card stagger animation */
.hero__dash-card {
  opacity: 0;
  transform: translateY(16px);
  animation: dash-card-appear 0.6s var(--ease-out) forwards;
}

.hero__dash-card:nth-child(1) { animation-delay: 0.8s; }
.hero__dash-card:nth-child(2) { animation-delay: 1s; }
.hero__dash-card:nth-child(3) { animation-delay: 1.2s; }

@keyframes dash-card-appear {
  to { opacity: 1; transform: translateY(0); }
}

/* Audience card icon bounce on hover */
.audience-card:hover .audience-card__icon {
  animation: icon-bounce 0.5s var(--ease-out);
}

@keyframes icon-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1.05); }
}

/* Feature row visual hover */
.feature-row__visual {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.feature-row:hover .feature-row__visual {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Mock row stagger on hover */
.mock-row {
  transition: background 0.3s, padding-left 0.3s;
}

.mock-dashboard:hover .mock-row:hover {
  padding-left: 6px;
  background: rgba(79, 106, 255, 0.03);
  border-radius: 6px;
}

.section--dark .mock-dashboard:hover .mock-row:hover,
.section--dark-2 .mock-dashboard:hover .mock-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Footer logo hover */
.footer__logo-icon {
  transition: transform 0.3s var(--ease-out);
}

.footer__logo:hover .footer__logo-icon {
  transform: rotate(-6deg) scale(1.08);
}

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row--reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

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

  .hero__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

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

  .grid-2,
  .grid-3,
  .steps,
  .testimonials-grid,
  .edu-comparison {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .ai-flow {
    flex-direction: column;
  }

  .ai-flow__arrow {
    transform: rotate(90deg);
    animation: arrow-bounce-v 2s ease-in-out infinite;
  }

  @keyframes arrow-bounce-v {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(4px); }
  }

  /* Reduce motion on mobile for perf */
  .hero__mesh,
  .page-hero__mesh {
    animation-duration: 20s;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .card {
    padding: 24px;
  }
}

/* Button loading spinner */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
