/* Base styles */
:root{
  --bg:#0f1115;
  --panel: rgba(255,255,255,0.04);
  --glass: rgba(255,255,255,0.06);
  --accent-1: rgba(99,102,241,0.95);
  --accent-2: rgba(139,92,246,0.9);
  --muted: rgba(255,255,255,0.6);
}

*{box-sizing:border-box}
/* enable native smooth scrolling for in-page navigation and touch momentum on iOS */
html,body{
  height:100%;
  overflow-x:hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
body{
  margin:0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(1500px 900px at 8% 12%, rgba(99,102,241,0.22), transparent 24%),
              radial-gradient(1100px 700px at 92% 92%, rgba(139,92,246,0.18), transparent 20%),
              radial-gradient(700px 380px at 50% 18%, rgba(139,92,246,0.06), transparent 40%),
              var(--bg);
  color:#e8eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.container{max-width:1100px;margin:0 auto;padding:28px}

/* keep header visible while scrolling */
body{padding-top:72px}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:999;background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);backdrop-filter: blur(6px);-webkit-backdrop-filter: blur(6px);border-bottom:1px solid rgba(255,255,255,0.02);padding:10px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.logo{height:36px}
.brand{display:flex;align-items:center;gap:0}
.brand-logo{height:36px;display:block}
.brand-text{display:inline-block;font-weight:700;color:var(--muted);font-size:15px;margin-left:-65px;line-height:1}
.brand-text strong{color:#fff}
.nav a{color:var(--muted);text-decoration:none;margin-left:18px}
.nav a:hover{color:#fff}

/* mobile menu toggle (hidden on desktop) */
.menu-toggle{display:none;border:0;background:transparent;color:var(--muted);font-size:22px;padding:6px 10px;border-radius:8px}
.menu-toggle:focus{outline:2px solid rgba(99,102,241,0.18)}

/* Hero */
.hero{padding:56px 0}
.hero-inner{display:flex;gap:32px;align-items:center}
.hero-left{flex:1}
.hero-right{flex:1;display:flex;justify-content:center}
h1{font-size:36px;margin:0 0 12px}
.lead{color:var(--muted);margin:0 0 20px}

/* Buttons */
.btn{display:inline-block;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:600}
.btn, button.btn{cursor:pointer}
button.btn{border:0;background:transparent;font:inherit}
.btn.primary{background:linear-gradient(135deg,var(--accent-1),var(--accent-2));color:white;box-shadow:0 8px 30px rgba(99,102,241,0.12);}
.btn.outline{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}
.btn.ghost{background:transparent;color:var(--muted)}
.download-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
/* add extra spacing between download buttons and the small trust text below */
.download-row{margin-bottom:14px}
.download-row + .trust{margin-top:6px}

/* Glass card (liquid glass effect) */
.glass-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius:20px;
  padding:18px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

/* Mockup inside card */
.hero-right .glass-card{width:320px;height:560px;display:flex;align-items:center;justify-content:center}
.mockup{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.mockup::before{
  /* purple container behind the phone image */
  content:'';
  position:absolute;
  left:8px;
  right:8px;
  top:8px;
  bottom:8px;
  border-radius:22px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 28px 70px rgba(99,102,241,0.18);
  z-index:1;
  transform: translateY(6px);
}
.mockup img{max-width:86%;height:auto;display:block;border-radius:18px;box-shadow:0 18px 48px rgba(2,6,23,0.6);position:relative;z-index:2}
.blob{position:absolute;inset:-30%;opacity:1;filter:blur(28px);transform-origin:center;z-index:0}

/* Features */
.features{padding:40px 0}
.features h2{text-align:center;margin-bottom:18px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.card{padding:18px}
/* center content inside feature cards */
.features .card{display:flex;flex-direction:column;align-items:center;text-align:center}
.features .card p{max-width:28em}

/* Earn / yield section */
.earn-section{padding:36px 0}
.earn-card{padding:20px}
.earn-inner{display:flex;gap:22px;align-items:center;overflow:hidden}
.earn-left{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center}
.earn-right{flex:0 0 260px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.earn-right img{width:100%;max-width:220px;height:auto;border-radius:14px;box-shadow:0 18px 48px rgba(2,6,23,0.55);display:block}
.earn-number{font-size:54px;font-weight:800;color:var(--accent-1);line-height:1;text-align:center}
.earn-number .per-day{font-size:18px;font-weight:600;color:var(--muted);margin-left:6px}
.earn-lead{color:var(--muted);max-width:46ch}
.earn-cta{margin-top:14px;display:flex;gap:12px}
.earn-disclaimer{margin-top:12px;color:rgba(255,255,255,0.52);font-size:13px;max-width:46ch;text-align:center}

/* center Download button in the CTA (Ready?) section */
.cta .download-row{justify-content:center}
.cta .glass-card{display:flex;flex-direction:column;align-items:center;text-align:center}
.card h3{margin-top:0}
.small{min-height:140px}
.large{min-height:200px}

/* Footer */
.site-footer{padding:28px 0;color:var(--muted);text-align:center;border-top:1px solid rgba(255,255,255,0.02);background:transparent}

/* Responsiveness */
@media (max-width:900px){
  .hero-inner{flex-direction:column-reverse}
  .hero-right .glass-card{width:260px;height:480px}
  h1{font-size:28px}
  /* show nav inline in header on narrower screens */
  .menu-toggle{display:none}
  .nav{display:flex;position:static;background:transparent;padding:0;border-radius:0;flex-direction:row;gap:12px;justify-content:center}
  .nav a{margin:0;padding:8px 6px}
}

@media (max-width:900px){
  .earn-inner{flex-direction:column-reverse}
  .earn-right{flex-basis:240px}
  .earn-number{font-size:44px}
}

@media (max-width:600px){
  .container{padding:18px}
  /* reserve space for header */
  body{padding-top:88px}
  .hero{padding:28px 0}
  .hero-inner{gap:18px}
  .hero-right .glass-card{width:220px;height:420px}
  h1{font-size:22px}
  .lead{font-size:14px}
  .mockup img{max-width:92%}
  /* center hero text and ensure buttons are full width and easy to tap */
  .hero-left{text-align:center}
  .hero-left h1, .hero-left .lead, .hero-left .download-row{margin-left:0;margin-right:0;text-align:center}
  .download-row{flex-direction:column;gap:12px;justify-content:center}
  .btn{width:100%;padding:14px 18px;font-size:16px;border-radius:12px}
  /* show header nav inline in header */
  .nav{display:flex;position:static;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0;border-radius:0;flex-direction:row;gap:12px;justify-content:center}
  .nav a{margin:0;padding:6px 8px}
  /* reduce logo size a bit to make room in header */
  .logo{height:32px}

  /* Earn section stacks and centers on small screens */
  .earn-inner{flex-direction:column-reverse;align-items:center;text-align:center}
  .earn-right{flex-basis:auto}
  .earn-number{font-size:40px}
  .earn-cta{flex-direction:column}
  /* ensure image never pushes outside the card on very narrow screens */
  .earn-right img{max-width:180px}

  /* Fix: center the phone mockup visually by neutralizing the purple panel offset
     and ensuring the mockup occupies the full card center area */
  .hero-right{width:100%;display:flex;align-items:center;justify-content:center}
  .hero-right .glass-card{width:86%;max-width:320px;height:auto;padding:12px;display:flex;align-items:center;justify-content:center}
  .mockup{width:100%;display:flex;align-items:center;justify-content:center;padding:12px}
  .mockup::before{transform:none;left:8px;right:8px;top:8px;bottom:8px}
  .mockup img{max-width:72%;margin:0 auto;display:block}

  /* ensure the earn mockup is centered inside its card on mobile */
  .earn-card{display:flex;flex-direction:column;align-items:center}
  .earn-right{display:flex;align-items:center;justify-content:center;width:100%;padding:8px 0}
  .earn-right img{margin:0 auto;display:block}
}

/* center the hero phone mockup on mobile like desktop */
@media (max-width:600px){
  .hero-right{display:flex;justify-content:center;align-items:center}
  .hero-right .glass-card{margin:0 auto}
  .hero-right .mockup img{margin:0 auto;display:block;max-width:86%}
}

@media (max-width:420px){
  .container{padding:14px}
  .logo{height:30px}
  .site-header{padding:8px 0}
  body{padding-top:112px}
  h1{font-size:20px}
  .hero-right .glass-card{width:200px;height:380px}
  .mockup::before{left:6px;right:6px;top:6px;bottom:6px;border-radius:18px}
}
/* Small accent sheen */
.glass-card::after{
  content:'';position:absolute;left:-30%;top:-30%;width:160%;height:160%;background:linear-gradient(120deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));transform:rotate(-12deg);
}

/* ensure decorative pseudo-elements don't block pointer events */
.glass-card::after, .mockup::before { pointer-events: none }

/* make buttons appear and act like native buttons (above pseudo layers) */
.btn{position:relative;z-index:2200}
button.btn{position:relative;z-index:2200}

/* accessibility focus */
a:focus{outline:3px solid rgba(99,102,241,0.18);outline-offset:3px}

/* button active/press state to make taps feel responsive */
.btn:active, button.btn:active{transform:translateY(1px);opacity:0.95}

/* subtle animation */
.blob{transition:transform 1.6s ease, opacity 0.6s}
