:root {
  --bg: #f4f1ea; --panel: #fff; --ink: #23201b; --muted: #6b6357;
  --line: #ddd6c8; --accent: #2f6f4e; --accent-light: #e8f5ee; --accent2: #c0682a;
  --radius: 16px; --shadow: 0 2px 12px rgba(0,0,0,.08); --max-w: 960px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 0 20px; transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-brand { font-size: 18px; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.nav-brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); transition: border-color .15s; }
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 4px 16px rgba(47,111,78,.3); transition: transform .15s, box-shadow .15s; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(47,111,78,.35); text-decoration: none; color: #fff; }
.cta-sm { font-size: 14px; padding: 10px 20px; }
.cta-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.cta-outline:hover { background: var(--accent-light); color: var(--accent); }

.hero { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 20px 60px; background: #1a4a32; color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url('../img/trail.webp') center/cover no-repeat; opacity: .85; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,74,50,.35) 0%, rgba(35,32,27,.5) 100%); z-index: 0; }
.hero > * { position: relative; z-index: 1; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 14px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; letter-spacing: -.5px; }
.hero h1 span { color: #7cd4a0; }
.hero p { font-size: clamp(16px, 2.5vw, 20px); max-width: 560px; color: rgba(255,255,255,.8); margin-bottom: 32px; line-height: 1.5; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; font-size: 13px; color: rgba(255,255,255,.6); }
.hero-stats b { display: block; font-size: 24px; color: #fff; font-weight: 700; }

.features { padding: 80px 20px; }
.features h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.features .subtitle { text-align: center; color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 auto 48px; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: var(--max-w); margin: 0 auto; }
.feature-card { background: var(--panel); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.photo-break { height: 360px; background: url('../img/hero.webp') center/cover no-repeat; position: relative; }
.photo-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%); }

.screenshots { padding: 60px 0 80px; overflow: hidden; }
.screenshots h2 { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 40px; padding: 0 20px; }
.screen-scroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 20px; -webkit-overflow-scrolling: touch; }
.screen-scroll::-webkit-scrollbar { display: none; }
.screen-card { flex: 0 0 260px; scroll-snap-align: center; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.screen-card img { width: 100%; aspect-ratio: 9/19.5; object-fit: cover; background: #eee; }
.screen-card .cap { padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--ink); }

.trail-info { padding: 80px 20px; background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.trail-info::before { content: ""; position: absolute; inset: 0; background: url('../img/sunset.webp') center/cover no-repeat; opacity: .5; }
.trail-info .container { position: relative; z-index: 1; }
.trail-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 40px; text-align: center; }
.trail-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
.trail-stat { text-align: center; padding: 28px 16px; background: rgba(255,255,255,.08); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 160px; }
.trail-stat .num { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.trail-stat .unit { font-size: 20px; font-weight: 700; opacity: .85; margin-top: 2px; }
.trail-stat .label { font-size: 13px; opacity: .6; margin-top: 10px; }

.final-cta { padding: 80px 20px; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, #e8e3d8 100%); }
.final-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.final-cta p { color: var(--muted); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

.footer { padding: 32px 20px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; }

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trail-stats { grid-template-columns: repeat(4, 1fr); }
  .screen-card { flex: 0 0 280px; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
