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

:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: #11172a;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.18);
  --accent-strong: #7c3aed;
  --text-main: #f9fafb;
  --text-soft: #9ca3af;
  --text-softer: #6b7280;
  --chip-bg: rgba(15, 23, 42, 0.8);
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.8);
  --shadow-subtle: 0 8px 25px rgba(15, 23, 42, 0.6);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #1f2937 0, #050816 40%, #020617 80%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.92), rgba(5, 8, 22, 0.75), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.5rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.25rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.18s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn.small {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.55);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.btn.ghost:hover {
  border-color: rgba(191, 219, 254, 0.9);
  background: rgba(15, 23, 42, 0.7);
}

.btn.btn-outline {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn.btn-outline:hover {
  border-color: rgba(191, 219, 254, 0.95);
  background: rgba(15, 23, 42, 0.95);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  max-width: 32rem;
  font-size: 0.97rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta-item {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(18px);
  min-width: 120px;
}

.meta-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-softer);
  margin-bottom: 0.15rem;
}

.meta-value {
  font-weight: 600;
  font-size: 0.98rem;
}

/* Hero visual */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: 280px;
  border-radius: 2rem;
  padding: 0.6rem;
  background: radial-gradient(circle at top, #1d2545, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.phone-status {
  height: 16px;
  border-radius: 999px;
  margin: 0 auto 0.4rem;
  width: 70%;
  background: rgba(15, 23, 42, 0.85);
}

.phone-screen {
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #020617 0%, #020617 45%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.9rem 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.app-row {
  display: flex;
  gap: 0.55rem;
}

.mini-card {
  flex: 1;
  border-radius: 0.9rem;
  padding: 0.55rem 0.55rem 0.65rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.mini-card .mini-label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.3rem;
}

.mini-card .mini-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}

.mini-card.games {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.55);
}

.mini-card.productivity {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.mini-card.lifestyle {
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.6);
}

.mini-card.learning {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

.store-row {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.store-badge {
  height: 26px;
  display: block;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-softer);
  margin-top: 0.9rem;
  max-width: 17rem;
  text-align: center;
}

/* Sections */

.section {
  padding: 2.8rem 0;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  max-width: 32rem;
}

.section-header.center {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* App cards */

.section-apps {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.12), transparent 55%);
}

.app-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
}

.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.icon-gradient-blue {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

.icon-gradient-purple {
  background: linear-gradient(135deg, #a855f7, #6366f1);
}

.icon-gradient-green {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.icon-gradient-orange {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.app-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.app-content p {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Categories */

.section-categories {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.categories-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
}

.categories-copy p {
  color: var(--text-soft);
  max-width: 30rem;
}

.category-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.category-list li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.4rem;
}

.categories-panel {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.24), rgba(15, 23, 42, 0.98));
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: var(--shadow-soft);
}

.categories-panel h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.benefit-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.benefit-list li {
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
  position: relative;
}

.benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

/* How it works */

.section-how {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%);
}

.steps-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.7rem;
}

.step {
  border-radius: 1.2rem;
  padding: 1.1rem 1.1rem 1.15rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Partners */

.section-partners {
  border-top: 1px solid var(--border-subtle);
}

.partners-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 2.2rem;
}

.partners-copy p {
  color: var(--text-soft);
}

.partner-points {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0.9rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.partner-points li {
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
  position: relative;
}

.partner-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: #a5b4fc;
}

.partners-note {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.partner-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.partners-card {
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.partners-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.partners-card ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.stores-preview p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.stores-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding: 1.8rem 0 2rem;
  background: radial-gradient(circle at bottom, #020617, #020617 45%, #000 100%);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-text {
  margin: 0 0 0.9rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-softer);
  text-decoration: none;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-softer);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .categories-inner,
  .partners-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 2.4rem 0;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 0;
  }

  .nav {
    display: none;
  }

  .site-header {
    background: rgba(5, 8, 22, 0.98);
  }

  .phone-frame {
    transform: scale(0.95);
  }
}
