/* =========================================
   EFFICLOG WEBSITE — style.css
   Brand: Teal #2D9B83 · Navy #1E3A6E
   ========================================= */

/* ---- CSS Variables ---- */
:root {
  --primary:      #2D9B83;
  --primary-lt:   #3DBFA3;
  --secondary:    #1E3A6E;
  --secondary-lt: #2E5BA8;
  --dark:         #0A1628;
  --dark-2:       #0D2137;
  --dark-surface: rgba(18, 38, 68, 0.9);
  --bg:           #F0F7F5;
  --surface:      #FFFFFF;
  --text:         #0D2137;
  --text-2:       #4A6572;
  --text-3:       #8FA8B2;
  --success:      #27A06A;
  --info:         #2B7CB8;
  --border:       rgba(0,0,0,0.08);
  --border-dark:  rgba(255,255,255,0.08);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow:       0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.15);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- Container ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  font-size: 15px;
}
.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(45,155,131,0.35);
}
.btn-primary:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,155,131,0.45);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-outline-dark {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: white;
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-white {
  background: white;
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
  background: rgba(255,255,255,0.08);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ---- Section Label ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 5px 12px;
  background: rgba(45,155,131,0.1);
  border-radius: 999px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-header p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---- Gradient text ---- */
.gradient-text {
  background: linear-gradient(135deg, #3DBFA3 0%, #2D9B83 50%, #1E3A6E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: #0A1628;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.logo-img-wrap {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav-links a:hover { color: white; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.btn-nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--primary);
  padding: 11px 22px;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(45,155,131,0.3);
}
.btn-nav-cta:hover {
  background: var(--primary-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,155,131,0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0D2137 0%, #0A1628 60%, #0D1F38 100%);
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(45, 155, 131, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(61, 191, 163, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(30, 58, 110, 0.25) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroGlow {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,155,131,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,155,131,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-lt);
  background: rgba(45,155,131,0.12);
  border: 1px solid rgba(45,155,131,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--primary-lt);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
}
.trust-stat {
  display: flex;
  flex-direction: column;
}
.trust-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.trust-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.trust-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* ---- Phone Mockup ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-duo {
  display: flex;
  align-items: flex-start;
}
.phone-front {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  margin-right: -18px;
  animation: phoneEnterFront 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.phone-back {
  position: relative;
  z-index: 1;
  transform-origin: bottom center;
  animation: phoneEnterBack 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
.phone-back .phone-frame,
.phone-front .phone-frame {
  animation: none;
}

@keyframes phoneEnterFront {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phoneEnterBack {
  from { opacity: 0; transform: rotate(6deg) translateY(40px); }
  to   { opacity: 1; transform: rotate(6deg) translateY(0); }
}
.phone-duo .phone-screen {
  padding: 0 11px 12px;
  gap: 6px;
}
.phone-wrap {
  position: relative;
  display: inline-block;
}
.phone-frame {
  width: 235px;
  height: 470px;
  background: #060E1D;
  border-radius: 42px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 80px rgba(45,155,131,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.phone-notch {
  width: 90px; height: 22px;
  background: #060E1D;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border: 1.5px solid rgba(255,255,255,0.06);
  border-top: none;
}
.phone-screen {
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 2px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.ps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ps-greeting {
  font-size: 12px;
  font-weight: 700;
  color: white;
}
.ps-sub {
  font-size: 9.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.ps-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: white;
}
.ps-card {
  background: linear-gradient(135deg, rgba(45,155,131,0.2), rgba(30,58,110,0.2));
  border: 1px solid rgba(45,155,131,0.2);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}
.ps-card-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.ps-ring-wrap {
  display: flex;
  justify-content: center;
}
.ring-anim {
  animation: ringDraw 2s ease-out forwards;
  stroke-dashoffset: 301.6;
}
@keyframes ringDraw {
  to { stroke-dashoffset: 75.4; }
}
.ps-skills {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ps-skill-row {
  display: grid;
  grid-template-columns: 72px 1fr 22px;
  align-items: center;
  gap: 8px;
}
.ps-skill-name {
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  white-space: nowrap;
}
.ps-skill-track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.ps-skill-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: left;
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.ps-skill-val {
  font-size: 9px;
  font-weight: 700;
  color: var(--primary-lt);
}
/* ---- Log writing screen ---- */
.ps-screen-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0 7px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 7px;
}
.ps-back   { font-size: 16px; color: rgba(255,255,255,0.45); }
.ps-camera { font-size: 14px; }
.ps-screen-title { font-size: 11px; font-weight: 800; color: white; letter-spacing: -0.2px; }

/* Progress */
.ps-progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ps-progress-label { font-size: 8px; color: rgba(255,255,255,0.38); }
.ps-progress-pct   { font-size: 8px; font-weight: 700; color: var(--primary-lt); }
.ps-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 7px;
}
.ps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  border-radius: 999px;
}

/* Date */
.ps-date-chip {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

/* Title */
.ps-title-field {
  font-size: 14px;
  font-weight: 700;
  color: white;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 6px;
}

/* Text fields */
.ps-text-field {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ps-tf-placeholder {
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 3px;
}
.ps-tf-value {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.ps-tf-empty .ps-tf-placeholder { color: rgba(255,255,255,0.18); }

/* Blinking cursor — CSS only, no text content */
.ps-cursor {
  display: inline-block;
  width: 1.5px;
  height: 10px;
  background: var(--primary-lt);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* Bottom action bar */
.ps-bottom-bar {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ps-btn-analyse {
  flex: 1;
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  color: #667eea;
  background: rgba(102,126,234,0.08);
  border: 1.5px solid rgba(102,126,234,0.45);
  border-radius: 10px;
  padding: 8px 4px;
}
.ps-btn-submit {
  flex: 1;
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border-radius: 10px;
  padding: 8px 4px;
  box-shadow: 0 3px 10px rgba(45,155,131,0.45);
}
.ps-ai-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  background: rgba(45,155,131,0.1);
  border: 1px solid rgba(45,155,131,0.15);
  border-radius: 999px;
  padding: 5px 10px;
}
.ps-ai-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-lt);
  animation: pulse 1.5s infinite;
}

/* ---- Create Log Screen ---- */
.cl-chevron {
  font-size: 22px;
  line-height: 1;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.cl-camera { font-size: 13px; opacity: 0.55; }
.cl-date-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0 5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cl-date-icon { font-size: 9px; }
.cl-date-text {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  flex: 1;
}
.cl-chevron-sm {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.cl-title-field {
  font-size: 15px;
  font-weight: 800;
  color: white;
  line-height: 1.25;
  padding: 5px 0 7px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: -0.3px;
}
.cl-field {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* Filled field — uppercase section label */
.cl-field-label {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 3px;
}
.cl-field-value {
  font-size: 9px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}
/* Empty field — italic placeholder */
.cl-field-empty .cl-field-label {
  font-size: 9px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  color: rgba(255,255,255,0.22);
}

/* ---- Readiness Screen ---- */
/* MainHeader: large left title + icons right, no border, matches headerContainer */
.rd-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 8px;
  margin-bottom: 2px;
}
.rd-main-title {
  font-size: 16px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.rd-main-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rd-icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
}
.rd-avatar {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}
/* Score section — centered column, matches scoreSection */
.rd-score-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 0 5px;
}
.rd-donut-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rd-hint {
  font-size: 6.5px;
  color: rgba(255,255,255,0.28);
  margin-top: 3px;
  letter-spacing: 0.2px;
}
/* Info row: calendar + date (centered, subtle) */
.rd-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 4px 0 5px;
}
.rd-info-icon { font-size: 8px; }
.rd-info-text {
  font-size: 7.5px;
  color: rgba(255,255,255,0.4);
}
/* Hero pill button — matches heroReanalyzeButton */
.rd-hero-btn {
  font-size: 8.5px;
  font-weight: 700;
  color: white;
  background: var(--primary);
  border-radius: 999px;
  padding: 6px 20px;
  box-shadow: 0 3px 12px rgba(45,155,131,0.4);
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.rd-explain-link {
  font-size: 7px;
  color: rgba(255,255,255,0.32);
  text-decoration: underline;
}
/* Section row */
.rd-section-row {
  width: 100%;
  margin-bottom: 5px;
}
/* Section badge — teal pill, matches emptySectionBadge */
.rd-section-badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(45,155,131,0.15);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--primary-lt);
}
.rd-skill-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px;
  margin-bottom: 4px;
}
.rd-skill-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.rd-skill-info {
  flex: 1;
  min-width: 0;
}
.rd-skill-name {
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rd-skill-bar-wrap {
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
}
.rd-skill-fill {
  height: 100%;
  border-radius: 999px;
}
.rd-skill-pct {
  font-size: 8.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.rd-chevron {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  flex-shrink: 0;
  line-height: 1;
}

/* ---- Store Buttons ---- */
.store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 15px 22px;
  color: white;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.store-btn:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}
.store-btn-text {
  display: flex;
  flex-direction: column;
}
.store-btn-top {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4px;
  opacity: 0.58;
  text-transform: uppercase;
  line-height: 1.2;
}
.store-btn-main {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.store-btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.store-coming-soon {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  margin-bottom: 32px;
}
.store-coming-soon a {
  color: var(--primary-lt);
  text-decoration: underline;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 0 48px;
}
.stat-item strong { color: var(--text); font-weight: 700; }
.stat-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
  padding: 100px 0;
  background: white;
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-text .section-label { margin-bottom: 16px; }
.problem-text h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.problem-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.problem-highlight { color: var(--text) !important; }

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pcard {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.pcard-bad {
  background: rgba(229,62,62,0.04);
  border-color: rgba(229,62,62,0.15);
}
.pcard-good {
  background: rgba(45,155,131,0.05);
  border-color: rgba(45,155,131,0.2);
  box-shadow: 0 4px 24px rgba(45,155,131,0.08);
}
.pcard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pcard-icon { font-size: 20px; }
.pcard-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.pcard li {
  font-size: 14px;
  color: var(--text-2);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.pcard-bad li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #E53E3E;
  font-weight: 700;
}
.pcard-good li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   FEATURES GRID — dark bento
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--dark);
}
.features-section .section-label {
  color: var(--primary-lt);
  background: rgba(45,155,131,0.15);
  border: 1px solid rgba(45,155,131,0.2);
}
.features-section .section-header h2 { color: white; }
.features-section .section-header p { color: rgba(255,255,255,0.5); }
.teal-hl { color: var(--primary-lt); font-style: italic; }

/* 6-column bento grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* Base card — all cards dark by default */
.feature-card {
  grid-column: span 2;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(45,155,131,0.25);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.feature-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 10px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
}
.feature-meta {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  font-weight: 500;
}

/* All feature cards get a top accent border */
.feature-card {
  border-top: 2px solid rgba(45,155,131,0.3);
}

/* ---- AI Analysis card (4 of 6 cols) ---- */
.feature-dark {
  grid-column: span 4;
  border-top: 2px solid var(--primary);
}

/* Score widget — mirrors LogAnalysisModal layout */
.fsd {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
/* Header row: score circle + category */
.fsd-header { display: flex; align-items: center; gap: 14px; }
.fsd-circle {
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid var(--primary-lt);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fsd-num { font-size: 20px; font-weight: 800; color: var(--primary-lt); line-height: 1; }
.fsd-denom { font-size: 9px; color: rgba(255,255,255,0.28); margin-top: 1px; }
.fsd-meta { flex: 1; }
.fsd-cat { font-size: 13px; font-weight: 700; color: var(--primary-lt); }
.fsd-subcat { font-size: 11px; color: rgba(255,255,255,0.28); margin-top: 2px; line-height: 1.4; }
/* Field scores */
.fsd-section-title { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.4px; }
.fsd-bars { display: flex; flex-direction: column; gap: 8px; }
.fsd-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.fsd-name { color: rgba(255,255,255,0.48); width: 68px; flex-shrink: 0; }
.fsd-track { flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.fsd-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-lt)); border-radius: 999px; }
.fsd-fill-med { background: linear-gradient(90deg, #D97706, #F59E0B); }
.fsd-fill-low { background: linear-gradient(90deg, #B91C1C, #EF4444); }
.fsd-pct { color: rgba(255,255,255,0.3); width: 24px; text-align: right; font-size: 11px; }
/* Weaknesses section */
.fsd-weak { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.14); border-radius: 8px; padding: 9px 11px; }
.fsd-weak-title { font-size: 10px; font-weight: 700; color: rgba(239,68,68,0.65); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 5px; }
.fsd-weak-item { font-size: 11px; color: rgba(255,255,255,0.42); line-height: 1.5; padding-left: 10px; position: relative; }
.fsd-weak-item + .fsd-weak-item { margin-top: 2px; }
.fsd-weak-item::before { content: '•'; position: absolute; left: 0; color: rgba(239,68,68,0.5); }
/* PRO improvement tips (shown, not locked) */
.fsd-improve { background: rgba(45,155,131,0.07); border: 1px solid rgba(45,155,131,0.18); border-radius: 8px; padding: 9px 11px; }
.fsd-improve-title { font-size: 10px; font-weight: 700; color: var(--primary-lt); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 5px; }
.fsd-improve-item { font-size: 11px; color: rgba(255,255,255,0.48); line-height: 1.5; padding-left: 10px; position: relative; }
.fsd-improve-item + .fsd-improve-item { margin-top: 2px; }
.fsd-improve-item::before { content: '→'; position: absolute; left: 0; color: var(--primary-lt); font-size: 9px; top: 1px; }

/* ---- Job Readiness — donut top + skill legend below ---- */
.jrd-wrap { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.jrd-donut-center { display: flex; justify-content: center; }
.jrd-donut-wrap { flex-shrink: 0; }
/* Skill legend cards */
.jrd-legend { display: flex; flex-direction: column; gap: 6px; }
.jrd-legend-item {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 7px 10px;
}
.jrd-legend-dot { font-size: 14px; flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.jrd-legend-name { font-size: 11px; color: rgba(255,255,255,0.65); flex-shrink: 0; width: 90px; }
.jrd-legend-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.jrd-legend-fill { height: 100%; border-radius: 99px; }
.jrd-legend-score { font-size: 12px; font-weight: 700; flex-shrink: 0; width: 22px; text-align: right; }

/* ---- Mini mockups (row 2 cards) ---- */
.fc-mockup { margin-top: 20px; border-radius: 10px; overflow: hidden; }

/* Resume */
.fc-resume {
  background: white;
  padding: 14px 16px;
}
.fcr-name { font-size: 13px; font-weight: 700; color: #0D2137; }
.fcr-role { font-size: 10px; color: #4A6572; margin-bottom: 10px; }
.fcr-sep { font-size: 9px; font-weight: 700; color: #2D9B83; letter-spacing: 0.5px; margin-bottom: 6px; }
.fcr-line { height: 5px; background: #E2EAF0; border-radius: 99px; margin-bottom: 5px; width: 100%; }
.fcr-bullet { font-size: 10px; color: #334155; line-height: 1.55; padding: 1px 0; }
.fcr-chips { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.fcr-chips span { font-size: 9px; padding: 2px 7px; background: rgba(45,155,131,0.12); color: #2D9B83; border-radius: 99px; font-weight: 600; }

/* Supervisor chat */
.fc-chat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fcc-msg { border-radius: 8px; padding: 8px 10px; }
.fcc-you { background: rgba(45,155,131,0.15); border: 1px solid rgba(45,155,131,0.2); }
.fcc-sup { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.fcc-from { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.35); margin-bottom: 3px; }
.fcc-text { font-size: 11px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.fcc-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #27A06A; font-weight: 600; padding: 2px 0; }
/* Log card header inside supervisor chat */
.fcc-logcard { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 10px; }
.fcc-logtitle { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcc-logmeta { display: flex; align-items: center; justify-content: space-between; }
.fcc-logdate { font-size: 10px; color: rgba(255,255,255,0.3); }
.fcc-badge { font-size: 9px; font-weight: 700; letter-spacing: 0.2px; padding: 2px 7px; border-radius: 99px; }
.fcc-badge-pending { background: rgba(245,158,11,0.12); color: #F59E0B; border: 1px solid rgba(245,158,11,0.25); }
.fcc-badge-approved { background: rgba(39,160,106,0.12); color: #27A06A; border: 1px solid rgba(39,160,106,0.25); }

/* PDF — real document page (mirrors single-log.html template) */
.fc-pdf { display: flex; justify-content: center; }
.fc-pdf-doc {
  width: 168px;
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.55);
  padding: 13px 14px 10px;
  font-family: Helvetica, Arial, sans-serif;
}
.fcpd-applabel { font-size: 6.5px; font-weight: 700; letter-spacing: 1.5px; color: #9ca3af; text-transform: uppercase; margin-bottom: 9px; }
.fcpd-title { font-size: 10.5px; font-weight: 800; color: #111827; line-height: 1.3; margin-bottom: 4px; }
.fcpd-date { font-size: 7.5px; color: #6b7280; margin-bottom: 5px; }
.fcpd-status { font-size: 6.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; padding: 1px 7px; background: #d1fae5; color: #065f46; border-radius: 20px; display: inline-block; margin-bottom: 0; }
.fcpd-divider { height: 1px; background: #e5e7eb; margin: 8px 0 6px; }
.fcpd-meta { font-size: 6.5px; color: #6b7280; margin-bottom: 9px; }
.fcpd-section { margin-bottom: 8px; }
.fcpd-slabel { font-size: 6px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 4px; }
.fcpd-sline { height: 2.5px; background: #e5e7eb; border-radius: 2px; margin-bottom: 2.5px; }
.fcpd-review { border-top: 1px solid #f3f4f6; padding-top: 7px; margin-top: 2px; margin-bottom: 8px; }
.fcpd-rlabel { font-size: 6px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 4px; }
.fcpd-rname { font-size: 6px; color: #9ca3af; margin-bottom: 4px; }
.fcpd-generated { font-size: 6px; color: #d1d5db; border-top: 1px solid #f3f4f6; padding-top: 6px; text-align: center; }

/* ---- Wide bottom card (Archetype — 6 of 6 cols) ---- */
.feature-wide {
  grid-column: span 4;
  background: linear-gradient(135deg, rgba(30,58,110,0.7) 0%, rgba(10,22,40,0.8) 60%);
  border-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 44px 52px;
}
.fw-body { flex: 1; }
.feature-wide .feature-eyebrow { color: var(--primary-lt); }
.feature-wide h3 { font-size: 28px; color: white; font-weight: 800; margin-bottom: 12px; line-height: 1.25; }
.feature-wide p { color: rgba(255,255,255,0.52); }
.fw-visual { flex-shrink: 0; }
.arch-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 28px;
  min-width: 260px;
}
.arch-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary-lt); font-weight: 600; margin-bottom: 8px; }
.arch-name { font-size: 20px; font-weight: 700; color: white; margin-bottom: 14px; }
.arch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.arch-tags span { font-size: 12px; padding: 4px 11px; background: rgba(45,155,131,0.2); color: var(--primary-lt); border-radius: 999px; font-weight: 500; }

/* ============================================================
   SPOTLIGHT SECTIONS
   ============================================================ */
.spotlight { padding: 100px 0; }
.spotlight-dark { background: var(--dark-2); }
.spotlight-light { background: white; }
.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.spotlight-flip { direction: rtl; }
.spotlight-flip > * { direction: ltr; }
.spotlight-content .section-label { color: var(--primary); }
.spotlight-dark .spotlight-content .section-label {
  color: var(--primary-lt);
  background: rgba(45,155,131,0.15);
  border: 1px solid rgba(45,155,131,0.2);
}
.spotlight-content h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.spotlight-dark .spotlight-content h2 { color: white; }
.spotlight-content p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
}
.spotlight-dark .spotlight-content p { color: rgba(255,255,255,0.6); }
.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spotlight-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}
.spotlight-dark .spotlight-list li { color: rgba(255,255,255,0.7); }

/* PRO Tag */
.pro-tag {
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #D97706, #F59E0B);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}
.pro-tag-navy {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-lt));
}

/* ---- AI Card Demo ---- */
.ai-card-demo {
  background: #060E1D;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(45,155,131,0.08);
}
.acd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.acd-dots { display: flex; gap: 6px; }
.acd-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.acd-dots span:nth-child(1) { background: #ff5f56; }
.acd-dots span:nth-child(2) { background: #ffbd2e; }
.acd-dots span:nth-child(3) { background: #27c93f; }
.acd-title {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-left: 4px;
}
.acd-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 12px;
}
.acd-score-num {
  font-size: 48px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.acd-score-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.acd-badges { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.acd-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.acd-green  { background: rgba(39,160,106,0.2); color: #4ADE80; }
.acd-blue   { background: rgba(43,124,184,0.2); color: #60A5FA; }
.acd-teal   { background: rgba(45,155,131,0.2); color: #3DBFA3; }
.acd-section {
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.acd-section-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.acd-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.acd-italic { font-style: italic; color: rgba(61,191,163,0.85) !important; }
.acd-pro-section { background: rgba(217,119,6,0.06); }
.acd-career {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(45,155,131,0.08);
  border-top: 1px solid rgba(45,155,131,0.1);
}
.acd-career-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.acd-career-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-lt);
}

/* ---- Readiness Demo ---- */
.readiness-demo {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.rd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.rd-title { font-size: 16px; font-weight: 800; color: var(--text); }
.rd-week {
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: var(--secondary);
  padding: 4px 12px;
  border-radius: 999px;
}
.rd-ring-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.rd-skills { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.rd-skill {
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  align-items: center;
  gap: 10px;
}
.rd-skill span:first-child { font-size: 13px; color: var(--text-2); font-weight: 500; }
.rd-bar {
  height: 7px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.rd-fill {
  height: 100%;
  border-radius: 999px;
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: left;
}
.rd-skill span:last-child { font-size: 12px; font-weight: 700; color: var(--text); }
.rd-archetype {
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.rd-arch-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.rd-arch-val { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.rd-arch-sub { font-size: 12px; color: var(--text-2); }

/* ============================================================
   HOW IT WORKS — Timeline
   ============================================================ */
.hiw-section {
  padding: 100px 0;
  background: var(--bg);
}

/* Timeline container */
.hiw-timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Phase header */
.hiw-phase { margin: 8px 0 20px; }
.hiw-phase:first-child { margin-top: 0; }
.hiw-phase-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}
.hiw-phase-teal  { background: rgba(45,155,131,0.12); color: #1E7A65; border: 1px solid rgba(45,155,131,0.25); }
.hiw-phase-navy  { background: rgba(30,58,110,0.1);   color: #1E3A6E; border: 1px solid rgba(30,58,110,0.2); }
.hiw-phase-grad  {
  background: linear-gradient(135deg, rgba(45,155,131,0.12), rgba(30,58,110,0.12));
  color: var(--secondary);
  border: 1px solid rgba(45,155,131,0.2);
}

/* Each timeline step */
.hiw-tl-step {
  display: flex;
  gap: 20px;
  margin-bottom: 4px;
}

/* Left: circle + line */
.hiw-tl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}
.hiw-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hiw-circle-teal { background: linear-gradient(135deg, #3DBFA3, #2D9B83); }
.hiw-circle-navy { background: linear-gradient(135deg, #2E5BA8, #1E3A6E); }
.hiw-circle-grad { background: linear-gradient(135deg, #2D9B83, #1E3A6E); }
.hiw-circle-finish {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
  font-size: 18px;
}

.hiw-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(to bottom, rgba(45,155,131,0.3), rgba(45,155,131,0.05));
  margin: 6px 0;
}
.hiw-line-phase {
  background: linear-gradient(to bottom, rgba(45,155,131,0.2), transparent);
  min-height: 36px;
}

/* Right: card */
.hiw-tl-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  flex: 1;
  margin-bottom: 12px;
  transition: var(--transition);
}
.hiw-tl-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-color: rgba(45,155,131,0.2);
}
.hiw-tl-card-finish {
  border-color: rgba(245,158,11,0.25);
  background: linear-gradient(135deg, #fffbeb, white);
  box-shadow: 0 4px 24px rgba(245,158,11,0.08);
}
.hiw-tl-card-finish:hover {
  border-color: rgba(245,158,11,0.4);
  box-shadow: 0 8px 32px rgba(245,158,11,0.12);
}
.hiw-tl-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.hiw-tl-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.hiw-tl-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(45,155,131,0.1);
  padding: 3px 10px;
  border-radius: 999px;
}
.hiw-tl-tag-pro {
  color: #D97706;
  background: rgba(217,119,6,0.1);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--dark);
}
.pricing-section .section-label {
  color: var(--primary-lt);
  background: rgba(45,155,131,0.15);
  border: 1px solid rgba(45,155,131,0.2);
}
.pricing-section .section-header h2 { color: white; }
.pricing-section .section-header p { color: rgba(255,255,255,0.55); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.price-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  transition: var(--transition);
}
.price-card:hover { transform: translateY(-4px); }
.price-card-pro {
  background: rgba(45,155,131,0.08);
  border-color: rgba(45,155,131,0.3);
  box-shadow: 0 0 60px rgba(45,155,131,0.1), 0 0 0 1px rgba(45,155,131,0.2);
}
.price-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  color: white;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(45,155,131,0.4);
}
.price-plan {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.price-num {
  font-size: 44px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -1px;
}
.price-per { font-size: 15px; color: rgba(255,255,255,0.4); }
.price-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 24px;
}
.price-value-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--primary-lt);
  text-align: center;
  font-weight: 500;
}
.price-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.feat-yes::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-lt);
  font-weight: 700;
}
.feat-no {
  color: rgba(255,255,255,0.25) !important;
}
.feat-no::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
}
.price-features li strong { color: rgba(255,255,255,0.9); }

.pricing-note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.pnote-icon { font-size: 22px; flex-shrink: 0; }
.pricing-note strong { color: rgba(255,255,255,0.8); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testi-quote::before { content: '"'; font-size: 48px; color: var(--primary); line-height: 0; vertical-align: -22px; margin-right: 4px; font-style: normal; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 100px 0;
  background: var(--dark);
}
.faq-section .section-header h2 { color: white; }
.faq-section .section-header p { color: rgba(255,255,255,0.55); }
.faq-section .section-label {
  color: var(--primary-lt);
  background: rgba(45,155,131,0.15);
  border: 1px solid rgba(45,155,131,0.2);
}
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-section .section-header { margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary-lt); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s ease; color: rgba(255,255,255,0.4); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] { color: var(--primary-lt); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }
.faq-answer p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  padding: 0 4px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(160deg, #0D2137 0%, var(--dark) 60%, #0D2137 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(45,155,131,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(30,58,110,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-lt);
  background: rgba(45,155,131,0.12);
  border: 1px solid rgba(45,155,131,0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.cta-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-stores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.store-badge {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #040C18;
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { color: white; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.lang-current-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0D2137;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 4px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1001;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-align: left;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}
.lang-option:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}
.lang-option.active {
  color: var(--primary-lt);
  background: rgba(45,155,131,0.12);
  font-weight: 600;
}

/* ============================================================
   BLOG — listing page & article pages
   ============================================================ */
.blog-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #0D2137 0%, #0A1628 60%, #0D1F38 100%);
  text-align: center;
  position: relative;
}
.blog-hero .section-label {
  color: var(--primary-lt);
  background: rgba(45,155,131,0.15);
  border: 1px solid rgba(45,155,131,0.2);
}
.blog-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.blog-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px 0 100px;
  background: var(--dark);
}
.blog-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover {
  border-color: rgba(45,155,131,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.blog-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-lt);
  background: rgba(45,155,131,0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-card-time {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-lt);
  transition: color var(--transition);
}
.blog-card-link:hover { color: white; }

/* Article page */
.article-hero {
  padding: 120px 0 40px;
  background: linear-gradient(160deg, #0D2137 0%, #0A1628 60%, #0D1F38 100%);
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.article-back:hover { color: var(--primary-lt); }
.article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-lt);
  background: rgba(45,155,131,0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.article-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  max-width: 760px;
}
.article-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* Article body */
.article-body {
  background: var(--dark);
  padding: 60px 0 100px;
}
.article-content {
  max-width: 760px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 48px 0 16px;
  line-height: 1.3;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin: 36px 0 12px;
  line-height: 1.3;
}
.article-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  line-height: 1.85;
  margin-bottom: 20px;
}
.article-content strong {
  color: rgba(255,255,255,0.85);
}
.article-content em {
  color: var(--primary-lt);
  font-style: italic;
}
.article-content ul, .article-content ol {
  margin: 16px 0 24px 24px;
}
.article-content li {
  font-size: 16px;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(45,155,131,0.06);
  border-radius: 0 10px 10px 0;
}
.article-content blockquote p {
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 0;
}

/* Before/after comparison boxes */
.comparison-box {
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}
.comparison-bad {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
}
.comparison-good {
  background: rgba(45,155,131,0.06);
  border: 1px solid rgba(45,155,131,0.2);
}
.comparison-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.comparison-bad .comparison-label { color: #EF4444; }
.comparison-good .comparison-label { color: var(--primary-lt); }
.comparison-box p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Article CTA */
.article-cta {
  background: rgba(45,155,131,0.08);
  border: 1px solid rgba(45,155,131,0.2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.article-cta h3 {
  font-size: 22px;
  color: white;
  margin: 0 0 12px;
}
.article-cta p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.article-cta .btn { display: inline-flex; }

/* ============================================================
   ARTICLE LANGUAGE BLOCKS — show/hide by active language
   ============================================================ */
.article-lang { display: none; }
.article-lang.lang-en { display: block; }
html[lang="ms"] .article-lang.lang-en { display: none; }
html[lang="ms"] .article-lang.lang-ms { display: block; }
html[lang="zh"] .article-lang.lang-en { display: none; }
html[lang="zh"] .article-lang.lang-zh { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---- 1145px: shrink phone mockups before they clip ---- */
@media (max-width: 1145px) {
  .phone-duo { transform-origin: top center; }
  .phone-frame { width: 200px; height: 420px; }
  .hero-inner { gap: 40px; }
}

/* ---- 1024px: tablet landscape ---- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-column: span 1; }
  .feature-dark { grid-column: span 2; }
  .feature-wide { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 32px; padding: 36px; }
  .arch-card { min-width: unset; width: 100%; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-content { text-align: center; padding-bottom: 32px; order: 2; }
  .hero-visual { overflow: hidden; order: 1; padding-top: 40px; }
  .hero-subtitle { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .store-btns { justify-content: center; }
  .phone-duo { transform: scale(0.68); transform-origin: top center; margin-bottom: -140px; }
  .phone-frame { width: 210px; height: 440px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  /* Nav — collapse to hamburger at 1024px (Chinese/Malay text needs more space) */
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; margin-right: 8px; }
  .nav-actions .btn-nav-cta { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 1000; margin-left: 0; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(20px);
    padding: 32px;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open a { font-size: 18px; font-weight: 600; }

  /* Footer — stack and center for smaller screens */
  .footer-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { max-width: 100%; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-col { align-items: center; }
}

/* ---- 768px: tablet portrait / large mobile ---- */
@media (max-width: 768px) {

  /* Hero layout — text first, phones peek below fold */
  .hero { padding: 100px 0 0; min-height: 100vh; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: 1; overflow: hidden; margin-top: -20px; }
  .hero-content { text-align: center; padding-bottom: 48px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 16px; max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .store-btns { justify-content: center; }

  /* Phones peek ~20% into viewport — signal to scroll */
  .phone-duo { transform: scale(0.78); transform-origin: top center; margin-bottom: -100px; }

  /* Sections */
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { grid-column: span 1; }
  .feature-dark { grid-column: span 1; }
  .feature-wide { grid-column: span 1; padding: 32px 28px; flex-direction: column; gap: 28px; }
  .fsd-bars { width: 100%; }
  .spotlight-inner { grid-template-columns: 1fr; gap: 40px; }
  .spotlight-flip { direction: ltr; }
  .hiw-tl-card { padding: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { padding: 0 28px; }
  .stat-divider { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 32px; }
}

/* ---- 600px: mobile landscape / large phones ---- */
@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  /* Scale phones down further — still side-by-side */
  .phone-duo { transform: scale(0.62); transform-origin: top center; margin-bottom: -160px; }
  .store-btns { gap: 8px; }
  .store-btn { padding: 12px 16px; }
  .store-btn-main { font-size: 13px; }
  .stat-item { font-size: 14px; padding: 6px 20px; }
}

/* ---- 480px: small phones (iPhone SE, Galaxy A) ---- */
@media (max-width: 480px) {
  .hero { padding: 90px 0 40px; }
  .hero-title { font-size: 28px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 14px; line-height: 1.65; }
  .hero-badge { font-size: 11px; }

  /* Store buttons: full width column */
  .store-btns { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
  .store-btn { width: 200px; justify-content: center; }

  /* Trust stats: wrap nicely */
  .hero-trust { gap: 12px; }
  .trust-stat strong { font-size: 18px; }
  .trust-stat span { font-size: 11px; }

  /* Phones: compact for small screens */
  .hero-visual { padding-top: 20px; }
  .phone-duo { transform: scale(0.45); transform-origin: top center; margin-bottom: -240px; }

  /* Other sections */
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .rd-skill { grid-template-columns: 90px 1fr 28px; }
  .stats-bar { padding: 20px 0; }
  .stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat-divider { display: none; }
  .stat-item { font-size: 12px; padding: 8px 10px; text-align: center; border-right: 1px solid var(--border); }
  .stat-item:last-child { border-right: none; }
  .pricing-grid { padding: 0 4px; }
}
