/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:       #7B9460;  /* dark sage  — primary brand */
  --sage-mid:    #8DAA72;  /* mid sage   — secondary elements */
  --sage-light:  #C2D19E;  /* light sage — chips, badges */
  --cream:       #F0F4E2;  /* cream      — alt section backgrounds */
  --blue:    #007AFF;
  --orange:  #FF9F0A;
  --purple:  #5856D6;
  --red:     #FF3B30;
  --dark:    #0D0D12;
  --dark2:   #16161F;
  --text:    #1A1A2E;
  --text2:   #52526A;
  --text3:   #9090A8;
  --border:  rgba(0,0,0,0.08);
  --surface: #FFFFFF;
  --bg:      #F0F4E2;  /* cream replaces cold gray */
  --radius:  16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,18,0.82);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: auto;
}

/* Logo images */
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 3px 6px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  padding: 3px 6px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  background: var(--green);
  color: #fff;
}
.btn-sm:hover { background: #6a8050; }

.btn-primary {
  padding: 14px 28px;
  font-size: 16px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(123,148,96,0.35);
}
.btn-primary:hover {
  background: #6a8050;
  box-shadow: 0 6px 28px rgba(123,148,96,0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 14px 28px;
  font-size: 16px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
  margin-top: 48px;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(123,148,96,0.15) 0%,
    rgba(0,122,255,0.08) 50%,
    transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(123,148,96,0.12);
  border: 1px solid rgba(123,148,96,0.25);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.2px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-sub strong { color: rgba(255,255,255,0.9); }

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-report-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.hero-report-link:hover { color: var(--sage-light); }

/* ── Stats strip ──────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--dark2);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; flex: 1; min-width: 160px; }
.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.4; max-width: 160px; margin: 0 auto; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); }

.section-label-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.section-label-tag--light { color: rgba(123,148,96,0.85); }

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title--light { color: #fff; }

.section-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 60px;
}
.section-sub--light { color: rgba(255,255,255,0.55); }

/* ── Problem cards ────────────────────────────────────────────────────────── */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.problem-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.problem-icon { font-size: 36px; margin-bottom: 16px; }
.problem-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.problem-card p  { font-size: 15px; color: var(--text2); line-height: 1.6; }

/* ── Screens showcase ─────────────────────────────────────────────────────── */
.screens-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 72px;
  padding: 40px 0 20px;
  perspective: 1200px;
}

.phone-frame {
  position: relative;
  width: 220px;
  height: 476px;
  border-radius: 32px;
  overflow: hidden;
  background: #E8E8ED;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.18),
    0 8px 24px rgba(0,0,0,0.10),
    0 0 0 1px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.phone-frame--center {
  width: 250px;
  height: 542px;
  z-index: 2;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.22),
    0 12px 32px rgba(0,0,0,0.14),
    0 0 0 1px rgba(0,0,0,0.06);
}

.phone-frame--side {
  transform: perspective(800px) rotateY(6deg) scale(0.95);
  opacity: 0.85;
}
.phone-frame--side:last-child {
  transform: perspective(800px) rotateY(-6deg) scale(0.95);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder state when screenshots aren't added yet */
.phone-frame.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #E8E8F0, #D8D8E8);
  gap: 12px;
}
.phone-frame.placeholder img { display: none; }
.phone-placeholder-label {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  text-align: center;
  padding: 0 16px;
}
.phone-frame.placeholder .phone-placeholder-label { display: block; }
.phone-frame.placeholder::before {
  content: '📱';
  font-size: 40px;
}

/* ── Features grid ────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.feature-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.feature-item p  { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ── Steps ────────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.3;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.step p  { font-size: 14px; color: var(--text2); line-height: 1.6; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 20px;
  padding: 16px 4px;
  flex-shrink: 0;
  align-self: center;
}

/* ── Tech cards ───────────────────────────────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.tech-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.tech-card:hover {
  border-color: rgba(123,148,96,0.25);
  background: rgba(255,255,255,0.06);
}

.tech-icon { font-size: 32px; margin-bottom: 16px; }
.tech-card h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.tech-card p  { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ── Market circles ───────────────────────────────────────────────────────── */
.market-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 60px 0;
  flex-wrap: wrap;
}

.market-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.market-circle:hover { transform: scale(1.03); }

.market-circle--tam {
  width: 260px; height: 260px;
  background: rgba(123,148,96,0.10);
  border: 2px solid rgba(123,148,96,0.25);
}
.market-circle--sam {
  width: 200px; height: 200px;
  background: rgba(0,122,255,0.10);
  border: 2px solid rgba(0,122,255,0.25);
  margin: 0 -20px;
  z-index: 1;
}
.market-circle--som {
  width: 150px; height: 150px;
  background: rgba(255,159,10,0.12);
  border: 2px solid rgba(255,159,10,0.30);
}

.market-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.market-value { font-size: 26px; font-weight: 700; color: var(--text); letter-spacing: -0.5px; line-height: 1.1; }
.market-circle--tam .market-value { font-size: 30px; }
.market-desc  { font-size: 11px; color: var(--text2); margin-top: 4px; line-height: 1.3; padding: 0 16px; }

.market-note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Traction timeline ────────────────────────────────────────────────────── */
.traction-timeline {
  position: relative;
  max-width: 700px;
  margin: 60px auto 0;
  padding-left: 32px;
}

.traction-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.traction-item {
  position: relative;
  padding: 0 0 40px 24px;
}

.traction-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg);
  z-index: 1;
}

.traction-item--done .traction-dot { background: var(--green); border-color: var(--surface); }
.traction-item--now  .traction-dot {
  background: var(--green);
  border-color: rgba(123,148,96,0.3);
  box-shadow: 0 0 0 4px rgba(123,148,96,0.15);
  width: 16px; height: 16px; left: -29px;
}
.traction-item--next .traction-dot { background: #fff; border: 2px solid var(--border); }

.traction-date { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: 0.5px; margin-bottom: 4px; }
.traction-item--next .traction-date { color: var(--text3); }
.traction-item h4 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.traction-item p  { font-size: 14px; color: var(--text2); line-height: 1.6; }
.traction-item--next h4, .traction-item--next p { opacity: 0.6; }

/* ── Investment section ───────────────────────────────────────────────────── */
.section-invest {
  text-align: center;
}

.invest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.invest-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.invest-card:hover {
  border-color: rgba(123,148,96,0.3);
  background: rgba(255,255,255,0.06);
}
.invest-card h4 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.invest-card p  { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark2);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

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

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }

  .hero { padding: 100px 24px 64px; }
  .hero-title { letter-spacing: -1px; }

  .stat-divider { display: none; }
  .stats-grid { gap: 32px; }

  .screens-showcase { gap: 12px; }
  .phone-frame { width: 160px; height: 347px; border-radius: 24px; }
  .phone-frame--center { width: 180px; height: 390px; }

  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }

  .market-circles { gap: 16px; flex-direction: column; }
  .market-circle--sam { margin: 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .traction-timeline { padding-left: 24px; }
}

@media (max-width: 480px) {
  .screens-showcase { flex-direction: column; align-items: center; }
  .phone-frame--side { transform: none; opacity: 0.9; }
  .hero-ctas { flex-direction: column; }
  .btn-ghost, .btn-primary { width: 100%; }
}
