/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #007aff;
  --primary-dark: #0062cc;
  --text:         #1a1a2e;
  --text2:        #4a4a6a;
  --text3:        #888aaa;
  --bg:           #ffffff;
  --bg2:          #f5f7fa;
  --bg3:          #eef1f8;
  --border:       #e4e8f0;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.12);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(228,232,240,0.6);
  transition: box-shadow .25s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0,122,255,0.18);
}
.logo-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-app-link {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  box-shadow: 0 2px 12px rgba(0,122,255,0.30);
  transition: opacity .15s, box-shadow .15s, transform .15s;
}
.nav-app-link:hover {
  opacity: .9;
  box-shadow: 0 4px 20px rgba(0,122,255,0.40);
  transform: translateY(-1px);
}
.lang-toggle { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px 5px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  font-family: var(--font);
  transition: border-color .15s, background .15s;
  white-space: nowrap;
}
.lang-current:hover { border-color: var(--primary); background: #fff; }
.lang-globe { font-size: 15px; line-height: 1; }
.lang-chevron { opacity: .5; transition: transform .2s; flex-shrink: 0; }
.lang-toggle.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px;
  min-width: 160px;
  display: none;
  z-index: 200;
}
.lang-toggle.open .lang-dropdown { display: block; }
.lang-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  padding: 7px 10px;
  border-radius: 8px;
  transition: background .12s, color .12s;
  font-family: var(--font);
  text-align: left;
}
.lang-btn:hover { background: var(--bg2); }
.lang-btn.active { background: var(--primary); color: #fff; font-weight: 600; }

/* ── Burger menu ─────────────────────────────────────────────── */
.burger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.burger-btn:hover { border-color: var(--primary); background: #fff; }
.burger-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text2);
  transition: transform .2s, opacity .2s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.burger-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,12,20,0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 199;
}
.burger-overlay.open { opacity: 1; pointer-events: auto; }

.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 84vw);
  background: #fff;
  box-shadow: -8px 0 32px rgba(0,0,0,0.14);
  z-index: 200;
  padding: 88px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
}
.burger-menu.open { transform: translateX(0); }
.burger-menu a {
  color: var(--text2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.burger-menu a:hover { color: var(--primary); }
.burger-menu .burger-cta {
  margin-top: 20px;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  box-shadow: 0 2px 12px rgba(0,122,255,0.30);
}

/* ── Shared ──────────────────────────────────────────────────── */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
}
.section-sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--text2);
  max-width: 560px;
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,122,255,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,122,255,0.4);
}
.btn-ghost {
  display: inline-block;
  color: var(--text2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 100px;
  transition: color .15s, background .15s;
}
.btn-ghost:hover { color: var(--primary); background: var(--bg2); }
.btn-large { font-size: 17px; padding: 18px 36px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding-top: 100px;
  padding-bottom: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f0f4ff 60%, #e8f0ff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,122,255,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e8f0ff, #f0e8ff);
  color: #5856d6;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(88,86,214,0.2);
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-wave {
  margin-top: 60px;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ── Hero mascot visual ──────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.mascot-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(0,122,255,0.20) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.mascot-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.16);
  background: #fff;
}
.mascot-badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.mascot-badge-1 { top: -8px; right: -20px; }
.mascot-badge-2 { bottom: 8px; left: -32px; }
.mascot-badge-icon { font-size: 18px; }

/* ── Features ────────────────────────────────────────────────── */
.features {
  background: var(--bg2);
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon { width: 26px; height: 26px; display: block; flex-shrink: 0; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── How it works ────────────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: var(--bg);
}
.how h2 { margin-top: 12px; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0.6;
}
.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007aff18, #5856d618);
  border-radius: 5px;
  color: var(--primary);
}
.step-icon svg {
  width: 26px;
  height: 26px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
  flex-shrink: 0;
  width: 60px;
}
.step-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
  border-radius: 2px;
}
.step-arrow-icon {
  font-size: 18px;
  color: var(--primary);
  margin-top: 6px;
  opacity: 0.6;
}

/* ── For Users ───────────────────────────────────────────────── */
.for-users {
  background: var(--bg2);
  padding: 100px 0;
}
.for-users-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.for-users-text h2 { margin-top: 12px; }
.users-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.users-list li {
  font-size: 15px;
  color: var(--text2);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.users-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.for-users-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.mini-card:hover { transform: translateX(4px); }
.mini-card-offset { margin-left: 24px; }
.mini-card-icon { font-size: 28px; flex-shrink: 0; }
.mini-card-body { flex: 1; }
.mini-card-name { font-size: 15px; font-weight: 700; color: var(--text); }
.mini-card-venue { font-size: 12px; color: var(--text3); margin-top: 2px; }
.mini-card-stars { font-size: 11px; margin-top: 4px; color: var(--text2); }

/* ── CTA ─────────────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: var(--bg);
}
.cta-box {
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 28px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.cta-box::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  bottom: -80px; left: -60px;
}
.cta-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-box h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.cta-box .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}
.cta-box .btn-primary:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
}

/* ── Download page ───────────────────────────────────────────── */
.download-hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #ffffff 0%, #f0f4ff 60%, #e8f0ff 100%);
  text-align: center;
}
.download-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 12px 0 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.download-hero .section-sub { margin-left: auto; margin-right: auto; }
.download-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.download-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.download-card:not(.disabled):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.download-card.disabled { opacity: 0.55; }
.download-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border: 1px solid var(--border);
}
.download-card-icon svg { display: block; flex-shrink: 0; }
.download-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.download-card-desc {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  line-height: 1.5;
}
.download-badge-soon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}
.download-card .btn-primary { margin-top: 4px; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
  text-align: center;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-logo-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.footer-tagline {
  font-size: 14px;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  opacity: 0.4;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .for-users-grid { grid-template-columns: 1fr; gap: 40px; }
  .for-users-cards { padding: 0 20px; }
  .download-options { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .nav-app-link { display: none; }
  .footer-links { flex-direction: column; gap: 12px; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .download-options { grid-template-columns: 1fr; }
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step { padding: 0; max-width: 280px; }
  .step-connector { padding-top: 0; width: auto; flex-direction: row; gap: 8px; }
  .step-line { width: 2px; height: 30px; background: linear-gradient(180deg, var(--border), var(--primary)); }
  .step-arrow-icon { transform: rotate(90deg); margin: 0; }
  .cta-box { padding: 48px 24px; }
  .mini-card-offset { margin-left: 0; }
  .hero-sub { font-size: 16px; }
  .mascot-wrap { width: 240px; height: 240px; }
}
