/* ============================================================
   DoryMat — Brand CSS
   Palette: Dory Green #2F5D3A · Warm Coir #C48A4A · Soft Cream #F4F1EA
   Fonts: Fraunces (display) · Instrument Sans (body) · JetBrains Mono (data)
   ============================================================ */

:root {
  /* Brand palette */
  --green:        #2F5D3A;
  --green-mid:    #4A7A55;
  --green-light:  #EAF0EB;
  --green-pale:   #F2F5F2;
  --coir:         #C48A4A;
  --coir-light:   #F8EFE4;
  --cream:        #F4F1EA;
  --cream-dark:   #EAE6DC;
  --charcoal:     #1F1F1F;
  --charcoal-soft:#2E2E2E;
  --sage:         #8FAF93;
  --stone:        #D9D4C8;
  --amber:        #D89A2B;
  --amber-light:  #FBF3E0;
  --red:          #C84C3A;
  --red-light:    #FAE8E5;
  --white:        #FDFCF9;

  /* Type scale */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing & radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(31,31,31,0.06);
  --shadow-md:  0 6px 24px rgba(31,31,31,0.09);
  --shadow-lg:  0 16px 48px rgba(31,31,31,0.12);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

/* ── Utilities ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--font-mono); }

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 11px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.section-title em { color: var(--green); font-style: italic; }

.section-intro {
  font-size: 17px;
  color: #6B6455;
  max-width: 560px;
  line-height: 1.7;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: #234530; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--stone);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 300;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(31,31,31,0.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.nav-logo .dot { color: var(--green); font-style: italic; }

.nav-tabs { display: flex; gap: 2px; }
.nav-tab {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #8A7E70;
  letter-spacing: 0.2px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-tab:hover { background: var(--cream-dark); color: var(--charcoal); }
.nav-tab.active { background: var(--green); color: white; }

.nav-cta {
  background: var(--green);
  color: white;
  border: none;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.nav-cta:hover { background: #234530; }

/* ── PAGE SYSTEM ── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ===================================================
   SALES PAGE
   =================================================== */

/* HERO */
.hero {
  background: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: end;
}

.hero-content { padding-bottom: 48px; }

.hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: -3px;
  color: var(--charcoal);
  margin-bottom: 16px;
  max-width: 680px;
}
.hero h1 em { color: var(--green); font-style: italic; }

.hero-sub {
  font-size: 18px;
  color: #6B6455;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-dark);
  flex-wrap: wrap;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--green);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-item .stat-label { font-size: 11.5px; color: #8A7E70; margin-top: 4px; }

/* Hero phone mockup render */
.hero-visual {
  position: relative;
  align-self: end;
}
.hero-phone-render {
  width: 100%;
  background: var(--charcoal);
  border-radius: 28px 28px 0 0;
  padding: 28px 22px 0;
  box-shadow: 0 -12px 60px rgba(31,31,31,0.15);
  overflow: hidden;
}
.phone-notch {
  width: 100px;
  height: 6px;
  background: #3a3a3a;
  border-radius: 3px;
  margin: 0 auto 20px;
}
.phone-screen {
  background: #F2F5F2;
  border-radius: 16px 16px 0 0;
  padding: 20px;
  min-height: 340px;
}
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.phone-app-logo {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--green);
  font-weight: 600;
}
.phone-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #8A7E70;
}
.phone-notification {
  background: white;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.phone-notification.amber-border { border-left-color: var(--amber); }
.phone-notification.red-border { border-left-color: var(--red); }
.phone-notif-time {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #A09080;
  margin-bottom: 5px;
}
.phone-notif-text {
  font-size: 12px;
  color: var(--charcoal);
  line-height: 1.45;
  font-weight: 500;
}
.phone-notif-sub {
  font-size: 11px;
  color: #7A7060;
  margin-top: 3px;
}
.phone-weight-bar {
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
}
.weight-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #8A7E70;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.weight-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--green);
  letter-spacing: -1px;
}
.weight-track {
  height: 5px;
  background: var(--cream-dark);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.weight-fill {
  height: 100%;
  width: 54%;
  background: linear-gradient(90deg, var(--green), var(--coir));
  border-radius: 3px;
  animation: weightPulse 3s ease-in-out infinite;
}
@keyframes weightPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* PROBLEM BAND */
.problem-band {
  background: var(--charcoal);
  color: white;
  padding: 64px 0;
}
.problem-band .section-label { color: var(--sage); }
.problem-band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 46px);
  color: white;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
  max-width: 680px;
}
.problem-band p { color: rgba(255,255,255,0.55); font-size: 16px; max-width: 560px; font-style: italic; font-family: var(--font-display); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stats-band-cell {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats-band-cell:last-child { border-right: none; }
.stats-band-cell .big {
  font-family: var(--font-display);
  font-size: 44px;
  color: #B8E05A;
  letter-spacing: -2px;
  line-height: 1;
}
.stats-band-cell .desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 7px;
  line-height: 1.4;
}

/* HOW IT WORKS — visual diagram */
.how-section { background: var(--cream); padding: 80px 0; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-light), var(--green), var(--green-light));
  z-index: 0;
}
.how-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.how-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.how-step:hover .how-step-icon {
  border-color: var(--green);
  background: var(--green-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.how-step h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.how-step p { font-size: 12px; color: #8A7E70; line-height: 1.5; }

/* FEATURE IMAGE GRID */
.features-section { background: var(--white); padding: 80px 0; }
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}
.img-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.img-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.img-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
}
.img-card.landscape img { height: 240px; object-position: center; }
.img-card-body { padding: 24px 26px; }
.img-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 9px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}
.img-card-body h3 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.img-card-body p { font-size: 13.5px; color: #7A7060; line-height: 1.65; }

/* THEFT SECTION */
.theft-section {
  background: var(--charcoal-soft);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.theft-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.theft-image-col {
  position: relative;
  overflow: hidden;
}
.theft-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.theft-image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--charcoal-soft) 100%);
}
.theft-content-col {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.theft-content-col .section-label { color: var(--sage); }
.theft-content-col h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  color: white;
  letter-spacing: -1.5px;
  margin: 14px 0 18px;
}
.theft-content-col h2 em { color: #B8E05A; font-style: italic; }
.theft-content-col p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
}

.theft-logic {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.theft-logic-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.theft-logic-row:last-child { border-bottom: none; padding-bottom: 0; }
.theft-logic-row .icon { font-size: 16px; width: 24px; text-align: center; }
.theft-logic-row .signal { flex: 1; }
.theft-logic-row .status {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 1px;
}
.status-red { background: rgba(200,76,58,0.25); color: #FF8A7A; }
.status-green { background: rgba(47,93,58,0.35); color: #B8E05A; }
.status-alert { background: rgba(216,154,43,0.25); color: #F5C842; }

.theft-alert-card {
  background: rgba(200,76,58,0.15);
  border: 1px solid rgba(200,76,58,0.3);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 28px;
}
.theft-alert-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FF8A7A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theft-alert-head::before { content: '⚠'; }
.theft-alert-text { font-size: 14px; color: white; line-height: 1.55; font-weight: 500; }
.theft-alert-text strong { color: #FF8A7A; }

/* TWO MAT SYSTEM */
.mats-section { background: var(--cream-dark); padding: 80px 0; }
.two-mat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.mat-card {
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mat-card-head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--cream-dark);
}
.mat-type-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 14px;
}
.tag-door { background: var(--green-light); color: var(--green); }
.tag-pkg  { background: var(--coir-light); color: var(--coir); }
.mat-card-head h3 {
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.mat-card-head p { font-size: 13.5px; color: #7A7060; }
.mat-card-body { padding: 22px 28px; }
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-icon.g { background: var(--green-light); }
.feat-icon.c { background: var(--coir-light); }
.feat-icon.b { background: #EBF0F8; }
.feat-icon.r { background: var(--red-light); }
.feat-text strong {
  display: block;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.feat-text span { color: #7A7060; font-size: 12.5px; line-height: 1.5; }

/* DUO BAND */
.duo-band {
  background: var(--green);
  color: white;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.duo-band::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.duo-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.duo-band .section-label { color: rgba(255,255,255,0.5); }
.duo-band h2 {
  font-family: var(--font-display);
  font-size: clamp(30px,4.5vw,52px);
  color: white;
  letter-spacing: -1.5px;
  margin: 12px 0 14px;
  max-width: 680px;
}
.duo-band p { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 560px; margin-bottom: 48px; font-family: var(--font-display); font-style: italic; }

.duo-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.duo-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: background 0.2s, transform 0.2s;
}
.duo-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.duo-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  color: white;
  margin-bottom: 8px;
}
.duo-card p { font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.55; }

.theft-callout {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13px;
  color: white;
  font-weight: 500;
  margin-bottom: 36px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.theft-callout strong { color: #B8E05A; }

/* GUARDIAN SECTION */
.guardian-section { background: var(--white); padding: 80px 0; }
.guardian-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.guardian-visual {
  background: var(--charcoal);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.guardian-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(47,93,58,0.2);
  border-radius: 50%;
}
.guardian-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.guardian-map-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
}
.guardian-live-dot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #B8E05A;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #B8E05A;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.guardian-event {
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  border-left: 3px solid var(--green);
}
.guardian-event.amber { border-left-color: var(--amber); }
.guardian-event.red { border-left-color: var(--red); }
.event-time { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 5px; }
.event-text { font-size: 13px; color: white; font-weight: 500; }
.event-detail { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 3px; }

.guardian-content .section-label { margin-bottom: 12px; }
.guardian-content h2 { font-size: clamp(30px,4vw,44px); letter-spacing: -1px; margin-bottom: 16px; }
.guardian-content p { font-size: 15px; color: #7A7060; line-height: 1.7; margin-bottom: 24px; }

.guardian-perks { list-style: none; margin-bottom: 32px; }
.guardian-perks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 13.5px;
}
.guardian-perks li:last-child { border-bottom: none; }
.perk-check {
  width: 20px;
  height: 20px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}
.perk-text strong { display: block; color: var(--charcoal); font-weight: 600; }
.perk-text span { color: #8A7E70; font-size: 12px; }

/* PRICING */
.pricing-section { background: var(--cream-dark); padding: 80px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--r-xl);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--green); background: var(--green); color: white; }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coir);
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
.price-tier { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #8A7E70; margin-bottom: 8px; }
.price-card.featured .price-tier { color: rgba(255,255,255,0.6); }
.price-amount { font-family: var(--font-display); font-size: 52px; letter-spacing: -2.5px; color: var(--charcoal); line-height: 1; margin-bottom: 6px; }
.price-card.featured .price-amount { color: white; }
.price-desc { font-size: 13px; color: #8A7E70; margin-bottom: 24px; line-height: 1.4; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.65); }
.price-features { list-style: none; }
.price-features li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  gap: 8px;
  color: #7A7060;
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.1); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.price-card.featured .price-features li::before { color: #B8E05A; }
.price-cta {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  text-align: center;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.price-cta-outline { border: 1.5px solid var(--stone); background: transparent; color: var(--charcoal); }
.price-cta-outline:hover { border-color: var(--green); color: var(--green); }
.price-cta-fill { background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.28); color: white; }
.price-cta-fill:hover { background: rgba(255,255,255,0.28); }

/* SUB ROW */
.sub-row {
  margin-top: 28px;
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.sub-row-label { font-size: 14px; color: var(--charcoal); font-weight: 600; }
.sub-row-detail { font-size: 13px; color: #5A6E5B; max-width: 480px; line-height: 1.5; }
.sub-row-price { font-family: var(--font-display); font-size: 30px; color: var(--green); letter-spacing: -1px; white-space: nowrap; }

/* ===================================================
   BUILD PAGE
   =================================================== */
.build-hero {
  background: var(--charcoal);
  padding: 64px 0;
}
.build-hero .section-label { color: var(--sage); }
.build-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px,5.5vw,68px);
  color: white;
  letter-spacing: -2.5px;
  margin: 12px 0;
}
.build-hero h1 em { color: #B8E05A; font-style: italic; }
.build-hero p { color: rgba(255,255,255,0.55); font-size: 16px; max-width: 540px; font-family: var(--font-display); font-style: italic; }

.build-section { padding: 64px 0; }
.build-section.alt { background: var(--white); }

/* BOM TABLE */
.bom-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 13px;
}
.bom-table th {
  background: var(--charcoal);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
}
.bom-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.bom-table th:last-child { border-radius: 0 var(--r-sm) 0 0; text-align: right; }
.bom-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--cream-dark);
  vertical-align: top;
}
.bom-table tr:hover td { background: var(--cream); }
.bom-table tr:last-child td { border-bottom: none; }
.part-name { font-weight: 600; color: var(--charcoal); font-size: 13.5px; }
.part-spec { font-size: 11px; color: #8A7E70; margin-top: 2px; }
.cost-col { font-family: var(--font-mono); font-size: 13px; color: var(--green); font-weight: 500; text-align: right; white-space: nowrap; }
.links-col a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #1E4A7A;
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
}
.links-col a:hover { text-decoration: underline; }
.bom-total { background: var(--green-light) !important; border-top: 2px solid var(--green) !important; }
.bom-total td { font-family: var(--font-mono); font-weight: 700; color: var(--green); }

/* API CARDS */
.api-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.api-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 16px;
  align-items: start;
  transition: border-color 0.15s;
}
.api-card:hover { border-color: var(--green-mid); }
.api-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.api-dot.free { background: var(--green); }
.api-dot.paid { background: var(--amber); }
.api-dot.freemium { background: #1E4A7A; }
.api-info strong { font-size: 15px; font-weight: 600; display: block; margin-bottom: 4px; color: var(--charcoal); }
.api-url { font-family: var(--font-mono); font-size: 10.5px; color: #1E4A7A; margin-bottom: 8px; }
.api-url a { color: #1E4A7A; text-decoration: none; }
.api-url a:hover { text-decoration: underline; }
.api-info p { font-size: 13px; color: #7A7060; line-height: 1.55; }
.api-badge { font-family: var(--font-mono); font-size: 10px; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.api-badge.free { background: var(--green-light); color: var(--green); }
.api-badge.paid { background: var(--amber-light); color: var(--amber); }
.api-badge.freemium { background: #E6EEF7; color: #1E4A7A; }

/* STACK DIAGRAM */
.stack-wrap { background: var(--charcoal); border-radius: var(--r-xl); padding: 32px; margin-top: 32px; }
.stack-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  position: relative;
}
.stack-row:last-child { margin-bottom: 0; }
.stack-row::after {
  content: '↓';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  z-index: 1;
}
.stack-row:last-child::after { display: none; }
.stack-n { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.3); width: 20px; flex-shrink: 0; }
.stack-name { font-weight: 600; color: white; font-size: 14px; min-width: 160px; }
.stack-desc { font-size: 12px; color: rgba(255,255,255,0.5); flex: 1; }
.stack-badge { margin-left: auto; font-family: var(--font-mono); font-size: 9px; padding: 3px 8px; border-radius: 3px; flex-shrink: 0; }
.sb-hw { background: rgba(184,224,90,0.15); color: #B8E05A; border: 1px solid rgba(184,224,90,0.3); }
.sb-fw { background: rgba(91,143,255,0.15); color: #7BAFFF; border: 1px solid rgba(91,143,255,0.3); }
.sb-api { background: rgba(216,154,43,0.15); color: #F5C842; border: 1px solid rgba(216,154,43,0.3); }
.sb-ai { background: rgba(255,107,107,0.15); color: #FF8A7A; border: 1px solid rgba(255,107,107,0.3); }

/* BUILD TIMELINE */
.timeline { margin-top: 32px; }
.tl-item { display: flex; gap: 18px; margin-bottom: 22px; }
.tl-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: white;
}
.tl-line { width: 2px; flex: 1; background: var(--stone); margin-top: 6px; min-height: 20px; }
.tl-content { padding-top: 6px; flex: 1; }
.tl-meta { font-family: var(--font-mono); font-size: 10px; color: var(--green); margin-bottom: 5px; letter-spacing: 0.5px; }
.tl-content h4 { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.3px; margin-bottom: 5px; }
.tl-content p { font-size: 13px; color: #7A7060; line-height: 1.55; }

/* ===================================================
   MONEY PAGE
   =================================================== */
.money-hero {
  background: linear-gradient(135deg, #182E18 0%, #243D20 50%, #182E18 100%);
  padding: 64px 0;
}
.money-hero .section-label { color: var(--sage); }
.money-hero h1 { font-family: var(--font-display); font-size: clamp(38px,5.5vw,68px); color: white; letter-spacing: -2.5px; margin: 12px 0; }
.money-hero h1 em { color: #B8E05A; font-style: italic; }
.money-hero p { color: rgba(255,255,255,0.55); font-size: 16px; max-width: 540px; font-family: var(--font-display); font-style: italic; }

.money-section { padding: 64px 0; }
.money-section.alt { background: var(--white); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: 28px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.kpi-card .kpi-num { font-family: var(--font-display); font-size: 40px; color: var(--green); letter-spacing: -2px; line-height: 1; }
.kpi-card .kpi-label { font-size: 12px; color: #8A7E70; margin-top: 7px; }
.kpi-card .kpi-sub { font-family: var(--font-mono); font-size: 10px; color: var(--green-mid); margin-top: 4px; }

.econ-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 28px; }
.econ-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--r-lg); overflow: hidden; }
.econ-head { background: var(--charcoal); padding: 12px 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.econ-row { display: flex; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid var(--cream-dark); font-size: 13px; }
.econ-row:last-child { border-bottom: none; }
.econ-row .ek { color: #8A7E70; }
.econ-row .ev { font-family: var(--font-mono); font-size: 12px; }
.ev-pos { color: var(--green); font-weight: 500; }
.ev-neg { color: var(--red); }
.ev-hl { color: var(--green); font-weight: 700; }
.econ-total { background: var(--green-light) !important; }
.econ-total .ek { font-weight: 700; color: var(--charcoal); }
.econ-total .ev { color: var(--green) !important; font-weight: 700; }

/* CALCULATOR */
.calc-wrap {
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--r-xl);
  padding: 40px;
  margin-top: 40px;
}
.calc-wrap h3 { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.5px; margin-bottom: 6px; }
.calc-wrap .calc-sub { font-size: 14px; color: #8A7E70; margin-bottom: 32px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calc-inputs { display: flex; flex-direction: column; gap: 20px; }
.calc-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--charcoal); }
.field-note { font-size: 11px; color: #8A7E70; margin-bottom: 7px; }
.calc-field input[type=range] { width: 100%; accent-color: var(--green); cursor: pointer; }
.range-vals { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: #8A7E70; margin-top: 5px; }
.calc-display { font-family: var(--font-mono); font-size: 14px; color: var(--green); font-weight: 500; }

.calc-results { background: var(--charcoal); border-radius: var(--r-lg); padding: 30px; }
.calc-results h4 { font-family: var(--font-display); font-size: 18px; color: white; margin-bottom: 20px; }
.result-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 14px; }
.result-row:last-child { border-bottom: none; padding-top: 14px; margin-top: 6px; border-top: 1px solid rgba(255,255,255,0.13); }
.rk { color: rgba(255,255,255,0.5); }
.rv { font-family: var(--font-mono); color: white; font-weight: 500; }
.result-row.profit .rv { color: #B8E05A; font-size: 17px; }
.result-row.profit .rk { color: white; font-weight: 600; }

/* SCENARIO TABLE */
.scenario-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 13px; }
.scenario-table th { background: var(--charcoal); color: white; padding: 11px 14px; text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.scenario-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.scenario-table th:last-child { border-radius: 0 var(--r-sm) 0 0; }
.scenario-table td { padding: 12px 14px; border-bottom: 1px solid var(--cream-dark); }
.scenario-table tr:hover td { background: var(--cream); }
.scenario-table tr:last-child td { border-bottom: none; }
.sc-name { font-weight: 600; }
.sc-badge { display: inline-block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; margin-left: 6px; }
.badge-min { background: var(--amber-light); color: var(--amber); }
.badge-mid { background: var(--green-light); color: var(--green); }
.badge-best { background: #D4F5D4; color: #1E5C1E; }
.tcol-good { color: var(--green); font-weight: 600; font-family: var(--font-mono); }
.tcol-great { color: #1E5C1E; font-weight: 700; font-family: var(--font-mono); }
.tcol-warn { color: var(--amber); font-weight: 600; font-family: var(--font-mono); }

.sub-model { background: var(--green); color: white; border-radius: var(--r-xl); padding: 40px; margin-top: 28px; }
.sub-model h3 { font-family: var(--font-display); font-size: 28px; color: white; margin-bottom: 8px; letter-spacing: -0.5px; }
.sub-model > p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 28px; line-height: 1.6; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.sub-item { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--r-lg); padding: 18px; }
.sub-num { font-family: var(--font-display); font-size: 32px; color: #B8E05A; letter-spacing: -1px; }
.sub-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 5px; line-height: 1.4; }

/* FOOTER */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.35);
  padding: 40px 32px;
  text-align: center;
  font-size: 13px;
}
footer .footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
footer .footer-logo em { color: var(--sage); font-style: italic; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .img-grid, .two-mat-grid, .pricing-grid, .econ-grid, .kpi-grid, .duo-grid,
  .calc-grid, .sub-grid, .guardian-inner, .theft-inner { grid-template-columns: 1fr !important; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
  .nav-tab span { display: none; }
  .theft-image-col { height: 300px; }
  .theft-content-col { padding: 40px 28px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .stats-band { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; letter-spacing: -2px; }
  .theft-inner { grid-template-columns: 1fr; }
}
