:root {
  color-scheme: dark;
  --bg: #090d14;
  --bg-2: #0d1320;
  --panel: #111827;
  --panel-2: #151f2e;
  --line: #263244;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #9aa7bb;
  --soft: #cbd5e1;
  --blue: #3b82f6;
  --teal: #14b8a6;
  --green: #22c55e;
  --coral: #f9735b;
  --violet: #8b7cf6;
  --gold: #f0b44c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.22), transparent 30rem),
    radial-gradient(circle at 90% 12%, rgba(20, 184, 166, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, #0b1018 54%, #080b11 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(43px, 7vw, 76px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.site-shell,
.site-header {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #1f2937, #0f172a);
  font-size: 13px;
  font-weight: 850;
  box-shadow: var(--shadow);
}

.brand span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: center;
  gap: 48px;
  padding: 58px 0 84px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 19px;
}

.hero-actions,
.card-actions,
.about-links,
.game-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button,
.store-link,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
}

.button,
.store-link {
  border-radius: 12px;
  padding: 12px 18px;
}

.button.primary,
.store-link {
  color: #08111f;
  background: #f8fafc;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.text-link {
  color: #7dd3fc;
}

.button:hover,
.store-link:hover,
.product-card:hover {
  transform: translateY(-2px);
}

.hero-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card-head,
.metric-list div,
.highlight-apps a,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-card-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-card-head strong {
  color: var(--text);
}

.metric-list {
  display: grid;
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric-list div {
  padding: 16px;
  background: rgba(9, 13, 20, 0.72);
}

.metric-list strong {
  font-size: 24px;
  line-height: 1;
}

.metric-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}

.highlight-apps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.highlight-apps a {
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.highlight-apps strong {
  flex: 1;
  font-size: 14px;
}

.app-dot,
.app-icon {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 850;
}

.app-dot {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-row div {
  padding: 24px;
  background: rgba(17, 24, 39, 0.78);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 16px;
}

.trust-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 31, 46, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.product-card > p:not(.category) {
  flex: 1;
  margin: 12px 0 0;
  color: var(--muted);
}

.app-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 16px;
  font-size: 28px;
}

.category {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.card-actions {
  margin-top: 24px;
}

.store-link {
  min-width: 112px;
  font-size: 14px;
}

.iban { background: linear-gradient(145deg, #2563eb, #0f3c91); }
.debt { background: linear-gradient(145deg, #374151, #111827); }
.drive { background: linear-gradient(145deg, #16a34a, #16635a); }
.kitchen { background: linear-gradient(145deg, #f9735b, #9f3f32); }
.card { background: linear-gradient(145deg, #8b7cf6, #3f3a8f); }
.prayer { background: linear-gradient(145deg, #f0b44c, #7c5518); }
.medicine { background: linear-gradient(145deg, #14b8a6, #17687a); }
.game { background: linear-gradient(145deg, #475569, #111827); }

.game-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(59, 130, 246, 0.10)), var(--panel);
}

.game-section p:not(.eyebrow) {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--soft);
}

.about {
  max-width: 860px;
  padding: 86px 0;
  text-align: center;
}

.about > p:not(.eyebrow) {
  margin: 16px auto 0;
  color: var(--soft);
  font-size: 18px;
}

.about-links {
  justify-content: center;
  margin-top: 24px;
}

.about-links a {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.detail-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  padding-bottom: 52px;
}

.detail-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.detail-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 22px;
  font-size: 42px;
}

.detail-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.detail-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.detail-list strong {
  display: block;
  margin-bottom: 3px;
}

.detail-list span {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-item h3 {
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .detail-hero,
  .game-section {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .site-header {
    width: min(100% - 28px, 1140px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 58px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
  }

  .trust-row,
  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .about {
    padding: 58px 0;
  }

  .product-card {
    min-height: 0;
  }

  .game-section {
    padding: 24px;
  }

  .footer {
    flex-direction: column;
  }
}
