/* ═══════════════════════════════════════════════════════════
   EDX DESIGN SYSTEM — main.css
   ═══════════════════════════════════════════════════════════ */

/* ═══ GOOGLE FONTS ═══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Inter+Tight:ital,wght@0,700;0,800;0,900;1,700&display=swap');

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

/* ═══ TOKENS ═══ */
:root {
  --black:       #080c10;
  --surface:     #0d1117;
  --surface-2:   #111827;
  --surface-3:   #1a2332;
  --border:      #1f2d3d;
  --border-mid:  #2d4060;

  --green:       #22c55e;
  --green-dim:   #16a34a;
  --green-dark:  #14532d;
  --green-glow:  rgba(34,197,94,0.12);

  --blue:        #3b82f6;
  --blue-hover:  #2563eb;
  --blue-dim:    #1d4ed8;
  --blue-glow:   rgba(59,130,246,0.12);

  --text:        #f1f5f9;
  --text-2:      #94a3b8;
  --text-3:      #475569;

  --yellow:      #eab308;
  --red:         #ef4444;
  --cyan:        #06b6d4;

  --radius:      8px;
  --radius-lg:   12px;
  --font-body:   'Inter', -apple-system, sans-serif;
  --font-display:'Inter Tight', 'Inter', sans-serif;
}

/* ═══ BASE ═══ */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(34,197,94,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 100% 5%, rgba(59,130,246,0.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════
   SECTION GLOW SYSTEM — ambient color per section
   ═══════════════════════════════════════════════════════════ */

/* Hero — green left + blue right split */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 60%, rgba(34,197,94,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 30%, rgba(59,130,246,0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Section glow utility classes — applied via HTML */
.glow-green {
  position: relative;
}
.glow-green::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(34,197,94,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.glow-blue {
  position: relative;
}
.glow-blue::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 70% 50% at 70% 50%, rgba(59,130,246,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.glow-mixed {
  position: relative;
}
.glow-mixed::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(34,197,94,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(59,130,246,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above glow layer */
.glow-green > .container,
.glow-blue > .container,
.glow-mixed > .container {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered children — cards, steps, devices */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   CARD HOVER GLOW
   ═══════════════════════════════════════════════════════════ */

.card,
.device-card,
.audience-card,
.step {
  transition: border-color 0.25s, box-shadow 0.35s, transform 0.25s;
}

.card:hover,
.step:hover {
  border-color: rgba(34,197,94,0.35);
  box-shadow: 0 0 24px rgba(34,197,94,0.08), 0 0 60px rgba(34,197,94,0.04);
  transform: translateY(-2px);
}

.device-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 24px rgba(59,130,246,0.08), 0 0 60px rgba(59,130,246,0.04);
  transform: translateY(-2px);
}

.audience-card:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 0 30px rgba(59,130,246,0.08), 0 0 80px rgba(59,130,246,0.03);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   MICRO-ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Section label dot pulse */
.section-label::before {
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Audience link arrow nudge on hover */
.audience-link:hover {
  gap: 10px;
  color: var(--blue-hover);
}

/* Blog card lift */
.blog-card {
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.35s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px rgba(59,130,246,0.06);
}

/* Button press feedback */
.btn-blue:active {
  transform: translateY(0) scale(0.98);
}
.btn-blue-outline:active,
.btn-green-ghost:active {
  transform: scale(0.98);
}

/* Device card icon float */
.device-card:hover .device-icon {
  transform: translateY(-3px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.device-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Testimonial subtle left-border glow */
.testimonial {
  transition: border-color 0.3s, box-shadow 0.3s;
  border-left: 3px solid var(--green);
}
.testimonial:hover {
  border-left-color: var(--green);
  box-shadow: -4px 0 24px rgba(34,197,94,0.1), 0 4px 20px rgba(0,0,0,0.2);
}

/* Partner logo hover glow */
.partner-logo:hover {
  text-shadow: 0 0 20px rgba(34,197,94,0.3);
}

/* Step number glow on hover */
.step:hover::before {
  background: rgba(34,197,94,0.2);
  box-shadow: 0 0 16px rgba(34,197,94,0.15);
}

/* Pricing component hover */
.pricing-component {
  transition: background 0.2s;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--radius);
}
.pricing-component:hover {
  background: rgba(59,130,246,0.04);
}

/* ═══ TYPOGRAPHY ═══ */
.display-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.sub-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 36px 0 12px;
}

/* Section intro paragraphs — used after headings */
.section-intro {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 40px;
}

/* ═══ GREEN ACCENT ═══ */
h1 em,
h2 em,
.display-heading em,
.section-heading em {
  color: var(--green);
  font-style: normal;
}

/* ═══ EDX WORDMARK ═══ */
.edx-mark {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.edx-mark .dot {
  display: inline-block;
  line-height: 1;
}

.mark-hero { font-size: 80px; }
.mark-xl   { font-size: 56px; }
.mark-lg   { font-size: 40px; }
.mark-md   { font-size: 28px; }
.mark-sm   { font-size: 22px; }
.mark-xs   { font-size: 18px; }
.mark-nav  { font-size: 20px; }


/* ═══════════════════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════ */

/* ═══ CONTAINER ═══ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ═══ SECTION ═══ */
.section {
  margin-bottom: 80px;
  scroll-margin-top: 32px;
}

/* ═══ CARD GRID ═══ */
.card-grid {
  display: grid;
  gap: 12px;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}


/* ═══════════════════════════════════════════════════════════
   COMPONENTS
   ═══════════════════════════════════════════════════════════ */

/* ═══ SECTION LABEL ═══ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 20px;
  padding: 4px 14px 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ═══ CARD ═══ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--border-mid);
}

.card-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 600;
}

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card-body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ═══ BUTTONS ═══ */
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-blue-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid rgba(59,130,246,0.4);
  font-family: var(--font-body);
}

.btn-blue-outline:hover {
  background: var(--blue-glow);
  border-color: var(--blue);
}

.btn-green-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid rgba(34,197,94,0.3);
  font-family: var(--font-body);
}

.btn-green-ghost:hover {
  background: rgba(34,197,94,0.06);
  border-color: var(--green);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid var(--border-mid);
  font-family: var(--font-body);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--text-3);
}

/* ═══ FORMS ═══ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

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

.form-inline {
  display: flex;
  gap: 8px;
}

.form-note {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.contact-layout,
.thank-you-grid,
.fit-grid {
  display: grid;
  gap: 32px;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: start;
}

.contact-layout--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.contact-intro,
.thank-you-layout {
  position: relative;
  z-index: 1;
}

.contact-lead,
.thank-you-lead,
.pricing-hero-copy {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.7;
}

.contact-choice-list {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.contact-choice-card,
.info-panel,
.form-panel,
.feature-panel,
.route-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-choice-card,
.info-panel,
.feature-panel,
.route-panel {
  padding: 24px;
}

.form-panel {
  padding: 28px;
}

.contact-form-panel {
  width: 100%;
}

.contact-intro--centered {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}

.contact-intro--centered .display-heading,
.contact-intro--centered .contact-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-intro--centered .section-label {
  display: inline-flex;
}

.panel-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}

.info-list,
.number-list,
.scenario-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
}

.info-list li,
.number-list li,
.scenario-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-expectations {
  margin-top: 24px;
}

.choice-group {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}

.choice-group legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.radio-card-grid {
  display: grid;
  gap: 12px;
}

.radio-card {
  display: block;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-box {
  display: block;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.radio-card:hover .radio-card-box {
  border-color: var(--border-mid);
  transform: translateY(-1px);
}

.radio-card input:checked + .radio-card-box {
  border-color: rgba(59,130,246,0.8);
  background: rgba(59,130,246,0.08);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.radio-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.radio-card-copy,
.feature-copy {
  display: block;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.thank-you-layout {
  max-width: 960px;
  margin: 0 auto;
}

.thank-you-hero {
  text-align: center;
  margin-bottom: 32px;
}

.thank-you-check {
  font-size: 48px;
  margin-bottom: 16px;
}

.thank-you-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
}

.route-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.pricing-scenario-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-scenario-copy {
  margin-bottom: 0;
}

.pricing-footnote {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}

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

.fit-card-good {
  border-top: 2px solid var(--green);
}

.fit-card-bad {
  border-top: 2px solid var(--yellow);
}

.pricing-risk-banner {
  text-align: left;
}


/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s;
  border-bottom: 1px solid transparent;
}

.site-nav.nav-scrolled {
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: space-between;
  gap: 8px;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color 0.15s;
}

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

.nav-link.active {
  color: var(--green);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

/* ═══ NAV DROPDOWN ═══ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
  opacity: 0.6;
}

.nav-dropdown-toggle:hover {
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 150ms, max-height 150ms;
  pointer-events: none;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  max-height: 300px;
  pointer-events: auto;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}

.nav-dropdown-item:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}


/* ═══════════════════════════════════════════════════════════
   MOBILE NAV
   ═══════════════════════════════════════════════════════════ */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 200ms;
  border-radius: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay a {
  font-size: 18px;
  color: var(--text-2);
  text-decoration: none;
  padding: 12px 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.mobile-overlay a:hover {
  color: var(--text);
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-heading {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 24px 40px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-newsletter {
  max-width: 280px;
}

.lang-toggle {
  color: var(--text-3);
  text-decoration: none;
  font-size: 13px;
}

.lang-toggle:hover,
.lang-toggle.active {
  color: var(--text);
}

/* Nav language switcher */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.nav-lang a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.nav-lang a:hover {
  color: var(--text);
}
.nav-lang a.active {
  color: var(--text);
  background: var(--surface-2);
}

/* ═══ HOMEPAGE V2 — SignalOS-inspired ═══ */

/* Centered hero layout */
.hero-v2 {
  padding: 160px 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero-v2 .hero-text {
  max-width: 720px;
  margin: 0 auto;
}
.hero-v2 .hero-sub {
  max-width: 580px;
  margin: 4px auto 0;
}
.hero-v2 .hero-ctas {
  justify-content: center;
}
.hero-v2 .hero-proof {
  justify-content: center;
  border-top: none;
  padding-top: 16px;
  margin-top: 24px;
}
.hero-v2 .hero-visual {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
  z-index: 2;
}

/* Animated data network background */
.data-network-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 800px;
  height: 800px;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 2s ease-out 0.3s forwards;
}
.data-network-bg .network-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.08);
}
.data-network-bg .ring-1 {
  inset: 25%;
  animation: pulseRing 4s ease-in-out infinite;
}
.data-network-bg .ring-2 {
  inset: 15%;
  animation: pulseRing 4s ease-in-out 1s infinite;
}
.data-network-bg .ring-3 {
  inset: 5%;
  animation: pulseRing 4s ease-in-out 2s infinite;
}
.data-network-bg .ring-4 {
  inset: -5%;
  animation: pulseRing 4s ease-in-out 3s infinite;
}

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; border-color: rgba(34,197,94,0.06); }
  50% { opacity: 1; border-color: rgba(34,197,94,0.15); }
}

/* Network nodes — pulsing dots representing devices */
.network-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34,197,94,0.4);
  animation: pulseNode 3s ease-in-out infinite;
}
.network-node.blue {
  background: var(--blue);
  box-shadow: 0 0 12px rgba(59,130,246,0.4);
  animation-delay: 0.5s;
}
.network-node:nth-child(5) { animation-delay: 0.3s; }
.network-node:nth-child(6) { animation-delay: 0.8s; }
.network-node:nth-child(7) { animation-delay: 1.2s; }
.network-node:nth-child(8) { animation-delay: 0.6s; }
.network-node:nth-child(9) { animation-delay: 1.5s; }
.network-node:nth-child(10) { animation-delay: 0.9s; }

/* Node labels */
.network-node-label {
  position: absolute;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes pulseNode {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Scan line — rotating radar-like sweep */
.scan-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  transform-origin: left center;
  animation: scanRotate 8s linear infinite;
  background: linear-gradient(90deg, rgba(34,197,94,0.3) 0%, transparent 100%);
}

@keyframes scanRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Center glow */
.network-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Connection lines between nodes */
.network-connection {
  position: absolute;
  background: linear-gradient(90deg, rgba(34,197,94,0.15), rgba(34,197,94,0.05));
  height: 1px;
  transform-origin: left center;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Version switcher */
.version-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  font-size: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.version-switcher a {
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--text-3);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
}
.version-switcher a:hover {
  color: var(--text);
}
.version-switcher a.active {
  background: var(--green);
  color: var(--bg-deep, #080c10);
}

/* Enhanced browser frame for v2 */
.browser-frame-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0,0,0,0.4), 0 0 80px rgba(34,197,94,0.06);
}

/* Section with alternating layout */
.section-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-alt.reverse {
  direction: rtl;
}
.section-alt.reverse > * {
  direction: ltr;
}

/* ═══ ANIMATED HERO CHART ═══ */

/* Line draw animation */
.chart-line-blue {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 2.5s ease-out 0.5s forwards;
}
.chart-line-green {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2s ease-out 1.5s forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Area fade-in after line draws */
.chart-area-blue {
  animation: fadeIn 1s ease-out 2s forwards;
}
.chart-area-green {
  animation: fadeIn 1s ease-out 2.5s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Grid fade in */
.chart-grid {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.1s forwards;
}

/* Metric cards */
.chart-metric {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  text-align: center;
}
.chart-metric-label {
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  white-space: nowrap;
}
.chart-metric-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.chart-metric-unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  margin-top: 2px;
}

/* ═══ ZOOM ANIMATIONS ═══ */

/* Container for zoom effect — hides overflow during zoom */
.zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Image that zooms in */
.zoom-image {
  display: block;
  width: 100%;
  animation: zoomIn 4s ease-in-out 1s forwards;
  transform-origin: center center;
}

/* Zoom targets — different pages zoom to different spots */
.zoom-to-chart { animation: zoomToChart 4s ease-in-out 1s forwards; }
.zoom-to-popup { animation: zoomToPopup 3.5s ease-in-out 1s forwards; }

@keyframes zoomToChart {
  0%   { transform: scale(1) translate(0, 0); }
  40%  { transform: scale(1) translate(0, 0); }
  100% { transform: scale(2.8) translate(-15%, -25%); }
}

@keyframes zoomToPopup {
  0%   { transform: scale(1) translate(0, 0); }
  40%  { transform: scale(1) translate(0, 0); }
  100% { transform: scale(2.2) translate(-8%, -12%); }
}

/* Crossfade overlay — SVG chart appears after zoom */
.zoom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  opacity: 0;
  animation: fadeIn 0.8s ease-out 4.5s forwards;
  padding: 20px;
}

/* ═══ ANIMATED BAR CHART ═══ */
.bar-chart-bar {
  transform-origin: bottom;
  transform: scaleY(0);
}
/* Staggered bar animations */
.bar-chart-bar:nth-child(1)  { animation: growBar 0.4s ease-out 5.0s forwards; }
.bar-chart-bar:nth-child(2)  { animation: growBar 0.4s ease-out 5.05s forwards; }
.bar-chart-bar:nth-child(3)  { animation: growBar 0.4s ease-out 5.1s forwards; }
.bar-chart-bar:nth-child(4)  { animation: growBar 0.4s ease-out 5.15s forwards; }
.bar-chart-bar:nth-child(5)  { animation: growBar 0.4s ease-out 5.2s forwards; }
.bar-chart-bar:nth-child(6)  { animation: growBar 0.4s ease-out 5.25s forwards; }
.bar-chart-bar:nth-child(7)  { animation: growBar 0.4s ease-out 5.3s forwards; }
.bar-chart-bar:nth-child(8)  { animation: growBar 0.4s ease-out 5.35s forwards; }
.bar-chart-bar:nth-child(9)  { animation: growBar 0.4s ease-out 5.4s forwards; }
.bar-chart-bar:nth-child(10) { animation: growBar 0.4s ease-out 5.45s forwards; }
.bar-chart-bar:nth-child(11) { animation: growBar 0.4s ease-out 5.5s forwards; }
.bar-chart-bar:nth-child(12) { animation: growBar 0.4s ease-out 5.55s forwards; }
.bar-chart-bar:nth-child(13) { animation: growBar 0.4s ease-out 5.6s forwards; }
.bar-chart-bar:nth-child(14) { animation: growBar 0.4s ease-out 5.65s forwards; }
.bar-chart-bar:nth-child(15) { animation: growBar 0.4s ease-out 5.7s forwards; }
.bar-chart-bar:nth-child(16) { animation: growBar 0.4s ease-out 5.75s forwards; }
.bar-chart-bar:nth-child(17) { animation: growBar 0.4s ease-out 5.8s forwards; }
.bar-chart-bar:nth-child(18) { animation: growBar 0.4s ease-out 5.85s forwards; }
.bar-chart-bar:nth-child(19) { animation: growBar 0.4s ease-out 5.9s forwards; }
.bar-chart-bar:nth-child(20) { animation: growBar 0.4s ease-out 5.95s forwards; }
.bar-chart-bar:nth-child(21) { animation: growBar 0.4s ease-out 6.0s forwards; }
.bar-chart-bar:nth-child(22) { animation: growBar 0.4s ease-out 6.05s forwards; }
.bar-chart-bar:nth-child(23) { animation: growBar 0.4s ease-out 6.1s forwards; }
.bar-chart-bar:nth-child(24) { animation: growBar 0.4s ease-out 6.15s forwards; }

@keyframes growBar {
  to { transform: scaleY(1); }
}

/* ═══ ANIMATED QUALITY TRENDLINE ═══ */
.quality-line-fresh {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2s ease-out 0.3s forwards;
}
.quality-line-complete {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2s ease-out 0.6s forwards;
}
.quality-line-health {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2s ease-out 0.9s forwards;
}


/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 9999;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}


/* ═══════════════════════════════════════════════════════════
   ESDL DIAGRAM
   ═══════════════════════════════════════════════════════════ */

.esdl-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.25s, box-shadow 0.35s;
}

.esdl-block:hover {
  box-shadow: 0 0 20px rgba(34,197,94,0.06);
}

.esdl-block-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.esdl-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.esdl-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.esdl-chip:hover {
  transform: translateY(-1px);
}

.esdl-chip--green {
  background: rgba(34,197,94,0.1);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.2);
}

.esdl-chip--blue {
  background: rgba(59,130,246,0.1);
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.2);
}

.esdl-chip--cyan {
  background: rgba(6,182,212,0.1);
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.2);
}

.esdl-chip--yellow {
  background: rgba(234,179,8,0.1);
  color: var(--yellow);
  border: 1px solid rgba(234,179,8,0.2);
}

.esdl-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  padding: 5px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.esdl-info-row:hover {
  background: rgba(255,255,255,0.03);
}

.esdl-info-icon {
  font-size: 13px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.esdl-info-note {
  font-size: 10px;
  color: var(--text-3);
  margin-left: 4px;
}

.esdl-kpi {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.3s;
}

.esdl-kpi:hover {
  border-color: rgba(6,182,212,0.3);
  box-shadow: 0 0 16px rgba(6,182,212,0.08);
}

.esdl-kpi-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.esdl-kpi-label {
  font-size: 9px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.esdl-legend-item {
  font-size: 11px;
  color: var(--c);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ESDL Hierarchy Flow (horizontal) */
.esdl-hierarchy-flow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.esdl-flow-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.35s, transform 0.25s;
}

.esdl-flow-step:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,0.3);
  box-shadow: 0 0 20px rgba(34,197,94,0.06);
}

.esdl-flow-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 8px;
}

.esdl-flow-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.esdl-flow-desc {
  font-size: 11px;
  color: var(--text-3);
}

.esdl-flow-arrow {
  color: var(--text-3);
  font-size: 18px;
  padding: 0 8px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  /* ESDL diagram responsive */
  .esdl-diagram > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
  .esdl-hierarchy-flow {
    flex-direction: column;
  }
  .esdl-flow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    padding: 0 20px;
  }

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

  .footer-bottom {
    padding: 24px 20px 0;
  }

  .section {
    margin-bottom: 60px;
  }
  .display-heading {
    margin-bottom: 16px;
  }
  .section-heading {
    margin-bottom: 12px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-layout,
  .thank-you-grid,
  .fit-grid,
  .pricing-scenarios {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .three-col {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .device-grid {
    grid-template-columns: 1fr 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 40px 24px;
  }
  .connector-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .form-panel,
  .contact-choice-card,
  .info-panel,
  .feature-panel,
  .route-panel {
    padding: 20px;
  }
  .post-header, .post-body, .related-posts {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-v2 {
    padding: 100px 0 60px;
  }
  .hero-v2 .hero-visual {
    margin-top: 40px;
  }
  .data-network-bg {
    width: 500px;
    height: 500px;
  }
  .section-alt {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-alt.reverse {
    direction: ltr;
  }
  .version-switcher {
    bottom: 16px;
    right: 16px;
  }
}

/* ═══ IMAGE PLACEHOLDERS ═══ */
.img-placeholder {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.04) 0%, transparent 50%, rgba(59,130,246,0.04) 100%);
  pointer-events: none;
}
.img-placeholder span {
  position: relative;
  z-index: 1;
}

/* Browser frame for product screenshots */
.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.browser-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.browser-frame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
}
.browser-frame-url {
  flex: 1;
  margin-left: 8px;
  background: var(--surface-3);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'SF Mono', 'Consolas', monospace;
}
.browser-frame-body {
  padding: 0;
}
.browser-frame-body .img-placeholder {
  border: none;
  border-radius: 0;
  min-height: 400px;
}

/* ═══ HOMEPAGE SECTIONS ═══ */

/* Hero */
.hero {
  padding: 140px 0 80px;
  position: relative;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text {
  max-width: 540px;
}
.hero-sub {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 4px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.hero-visual {
  position: relative;
}

/* Problem/Solution 3-column */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Device grid */
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.device-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.device-card:hover {
  border-color: var(--border-mid);
}
.device-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.device-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.device-data {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

/* Audience cards */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.audience-card:hover {
  border-color: var(--border-mid);
}
.audience-segment {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.audience-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.audience-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}
.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.15s;
}
.audience-link:hover {
  gap: 10px;
}

/* CTA Banner */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(59,130,246,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34,197,94,0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cta-banner > * {
  position: relative;
  z-index: 1;
}
.cta-banner .section-heading {
  margin-bottom: 12px;
}
.cta-banner p {
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
/* CTA banner border glow on hover */
.cta-banner:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 0 40px rgba(59,130,246,0.08), 0 0 100px rgba(59,130,246,0.04);
}

/* Partner logos row */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.partner-logo {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.partner-logo:hover {
  opacity: 1;
}

/* Testimonial */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 32px;
  position: relative;
}
.testimonial-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 13px;
  color: var(--text-3);
}

/* Pricing teaser */
.pricing-teaser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.pricing-component {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pricing-component:last-child {
  border-bottom: none;
}
.pricing-component-name {
  font-weight: 700;
  color: var(--text);
  min-width: 140px;
}
.pricing-component-desc {
  color: var(--text-2);
}

/* ═══ PLATFORM PAGE ═══ */
.data-model-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 24px 0;
}
.hierarchy-level {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.hierarchy-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  min-width: 100px;
}
.hierarchy-desc {
  font-size: 13px;
  color: var(--text-2);
}
.hierarchy-arrow {
  color: var(--green);
  font-size: 18px;
  text-align: center;
  padding: 4px 0;
}

/* Code/API preview blocks */
.code-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  color: var(--text-2);
  overflow-x: auto;
  line-height: 1.7;
}
.code-block .keyword { color: var(--blue); }
.code-block .string { color: var(--green); }
.code-block .comment { color: var(--text-3); }

/* Connector list */
.connector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.connector-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.connector-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.02em;
}
.status-live {
  background: rgba(34,197,94,0.1);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.3);
}
.status-soon {
  background: rgba(234,179,8,0.1);
  color: var(--yellow);
  border: 1px solid rgba(234,179,8,0.3);
}

/* ═══ PRICING PAGE ═══ */
.faq-list {
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-question {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-answer {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══ ABOUT PAGE ═══ */
.timeline-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--green);
  min-width: 80px;
}
.timeline-content {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══ BLOG ═══ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}
.blog-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
}

/* Blog filter tabs */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.blog-filter {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}
.blog-filter:hover {
  border-color: var(--border-mid);
  color: var(--text);
}
.blog-filter.active {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
  color: var(--green);
}

/* Blog post page */
.post-header {
  padding-top: 120px;
  padding-bottom: 40px;
  max-width: 720px;
  margin: 0 auto;
}
.post-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.post-excerpt {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.post-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 48px 0 16px;
  line-height: 1.15;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.post-body p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.post-body ul, .post-body ol {
  margin: 0 0 20px 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
}
.post-body li {
  margin-bottom: 8px;
}
.post-body a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(59,130,246,0.3);
  transition: border-color 0.15s;
}
.post-body a:hover {
  border-color: var(--blue);
}
.post-body blockquote {
  border-left: 3px solid var(--green);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(34,197,94,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-body blockquote p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 0;
}
.post-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.post-body th {
  background: var(--surface-2);
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  text-align: left;
}
.post-body td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.post-body .code-block {
  margin: 24px 0;
}

/* Related posts sidebar */
.related-posts {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.related-posts h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .device-grid {
    grid-template-columns: 1fr;
  }
}

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