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

/* ── Tokens ── */
:root {
  --bg:        #08111f;
  --surface:   #0f1e35;
  --card:      #152540;
  --border:    #1e3352;
  --teal:      #3b82f6;      /* Changed from Green to Vibrant Blue */
  --teal-dim:  #1d4ed8;      /* Changed from Dark Green to Darker Blue */
  --orange:    #ff6b35;
  --white:     #f0f4f8;
  --grey:      #7a8fa6;
  --grey-light:#a8bcd0;
  --radius:    12px;
  --font-head: 'Georgia', serif;
  --font-body: 'Segoe UI', system-ui, sans-serif;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
}

/* ── Top bar ── */
.topbar {
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--orange) 100%);
}

/* ── Nav ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(8, 17, 31, 0.95);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #08111f;
}

.logo-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  letter-spacing: -0.3px;
}

.logo-name span {
  color: var(--teal);
}

nav a.back {
  color: var(--grey);
  text-decoration: none;
  font-size: 13px;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.2s;
}

nav a.back:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* ── Hero ── */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 60px 40px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: bold;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero p {
  color: var(--grey-light);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--teal);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--grey);
}

.hero-meta span {
  color: var(--teal);
}

/* ── Index Container & App Badges ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
}

.store-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.store-row img {
  height: 48px;
  transition: transform 0.2s;
}

.store-row img:hover {
  transform: scale(1.05);
}

/* ── Layout ── */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px;
  align-items: start;
}

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: 80px;
  padding-right: 40px;
}

.sidebar-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  border: none;
  position: static;
  background: none;
  backdrop-filter: none;
}

.sidebar nav a {
  color: var(--grey);
  text-decoration: none;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 7px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
}

.sidebar nav a:hover {
  color: var(--teal);
  background: rgba(59, 130, 246, 0.06);
  border-left-color: var(--teal);
}

/* ── Content Sections ── */
.content { min-width: 0; }

.section {
  margin-bottom: 48px;
  scroll-margin-top: 90px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-num {
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.section h2 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: bold;
  color: var(--white);
  letter-spacing: -0.2px;
}

.section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 24px 0 10px;
}

.section p {
  color: var(--grey-light);
  margin-bottom: 14px;
  font-size: 14.5px;
}

.section ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.section ul li {
  color: var(--grey-light);
  font-size: 14.5px;
  padding: 5px 0 5px 20px;
  position: relative;
}

.section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}

/* ── Cards ── */
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.info-card p {
  color: var(--grey-light);
  font-size: 13.5px;
  margin: 0;
}

.warning-card {
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.2);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}

.warning-card p {
  color: var(--grey-light);
  font-size: 13.5px;
  margin: 0;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}

.contact-card p {
  color: var(--grey);
  font-size: 13px;
  margin: 0;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #08111f;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.contact-btn:hover {
  background: var(--teal-dim);
  color: var(--white);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--grey);
  font-size: 13px;
}

footer a {
  color: var(--teal);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

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

.logo-icon {
  width: 40px;      /* match your original icon size */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keeps proportions */
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .hero { padding: 40px 20px 32px; }
  .layout {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .sidebar {
    position: static;
    padding-right: 0;
    margin-bottom: 32px;
  }
  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .sidebar nav a {
    border-left: none;
    border: 1px solid var(--border);
    font-size: 12px;
    padding: 5px 10px;
  }
  footer { padding: 24px 20px; }
  .contact-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}