@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==================== TOKENS ==================== */
:root {
  --bg: #080610;
  --bg2: #0e0b1e;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.1);
  --border-strong: rgba(255,255,255,0.18);
  --text: #ffffff;
  --text-2: rgba(255,255,255,0.65);
  --text-3: rgba(255,255,255,0.4);
  --red: #e63946;
  --gold: #f5a623;
  --gold2: #fcd34d;
  --green: #22c55e;
  --purple: #a855f7;
  --blue: #3b82f6;
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 36px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==================== RESET ==================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }

/* ==================== SNOW CANVAS ==================== */
#snowCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ==================== LAYOUT ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; z-index: 1; }

/* ==================== NAV ==================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(8,6,16,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold2); transform: scale(1.03); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(8,6,16,0.97);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-weight: 500;
}
.mobile-dl { margin-top: 16px; text-align: center; }

/* ==================== DOWNLOAD BUTTON ==================== */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.download-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, #222, #333);
}
.btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-sub-text { font-size: 11px; font-weight: 400; opacity: 0.7; }
.btn-main-text { font-size: 17px; font-weight: 800; }

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200,30,30,0.25), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(88,28,87,0.3), transparent),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(30,50,120,0.2), transparent);
}
.hero-content { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-gradient {
  background: linear-gradient(135deg, #e63946 0%, #f5a623 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.stars { letter-spacing: 2px; }

/* ---- Phones ---- */
.hero-phones {
  position: relative;
  margin-top: 60px;
  height: 560px;
  width: 100%;
  max-width: 800px;
  z-index: 2;
}
.phone-wrap { position: absolute; bottom: 0; }
.phone-center { left: 50%; transform: translateX(-50%); z-index: 3; }
.phone-left { left: 50%; margin-left: -360px; z-index: 2; opacity: 0.75; transform: rotate(-6deg) translateY(40px); }
.phone-right { left: 50%; margin-left: 160px; z-index: 2; opacity: 0.75; transform: rotate(6deg) translateY(40px); }
.phone-frame {
  width: 280px;
  border-radius: 44px;
  overflow: hidden;
  background: #1a1a1a;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08);
  animation: float 6s ease-in-out infinite;
}
.phone-frame.small {
  width: 220px;
  border-radius: 36px;
  animation-delay: -3s;
}
.phone-frame img { width: 100%; height: auto; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.phone-left .phone-frame, .phone-right .phone-frame { animation: none; }

/* Glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 500px; height: 500px; background: rgba(230,57,70,0.15); top: -100px; left: -100px; }
.glow-2 { width: 400px; height: 400px; background: rgba(245,166,35,0.12); bottom: 0; right: -100px; }
.glow-3 { width: 600px; height: 300px; background: rgba(88,28,87,0.2); bottom: 100px; left: 50%; transform: translateX(-50%); }

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 48px;
  gap: 4px;
}
.proof-item strong { font-size: 26px; font-weight: 800; color: var(--gold); }
.proof-item span { font-size: 13px; color: var(--text-2); font-weight: 500; }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* ==================== SECTION HEADER ==================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-chip {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-header p { color: var(--text-2); font-size: 18px; line-height: 1.65; }

/* ==================== BENTO GRID ==================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.175,.885,.32,1.275), border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-tall  { grid-column: span 1; grid-row: span 2; }
.bento-wide  { grid-column: span 3; }

.bento-glow {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(60px);
  top: -40px; right: -40px;
  pointer-events: none;
  opacity: 0.4;
}
.bento-glow.red    { background: var(--red); }
.bento-glow.gold   { background: var(--gold); }
.bento-glow.green  { background: var(--green); }
.bento-glow.purple { background: var(--purple); }
.bento-glow.blue   { background: var(--blue); }

.bento-icon {
  margin-bottom: 20px;
  display: block;
}
.bento-icon svg {
  width: 32px !important;
  height: 32px !important;
}
.bento-large .bento-icon svg {
  width: 48px !important;
  height: 48px !important;
}
.bento-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.bento-large .bento-body h3 { font-size: 30px; }
.bento-body p { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.bento-large .bento-body p { font-size: 17px; }
.bento-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==================== SCREENSHOTS ==================== */
.screenshots-section { padding-bottom: 120px; }
.screenshots-track {
  margin-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 24px 40px;
  cursor: grab;
}
.screenshots-track::-webkit-scrollbar { display: none; }
.screenshots-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 calc(50vw - 140px);
}
.screenshot-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a2e;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(.175,.885,.32,1.275), box-shadow 0.4s;
}
.screenshot-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 70px rgba(0,0,0,0.6);
}
.screenshot-card img { width: 100%; height: auto; }

/* ==================== STEPS ==================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  transition-delay: var(--delay, 0s);
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.step-num {
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: -10px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.step-icon { font-size: 40px; margin-bottom: 20px; }
.step-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.3px; }
.step-card p { color: var(--text-2); font-size: 15px; line-height: 1.7; }

/* ==================== FAQ ==================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.faq-item p { color: var(--text-2); font-size: 15px; line-height: 1.75; }

/* ==================== CTA ==================== */
.cta-section { padding: 80px 0 120px; }
.cta-box {
  position: relative;
  text-align: center;
  background: linear-gradient(145deg, rgba(230,57,70,0.12), rgba(245,166,35,0.08), rgba(88,28,87,0.12));
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  padding: 80px 48px;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(230,57,70,0.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-snowflakes { font-size: 24px; margin-bottom: 24px; opacity: 0.5; letter-spacing: 16px; }
.cta-box h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-box > p { color: var(--text-2); font-size: 18px; margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btn { margin: 0 auto; }
.cta-note { margin-top: 24px; font-size: 13px; color: var(--text-3); }

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-2); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-links-col h4 { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links-col a { color: var(--text-2); font-size: 14px; transition: color 0.2s; }
.footer-links-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(.16,1,.3,1) forwards;
}
.delay-0 { animation-delay: 0.1s; }
.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.55s; }
.delay-4 { animation-delay: 0.7s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; grid-row: span 1; }
  .bento-tall  { grid-column: span 1; grid-row: span 1; }
  .bento-wide  { grid-column: span 2; }
  .footer-top  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 120px 24px 40px; }
  .hero-phones { height: auto; margin-top: 40px; position: static; display: flex; justify-content: center; }
  .phone-left, .phone-right { display: none; }
  .phone-center { position: static; transform: none; }
  .phone-frame { width: 240px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-tall, .bento-wide { grid-column: span 1; grid-row: auto; }

  .steps-grid { grid-template-columns: 1fr; }
  .faq-grid   { grid-template-columns: 1fr; }

  .proof-bar { gap: 0; }
  .proof-item { padding: 20px 24px; }
  .proof-divider { height: 30px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-box { padding: 48px 24px; border-radius: 24px; }
  .screenshots-inner { padding: 0 24px; }
}
