:root {
  --bg-top: #f7f9ff;
  --bg-mid: #edf2ff;
  --bg-bot: #f5f7ff;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --border: rgba(30, 58, 138, 0.09);
  --border-strong: rgba(45, 74, 232, 0.22);
  --text-main: #0b1226;
  --text-body: #42506b;
  --text-muted: #6e7c97;
  --brand: #2d4ae8;
  --brand-dark: #1e35c9;
  --brand-soft: #eef2ff;
  --brand-grad: linear-gradient(135deg, #2541e5 0%, #4b5cf6 100%);
  --emerald: #059669;
  --emerald-bg: #e6f9f1;
  --discord: #5865f2;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 18px 44px rgba(21, 38, 107, 0.07), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-phone: 0 36px 80px rgba(22, 41, 122, 0.22), 0 12px 28px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 76% 24%, rgba(56, 86, 245, 0.16) 0%, rgba(56, 86, 245, 0) 44%),
    radial-gradient(circle at 14% 12%, rgba(99, 102, 241, 0.09) 0%, rgba(99, 102, 241, 0) 38%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* Top Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(247, 249, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(45, 74, 232, 0.28);
}

.brand-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--emerald);
  background: var(--emerald-bg);
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.brand-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 0.18s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.lang-btn.active {
  background: var(--text-main);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
  border-radius: 11px;
}

.btn-primary {
  background: var(--brand-grad);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(45, 74, 232, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(45, 74, 232, 0.4);
}

.btn-discord {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-discord:hover {
  border-color: var(--discord);
  color: var(--discord);
}

.btn-lg {
  padding: 15px 24px;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 52px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.promo-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(45, 74, 232, 0.18);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.promo-tag {
  background: var(--brand-grad);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.promo-tag.live {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 850;
  color: var(--text-main);
}

.hero-title .accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: var(--text-body);
  max-width: 540px;
}

.event-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-main);
}

.event-chip strong {
  color: var(--brand);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

/* Live APK Meta Card */
.apk-meta {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  max-width: 540px;
  box-shadow: var(--shadow-sm);
}

.apk-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.83rem;
  color: var(--text-body);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.sha-btn {
  background: var(--brand-soft);
  border: none;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 7px;
  cursor: pointer;
}

.sha-btn:hover {
  background: #dfe7ff;
}

.notes-toggle {
  background: none;
  border: none;
  color: var(--brand);
  font-size: 0.81rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

.release-notes {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--text-body);
  white-space: pre-line;
  display: none;
}

.release-notes.open {
  display: block;
}

/* Hero Smartphone Centerpiece */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow {
  position: absolute;
  width: 390px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 83, 242, 0.34) 0%, rgba(99, 102, 241, 0.12) 48%, rgba(53, 83, 242, 0) 74%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}

.phone-chassis {
  position: relative;
  z-index: 2;
  width: min(358px, 88vw);
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(145deg, #2b303c 0%, #12151c 45%, #232834 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22),
    var(--shadow-phone);
}

.phone-bezel {
  background: #ffffff;
  border-radius: 38px;
  overflow: hidden;
  border: 2px solid #090b10;
  position: relative;
}

.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 6px;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
}

.dynamic-island {
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #090b10;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.phone-screen-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.phone-homebar-wrap {
  background: #fcfbfe;
  padding: 8px 0 9px;
  display: flex;
  justify-content: center;
}

.phone-homebar {
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}

/* Floating Studio Callout Pills around Phone */
.floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(45, 74, 232, 0.14);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-badge .sub {
  display: block;
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--text-muted);
}

.badge-left {
  left: -10px;
  top: 22%;
}

.badge-right {
  right: -10px;
  bottom: 18%;
}

.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: var(--brand-soft);
}

/* Modes Section */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-sub {
  margin: 0;
  color: var(--text-body);
  font-size: 1rem;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mode-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.mode-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.icon-catch { background: #e8edff; color: #2d4ae8; }
.icon-sniper { background: #f1ebff; color: #6d28d9; }
.icon-raid { background: #ffeaf1; color: #be185d; }
.icon-max { background: #fff4e0; color: #b45309; }
.icon-grunt { background: #e6f8f5; color: #0f766e; }
.icon-list { background: #eaf4ff; color: #0369a1; }

.mode-card h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mode-card p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.93rem;
}

/* Quick Setup Steps */
.steps-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 28px;
}

.step-item {
  background: #f8faff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-grad);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.step-item h4 {
  margin: 0 0 6px;
  font-size: 1.03rem;
  font-weight: 800;
}

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

/* Bottom CTA Banner */
.cta-banner {
  margin: 24px 0 64px;
  background: linear-gradient(135deg, #172774 0%, #2742dc 58%, #4758f4 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(29, 53, 200, 0.28);
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
}

.cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-white {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 36px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc, .apk-meta {
    margin-left: auto;
    margin-right: auto;
  }
  .event-strip, .cta-group, .apk-meta-row {
    justify-content: center;
  }
  .notes-toggle {
    margin-left: 0;
  }
  .modes-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .badge-left, .badge-right {
    display: none;
  }
  .steps-box, .cta-banner {
    padding: 28px 22px;
  }
}
