/* ═══════════════════════════════════════════════════════════════
   EDNETICS LANDING PAGE
   Single-focus, high-conversion design
═══════════════════════════════════════════════════════════════ */

:root {
  /* Trust Palette */
  --navy-900: #0d1b2a;
  --navy-800: #1b2838;
  --navy-700: #1f3044;
  --navy-600: #274060;
  
  --gold-500: #d4a853;
  --gold-400: #ffcf7d; /* Brighter gold for better contrast */
  --gold-glow: rgba(212, 168, 83, 0.35);
  
  --teal-500: #2dd4bf;
  --green-500: #22c55e;
  --coral-500: #f97066;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  
  --text-dark: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.75);
  
  --surface-white: #ffffff;
  --surface-cream: #fefdfb;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(212, 168, 83, 0.35);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--surface-cream);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TOPBAR ────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-900);
  padding: 10px 0;
  text-align: center;
}

.topbar__text {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.topbar__text strong {
  color: var(--gold-400);
}

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  background: var(--surface-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo span:first-child { color: var(--gold-500); }
.logo span:last-child { color: var(--navy-800); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
}

.nav__cta:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    url('hero-premium-bg.png') no-repeat center center,
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  background-size: cover;
  opacity: 0.4;
  filter: brightness(0.7) contrast(1.1);
  pointer-events: none;
  animation: bgZoom 40s ease-in-out infinite alternate;
}

@keyframes bgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 24px;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-on-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.hero__headline-accent {
  color: var(--gold-400);
}

.hero__subline {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-on-dark-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
  transition: all 0.3s var(--ease);
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.45);
}

.hero__cta svg {
  transition: transform 0.2s var(--ease);
}

.hero__cta:hover svg {
  transform: translateX(4px);
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal-500);
}

.trust-item strong {
  color: var(--text-on-dark);
}

/* ─── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface-white);
  border-bottom: 1px solid var(--slate-200);
  padding: 24px 0;
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-800);
}

.stat-item__value--gold { color: var(--gold-500); }
.stat-item__value--teal { color: var(--teal-500); }

.stat-item__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── PROBLEM SECTION ───────────────────────────────────────── */
.problem {
  padding: 80px 0;
  background: var(--slate-50);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--text-dark);
  max-width: 650px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.problem-card {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  transition: all 0.3s var(--ease);
}

.problem-card:hover {
  border-color: var(--coral-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(249, 112, 102, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--coral-500);
}

.problem-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.problem-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── SOLUTION SECTION ──────────────────────────────────────── */
.solution {
  padding: 80px 0;
  background: var(--surface-white);
}

.solution__flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-step {
  flex: 1;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s var(--ease);
}

.solution-step:first-child {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.solution-step:last-child {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.solution-step:hover {
  background: var(--surface-white);
  border-color: var(--gold-500);
  z-index: 1;
}

.solution-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--gold-500);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-step:not(:last-child)::before {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-step__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.solution-step__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.solution-step__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── RESULTS SECTION ───────────────────────────────────────── */
.results {
  padding: 80px 0;
  background: var(--navy-900);
}

.results .section-badge {
  background: rgba(212, 168, 83, 0.2);
  color: var(--gold-400);
}

.results .section-title {
  color: var(--text-on-dark);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.result-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-4px);
}

.result-card__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

.result-card:nth-child(1) .result-card__value { color: var(--text-on-dark); }
.result-card:nth-child(2) .result-card__value { color: var(--slate-400); }
.result-card:nth-child(3) .result-card__value { color: var(--green-500); }
.result-card:nth-child(4) .result-card__value { color: var(--gold-400); }

.result-card__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.results__quote {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.results__quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.results__quote cite {
  font-size: 14px;
  font-style: normal;
  color: var(--gold-400);
  font-weight: 600;
}

/* ─── WHO IS THIS FOR ───────────────────────────────────────── */
.who {
  padding: 80px 0;
  background: var(--slate-50);
}

.who__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.who-card {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.who-card--yes {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), var(--surface-white));
  border: 2px solid var(--teal-500);
}

.who-card--no {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
}

.who-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.who-card--yes .who-card__title { color: var(--teal-500); }
.who-card--no .who-card__title { color: var(--text-muted); }

.who-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.who-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.who-card__list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.who-card--yes .who-card__list li svg { color: var(--teal-500); }
.who-card--no .who-card__list li svg { color: var(--slate-400); }

/* ─── FINAL CTA ─────────────────────────────────────────────── */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--slate-50) 100%);
  text-align: center;
  position: relative;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  z-index: 1;
}

.final-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 16px;
}

.final-cta__subline {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

.final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
  background: var(--navy-800);
  color: var(--text-on-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--ease);
}

.final-cta__btn:hover {
  background: var(--navy-700);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.25);
}

.final-cta__btn svg {
  transition: transform 0.2s var(--ease);
}

.final-cta__btn:hover svg {
  transform: translateX(4px);
}

.final-cta__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.final-cta__guarantee svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--navy-900);
  padding: 24px 0;
  text-align: center;
}

.footer__text {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.footer__text a {
  color: var(--gold-400);
  text-decoration: none;
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}

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

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .problem__grid,
  .results__grid,
  .who__grid {
    grid-template-columns: 1fr;
  }

  .solution__flow {
    flex-direction: column;
  }

  .solution-step {
    border-radius: var(--radius-lg) !important;
  }

  .solution-step:not(:last-child)::after,
  .solution-step:not(:last-child)::before {
    right: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(50%) rotate(90deg);
  }

  .stats-bar__inner {
    gap: 24px;
  }

  .hero__trust {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .nav__cta span {
    display: none;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .problem,
  .solution,
  .results,
  .who {
    padding: 60px 0;
  }

  .stat-item__value {
    font-size: 26px;
  }
}

/* ─── CALCULATOR SECTION ────────────────────────────────────── */
.calculator {
  padding: 80px 0;
  background: var(--surface-white);
}

.calc-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: var(--text-on-dark);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.calc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-field input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-on-dark);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.2s var(--ease);
}

.calc-field input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-500);
}

.calc-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.calc-result {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}

.result-val {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
}
