*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #07070f;
  --bg-2:         #0c0c18;
  --bg-card:      #0f0f1e;
  --bg-card-h:    #141428;
  --purple:       #8b5cf6;
  --purple-l:     #a78bfa;
  --cyan:         #22d3ee;
  --cyan-l:       #67e8f9;
  --grad:         linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  --grad-text:    linear-gradient(135deg, #c4b5fd 0%, #67e8f9 100%);
  --text:         #f1f5f9;
  --text-2:       #94a3b8;
  --text-3:       #475569;
  --border:       rgba(255,255,255,0.07);
  --border-acc:   rgba(139,92,246,0.3);
  --r-sm:         8px;
  --r:            16px;
  --r-lg:         24px;
  --r-xl:         40px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:        1200px;
  --ease:         0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-acc); border-radius: 3px; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--text);
}

.nav-logo .acc { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }

/* ── HERO (index) ── */
.hero {
  padding: 190px 0 130px;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.11) 0%, transparent 70%);
  top: -150px; left: -180px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,0.07) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-l);
  padding: 6px 14px;
  background: rgba(139,92,246,0.09);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  background: var(--purple-l);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(52px, 7.5vw, 100px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.hero p {
  font-size: 20px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.75;
}

/* ── SECTION ── */
.section { padding: 100px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-l);
  margin-bottom: 12px;
}

.section-header { margin-bottom: 60px; }

.section-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

/* ── APP ICON (adaptive icon layer composite) ── */
.app-icon {
  position: relative;
  border-radius: 22%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.app-icon img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon .icon-fg {
  position: absolute; /* layered on top of icon-bg */
}

/* Sizes */
.app-icon-sm  { width: 52px;  height: 52px;  border-radius: 18%; }
.app-icon-md  { width: 88px;  height: 88px;  border-radius: 20%; }
.app-icon-lg  { width: 120px; height: 120px; border-radius: 22%; }
.app-icon-xl  { width: 160px; height: 160px; border-radius: 24%; }

/* ── PRODUCTS GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-acc);
  box-shadow: 0 24px 64px rgba(139,92,246,0.14), 0 0 0 1px rgba(139,92,246,0.08);
}

.product-preview {
  height: 210px;
  background: linear-gradient(145deg, #0c0c20 0%, #1a1035 50%, #0c1a20 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(7,7,15,0.65));
  pointer-events: none;
}

/* Icon shadow inside card preview */
.product-preview .app-icon {
  box-shadow: 0 12px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
}

/* mpx hero icon */
.mpx-hero-icon {
  margin: 0 auto 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08), 0 0 80px rgba(255,45,150,0.12);
}

.product-body { padding: 28px; }

.product-platform {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34,211,238,0.09);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.product-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.product-name .dot { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.product-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
}

.product-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-l);
  letter-spacing: 0.01em;
  transition: gap var(--ease);
}
.product-card:hover .product-arrow { gap: 12px; }

/* Coming-soon slot */
.card-soon {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.09);
  border-radius: var(--r-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.soon-plus {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-3);
}

.soon-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

/* ── MPX HERO ── */
.mpx-hero {
  padding: 168px 0 110px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mpx-glow {
  position: absolute;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 65%);
  top: -250px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.mpx-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  margin-bottom: 56px;
  transition: color var(--ease);
  letter-spacing: 0.01em;
}
.mpx-back:hover { color: var(--text-2); }

.mpx-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 36px;
}

.mpx-title {
  font-size: clamp(80px, 14vw, 168px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.mpx-title .dot { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.mpx-tagline {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity var(--ease), transform var(--ease);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  letter-spacing: 0.01em;
  transition: border-color var(--ease), background var(--ease);
}
.btn-ghost:hover { border-color: var(--border-acc); background: rgba(139,92,246,0.06); }

/* ── SCREENSHOTS ── */
.screenshots-section {
  padding: 80px 0 100px;
}

.screenshots-section .section-header { text-align: center; }

.screenshots-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0 8px;
}

/* Phone mockup */
.phone-wrap { position: relative; }

.phone-frame {
  width: 228px;
  background: #0d0d1c;
  border-radius: 46px;
  padding: 13px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 100px rgba(0,0,0,0.6),
    0 0 50px rgba(139,92,246,0.08);
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}

.phone-wrap:hover .phone-frame {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 50px 110px rgba(0,0,0,0.7),
    0 0 70px rgba(139,92,246,0.14);
}

.phone-screen {
  background: #0a0a14;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Punch-hole camera */
.phone-camera {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  background: #0a0a14;
  border-radius: 50%;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Screenshot placeholder */
.ss-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  inset: 0;
}

.ss-plus {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255,255,255,0.18);
}

.ss-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.12);
  font-weight: 600;
}

.phone-caption {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color var(--ease), background var(--ease);
}

.feature-card:hover {
  border-color: var(--border-acc);
  background: var(--bg-card-h);
}

.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(139,92,246,0.13), rgba(34,211,238,0.13));
  border: 1px solid rgba(139,92,246,0.14);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── DOWNLOAD SECTION ── */
.download-section {
  padding: 90px 0 100px;
  text-align: center;
}

.download-section .section-title { margin-bottom: 36px; }

.android-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.android-btn:hover {
  border-color: var(--border-acc);
  box-shadow: 0 0 48px rgba(139,92,246,0.12);
  transform: translateY(-2px);
}

.android-btn svg { flex-shrink: 0; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 148px 0 90px; }
  .hero p { font-size: 17px; }
  .mpx-hero { padding: 130px 0 80px; }
  .phone-frame { width: 190px; }
  .screenshots-grid { gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .phone-frame { width: 155px; border-radius: 36px; padding: 10px; }
  .phone-screen { border-radius: 28px; }
  .phone-camera { top: 10px; width: 9px; height: 9px; }
  .screenshots-grid { gap: 12px; }
  .mpx-title { font-size: clamp(64px, 18vw, 100px); }
}
