/* === TOKENS === */
:root {
  --bg: #0A0A0A;
  --bg-mid: #141414;
  --bg-card: #1A1A1A;
  --green: #00E676;
  --amber: #FF8F00;
  --red: #FF1744;
  --blue: #40C4FF;
  --white: #FFFFFF;
  --muted: #888;
  --radius: 16px;
  --radius-sm: 10px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }

/* === GRADIENT TEXT === */
.grad-text { background: linear-gradient(90deg, var(--green) 0%, #AEEA00 50%, var(--amber) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* === NAV === */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,230,118,0.1); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-icon { width: 36px; height: 36px; border-radius: 8px; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; }
.brand-accent { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; color: var(--muted); }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--green); color: #000; padding: 8px 20px; border-radius: 24px; font-weight: 600; font-size: 0.85rem; transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.85; }

/* === HERO === */
.hero { min-height: 90vh; display: flex; align-items: center; padding: 80px 24px 60px; background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(0,230,118,0.05) 0%, transparent 70%), var(--bg); }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-block; background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.25); color: var(--green); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 24px; margin-bottom: 20px; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-badges { margin-bottom: 36px; }
.badge-btn { display: inline-flex; align-items: center; gap: 12px; background: #1a1a1a; border: 1px solid rgba(255,255,255,0.12); padding: 12px 22px; border-radius: 12px; transition: transform 0.2s, box-shadow 0.2s; }
.badge-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.badge-text { display: flex; flex-direction: column; }
.badge-sub { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.06em; }
.badge-main { font-size: 1rem; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--green); }
.stat-lbl { font-size: 0.72rem; color: var(--muted); }
.sdiv { width: 1px; height: 32px; background: rgba(255,255,255,0.1); }

/* === ANIMATED GAUGE === */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.gauge-wrap { background: var(--bg-card); border: 1px solid rgba(0,230,118,0.15); border-radius: 24px; padding: 32px; width: 100%; max-width: 360px; }
.gauge-svg { width: 100%; }
.gauge-needle { animation: sweep 3s ease-in-out infinite alternate; transform-origin: 150px 158px; }
@keyframes sweep { 0% { transform: rotate(-80deg); } 40% { transform: rotate(10deg); } 70% { transform: rotate(40deg); } 100% { transform: rotate(60deg); } }
.gauge-reading { text-align: center; margin-top: 8px; }
.gauge-num { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; }
.gauge-unit { font-size: 1.2rem; color: var(--muted); margin-left: 4px; }
.gauge-label { text-align: center; font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; color: var(--amber); margin: 4px 0 16px; }
.gauge-stats { display: flex; justify-content: space-around; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
.gs { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gs-lbl { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.gs-val { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; }
.gs-val.blue { color: var(--blue); }
.gs-val.amber { color: var(--amber); }
.gs-val.red { color: var(--red); }

/* === DB BANNER === */
.db-banner { background: var(--bg-mid); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 16px 24px; overflow-x: auto; }
.db-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.dbl { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border-radius: 24px; display: flex; align-items: center; gap: 6px; }
.dbl span { font-weight: 400; color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.dbl.safe { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.25); color: #00E676; }
.dbl.moderate { background: rgba(255,214,0,0.1); border: 1px solid rgba(255,214,0,0.25); color: #FFD600; }
.dbl.loud { background: rgba(255,109,0,0.1); border: 1px solid rgba(255,109,0,0.25); color: #FF6D00; }
.dbl.danger { background: rgba(255,23,68,0.1); border: 1px solid rgba(255,23,68,0.25); color: #FF1744; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag { display: inline-block; background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.25); color: var(--green); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 24px; margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-bottom: 40px; max-width: 600px; }

/* === FEATURES === */
.features { padding: 100px 24px; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.feat-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.feat-card:hover { border-color: rgba(0,230,118,0.3); transform: translateY(-3px); }
.feat-primary { border-color: rgba(0,230,118,0.2); background: linear-gradient(135deg, rgba(0,230,118,0.06), var(--bg-card)); }
.feat-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feat-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.feat-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* === SHOWCASE === */
.showcase { padding: 100px 24px; }
.sc-dark { background: var(--bg-mid); }
.sc-mid { background: var(--bg); }
.sc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sc-flip { direction: rtl; }
.sc-flip > * { direction: ltr; }
.sc-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.sc-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* === PHONE FRAME (hides ads at bottom) === */
.phone-frame { position: relative; display: inline-block; overflow: hidden; border-radius: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); width: 100%; max-width: 280px; margin: 0 auto; }
.phone-frame img { display: block; width: 100%; /* Clip bottom ~15% to hide ad banners */ height: 115%; object-fit: cover; object-position: top center; }
.sc-phone { display: flex; justify-content: center; }

/* === SCREENSHOTS GALLERY === */
.screenshots { padding: 100px 0; background: var(--bg-mid); overflow: hidden; }
.screenshots .container { padding-bottom: 0; }
.screenshots .section-tag, .screenshots .section-title { padding: 0 24px; }
.scroll-gallery { display: flex; gap: 20px; overflow-x: auto; padding: 32px 24px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(0,230,118,0.3) transparent; }
.scroll-gallery::-webkit-scrollbar { height: 4px; }
.scroll-gallery::-webkit-scrollbar-thumb { background: rgba(0,230,118,0.3); border-radius: 2px; }
.sg-item { flex-shrink: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 200px; }
.sg-item .phone-frame { width: 200px; max-width: 200px; }
.sg-item p { font-size: 0.8rem; color: var(--muted); text-align: center; }

/* === SAFETY CARDS === */
.safety-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.safety-card { padding: 14px 16px; border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 4px; }
.safety-card strong { font-size: 0.9rem; }
.safety-card span { font-size: 0.82rem; opacity: 0.75; }
.safety-card.safe { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.25); color: #00E676; }
.safety-card.warn { background: rgba(255,143,0,0.08); border: 1px solid rgba(255,143,0,0.25); color: #FF8F00; }
.safety-card.danger { background: rgba(255,23,68,0.08); border: 1px solid rgba(255,23,68,0.25); color: #FF4569; }

/* === REFERENCE GRID === */
.reference { padding: 100px 24px; background: var(--bg); }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.ref-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06); border-left: 3px solid var(--c); border-radius: var(--radius); padding: 24px; transition: transform 0.2s; }
.ref-card:hover { transform: translateY(-3px); }
.ref-range { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--c); margin-bottom: 6px; }
.ref-tag { display: inline-block; background: rgba(255,255,255,0.06); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 12px; margin-bottom: 12px; color: var(--white); }
.ref-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* === LANGUAGES === */
.languages { padding: 80px 24px; background: var(--bg-mid); }
.lang-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lang-chip { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); padding: 10px 18px; border-radius: 40px; font-size: 0.9rem; font-weight: 500; transition: border-color 0.2s; cursor: default; }
.lang-chip:hover { border-color: var(--green); }

/* === CTA === */
.cta-section { padding: 100px 24px; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,230,118,0.07) 0%, transparent 70%), var(--bg); }
.cta-inner { max-width: 600px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-icon { width: 80px; height: 80px; border-radius: 20px; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.cta-inner p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.cta-badge { margin-top: 8px; }
.cta-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta-chips span { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; }

/* === FOOTER === */
.footer { padding: 48px 24px 24px; background: var(--bg-mid); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.footer-brand p { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { color: var(--muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }
.footer-bottom p { color: var(--muted); font-size: 0.78rem; line-height: 1.5; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-badges { display: flex; justify-content: center; }
  .hero-stats { justify-content: center; }
  .sc-inner { grid-template-columns: 1fr; gap: 40px; }
  .sc-flip { direction: ltr; }
  .sc-phone { order: -1; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  .features, .showcase, .reference, .languages, .cta-section { padding: 60px 20px; }
  .sg-item { width: 160px; }
  .sg-item .phone-frame { width: 160px; max-width: 160px; }
}
