:root {
  --violet-900: #2e1065;
  --violet-800: #4c1d95;
  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-300: #c4b5fd;
  --violet-200: #ddd6fe;
  --white: #ffffff;
  --text: #f7f7fb;
  --muted: #e7e2ffcc;
  --shadow: 0 10px 30px rgba(38, 0, 94, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 1200px at 20% -10%, #a78bfa33, transparent 60%),
              radial-gradient(1000px 1000px at 120% 20%, #7c3aed33, transparent 50%),
              linear-gradient(160deg, var(--violet-900), var(--violet-700) 60%, var(--violet-800));
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(22, 4, 48, 0.6), rgba(22, 4, 48, 0));
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--white);
  text-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}
.socials, .footer-socials {
  display: flex;
  gap: 12px;
}
.social {
  color: var(--violet-200);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}
.social:hover { transform: translateY(-2px) scale(1.04); color: var(--white); background: rgba(255,255,255,0.12); box-shadow: var(--shadow); }

.hero {
  position: relative;
  padding: 64px 0 24px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 36px;
}
.hero-copy { text-align: center; }
.title {
  margin: 0 0 6px;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.5px;
  text-shadow: 0 10px 28px rgba(124, 58, 237, 0.6);
}
.tagline {
  margin: 0 0 22px;
  font-size: 18px;
  color: var(--violet-200);
}
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 12px 16px;
  border-radius: 14px;
  min-width: 220px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn.store .text { display: grid; line-height: 1.05; font-weight: 700; }
.btn.store .text small { font-weight: 600; opacity: 0.9; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-300); }
.btn.store.google { background: linear-gradient(180deg, rgba(66,133,244,0.18), rgba(66,133,244,0.05)); }
.btn.store.apple { background: linear-gradient(180deg, rgba(124,58,237,0.24), rgba(124,58,237,0.08)); }
.btn.store:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.35); background: rgba(255,255,255,0.12); }

.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 260px;
  height: 520px;
  border-radius: 38px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05), 0 30px 60px rgba(0,0,0,0.35);
  position: relative;
}
.screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #120a2a, #1b0a50 35%, #150736);
  position: relative;
}
.ui.top { height: 46px; background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent); border-bottom: 1px solid rgba(255,255,255,0.06); }
.ui.map { position: relative; height: calc(100% - 92px); background: radial-gradient(600px 300px at 50% 0%, rgba(124,58,237,0.25), transparent 60%), radial-gradient(800px 420px at 40% 40%, rgba(168,85,247,0.20), transparent 60%); }
.ui.bottom { height: 46px; background: linear-gradient(0deg, rgba(255,255,255,0.12), transparent); border-top: 1px solid rgba(255,255,255,0.06); }
.bubble-point { position: absolute; width: 14px; height: 14px; border-radius: 999px; background: radial-gradient(circle at 30% 30%, #ffffff, #c4b5fd 60%, #7c3aed); box-shadow: 0 6px 16px rgba(124,58,237,0.6); animation: float 6s ease-in-out infinite; }
.bubble-point.a { left: 22%; top: 38%; animation-delay: .2s; }
.bubble-point.b { left: 64%; top: 54%; animation-delay: .8s; }
.bubble-point.c { left: 42%; top: 72%; animation-delay: 1.4s; }

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-10px) translateX(6px); }
  100% { transform: translateY(0) translateX(0); }
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  background: linear-gradient(180deg, #120a2a, #1b0a50 35%, #150736);
}

/* Hide fallback content when image loads */
.phone-image + .ui {
  display: none;
}

.features { padding: 28px 0 64px; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
}
.feature .ico { grid-row: span 2; color: var(--violet-200); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 10px; }
.feature h3 { margin: 0; font-size: 18px; color: var(--white); }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0 36px; background: linear-gradient(0deg, rgba(22,4,48,0.6), rgba(22,4,48,0)); }
.footer-inner { display: grid; gap: 12px; justify-items: center; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-socials { display: flex; gap: 12px; }
.footer-legal { display: flex; gap: 20px; }
.footer-link { 
  color: var(--violet-200); 
  text-decoration: none; 
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-link:hover { 
  color: var(--white); 
  text-decoration: underline;
}
.copyright { margin: 0; color: var(--violet-200); font-size: 13px; }

/* Bubbles Background Layer */
#bubbles-canvas { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(196,181,253,0.65) 60%, rgba(124,58,237,0.75));
  box-shadow: 0 8px 24px rgba(124,58,237,0.35), inset 0 0 8px rgba(255,255,255,0.25);
  filter: blur(0.2px);
  opacity: 0.9;
  animation: rise linear forwards;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translateY(-50vh) translateX(6vw) scale(1.05); }
  100% { transform: translateY(-105vh) translateX(12vw) scale(1.08); opacity: 0; }
}

/* Responsive */
@media (min-width: 720px) {
  .hero { padding: 88px 0 36px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  .hero-copy { text-align: left; }
  .title { font-size: 72px; }
  .cta { justify-content: start; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .phone { width: 300px; height: 600px; }
  .footer-links { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1040px) {
  .title { font-size: 86px; }
  .phone { width: 340px; height: 680px; }
}


