/* Base */
:root {
  --bg: #0b0f17;
  --surface: #0f1522;
  --card: #141b2d;
  --primary: #6c5cff;
  --primary-600: #5a48ff;
  --text: #e7ecf8;
  --muted: #a6b0c3;
  --accent: #00d1b2;
  --shadow: rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; position: sticky; top: 0; z-index: 20; background: linear-gradient(to bottom, rgba(11,15,23,.9), rgba(11,15,23,.6), transparent); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .4px; }
.brand img { filter: drop-shadow(0 8px 16px var(--shadow)); }
.nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: -20% -10% auto -10%; height: 70vh; background: radial-gradient(60% 60% at 20% 30%, rgba(108,92,255,.45) 0%, rgba(108,92,255,0) 60%), radial-gradient(40% 40% at 80% 30%, rgba(0,209,178,.35) 0%, rgba(0,209,178,0) 60%); filter: blur(40px); z-index: -1; }
.hero__content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 64px 0 40px; }
.hero__text h1 { font-size: clamp(32px, 5vw, 56px); margin: 0 0 12px; line-height: 1.05; }
.hero__text p { margin: 0 0 20px; color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); }
.cta { display: flex; gap: 14px; margin: 18px 0 8px; }
.stats { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.stats strong { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; padding: 12px 18px; text-decoration: none; font-weight: 600; letter-spacing: .2px; box-shadow: 0 8px 20px var(--shadow); transition: transform .15s ease, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--shadow); }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: white; }
.btn--ghost { color: var(--text); border: 1px solid rgba(231,236,248,.12); background: rgba(20,27,45,.55); }
.btn--dark { background: var(--card); color: var(--text); border: 1px solid rgba(231,236,248,.08); }
.btn--lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }

/* Phone mockup */
.phone-mockup { width: min(360px, 90%); aspect-ratio: 9 / 18; border-radius: 28px; padding: 14px; background: linear-gradient(180deg, #1a2236, #0e1423); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04); margin: 0 auto; overflow: hidden; }
.phone-notch { height: 18px; width: 40%; background: #0e1423; border-radius: 0 0 12px 12px; margin: 0 auto 10px; }
.phone-screen { height: calc(100% - 28px); background: #0a0e18; border-radius: 18px; display: grid; place-items: center; color: var(--muted); border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.screen-placeholder { opacity: .75; font-size: 14px; }
/* App preview image inside the phone mockup */
.phone-screen-img { width: 100%; height: 100%; object-fit: contain; background: #0a0e18; border-radius: 16px; display: block; }

/* Gallery */
.gallery { padding: 56px 0; }
.gallery h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.gallery__subtitle { margin: 0 0 24px; color: var(--muted); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid rgba(231,236,248,.06); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 26px var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 9 / 16; height: auto; object-fit: contain; background: #0a0e18; padding: 6px; }
.gallery figcaption { padding: 10px 12px; color: var(--muted); font-size: 14px; }

/* Download */
.download { background: radial-gradient(60% 80% at 50% 0%, rgba(108,92,255,.16) 0%, rgba(108,92,255,0) 60%); border-top: 1px solid rgba(231,236,248,.06); border-bottom: 1px solid rgba(231,236,248,.06); }
.download__content { padding: 48px 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; }
.download__text h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.download__text p { margin: 0; color: var(--muted); }
.download__actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.download__hint { grid-column: 1 / -1; color: var(--muted); margin: 6px 0 0; font-size: 13px; }

/* Footer */
.footer { padding: 28px 0 40px; }
.footer__content { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer__links { text-align: right; }
.footer__links a { color: var(--muted); text-decoration: none; margin-left: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__copy { grid-column: 1 / -1; margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 920px) {
  .hero__content { grid-template-columns: 1fr; padding-top: 26px; }
  .download__content { grid-template-columns: 1fr; }
  .download__actions { justify-content: flex-start; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .gallery__grid { grid-template-columns: 1fr; }
}
