/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',ui-sans-serif,system-ui,-apple-system,sans-serif;color:#1a1a2e;background:#FDF4FF;-webkit-font-smoothing:antialiased;line-height:1.6}
img,svg{display:block;max-width:100%}
a{text-decoration:none;color:inherit}

/* ===== Tokens ===== */
:root{
  --primary:#8B5CF6;--primary-dark:#7C3AED;
  --secondary:#EC4899;--secondary-dark:#DB2777;
  --accent:#F59E0B;--accent-dark:#D97706;
  --bg:#FDF4FF;--white:#fff;--gray-100:#f3f4f6;--gray-400:#9ca3af;--gray-500:#6b7280;--gray-600:#4b5563;--gray-900:#111827;
  --radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-full:9999px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.05);--shadow-md:0 4px 12px rgba(0,0,0,.08);--shadow-lg:0 10px 30px rgba(0,0,0,.1);
}

/* ===== Utility ===== */
.container{width:100%;max-width:1152px;margin:0 auto;padding:0 24px}
.text-center{text-align:center}
.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-6{gap:24px}.gap-8{gap:32px}.gap-12{gap:48px}
.grid{display:grid}
.hidden{display:none}

/* ===== Nav ===== */
.nav{padding:24px 0}
.logo{display:flex;align-items:center;gap:10px}
.logo-icon{width:36px;height:36px;border-radius:var(--radius-md);background:linear-gradient(135deg,var(--primary),var(--secondary));display:flex;align-items:center;justify-content:center}
.logo-icon svg{width:20px;height:20px;color:#fff;stroke:#fff;fill:none}
.logo-text{font-size:20px;font-weight:700;letter-spacing:-.02em}
.nav-cta{display:none;padding:10px 20px;border-radius:var(--radius-full);background:var(--primary);color:#fff;font-size:14px;font-weight:600;transition:background .2s}
.nav-cta:hover{background:var(--primary-dark)}

/* ===== Hero ===== */
.hero{padding:48px 0 80px;text-align:center}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:var(--white);padding:8px 16px;border-radius:var(--radius-full);font-size:14px;font-weight:500;color:var(--primary);box-shadow:var(--shadow-sm);margin-bottom:24px}
.hero-badge svg{width:16px;height:16px;stroke:var(--primary);fill:none}
.hero h1{font-size:clamp(32px,5vw,60px);font-weight:800;line-height:1.1;letter-spacing:-.03em;margin-bottom:24px;max-width:720px;margin-left:auto;margin-right:auto}
.hero h1 span{background:linear-gradient(135deg,var(--primary),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{font-size:clamp(16px,2vw,20px);color:var(--gray-600);max-width:600px;margin:0 auto 40px;line-height:1.7}
.store-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}

/* ===== Hero visual ===== */
.hero-visual{margin-top:64px;border-radius:var(--radius-xl);background:linear-gradient(135deg,rgba(139,92,246,.08),rgba(236,72,153,.08),rgba(245,158,11,.08));padding:32px}
.hero-books{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hero-book{aspect-ratio:3/4;background:rgba(255,255,255,.85);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.hero-book-inner{text-align:center;padding:16px}
.hero-book-inner svg{width:32px;height:32px;stroke:rgba(139,92,246,.35);fill:none;margin:0 auto}
.hero-book-inner p{margin-top:8px;font-size:12px;color:var(--gray-400)}

/* ===== Store Badge ===== */
.store-badge{display:inline-flex;align-items:center;gap:12px;padding:12px 20px;border-radius:var(--radius-md);transition:all .2s;font-weight:600}
.store-badge--dark{background:var(--gray-900);color:#fff}
.store-badge--dark:hover{background:#000}
.store-badge--light{background:var(--white);color:var(--gray-900)}
.store-badge--light:hover{background:var(--gray-100)}
.store-badge svg{width:20px;height:20px;stroke:currentColor;fill:none;flex-shrink:0}
.store-badge-label{text-align:left}
.store-badge-label small{display:block;font-size:10px;font-weight:500;text-transform:uppercase;opacity:.7;line-height:1}
.store-badge-label span{display:block;font-size:16px;font-weight:600;line-height:1.2}

/* ===== USPs ===== */
.usps{background:var(--white);padding:80px 0}
.usps-header{text-align:center;margin-bottom:64px}
.usps-header h2{font-size:clamp(24px,3.5vw,36px);font-weight:700;margin-bottom:16px}
.usps-header p{color:var(--gray-600);max-width:560px;margin:0 auto}
.usp-grid{display:grid;gap:24px;grid-template-columns:1fr}
.usp-card{background:var(--white);border:1px solid var(--gray-100);border-radius:var(--radius-lg);padding:24px;transition:box-shadow .25s}
.usp-card:hover{box-shadow:var(--shadow-lg)}
.usp-icon{width:48px;height:48px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.usp-icon svg{width:24px;height:24px;fill:none}
.usp-icon--primary{background:rgba(139,92,246,.1)}
.usp-icon--primary svg{stroke:var(--primary)}
.usp-icon--secondary{background:rgba(236,72,153,.1)}
.usp-icon--secondary svg{stroke:var(--secondary)}
.usp-icon--accent{background:rgba(245,158,11,.1)}
.usp-icon--accent svg{stroke:var(--accent-dark)}
.usp-card h3{font-size:18px;font-weight:600;margin-bottom:8px}
.usp-card p{font-size:14px;color:var(--gray-600);line-height:1.7}

/* ===== Steps ===== */
.steps{padding:80px 0}
.steps-header{text-align:center;margin-bottom:64px}
.steps-header h2{font-size:clamp(24px,3.5vw,36px);font-weight:700}
.steps-grid{display:grid;gap:32px;grid-template-columns:1fr}
.step{text-align:center}
.step-number{width:56px;height:56px;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.step h3{font-size:20px;font-weight:600;margin-bottom:8px}
.step p{color:var(--gray-600);max-width:300px;margin:0 auto}

/* ===== CTA ===== */
.cta{background:linear-gradient(135deg,var(--primary),var(--secondary));padding:80px 0;color:#fff}
.cta h2{font-size:clamp(24px,3.5vw,36px);font-weight:700;margin-bottom:16px}
.cta>div>p{font-size:18px;opacity:.8;max-width:520px;margin:0 auto 40px}
.cta-content{display:flex;flex-direction:column;align-items:center;gap:32px}
.cta-divider{display:none;width:1px;height:80px;background:rgba(255,255,255,.2)}
.qr-wrap{display:flex;flex-direction:column;align-items:center;gap:12px}
.qr-box{background:var(--white);padding:12px;border-radius:var(--radius-lg)}
.qr-box svg{display:block}
.qr-label{font-size:14px;opacity:.7}

/* ===== Footer ===== */
.footer{background:var(--white);border-top:1px solid var(--gray-100);padding:32px 0;text-align:center}
.footer p{margin-top:16px;font-size:14px;color:var(--gray-500)}

/* ===== Responsive ===== */
@media(min-width:640px){
  .nav-cta{display:inline-block}
  .store-buttons{flex-direction:row}
  .cta-content{flex-direction:row;justify-content:center;gap:48px}
  .cta-divider{display:block}
}
@media(min-width:768px){
  .hero{padding:80px 0 80px}
  .hero-visual{padding:48px}
  .hero-books{gap:24px}
  .hero-book-inner svg{width:48px;height:48px}
  .hero-book-inner p{font-size:14px}
  .usp-grid{grid-template-columns:repeat(2,1fr)}
  .steps-grid{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:1024px){
  .usp-grid{grid-template-columns:repeat(4,1fr)}
}
