:root{
  --primary:#1E88FF;
  --dark:#0F1724;
  --white:#FFFFFF;
  --muted:#94A3B8;
  --glass:rgba(255,255,255,0.04);
  --header-radius: 18px;
  --header-height: 72px;
  font-size:16px;
}

*{box-sizing:border-box}
body{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  margin:0;
  color:var(--white);
  background:linear-gradient(180deg,var(--dark),#071020);
  padding-top: calc(var(--header-height) + 18px); /* prevents header overlap */
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* container */
.container{max-width:1200px;margin:0 auto;padding:24px}

/* Header - floating */
.site-header{
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  height: var(--header-height);
  display:flex;
  align-items:center;
  background: linear-gradient(180deg, rgba(15,23,36,0.6), rgba(15,23,36,0.36));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--header-radius);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.03);
  padding: 10px 18px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.55);
  transition: transform .22s ease, box-shadow .22s ease, top .2s ease;
}

/* header elevated on scroll */
.site-header.elevated{
  box-shadow: 0 22px 48px rgba(2,6,23,0.65);
  transform: translateX(-50%) translateY(-2px);
}

/* Logo - responsive with breakpoints */
.site-logo {
  display: block;
  height: 42px; /* Default for desktop */
  width: auto;
  margin-right: auto;
  border-radius: 8px;
  transition: transform 0.18s ease;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 900px) {
  .site-logo {
    height: 38px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .site-logo {
    height: 34px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .site-logo {
    height: 32px;
  }
}


/* header inner content */
.header-inner{display:flex;align-items:center;gap:16px;width:100%;justify-content:flex-end}
.main-nav{display:flex;gap:18px;margin-left:20px;align-items:center}
.main-nav a{color:var(--white);text-decoration:none;font-weight:500;opacity:0.95;padding:8px;border-radius:10px}
.main-nav a:hover{background:rgba(255,255,255,0.02)}
.nav-ctas{margin-left:auto;display:flex;gap:12px;align-items:center}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;text-decoration:none;cursor:pointer;font-weight:600}
.btn-primary{background:var(--primary);color:var(--white);box-shadow:0 6px 18px rgba(30,136,255,0.12)}
.btn-outline{border:1px solid rgba(255,255,255,0.06);color:var(--white);background:transparent}
.btn-ghost{background:transparent;color:var(--white);opacity:0.9}
.hamburger{display:none;background:transparent;border:0;color:var(--white);font-size:20px;margin-left:12px;cursor:pointer}

/* hero */
.hero{display:flex;gap:24px;align-items:center;padding-top:8px;padding-bottom:48px}
.hero-left{flex:1}
.hero-right{flex:1;display:flex;flex-direction:column;align-items:center;gap:12px}

/* Lottie wrapper: floating card with blob + subtle animations */
.lottie-wrap{
  width:360px;
  height:360px;
  position:relative;
  border-radius:22px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 20px 40px rgba(2,6,23,0.45);
  overflow:visible;
  transform-origin:center;
  animation: floatY 6s ease-in-out infinite;
}

/* background blob behind the Lottie */
.lottie-bg-blob{
  position:absolute;
  width:260px;
  height:260px;
  border-radius:50%;
  filter: blur(36px);
  background: radial-gradient(circle at 30% 30%, rgba(30,136,255,0.16), transparent 30%), radial-gradient(circle at 70% 70%, rgba(0,200,150,0.08), transparent 45%);
  z-index:0;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  animation: blobShift 10s ease-in-out infinite;
}

/* make the lottie-player sit above the blob */
.lottie-wrap .lottie-player{
  width: 100%;
  height: 100%;
  z-index:2;
  border-radius:14px;
  transform-origin:center;
  animation: slowRotate 18s linear infinite;
}

/* Download badges */
.download-badges img{height:36px;margin:6px}

/* hero text */
.hero h1{font-size:40px;line-height:1.02;margin:0 0 12px 0}
.lead{color:var(--muted);max-width:520px;margin-bottom:18px}
.hero-ctas{display:flex;gap:12px;margin-bottom:18px}
.large{padding:14px 22px;border-radius:18px;font-size:16px}

/* features grid */
.features{padding:36px 24px}
.features h2{margin-bottom:18px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{background:rgba(255,255,255,0.02);padding:18px;border-radius:12px;border:1px solid rgba(255,255,255,0.03);min-height:120px;display:flex;flex-direction:column;gap:8px}
.card .icon{font-size:22px}

/* download section */
.download{padding:36px 24px;text-align:center}
.download-form{display:flex;gap:12px;max-width:540px;margin:12px auto}
.download-form input{flex:1;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:var(--white)}

/* footer */
.site-footer{padding:20px 0;border-top:1px solid rgba(255,255,255,0.03);background:transparent;margin-top:40px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;color:var(--muted)}

/* MOBILE / RESPONSIVE */
@media(max-width:900px){
  .main-nav{display:none}
  .nav-ctas{display:none} /* hide Get the App in header on smaller screens */
  .hamburger{display:block}
  .hero{flex-direction:column;gap:18px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .lottie-wrap{width:300px;height:300px}
  .site-logo{left:18px;width:48px;height:48px}
  .brand-text-only{display:block;margin-left:68px;font-weight:700;color:var(--white)}
}

/* Very small screens */
@media(max-width:520px){
  .grid{grid-template-columns:1fr}
  .hero h1{font-size:28px}
  .lottie-wrap{width:220px;height:220px;padding:12px;border-radius:16px}
  .download-form{flex-direction:column}
  .nav-ctas{display:none}
  .header-inner{padding:6px}
  .site-logo{left:12px;width:40px;height:40px}
}

/* Mobile menu overlay modern card */
.mobile-menu{
  position:fixed;inset:0;display:none;z-index:1200;
  align-items:flex-start;justify-content:center;padding:28px;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.7));
}

/* show mobile menu when open */
.mobile-menu.open{display:flex}

/* the mobile inner is a centered card with a slide-down feel */
.mobile-inner{
  width:100%;max-width:520px;
  background: linear-gradient(180deg, rgba(10,14,18,0.98), rgba(8,10,12,0.98));
  border-radius:18px;padding:22px;
  box-shadow: 0 30px 60px rgba(2,6,23,0.6);
  transform: translateY(-6px);
  animation: menuIn .26s ease both;
  position:relative;
}

/* close button */
.close{position:absolute;right:16px;top:12px;background:transparent;border:0;color:var(--white);font-size:20px;cursor:pointer}

/* mobile links large, tappable */
.mobile-links{display:flex;flex-direction:column;gap:12px;margin-top:22px}
.mobile-link{
  display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;
  background: rgba(255,255,255,0.02); color:var(--white); text-decoration:none; font-weight:600;
  border: 1px solid rgba(255,255,255,0.03);
  transition: transform .12s ease, background .12s ease;
}
.mobile-link:hover{transform:translateY(-4px); background: rgba(30,136,255,0.06);}

/* link icon */
.link-icon{font-size:18px}

/* Hide mobile CTA on small screens (user asked to remove it on mobile) */
@media(max-width:900px){
  .mobile-cta{display:none}
}

/* animations */
@keyframes floatY {
  0% { transform: translateY(0) }
  50% { transform: translateY(-8px) }
  100% { transform: translateY(0) }
}
@keyframes slowRotate {
  0% { transform: rotate(0deg) }
  50% { transform: rotate(6deg) }
  100% { transform: rotate(0deg) }
}
@keyframes blobShift {
  0% { transform: translate(-50%,-50%) scale(1) }
  50% { transform: translate(-48%,-52%) scale(1.06) }
  100% { transform: translate(-50%,-50%) scale(1) }
}
@keyframes menuIn {
  from { transform: translateY(-12px); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}
