/* ──────────────────────────────────────────
   Tokens
────────────────────────────────────────── */
:root {
  --black:       #000000;
  --bg:          #070101;
  --charcoal:    #1D1413;
  --dark-red:    #3A0403;
  --wine-red:    #690404;
  --red:         #B30505;
  --neon-red:    #DE0E0D;
  --white:       #FFFFFF;
  --soft-white:  #EDE6E6;
  --metal-gray:  #825E5B;

  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--soft-white);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ──────────────────────────────────────────
   Background glow
────────────────────────────────────────── */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(180,5,5,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(58,4,3,.3) 0%, transparent 60%);
  z-index: 0;
}

/* ──────────────────────────────────────────
   Layout
────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* ──────────────────────────────────────────
   Header
────────────────────────────────────────── */
.site-header {
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 2;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.site-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

/* App icon — rounded corners like mobile app */
.app-icon {
  object-fit: cover;
  border-radius: 22%;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .06);
}

.logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────
   Hero
────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-block: clamp(3rem, 8vw, 6rem);
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(179,5,5,.18);
  border: 1px solid rgba(222,14,13,.35);
  color: #FF6B6B;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .3rem .9rem;
  border-radius: 999px;
  width: fit-content;
}

/* Title */
.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

.accent {
  background: linear-gradient(135deg, var(--neon-red), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.hero-desc {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--metal-gray);
  line-height: 1.7;
  max-width: 42ch;
}

/* ──────────────────────────────────────────
   Download Card
────────────────────────────────────────── */
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(29,20,19,.7);
  border: 1px solid rgba(179,5,5,.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.download-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-icon {
  width: 52px;
  height: 52px;
  background: rgba(179,5,5,.15);
  border: 1px solid rgba(222,14,13,.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-red);
  flex-shrink: 0;
}

.platform-text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.platform-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--soft-white);
}

.platform-size {
  font-size: .82rem;
  color: var(--metal-gray);
}

/* Download button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--neon-red), #a00);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: .8rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s ease, transform .12s ease, box-shadow .15s ease;
  box-shadow: 0 4px 20px rgba(222,14,13,.3);
  white-space: nowrap;
}

.btn-download:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(222,14,13,.45);
}

.btn-download:active {
  transform: translateY(0);
  opacity: 1;
}

/* ──────────────────────────────────────────
   Stats bar
────────────────────────────────────────── */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: transform 0.35s ease, color 0.35s ease;
}

.stat-num.stat-bump {
  color: var(--neon-red);
  transform: scale(1.06);
}

.stat-label {
  font-size: .8rem;
  color: var(--metal-gray);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.12);
}

/* ──────────────────────────────────────────
   Phone mockup (decorative)
────────────────────────────────────────── */
.phone-mockup {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 200px;
  height: 360px;
  border: 2px solid rgba(179,5,5,.4);
  border-radius: 32px;
  background: rgba(10,2,2,.8);
  padding: 16px;
  box-shadow:
    0 0 40px rgba(179,5,5,.12),
    inset 0 0 20px rgba(0,0,0,.4);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a0505, #0a0202);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.preview-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 22%;
  box-shadow:
    0 6px 24px rgba(179, 5, 5, .28),
    0 0 0 1px rgba(255, 255, 255, .08);
}

.preview-text {
  font-size: .9rem;
  font-weight: 700;
  color: var(--soft-white);
  letter-spacing: .05em;
}

/* ──────────────────────────────────────────
   Footer
────────────────────────────────────────── */
.site-footer {
  padding-block: 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer p {
  font-size: .82rem;
  color: var(--metal-gray);
}

/* ──────────────────────────────────────────
   Responsive
────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { gap: 2rem; }
  .phone-mockup { display: none; }
  .download-card { flex-direction: column; align-items: stretch; }
  .btn-download { width: 100%; justify-content: center; }
  .stats-bar { justify-content: flex-start; }
}
