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

:root {
  --green:       #236a52;
  --green-dk:    #1a4f3d;
  --green-lt:    #e8f5ef;
  --orange:      #d96c38;
  --orange-lt:   #fff3ec;
  --blue:        #1e40af;
  --violet:      #6d28d9;
  --ink:         #111827;
  --ink-2:       #374151;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --surface:     #ffffff;
  --bg:          #f5f3ef;
  --bg-dark:     #0f1a14;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.14);
  --transition:  .22s ease;
  --max-w:       1160px;
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Layout helpers ───────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Navigation ───────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,26,20,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max-w); margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
}
.brand-icon {
  width: 34px; height: 34px; background: var(--green);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.brand-icon svg { width: 20px; height: 20px; fill: white; }
.brand-name { font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: -.2px; }
.brand-tag { font-size: .75rem; color: #6ee7b7; font-weight: 500;
  background: rgba(110,231,183,.12); padding: 2px 8px; border-radius: 20px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: .9rem; color: rgba(255,255,255,.65);
  transition: color var(--transition); }
.nav-link:hover { color: #fff; }
.nav-cta {
  background: var(--green); color: #fff; font-size: .875rem; font-weight: 600;
  padding: 8px 20px; border-radius: 8px; transition: background var(--transition);
}
.nav-cta:hover { background: #1c5441; }

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(160deg, #0d1f17 0%, #162d22 50%, #0d1f17 100%);
  padding: 90px 24px 80px;
  overflow: hidden;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(35,106,82,.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(217,108,56,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #6ee7b7; margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.18;
  color: #ffffff; margin-bottom: 22px; letter-spacing: -.5px;
}
.hero-title span { color: #6ee7b7; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.65); line-height: 1.75;
  max-width: 460px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff; font-weight: 700; font-size: .95rem;
  padding: 13px 28px; border-radius: 10px;
  transition: background var(--transition), transform var(--transition),
              box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(35,106,82,.4);
}
.btn-primary:hover { background: #1c5441; transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(35,106,82,.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75);
  font-size: .9rem; padding: 13px 24px; border-radius: 10px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* Hero visual – before/after tabs */
.hero-visual { position: relative; }
.compare-tabs {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.tab-btn {
  padding: 6px 14px; border-radius: 6px; font-size: .8rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55);
  background: transparent; cursor: pointer; transition: all var(--transition);
}
.tab-btn.active {
  background: rgba(35,106,82,.35); border-color: #6ee7b7; color: #6ee7b7;
}
.compare-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06);
  position: relative; aspect-ratio: 1440/1020;
  background: #222;
}
.compare-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .4s ease;
}
.compare-img.hidden { opacity: 0; pointer-events: none; }

/* ─── Stats bar ────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--green-dk);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  padding: 0 24px;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-val { font-size: 1.6rem; font-weight: 800; color: #6ee7b7; line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ─── Section headers ──────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.3px; line-height: 1.25; }
.section-sub { font-size: 1rem; color: var(--muted); margin-top: 12px;
  max-width: 520px; margin-left: auto; margin-right: auto; }

/* ─── Features ─────────────────────────────────────────────────────────────── */
.features-section { padding: 88px 24px; background: var(--surface); }
.features-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.feature-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap svg { width: 26px; height: 26px; }
.fi-green { background: var(--green-lt); color: var(--green); }
.fi-blue  { background: #eff6ff;          color: var(--blue); }
.fi-orange{ background: var(--orange-lt); color: var(--orange); }
.fi-violet{ background: #f5f3ff;          color: var(--violet); }
.feature-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feature-desc  { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.feature-badge {
  display: inline-block; margin-top: 14px; font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.badge-green  { background: var(--green-lt); color: var(--green); }
.badge-blue   { background: #eff6ff;         color: var(--blue); }
.badge-orange { background: var(--orange-lt);color: var(--orange); }

/* ─── Process steps ────────────────────────────────────────────────────────── */
.process-section { padding: 88px 24px; background: var(--bg); }
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-steps {
  display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: start;
  gap: 0;
}
.process-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.step-num {
  font-size: 2.5rem; font-weight: 900; line-height: 1;
  color: var(--green); opacity: .25; margin-bottom: 14px;
}
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.step-icon  { width: 42px; height: 42px; border-radius: 10px; background: var(--green-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-icon svg { width: 22px; height: 22px; color: var(--green); }
.process-arrow {
  display: flex; align-items: center; justify-content: center;
  padding-top: 60px;
}
.process-arrow svg { width: 28px; height: 28px; color: var(--green); opacity: .45; }

/* ─── Preview section ──────────────────────────────────────────────────────── */
.preview-section { padding: 88px 24px; background: var(--surface); }
.preview-inner { max-width: var(--max-w); margin: 0 auto; }
.preview-layout {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start;
}
.preview-pane { }
.preview-pane-title {
  font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 12px;
}
.preview-img-wrap {
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.preview-img-wrap img { width: 100%; }

/* Label preview cards */
.label-preview-list { display: flex; flex-direction: column; gap: 14px; }
.lp-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
  transition: box-shadow var(--transition);
}
.lp-card:hover { box-shadow: var(--shadow-sm); }
.lp-thumb {
  width: 72px; height: 48px; border-radius: 6px; overflow: hidden;
  flex-shrink: 0; border: 1px solid var(--border);
}
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-meta { min-width: 0; }
.lp-name { font-size: .9rem; font-weight: 700; color: var(--ink); }
.lp-fields { display: flex; flex-direction: column; gap: 4px; margin-top: 5px; }
.lp-field-item {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-family: "SF Mono", "Consolas", monospace;
  padding: 2px 8px; border-radius: 4px; font-weight: 600;
}
.lp-field-model {
  background: rgba(35,106,82,.1); color: var(--green);
  border-left: 2px solid var(--green);
}
.lp-field-size {
  background: rgba(217,108,56,.1); color: var(--orange);
  border-left: 2px solid var(--orange);
}
.lp-badge {
  flex-shrink: 0; font-size: .7rem; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; margin-left: auto; align-self: flex-start;
}

/* ─── App screenshot section ───────────────────────────────────────────────── */
.screenshot-section { padding: 88px 24px; background: var(--bg); }
.screenshot-inner { max-width: var(--max-w); margin: 0 auto; }
.screenshot-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.06);
  margin-top: 8px;
}
.screenshot-wrap img { width: 100%; }

/* ─── CTA section ──────────────────────────────────────────────────────────── */
.cta-section {
  padding: 96px 24px; text-align: center;
  background: linear-gradient(160deg, #0d1f17 0%, #162d22 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(35,106,82,.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; color: #fff;
  letter-spacing: -.3px; margin-bottom: 16px; }
.cta-desc  { font-size: 1.05rem; color: rgba(255,255,255,.6); margin-bottom: 40px; }
.cta-note  { font-size: .82rem; color: rgba(255,255,255,.35); margin-top: 18px; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark); padding: 28px 24px;
  text-align: center; color: rgba(255,255,255,.3); font-size: .82rem;
}
.site-footer a { color: rgba(255,255,255,.45); }
.site-footer a:hover { color: rgba(255,255,255,.75); }

/* ─── Fade-in animation ────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade { opacity: 0; }
.anim-fade.visible { animation: fadeUp .6s ease forwards; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .22s; }
.anim-delay-3 { animation-delay: .34s; }
.anim-delay-4 { animation-delay: .46s; }

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .preview-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-arrow { transform: rotate(90deg); padding: 0; height: 40px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .nav-links { display: none; }
}
