
:root {
  --bg: #0a100d;
  --surface: #101a14;
  --surface-light: #17241a;
  --green: #c4f477;
  --green-soft: #8dbb61;
  --text: #f0f3ec;
  --muted: #939e94;
  --border: rgba(222, 241, 220, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.ambient { position: absolute; width: 380px; height: 380px; border-radius: 50%; filter: blur(140px); opacity: .09; pointer-events: none; z-index: -1; }
.ambient-one { background: #8fd85d; top: 250px; left: -240px; }
.ambient-two { background: #3b9867; top: 950px; right: -240px; }

.navbar { min-height: 78px; padding: 0 max(32px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--border); background: rgba(10,16,13,.88); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 15px Manrope, sans-serif; letter-spacing: 1.5px; white-space: nowrap; }
.brand-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: #10180f; font-size: 20px; letter-spacing: 0; }
.brand-dot { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #b5beb5; font-size: 12px; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { font-size: 12px; font-weight: 700; border: 1px solid var(--border); padding: 10px 15px; border-radius: 8px; }
.nav-cta span { color: var(--green); margin-left: 10px; }
.menu-btn { display: none; background: transparent; color: var(--text); border: 1px solid var(--border); padding: 8px 12px; border-radius: 8px; }

.hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; padding-top: 82px; padding-bottom: 90px; }
.hero-copy { padding: 12px 0; }
.pill, .open-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(196,244,119,.19); background: rgba(196,244,119,.045); color: var(--green); border-radius: 5px; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.pulse { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px rgba(196,244,119,.55); flex-shrink: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; }
h1 { font-size: clamp(45px, 5.4vw, 72px); line-height: 1.12; letter-spacing: -3.5px; font-weight: 700; margin: 28px 0 22px; }
h1 span, h2 span { color: var(--green); }
.hero-description { color: var(--muted); font-size: 14px; max-width: 440px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 17px; border-radius: 7px; font-size: 11px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #121a0f; border: 1px solid var(--green); }
.btn-primary:hover:not(:disabled) { background: #d5ff9a; }
.btn-ghost { border: 1px solid var(--border); color: #dce3d8; background: transparent; }
.btn-ghost:hover { border-color: var(--green); }
.hero-social-proof { display: flex; gap: 13px; align-items: center; margin-top: 43px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 31px; height: 31px; border: 2px solid var(--bg); border-radius: 50%; background: #263a2a; color: var(--green); display: grid; place-items: center; font-size: 12px; margin-left: -7px; }
.avatar-stack span:first-child { margin-left: 0; }
.hero-social-proof strong, .hero-social-proof small { display: block; }
.hero-social-proof strong { font-size: 10px; font-weight: 600; }
.hero-social-proof small { font-size: 10px; color: var(--muted); margin-top: 2px; }

.hero-visual { height: 490px; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #1b3021; }
.hero-image, .closing-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image { object-position: center; animation: reveal 1s ease-out both; }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,10,.02) 35%, rgba(8,14,10,.75) 100%), linear-gradient(90deg, rgba(8,14,10,.10), transparent); }
.floating-tag { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: rgba(15,24,17,.76); backdrop-filter: blur(18px); box-shadow: 0 15px 40px #0002; }
.tag-top { top: 22px; left: 22px; }
.tag-bottom { bottom: 45px; right: 20px; left: 20px; }
.tag-icon, .weather-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 7px; background: rgba(196,244,119,.12); color: var(--green); font-size: 19px; }
.floating-tag small, .floating-tag strong { display: block; }
.floating-tag small { font-size: 8px; letter-spacing: 1px; color: #aeb9ac; }
.floating-tag strong { font-size: 11px; margin-top: 3px; }
.tag-arrow { margin-left: auto; color: var(--green); }
.visual-index { position: absolute; bottom: 16px; left: 22px; font-size: 8px; letter-spacing: 2px; color: #c6d1c1; }

.ticker { overflow: hidden; border-block: 1px solid var(--border); background: #0d1510; }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 29px; padding: 17px 0; animation: ticker 32s linear infinite; }
.ticker-track span { color: #b8c4b5; font-size: 9px; font-weight: 700; letter-spacing: 2px; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--green); font-size: 13px; }

.progress-section { padding-top: 90px; }
.section { padding-top: 100px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.eyebrow { display: block; color: var(--green-soft); font-size: 9px; font-weight: 700; letter-spacing: 2px; }
h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -1.8px; line-height: 1.25; margin-top: 9px; }
.level-chip { padding: 10px 13px; border: 1px solid var(--border); border-radius: 7px; font-size: 9px; letter-spacing: 1px; color: var(--muted); white-space: nowrap; }
.level-chip span, .level-chip strong { color: var(--green); margin-left: 6px; }
.level-chip strong { font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { padding: 22px; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(145deg, #131e16, #0e1711); transition: border-color .25s, transform .25s; }
.stat-card:hover { border-color: rgba(196,244,119,.3); transform: translateY(-3px); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-top > span:first-child { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.stat-icon { color: var(--green); font-size: 17px; }
.stat-card > strong { display: block; font: 700 36px Manrope, sans-serif; letter-spacing: -1px; margin: 22px 0 17px; }
.stat-card > strong small { color: var(--muted); font: 500 11px "DM Sans", sans-serif; letter-spacing: 0; }
.stat-foot { display: flex; justify-content: space-between; gap: 5px; border-top: 1px solid var(--border); padding-top: 13px; color: var(--muted); font-size: 9px; }
.positive { color: var(--green); }

.section-description { max-width: 580px; color: var(--muted); font-size: 12px; margin-top: 10px; }
.quest-progress { width: 190px; flex-shrink: 0; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 8px; color: var(--muted); letter-spacing: 1px; }
.progress-label strong { color: var(--green); font-size: 10px; }
.progress-track { height: 4px; border-radius: 10px; background: #28352a; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--green); transition: width .4s ease; }
.quest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quest-card { min-height: 255px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--border); background: var(--surface); border-radius: 9px; transition: transform .25s, border-color .25s, background .25s; }
.quest-card:hover { transform: translateY(-5px); border-color: #506747; background: #142019; }
.quest-card.done { border-color: rgba(196,244,119,.45); background: #152419; }
.quest-top, .quest-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.quest-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 8px; background: #202e21; border: 1px solid #304431; color: var(--green); font-size: 22px; }
.xp-tag { font-size: 10px; font-weight: 700; color: var(--green); }
.quest-card h3 { font-size: 14px; line-height: 1.5; margin: 20px 0 8px; }
.quest-card > p { color: var(--muted); font-size: 10px; line-height: 1.85; flex: 1; }
.quest-bottom { border-top: 1px solid var(--border); margin-top: 19px; padding-top: 13px; }
.quest-bottom > span { color: var(--muted); font-size: 9px; }
.quest-action { border: 0; background: transparent; color: #dfe8da; font-size: 10px; font-weight: 700; }
.quest-action:hover:not(:disabled) { color: var(--green); }
.quest-card.done .quest-action { color: var(--green); }
.micro-note { margin-top: 20px; color: var(--muted); font-size: 10px; }

.discover-section { margin-top: 105px; padding: 85px 0; background: linear-gradient(180deg, #101a13, #0c130e); border-block: 1px solid var(--border); }
.discover-section .section-top { align-items: center; }
.open-badge { white-space: nowrap; }
.ai-panel { display: grid; grid-template-columns: 1.02fr .98fr; border: 1px solid var(--border); background: #0b130e; border-radius: 11px; overflow: hidden; }
.upload-area { min-height: 385px; padding: 35px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; background: radial-gradient(ellipse at center, rgba(111,156,77,.10), transparent 65%); border-right: 1px solid var(--border); }
.upload-content { max-width: 340px; }
.upload-symbol { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 20px; border: 1px solid rgba(196,244,119,.25); border-radius: 15px; background: rgba(196,244,119,.06); color: var(--green); font-size: 28px; }
.upload-area h3 { font-size: 19px; margin-bottom: 10px; }
.upload-area p { color: var(--muted); font-size: 11px; line-height: 1.9; margin-bottom: 23px; }
.upload-hint { display: block; margin-top: 15px; font-size: 9px; color: #69776a; }
#preview { width: 100%; max-width: 380px; max-height: 285px; object-fit: contain; border-radius: 7px; }
.change-photo { position: absolute; bottom: 14px; background: rgba(10,16,13,.9); color: var(--green); border: 1px solid var(--border); padding: 8px 12px; border-radius: 6px; font-size: 10px; }
.ai-result { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.result-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.result-header .eyebrow { font-size: 8px; }
.scan-status { display: flex; align-items: center; gap: 7px; font-size: 8px; color: var(--muted); letter-spacing: .7px; }
.scan-status .pulse { width: 6px; height: 6px; }
.result-body { padding: 30px 0; }
.result-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; font-size: 25px; color: var(--green); }
.result-body h3 { font-size: 22px; letter-spacing: -.7px; margin: 19px 0 9px; overflow-wrap: anywhere; }
.result-body p { font-size: 11px; line-height: 1.9; color: var(--muted); }
.identify-btn { width: 100%; justify-content: space-between; }
.privacy-note { color: #bdc8b8; font-size: 9px; line-height: 1.7; padding: 14px 0; }
.privacy-note span { color: var(--green); margin-right: 7px; }
.disclaimer { font-size: 9px; line-height: 1.8; color: #718072; }

.closing { padding-top: 100px; padding-bottom: 100px; display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.closing-art { height: 340px; border-radius: 10px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.closing-art img { transition: transform .7s; }
.closing-art:hover img { transform: scale(1.04); }
.closing-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,10,7,.7)); }
.closing-label { position: absolute; bottom: 23px; left: 23px; font-size: 9px; letter-spacing: 2px; font-weight: 700; }
.closing-copy h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.2; margin: 17px 0; }
.closing-copy > p { max-width: 430px; color: var(--muted); font-size: 12px; line-height: 2; margin-bottom: 25px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 27px max(32px, calc((100% - 1200px) / 2)); border-top: 1px solid var(--border); }
.footer p, .footer > span { font-size: 9px; color: var(--muted); }
.footer > span { letter-spacing: 1px; }

.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translate(-50%, 15px); width: max-content; max-width: calc(100% - 30px); padding: 12px 18px; border-radius: 7px; color: #14200f; background: var(--green); box-shadow: 0 8px 35px #0005; font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes reveal { from { opacity: .6; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1000px) {
  .navbar { padding-inline: 24px; }
  .hero { gap: 35px; }
  .hero-visual { height: 430px; }
  .stats-grid, .quest-grid { grid-template-columns: repeat(2, 1fr); }
  .closing { gap: 40px; }
  .footer { padding-inline: 24px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .navbar { min-height: 68px; padding-inline: 18px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: flex-start; background: #101a14; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: auto; font-size: 10px; padding: 9px; }
  .menu-btn { display: block; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 55px; padding-bottom: 55px; }
  h1 { font-size: clamp(45px, 11vw, 65px); letter-spacing: -2.8px; }
  .hero-visual { height: 360px; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .quest-progress { width: 100%; }
  .progress-section, .section { padding-top: 65px; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-card > strong { font-size: 29px; margin: 16px 0; }
  .stat-top > span:first-child { font-size: 7px; }
  .stat-foot { font-size: 8px; }
  .discover-section { margin-top: 70px; padding: 65px 0; }
  .ai-panel { grid-template-columns: 1fr; }
  .upload-area { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--border); }
  .ai-result { padding: 23px; }
  .closing { grid-template-columns: 1fr; gap: 32px; padding-top: 65px; padding-bottom: 65px; }
  .closing-art { height: 270px; }
  .footer { padding: 24px 18px; }
}

@media (max-width: 420px) {
  .nav-cta { display: none; }
  .quest-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { justify-content: space-between; }
  .pill { font-size: 8px; letter-spacing: 1px; }
  .floating-tag { padding: 11px; }
  .tag-bottom { left: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
