/* ═══════════════════════════════════════
   PELADANG — SHARED LANDING STYLES (v3)
   Single source of truth for design tokens
   and shared components. Linked by every
   HTML page in the site.
   ═══════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* === TOKENS === */
:root {
  --f950: #031407;
  --f900: #052210;
  --f800: #0c2b19;
  --f700: #14431f;
  --f600: #166534;
  --f500: #16a34a;
  --f400: #22c55e;
  --f300: #4ade80;
  --f200: #86efac;
  --f100: #dcfce7;
  --f50: #f0fdf4;
  --a600: #d97706;
  --a500: #f59e0b;
  --a400: #fbbf24;
  --a300: #fcd34d;
  --a100: #fef3c7;
  --t900: #0f172a;
  --t700: #1e293b;
  --t500: #475569;
  --t400: #64748b;
  --t300: #94a3b8;
  --t200: #cbd5e1;
  --t100: #e2e8f0;
  --white: #fff;
  --gray50: #f8fafc;
  --gray100: #f1f5f9;
  --gray200: #e2e8f0;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
  --sh-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --sh-md: 0 4px 12px rgba(0, 0, 0, .1);
  --sh-lg: 0 12px 32px rgba(0, 0, 0, .12);
  --sh-xl: 0 24px 64px rgba(0, 0, 0, .16);
  --sh-g: 0 8px 32px rgba(22, 163, 74, .3);
  --sh-a: 0 8px 24px rgba(245, 158, 11, .4);
  --nav-h: 68px;
}

/* === UTILITIES === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* === TYPE === */
.t-hero {
  font-size: clamp(32px, 5.2vw, 55px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.t-section {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f500);
  margin-bottom: 10px;
}

.section-divider {
  width: 44px;
  height: 4px;
  background: var(--f500);
  border-radius: 2px;
  margin: 14px 0 26px;
}

.section-desc {
  color: var(--t500);
  font-size: 18px;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-size: 16px;
  font-weight: 700;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: inherit;
}

.btn-amber {
  background: var(--a500);
  color: #1a1000;
  box-shadow: var(--sh-a);
}

.btn-amber:hover {
  background: var(--a400);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, .5);
}

.btn-amber:active {
  transform: scale(.97);
}

.btn-green {
  background: var(--f500);
  color: #fff;
  box-shadow: var(--sh-g);
}

.btn-green:hover {
  background: var(--f400);
  color: var(--t900);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .3);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

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

.btn-outline:hover {
  border-color: var(--f400);
  background: var(--f50);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

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

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
}

.badge-white {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
}

.badge-green {
  background: var(--f100);
  color: var(--f700);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: rgba(12, 43, 25, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

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

.nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.nav-logo-text span {
  color: var(--f300);
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .2);
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.6;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  transition: color .2s;
}

.nav-links a:hover {
  color: #fff;
}

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

.nav-sign-in {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  padding: 8px 16px;
  border-radius: var(--r-full);
  transition: all .2s;
}

.nav-sign-in:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.nav-hamburger {
  display: none;
  background: none;
  padding: 8px;
  border-radius: 8px;
}

.nav-hamburger svg {
  stroke: #fff;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, var(--f950) 0%, var(--f800) 45%, var(--f700) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--f400);
  opacity: .12;
  top: -200px;
  right: -100px;
  animation: orbFloat 9s ease-in-out infinite;
}

.hero-orb-2 {
  width: 450px;
  height: 450px;
  background: var(--a500);
  opacity: .06;
  bottom: 80px;
  left: -120px;
  animation: orbFloat 11s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 280px;
  height: 280px;
  background: var(--f300);
  opacity: .05;
  top: 45%;
  left: 35%;
  animation: orbFloat 7s ease-in-out infinite 3s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-28px) scale(1.04);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 52px);
  padding-bottom: 88px;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-body {
  max-width: 620px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--f400);
  flex-shrink: 0;
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

.hero-eyebrow span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--f300);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-headline {
  color: #fff;
  margin-bottom: 20px;
}

.hero-headline .accent {
  color: var(--a400);
}

.hero-subline {
  color: rgba(255, 255, 255, .62);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 480px;
}

.hero-input {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-full);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all .2s;
  backdrop-filter: blur(8px);
}

.hero-input::placeholder {
  color: rgba(255, 255, 255, .42);
}

.hero-input:focus {
  border-color: var(--f400);
  background: rgba(255, 255, 255, .14);
}

.hero-submit {
  padding: 15px 24px;
  background: var(--a500);
  color: #1a1000;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: var(--sh-a);
  flex-shrink: 0;
}

.hero-submit:hover {
  background: var(--a400);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, .52);
}

.hero-submit:active {
  transform: scale(.97);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  font-weight: 500;
}

.hero-trust-item svg {
  opacity: .75;
  flex-shrink: 0;
}

.hero-micro-tests {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  max-width: 480px;
}

.micro-test {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  padding: 9px 14px;
}

.micro-test-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.micro-test-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.45;
  flex: 1;
}

.micro-test-text strong {
  color: #fff;
  font-weight: 600;
}

.micro-test-stars {
  color: var(--a400);
  font-size: 10px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* Hero visual / mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.dash-mock {
  background: #142b1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  width: 100%;
  max-width: 460px;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center bottom;
}

.dash-mock-header {
  background: #0d1e10;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.dash-mac-dots {
  display: flex;
  gap: 5px;
}

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

.dash-mock-title {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  margin-left: 8px;
  font-family: monospace;
}

.dash-body {
  display: flex;
  height: 360px;
}

.dash-sidebar {
  width: 130px;
  background: #0d1e10;
  padding: 14px 10px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, .05);
}

.dash-sb-section {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, .22);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 12px 0 8px 4px;
}

.dash-sb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 2px;
  transition: all .15s;
}

.dash-sb-item.active {
  background: rgba(22, 163, 74, .2);
  color: #4ade80;
}

.dash-sb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.dash-main {
  flex: 1;
  padding: 14px;
  overflow: hidden;
}

.dash-greeting {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 12px;
}

.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.dash-kpi {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 8px;
  padding: 10px;
}

.dash-kpi-val {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.dash-kpi-lbl {
  font-size: 8.5px;
  color: rgba(255, 255, 255, .35);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dash-feed {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 8px;
  padding: 10px;
}

.dash-feed-title {
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.dash-feed-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .03);
}

.dash-feed-item:last-child {
  border-bottom: none;
}

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

.dash-feed-text {
  font-size: 10px;
  color: rgba(255, 255, 255, .55);
  flex: 1;
}

.dash-feed-time {
  font-size: 9px;
  color: rgba(255, 255, 255, .2);
  white-space: nowrap;
}

/* Floating metric badge */
.hero-badge-float {
  position: absolute;
  bottom: 32px;
  right: -16px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 11px 14px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--gray200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge-icon {
  width: 34px;
  height: 34px;
  background: var(--f100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--t900);
}

.hero-badge-sub {
  font-size: 10.5px;
  color: var(--t400);
}

/* === PROOF BAR === */
.proof-bar {
  background: var(--f500);
  padding: 20px 0;
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.proof-stat-num {
  font-size: 22px;
  font-weight: 900;
}

.proof-stat-label {
  font-size: 13.5px;
  opacity: .78;
}

.proof-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, .22);
}

/* === PROBLEM SECTION === */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.problem-cards {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.problem-card {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--gray200);
  border-radius: var(--r-lg);
  transition: box-shadow .2s;
}

.problem-card:hover {
  box-shadow: var(--sh-md);
}

.prob-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prob-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--t900);
  margin-bottom: 4px;
}

.prob-text p {
  font-size: 13.5px;
  color: var(--t500);
  line-height: 1.55;
}

/* Alert panel mockup */
.alert-panel {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  border: 1px solid var(--gray200);
  position: relative;
}

.alert-panel-header {
  background: var(--f800);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-panel-body {
  padding: 20px;
}

.alert-card {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 3px solid;
}

.alert-card:last-child {
  margin-bottom: 0;
}

.alert-card-critical {
  background: #fef2f2;
  border-color: #ef4444;
}

.alert-card-high {
  background: #fffbeb;
  border-color: var(--a500);
}

.alert-card-low {
  background: var(--f50);
  border-color: var(--f500);
}

.alert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.alert-name {
  font-size: 13px;
  font-weight: 700;
}

.alert-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.alert-detail {
  font-size: 11.5px;
  color: var(--t400);
}

.alert-float-badge {
  position: absolute;
  bottom: -14px;
  right: 20px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 10px 14px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--gray200);
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-float-icon {
  width: 32px;
  height: 32px;
  background: var(--f100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === FEATURES === */
.features-bg {
  background: var(--gray50);
}

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

.feat-card {
  background: #fff;
  border: 1px solid var(--gray200);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--f500);
  opacity: 0;
  transition: opacity .25s;
}

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

.feat-card:hover::before {
  opacity: 1;
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.fi-red {
  background: #fee2e2;
}

.fi-blue {
  background: #dbeafe;
}

.fi-green {
  background: var(--f100);
}

.fi-purple {
  background: #ede9fe;
}

.fi-amber {
  background: var(--a100);
}

.fi-teal {
  background: #ccfbf1;
}

.feat-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--t900);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 14px;
  color: var(--t500);
  line-height: 1.65;
}

/* === COMPARISON === */
.cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 48px;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--gray200);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.cmp-table th {
  padding: 18px 22px;
  background: var(--gray50);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t400);
  text-transform: uppercase;
  letter-spacing: .07em;
  border-bottom: 1px solid var(--gray200);
  text-align: left;
}

.cmp-table th:not(:first-child) {
  text-align: center;
}

.cmp-table th.hl {
  background: var(--f800);
  color: #fff;
}

.cmp-table td {
  padding: 14px 22px;
  font-size: 15px;
  border-bottom: 1px solid var(--gray100);
  color: var(--t700);
}

.cmp-table td.hl {
  background: rgba(22, 163, 74, .04);
  font-weight: 600;
  color: var(--f700);
  text-align: center;
}

.cmp-table td:not(:first-child):not(.hl) {
  text-align: center;
}

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

.cmp-yes {
  color: var(--f500);
  font-size: 18px;
  font-weight: 700;
}

.cmp-no {
  color: #ef4444;
  font-size: 18px;
}

.cmp-part {
  color: var(--a500);
  font-size: 16px;
}

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

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.test-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 28px;
  border: 1px solid var(--gray200);
  transition: all .2s;
}

.test-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.star {
  color: var(--a400);
  font-size: 15px;
}

.test-quote {
  font-size: 15px;
  line-height: 1.72;
  color: var(--t700);
  margin-bottom: 22px;
  font-style: italic;
  position: relative;
  padding-left: 0;
}

.test-quote::before {
  content: '\201C';
  font-size: 50px;
  line-height: .8;
  color: var(--f200);
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, serif;
  font-style: normal;
}

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

.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.test-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--t900);
}

.test-role {
  font-size: 12.5px;
  color: var(--t400);
}

/* === NATION SECTION === */
.nation-section {
  background: linear-gradient(140deg, var(--f900) 0%, var(--f700) 100%);
  position: relative;
  overflow: hidden;
}

.nation-bg-dots {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .04) 1px, transparent 0);
  background-size: 38px 38px;
  pointer-events: none;
}

.nation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nation-left h2 {
  color: #fff;
  margin-bottom: 18px;
}

.nation-left p {
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 14px;
}

.nation-map-box {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-xl);
  padding: 28px;
}

.nation-map-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 18px;
}

.nation-map-visual {
  position: relative;
  height: 240px;
  background: rgba(255, 255, 255, .02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .05);
  overflow: hidden;
  margin-bottom: 16px;
}

.map-dot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.map-pulse {
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
  animation: heroPulse 2s infinite;
}

.map-label {
  font-size: 8.5px;
  color: rgba(255, 255, 255, .45);
}

.map-count {
  font-size: 10px;
  font-weight: 800;
}

.nation-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nation-kpi {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  padding: 16px;
}

.nation-kpi-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--f300);
  line-height: 1;
  margin-bottom: 3px;
}

.nation-kpi-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

/* === SIGNUP SECTION === */
.signup-card {
  background: linear-gradient(140deg, var(--f800), var(--f700));
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.signup-left h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 14px;
}

.signup-left>p {
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.7;
}

.signup-left ul {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.signup-left li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 14.5px;
}

.signup-form-box {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--sh-xl);
}

.signup-form-box h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--t900);
  margin-bottom: 3px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--t400);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t700);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray200);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: inherit;
  color: var(--t900);
  outline: none;
  transition: border-color .2s;
}

.form-input:focus {
  border-color: var(--f400);
}

.form-input::placeholder {
  color: var(--t300);
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--f500);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--f400);
  color: var(--t900);
  transform: translateY(-1px);
  box-shadow: var(--sh-g);
}

.form-note {
  font-size: 11.5px;
  color: var(--t400);
  margin-top: 11px;
  text-align: center;
  line-height: 1.6;
}

.form-note a {
  color: var(--f600);
  text-decoration: underline;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

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

.form-main.hide {
  display: none;
}

.form-success-circle {
  width: 60px;
  height: 60px;
  background: var(--f100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* === FAQ === */
.faq-bg {
  background: var(--gray50);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: grid;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray200);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
}

.faq-q h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--t900);
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0 22px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 22px 20px;
}

.faq-a p {
  font-size: 14.5px;
  color: var(--t500);
  line-height: 1.72;
}

/* === FINAL CTA === */
.final-cta {
  background: var(--f500);
  padding: 80px 0;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  margin-bottom: 14px;
}

.final-cta p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, .45);
  font-size: 12.5px;
}

/* === FOOTER === */
.footer {
  background: var(--f950);
  padding: 64px 0 32px;
}

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

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.footer-brand-name span {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.footer-brand-name span em {
  font-style: normal;
  color: var(--f300);
}

.footer-brand p {
  color: rgba(255, 255, 255, .42);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .42);
  font-size: 13.5px;
  margin-bottom: 9px;
  transition: color .2s;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, .8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: rgba(255, 255, 255, .3);
  font-size: 12.5px;
}

.footer-langs {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--f900);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.mobile-close {
  background: rgba(255, 255, 255, .08);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.mobile-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-links a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: var(--r-md);
  transition: background .2s;
}

.mobile-links a:hover {
  background: rgba(255, 255, 255, .07);
}

.mobile-footer-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

.d5 {
  transition-delay: .5s;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .navbar {
    background: rgba(12, 43, 25, .96);
    backdrop-filter: blur(14px);
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-actions .lang-switcher,
  .nav-actions .nav-sign-in,
  .nav-actions .btn-amber {
    display: none;
  }

  .nav-actions {
    flex-shrink: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

  .nation-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .signup-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero-form {
    flex-direction: column;
  }

  .proof-bar-inner {
    gap: 20px;
  }

  .proof-divider {
    display: none;
  }

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

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

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

  .final-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

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

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

  .nation-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* === LANGUAGE SWITCHER === */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .85);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  letter-spacing: .03em;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.lang-btn svg {
  opacity: .7;
  transition: transform .2s;
}

.lang-switcher.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0c2b19;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  padding: 6px;
  min-width: 130px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s;
  z-index: 500;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.lang-option.active {
  color: var(--f300);
  background: rgba(22, 163, 74, .15);
}

.lang-option .lang-flag {
  font-size: 16px;
  line-height: 1;
}

.mobile-lang-btn {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.mobile-lang-btn.active {
  background: rgba(22, 163, 74, .25);
  color: var(--f300);
  border-color: var(--f500);
}


/* ═══════════════════════════════════════
   NAV DROPDOWNS (Features, Use Cases)
   ═══════════════════════════════════════ */

.nav-links li.has-dropdown {
  position: relative;
}

.nav-links li.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-links li.has-dropdown > a .dd-chev {
  transition: transform .2s;
}

.nav-links li.has-dropdown:hover > a .dd-chev,
.nav-links li.has-dropdown:focus-within > a .dd-chev {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -8px;
  background: rgba(8, 28, 14, .98);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  padding: 8px;
  min-width: 280px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  z-index: 110;
  /* Bridge the gap so hover doesn't break when moving down to the menu */
  padding-top: 8px;
}

.nav-links li.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  /* invisible hover-bridge */
}

.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  margin: 0;
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.nav-dropdown .dd-title {
  display: block;
  color: inherit;
  font-weight: 600;
}

.nav-dropdown .dd-sub {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px;
  font-weight: 400;
}

/* ═══════════════════════════════════════
   MOBILE MENU — collapsed dropdown groups
   ═══════════════════════════════════════ */

.mobile-links .mobile-group {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.mobile-links .mobile-group-title {
  display: block;
  padding: 12px 0 4px;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mobile-links .mobile-sub-link {
  display: block;
  padding: 10px 0 10px 12px;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  font-weight: 500;
  border-bottom: none;
  text-decoration: none;
  transition: color .2s;
}

.mobile-links .mobile-sub-link:hover {
  color: var(--f300);
}
