:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #3b82f6;
  --accent: #60a5fa;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --soft-surface: #f8fafc;
  --bg-gradient: radial-gradient(circle at 15% 10%, rgba(96, 165, 250, .28), transparent 28%),
    radial-gradient(circle at 78% 15%, rgba(129, 140, 248, .34), transparent 30%),
    linear-gradient(135deg, #040b16 0%, #0f172a 38%, #1e1b4b 72%, #312e81 100%);
}

* { box-sizing: border-box; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: var(--bg-gradient);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25);
}
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 4.25rem;
  color: #fff;
}
.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .65;
  pointer-events: none;
}
.hero-orb-one {
  width: 220px;
  height: 220px;
  left: -70px;
  top: 10px;
  background: rgba(99, 102, 241, .25);
}
.hero-orb-two {
  width: 180px;
  height: 180px;
  right: 12%;
  bottom: 10px;
  background: rgba(59, 130, 246, .22);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #dbeafe;
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.app-identity {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.app-logo-frame {
  width: 124px;
  height: 124px;
  flex: 0 0 124px;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,246,255,.86));
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 24px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .app-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  display: block;
}
.hero-title {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 800;
}
.hero-tagline {
  color: #cbd5e1;
  font-weight: 600;
}
.hero-copy {
  max-width: 680px;
  color: #dbeafe;
  font-size: 1.05rem;
  line-height: 1.75;
}
.btn-download {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-weight: 800;
  padding: .95rem 1.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, .45);
  transition: transform .2s, box-shadow .2s;
}
.btn-download:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 32px rgba(99,102,241,.55); }
.stat-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: .42rem .85rem;
  font-size: .84rem;
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.download-trust {
  color: #bbf7d0;
  font-weight: 700;
  font-size: .92rem;
}
.release-pending {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #e2e8f0;
  border-radius: 1rem;
  padding: .9rem 1rem;
  font-weight: 700;
}
.hero-panel {
  padding: 1.35rem;
  color: #fff;
}
.hero-panel-header {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #dbeafe;
  font-weight: 800;
  margin-bottom: 1rem;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.14), 0 0 24px rgba(34,197,94,.8);
}
.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.hero-metric-grid > div {
  min-height: 92px;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}
.metric-label {
  display: block;
  color: #bfdbfe;
  font-size: .76rem;
  margin-bottom: .35rem;
}
.hero-metric-grid strong {
  display: block;
  font-size: 1.15rem;
}
.security-note {
  display: flex;
  gap: .9rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15,23,42,.32);
}
.security-note i {
  color: #93c5fd;
  font-size: 1.35rem;
}
.security-note h6 {
  margin: 0 0 .25rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.security-note p {
  margin: 0;
  color: #dbeafe;
  font-size: .86rem;
  line-height: 1.5;
}
.content-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border-radius: 2rem 2rem 0 0;
  margin-top: -1.5rem;
  padding: 2.25rem 0 3rem;
  box-shadow: 0 -20px 60px rgba(15,23,42,.18);
}
.screenshot-carousel img { border-radius: 1rem; max-height: 420px; object-fit: cover; width: 100%; }
.star-rating { color: #fbbf24; }
.review-card { background: #fff; border-radius: 1rem; padding: 1rem; border: 1px solid #e2e8f0; box-shadow: 0 10px 24px rgba(15,23,42,.04); }
.feature-item {
  padding: .85rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid #edf2f7;
  font-weight: 650;
}
.feature-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,.16), rgba(59,130,246,.14));
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--primary);
}
.section-label {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.content-card h3,
.sidebar-card h5 {
  font-weight: 800;
  letter-spacing: -.03em;
}
.content-card p {
  color: #475569;
  line-height: 1.7;
}
.install-box {
  color: #334155;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border: 1px solid #e0e7ff;
  border-radius: 1rem;
  padding: 1rem;
  white-space: pre-wrap;
}
.admin-body { background: #f1f5f9; min-height: 100vh; }
.admin-sidebar { background: #0f172a; min-height: 100vh; color: #cbd5e1; }
.admin-sidebar a { color: #94a3b8; text-decoration: none; display: block; padding: .6rem 1rem; border-radius: .5rem; margin: .15rem .5rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(99,102,241,.25); color: #fff; }
.admin-card {
  background: rgba(255,255,255,.92);
  border-radius: 1.2rem;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}
.sidebar-card {
  box-shadow: 0 18px 40px rgba(15,23,42,.07);
}
.stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--primary-dark); }
.chart-bar { background: var(--primary); border-radius: 4px 4px 0 0; min-height: 4px; }

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 2rem;
  }
  .app-identity {
    align-items: flex-start;
    gap: 1rem;
  }
  .app-logo-frame {
    width: 92px;
    height: 92px;
    flex-basis: 92px;
    border-radius: 22px;
    padding: 9px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-metric-grid {
    grid-template-columns: 1fr;
  }
  .content-section {
    border-radius: 1.5rem 1.5rem 0 0;
  }
}
