/* ============================================================
   EDRA Design V2 — Dark Editorial / Deepki-inspired
   "Data before performance" — methodology as the hero
   Fonts: Syne (display) + DM Sans (body)
   Palette: Near-black + teal accent + white
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

:root {
  --bg:          #0A0A0A;
  --bg-card:     #111111;
  --bg-raised:   #161616;
  --bg-hover:    #1C1C1C;
  --white:       #FFFFFF;
  --white-off:   #E8E8E8;
  --body:        #999999;
  --muted:       #666666;
  --teal:        #16D3CA;
  --teal-deep:   #0FA89F;
  --teal-dim:    rgba(22,211,202,0.08);
  --teal-border: rgba(22,211,202,0.2);
  --teal-glow:   rgba(22,211,202,0.15);
  --border:      rgba(255,255,255,0.06);
  --border-hi:   rgba(255,255,255,0.12);
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 100px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  color: var(--white);
  font-weight: 700;
}

sup { font-size: 0.45em; vertical-align: super; opacity: 0.6; font-weight: 400; }

h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--teal);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-pad { padding: 140px 0; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 56px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  white-space: nowrap;
}

.btn-teal {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-lg { padding: 17px 40px; font-size: 0.85rem; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s;
  background: #FAFAF7;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
#nav.scrolled {
  background: rgba(250,250,247,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 14px 56px;
}
#nav.hidden { transform: translateY(-100%); }

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo-mark {
  height: 56px;
  width: 56px;
  flex-shrink: 0;
}
.nav-logo-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #0A0A0A;
  letter-spacing: 0.06em;
}
#nav.scrolled .nav-logo-wordmark { color: var(--white); }

/* Nav default state (white bg) — dark text */
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  transition: color 0.25s;
}
.nav-links a:hover { color: #0A0A0A; }

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

/* Nav default buttons — dark theme */
#nav .btn-outline {
  color: #0A0A0A;
  border-color: rgba(0,0,0,0.15);
}
#nav .btn-outline:hover {
  border-color: #0A0A0A;
  color: #0A0A0A;
}

/* Nav stays white on scroll — no color flip needed */
#nav.scrolled .nav-logo-wordmark { color: #0A0A0A; }

/* ============================================================
   HERO — Full-width image carousel with left-aligned text overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* Carousel behind everything */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay — heavier on left for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center,
      rgba(10,10,10,0.7) 0%,
      rgba(10,10,10,0.85) 60%,
      rgba(10,10,10,0.92) 100%
    );
}

/* Left-aligned hero content — hidden, replaced by centered */
.hero-content { display: none; }

/* Centered hero */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 100px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 36px;
  border-radius: 16px;
  animation: fadeIn 0.7s ease both;
}

.hero-center .hero-actions { justify-content: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-pill);
  padding: 7px 20px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  margin-bottom: 36px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:0.4; transform:scale(1.5); }
}

.hero h1 { margin-bottom: 28px; }
.hero h1 em { color: var(--teal); font-style: normal; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Staggered entrance */
.hero-badge   { animation: fadeIn 0.7s 0.1s ease both; }
.hero h1      { animation: fadeIn 0.8s 0.2s ease both; }
.hero-sub     { animation: fadeIn 0.8s 0.35s ease both; }
.hero-actions { animation: fadeIn 0.8s 0.5s ease both; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Carousel dots */
.hero-indicators {
  position: absolute;
  bottom: 48px;
  right: 56px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hero-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s;
}
.hero-dot.active {
  background: var(--teal);
  width: 44px;
  box-shadow: 0 0 10px var(--teal-glow);
}

/* ============================================================
   HERO MOCKUP — Floating EDRA Report
   ============================================================ */
.hero-mockup {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 340px;
  animation: mockupFloat 0.9s 0.4s ease both;
}

@keyframes mockupFloat {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.mockup-card {
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(22,211,202,0.15);
  border-radius: 12px;
  padding: 20px 22px;
}

.mockup-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.mockup-label sup { font-size: 0.5em; }

/* Score gauge */
.mockup-score { text-align: center; }

.mockup-gauge {
  position: relative;
  width: 120px;
  height: 70px;
  margin: 0 auto 8px;
}

.gauge-svg { width: 100%; height: 100%; }

.gauge-fill {
  animation: gaugeAnim 1.5s 0.8s ease both;
}
@keyframes gaugeAnim {
  from { stroke-dashoffset: 157; }
  to   { stroke-dashoffset: 41; }
}

.gauge-value {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.mockup-band {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.06em;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 4px 14px;
  display: inline-block;
}

/* Score breakdown bars */
.mockup-bars { display: flex; flex-direction: column; gap: 10px; }

.bar-row {
  display: grid;
  grid-template-columns: 1fr 100px 28px;
  align-items: center;
  gap: 10px;
}

.bar-name {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-track {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  animation: barGrow 1.2s 1s ease both;
}
.bar-fill-c { background: #0FA89F; }
.bar-fill-g { background: #0d8a73; }

@keyframes barGrow {
  from { width: 0 !important; }
}

.bar-val {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-align: right;
}

/* Reason codes */
.reason-list { display: flex; flex-direction: column; gap: 6px; }

.reason-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border-left: 2px solid rgba(255,100,100,0.5);
  animation: reasonFade 0.5s ease both;
}
.reason-row:nth-child(1) { animation-delay: 1.2s; }
.reason-row:nth-child(2) { animation-delay: 1.4s; }
.reason-row:nth-child(3) { animation-delay: 1.6s; }
.reason-row:nth-child(4) { animation-delay: 1.8s; }

@keyframes reasonFade {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: none; }
}

.reason-code {
  font-family: 'DM Sans', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,130,130,0.85);
  letter-spacing: 0.02em;
}

.reason-asset {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

/* Hide mockup on small screens */
@media (max-width: 1100px) {
  .hero-mockup { display: none; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-items {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.trust-item { text-align: center; flex: 1; }
.trust-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   SPLIT SECTIONS — image + text
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-media img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-text h2 { margin-bottom: 24px; }
.split-text p { margin-top: 20px; font-size: 0.95rem; line-height: 1.8; }
.split-text strong { color: var(--white); }

/* ── Bullet lists ── */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.6;
}
.bullet-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.bullet-list-sm { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.bullet-list-sm li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.82rem; color: var(--muted); line-height: 1.5;
}
.bullet-list-sm li::before {
  content: ''; width: 4px; height: 4px;
  background: var(--teal); border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
}

/* ── Service list (vertical) ── */
.service-list { display: flex; flex-direction: column; gap: 24px; }
.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.service-item .service-icon { flex-shrink: 0; margin-bottom: 0; }
.service-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.service-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   BLOG GRID
   ============================================================ */
.blog-section { background: var(--bg-card); }

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

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-meta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 20px 24px 0;
}

.blog-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  padding: 8px 24px 0;
  flex: 1;
}

.blog-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 8px 24px 24px;
}

/* ============================================================
   FOOTER BRAND
   ============================================================ */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo-mark {
  height: 40px;
  width: 40px;
}
.footer-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whowe { background: var(--bg-card); }

/* ============================================================
   REPORT MOCKUP — About section
   ============================================================ */
.report-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.report-header-bar {
  background: var(--teal);
  color: var(--bg);
  padding: 12px 24px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.report-header-bar sup { font-size: 0.5em; opacity: 0.7; }
.report-body { padding: 24px; }

.report-score-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.report-score-block { text-align: center; }
.report-score-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.report-score-label {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.report-band-tag {
  display: inline-block;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 16px;
}

.report-reasons { display: flex; flex-direction: column; gap: 6px; }
.report-reason {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border-left: 2px solid rgba(255,100,100,0.5);
}
.rr-code {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,130,130,0.85);
  letter-spacing: 0.02em;
  font-family: monospace;
}
.rr-asset {
  font-size: 0.62rem;
  color: var(--muted);
}

/* ============================================================
   AUDIENCE GRID — Who We Serve
   ============================================================ */
.audience-section { background: var(--bg); }

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.3s;
}
.audience-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.audience-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.audience-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal);
}

.audience-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.audience-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ============================================================
   EDRA SCORE — Visual methodology showcase
   ============================================================ */
.score-section { background: var(--bg); }

.score-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}
.score-header p { margin-top: 16px; font-size: 1.05rem; }

/* Score formula banner */
.score-formula {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 64px;
}

.formula-piece {
  text-align: center;
}
.formula-weight {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.formula-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.formula-op {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  color: var(--muted);
  font-weight: 700;
}
.formula-eq {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  color: var(--white);
  font-weight: 700;
}

/* Planes grid */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plane-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.plane-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.3s;
}
.plane-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.plane-card:hover::before { opacity: 1; }

.plane-letter {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.7;
}

.plane-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.plane-weight {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.plane-metrics {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plane-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--body);
}
.plane-metric::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   STATUS BANDS
   ============================================================ */
.bands-section { background: var(--bg-card); }

.bands-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.bands-header p { margin-top: 16px; font-size: 1rem; }

.bands-track {
  display: flex;
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.band {
  flex: 1;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}
.band:hover { transform: scaleY(1.04); }

.band-1 { background: #1a1a2e; }
.band-2 { background: #16213e; }
.band-3 { background: #0f3460; }
.band-4 { background: #0a5c5c; }
.band-5 { background: #0d8a73; }

.band-range {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.band-score {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.band-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.band-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-top: 10px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }
.services-header { margin-bottom: 72px; }

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.3), 0 0 40px var(--teal-glow);
}

.service-num {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0.6;
}

.service-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* ============================================================
   WHY EDRA — Gating principle
   ============================================================ */
.why { background: var(--bg-card); }

.why-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}
.why-intro p { font-size: 1rem; line-height: 1.85; }

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

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  transition: all 0.3s;
}
.why-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-4px);
}

.why-num {
  font-family: 'Syne', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(22,211,202,0.08);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card:hover .why-num { color: rgba(22,211,202,0.18); }

.why-card h3 { margin-bottom: 12px; }
.why-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.8; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.testi-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
}

.quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  line-height: 0.8;
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testi-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 28px;
}

.testi-author { font-size: 0.78rem; color: var(--muted); }
.testi-author strong {
  color: var(--teal);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0a2e2a 0%, #0A0A0A 100%);
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.cta-inner::before {
  content: 'EDRA';
  position: absolute;
  right: -30px; bottom: -50px;
  font-family: 'Syne', sans-serif;
  font-size: 14rem;
  font-weight: 700;
  color: rgba(22,211,202,0.03);
  pointer-events: none;
  line-height: 1;
}

.cta-text h2 { margin-bottom: 16px; }
.cta-text > p { margin-bottom: 32px; font-size: 1rem; color: rgba(255,255,255,0.6); }

.cta-list { display: flex; flex-direction: column; gap: 10px; }
.cta-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
}
.cta-list li::before {
  content: '';
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7l3.5 3.5L12 3' stroke='%2316D3CA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0; margin-top: 4px;
}

.cta-actions {
  display: flex; flex-direction: column; gap: 14px;
  flex-shrink: 0; min-width: 240px;
}
.cta-actions .btn { justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: start;
}
.contact-text h2 { margin-bottom: 18px; }
.contact-text p { font-size: 1rem; line-height: 1.85; margin-bottom: 36px; }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.875rem; color: var(--muted);
}
.contact-info-item svg {
  width: 15px; height: 15px;
  stroke: var(--teal); fill: none; stroke-width: 1.6; flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: all 0.25s; -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); opacity: 0.6; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); color: var(--white); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.3rem; color: var(--white); letter-spacing: 0.04em;
}
.footer-logo .accent { color: var(--teal); }

.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }

.footer-right { display: flex; align-items: center; gap: 12px; }
.footer-meta { font-size: 0.78rem; color: var(--muted); }

.cert-badge {
  background: var(--teal-dim); border: 1px solid var(--teal-border);
  border-radius: var(--radius-pill); padding: 5px 14px;
  font-size: 0.66rem; font-weight: 500; color: var(--teal);
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ============================================================
   WIDGET LAUNCHERS + CHAT PANELS
   ============================================================ */
.widget-launchers {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.25s, transform 0.25s;
}
.widget-launchers.hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }

.launcher-btn {
  display: flex; align-items: center; gap: 10px;
  border: none; border-radius: var(--radius-pill); padding: 14px 22px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; cursor: pointer;
  transition: all 0.25s;
}
.launcher-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.launcher-primary {
  background: var(--teal); color: var(--bg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--teal-border);
}
.launcher-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 24px var(--teal-glow); }

.launcher-secondary {
  background: var(--bg-raised); color: var(--white);
  border: 1px solid var(--teal-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.launcher-secondary:hover { background: var(--bg-hover); transform: translateY(-2px); }

.widget-panel-wrap {
  position: fixed; bottom: 28px; right: 28px; z-index: 1001;
  font-family: 'DM Sans', sans-serif; pointer-events: none;
}
.widget-panel {
  width: 380px; max-height: 540px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.widget-panel-wrap.open .widget-panel { opacity: 1; transform: none; pointer-events: auto; }

.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
}
.proposal-avatar { background: linear-gradient(135deg, #0a5c5c, #0d8a73) !important; }
.chat-header-name { font-size: 0.85rem; font-weight: 500; color: var(--white); }
.chat-header-status { font-size: 0.68rem; color: var(--teal); display: flex; align-items: center; gap: 5px; }
.chat-header-status::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.chat-close-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px; transition: color 0.2s; }
.chat-close-btn:hover { color: var(--white); }
.chat-close-btn svg { width: 18px; height: 18px; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 260px; max-height: 340px;
}
.proposal-panel .chat-messages { max-height: 300px; }

.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-bubble {
  max-width: 85%; padding: 10px 16px; border-radius: 14px;
  font-size: 0.85rem; line-height: 1.55; font-weight: 400; white-space: pre-line;
}
.chat-msg-user .chat-msg-bubble { background: var(--teal); color: var(--bg); border-bottom-right-radius: 4px; }
.chat-msg-bot .chat-msg-bubble { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 4px; }

.chat-options { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; max-width: 85%; }
.chat-option-btn {
  background: var(--teal-dim); border: 1px solid var(--teal-border);
  border-radius: 8px; padding: 10px 18px; color: var(--teal);
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 400;
  cursor: pointer; transition: all 0.2s; text-align: left; width: 100%;
}
.chat-option-btn:hover:not([disabled]) { background: rgba(22,211,202,0.15); border-color: var(--teal); transform: translateY(-1px); }
.chat-option-btn.selected { background: var(--teal); color: var(--bg); border-color: var(--teal); }
.chat-option-btn[disabled] { opacity: 0.4; cursor: default; pointer-events: none; }

.chat-typing { padding: 0 20px 8px; }
.chat-typing-bubble { display: flex; gap: 5px; align-items: center; padding: 12px 18px !important; }
.chat-typing-bubble .dot { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; animation: typingDot 1.4s infinite; }
.chat-typing-bubble .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-bubble .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,60%,100% { opacity:0.3; transform:scale(0.85); } 30% { opacity:1; transform:scale(1); } }

.chat-input-form {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-input {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 10px 18px;
  color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.chat-input::placeholder { color: var(--muted); opacity: 0.7; }
.chat-input:focus { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-dim); }

.chat-send {
  background: var(--teal); border: none; border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.chat-send:hover { background: var(--teal-deep); transform: scale(1.05); }
.chat-send svg { width: 16px; height: 16px; stroke: var(--bg); }

.proposal-progress {
  padding: 10px 20px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02);
}
.proposal-progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.proposal-progress-fill { height: 100%; width: 16.67%; background: linear-gradient(90deg, var(--teal), var(--teal-deep)); border-radius: 2px; transition: width 0.4s ease; }
.proposal-progress-text { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(22,211,202,0.15); border-radius: 2px; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(22,211,202,0.15); border-radius: 3px; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .score-formula { flex-wrap: wrap; gap: 20px; padding: 32px; }
  .planes-grid { grid-template-columns: 1fr; }
  .bands-track { flex-direction: column; }
  .split-section, .split-reverse { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse { direction: ltr; }
  .about-grid, .why-intro, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-actions { flex-direction: row; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .trust-items { flex-wrap: wrap; gap: 24px; }
  .trust-item { flex: 1 1 40%; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #nav { padding: 16px 20px; }
  #nav.scrolled { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-logo-wordmark { font-size: 1.2rem; }
  .container { padding: 0 24px; }
  .divider { margin: 0 24px; }
  .section-pad { padding: 80px 0; }
  .hero-center { padding-top: 80px; }
  .hero-logo { width: 100px; height: 100px; margin-bottom: 24px; }
  .hero-indicators { right: 24px; bottom: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 16px; }
  .trust-item { flex: 1 1 100%; }
  .audience-grid { grid-template-columns: 1fr; }
  .report-score-row { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer-brand { justify-content: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .widget-launchers { bottom: 16px; right: 16px; left: 16px; align-items: stretch; }
  .launcher-btn span { display: none; }
  .launcher-btn { padding: 14px; border-radius: 50%; align-self: flex-end; }
  .widget-panel-wrap { bottom: 16px; right: 16px; left: 16px; }
  .widget-panel { width: auto; max-height: 70vh; }

  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .score-formula { flex-direction: column; gap: 16px; }
}
