/* ─── Reset & Base ─── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --orange:#F5A623;
  --coral:#E8543E;
  --primary:#EE7B30;
  --anthracite:#4A4A4A;
  --dark:#1A1A1A;
  --darker:#111;
  --surface:#222;
  --surface2:#2A2A2A;
  --text:#ECE0D8;
  --text-muted:#9F8D84;
  --radius:14px;
  --max-w:1100px;
}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--dark);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}

/* ─── Utility ─── */
.container{max-width:var(--max-w);margin:0 auto;padding:0 24px}

/* ─── Navbar ─── */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(26,26,26,.85);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.navbar .container{
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
}
.nav-brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:1.25rem;color:#fff}
.nav-brand img{width:36px;height:36px;border-radius:8px}
.nav-links{display:flex;gap:28px;list-style:none}
.nav-links a{color:var(--text-muted);font-size:.9rem;transition:color .2s}
.nav-links a:hover{color:#fff;text-decoration:none}

/* ─── Hero ─── */
.hero{
  min-height:100vh;display:flex;align-items:center;
  padding-top:80px;padding-bottom:60px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%,rgba(232,84,62,.12),transparent),
    radial-gradient(ellipse 50% 40% at 30% 60%,rgba(245,166,35,.08),transparent),
    var(--dark);
  overflow:hidden;position:relative;
}
.hero::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:120px;
  background:linear-gradient(transparent,var(--dark));pointer-events:none;
}
.hero .container{display:flex;align-items:center;gap:64px;position:relative;z-index:1}
.hero-text{flex:1;min-width:0}
.hero-text h1{
  font-size:clamp(2.4rem,5vw,3.6rem);font-weight:800;line-height:1.1;
  margin-bottom:20px;
}
.hero-text h1 .gradient{
  background:linear-gradient(135deg,var(--orange),var(--coral));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-text p{font-size:1.15rem;color:var(--text-muted);max-width:520px;margin-bottom:36px}

.hero-visual{flex:0 0 340px;display:flex;justify-content:center}

/* Phone mockup */
.phone-frame{
  width:280px;height:560px;
  background:var(--surface);
  border-radius:40px;border:3px solid #333;
  box-shadow:0 40px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.04);
  overflow:hidden;position:relative;
  display:flex;flex-direction:column;
}
.phone-notch{
  width:120px;height:28px;background:var(--dark);
  border-radius:0 0 18px 18px;margin:0 auto;
  position:relative;z-index:2;
}
.phone-screen{flex:1;padding:16px 14px;overflow:hidden;display:flex;flex-direction:column;gap:10px}
.mock-header{text-align:center;padding:8px 0}
.mock-header h3{font-size:.95rem;font-weight:700;color:#fff}
.mock-card{
  background:var(--surface2);border-radius:12px;padding:12px;
  display:flex;gap:10px;align-items:center;
}
.mock-emoji{font-size:1.6rem;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border-radius:10px}
.mock-card-text h4{font-size:.78rem;font-weight:600;color:#fff}
.mock-card-text span{font-size:.65rem;color:var(--text-muted)}

/* ─── Store Buttons ─── */
.store-buttons{display:flex;gap:14px;flex-wrap:wrap}
.store-btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;border-radius:12px;
  font-weight:600;font-size:.95rem;color:#fff;
  transition:transform .2s,box-shadow .2s;
  text-decoration:none!important;
}
.store-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.store-btn.apple{background:linear-gradient(135deg,#333,#1a1a1a);border:1px solid #444}
.store-btn.google{background:linear-gradient(135deg,var(--coral),var(--primary));border:none}
.store-btn svg{width:22px;height:22px;fill:currentColor}

/* ─── Features Section ─── */
.features{padding:100px 0;position:relative}
.features .section-title{text-align:center;margin-bottom:60px}
.features .section-title h2{font-size:2rem;font-weight:800;margin-bottom:12px}
.features .section-title p{color:var(--text-muted);font-size:1.05rem}

.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.feature-card{
  background:var(--surface);border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);padding:32px 28px;
  transition:border-color .3s,transform .3s;
}
.feature-card:hover{border-color:rgba(238,123,48,.25);transform:translateY(-4px)}
.feature-icon{
  width:52px;height:52px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(245,166,35,.15),rgba(232,84,62,.1));
}
.feature-card h3{font-size:1.15rem;font-weight:700;margin-bottom:8px}
.feature-card p{color:var(--text-muted);font-size:.92rem;line-height:1.5}

/* ─── CTA Section ─── */
.cta{
  padding:80px 0;text-align:center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%,rgba(232,84,62,.08),transparent),
    var(--dark);
}
.cta h2{font-size:2rem;font-weight:800;margin-bottom:14px}
.cta p{color:var(--text-muted);font-size:1.05rem;margin-bottom:36px}
.cta .store-buttons{justify-content:center}

/* ─── Footer ─── */
.footer{
  padding:40px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.footer .container{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px;
}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:600;color:#fff}
.footer-brand img{width:28px;height:28px;border-radius:6px}
.footer-links{display:flex;gap:24px;list-style:none}
.footer-links a{color:var(--text-muted);font-size:.85rem;transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-copy{width:100%;text-align:center;color:var(--text-muted);font-size:.8rem;margin-top:16px}

/* ─── Join Page ─── */
.join-page{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  padding:80px 24px 40px;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%,rgba(245,166,35,.1),transparent),
    var(--dark);
}
.join-card{
  background:var(--surface);border:1px solid rgba(255,255,255,.06);
  border-radius:20px;padding:48px 40px;
  max-width:480px;width:100%;text-align:center;
  box-shadow:0 32px 64px rgba(0,0,0,.4);
}
.join-card .join-logo{
  width:72px;height:72px;border-radius:18px;margin:0 auto 24px;
}
.join-card h1{font-size:1.6rem;font-weight:800;margin-bottom:8px}
.join-card .subtitle{color:var(--text-muted);font-size:1rem;margin-bottom:32px}
.join-card .deck-info{
  background:rgba(255,255,255,.04);border-radius:14px;padding:24px;margin-bottom:32px;
  border:1px solid rgba(255,255,255,.06);
}
.join-card .deck-emoji{font-size:3rem;margin-bottom:8px}
.join-card .deck-name{font-size:1.2rem;font-weight:700;color:#fff}
.join-card .deck-meta{color:var(--text-muted);font-size:.85rem;margin-top:4px}
.join-card .store-buttons{justify-content:center;margin-top:8px}
.join-card .store-btn{padding:12px 22px;font-size:.88rem}
.join-divider{
  display:flex;align-items:center;gap:12px;margin:20px 0;
  color:var(--text-muted);font-size:.8rem;
}
.join-divider::before,.join-divider::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.08)}

/* ─── Legal Pages ─── */
.legal-page{padding:100px 24px 60px}
.legal-page .container{max-width:760px}
.legal-page h1{font-size:2rem;font-weight:800;margin-bottom:8px}
.legal-page .last-updated{color:var(--text-muted);font-size:.85rem;margin-bottom:40px}
.legal-page h2{font-size:1.3rem;font-weight:700;margin:32px 0 12px;color:var(--primary)}
.legal-page p,.legal-page li{color:var(--text-muted);font-size:.95rem;line-height:1.7;margin-bottom:12px}
.legal-page ul{padding-left:24px;margin-bottom:16px}

/* ─── Responsive ─── */
@media(max-width:900px){
  .hero .container{flex-direction:column;text-align:center}
  .hero-text p{margin-left:auto;margin-right:auto}
  .hero-visual{flex:0 0 auto}
  .store-buttons{justify-content:center}
  .phone-frame{width:240px;height:480px}
  .nav-links{display:none}
}
@media(max-width:500px){
  .store-buttons{flex-direction:column;align-items:stretch}
  .store-btn{justify-content:center}
  .phone-frame{width:200px;height:400px}
  .join-card{padding:36px 24px}
  .footer .container{flex-direction:column;text-align:center}
  .footer-links{justify-content:center}
}

/* ─── Animations ─── */
@keyframes fadeUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.hero-text{animation:fadeUp .8s ease-out}
.hero-visual{animation:fadeUp .8s ease-out .2s both}
.feature-card{animation:fadeUp .6s ease-out both}
.feature-card:nth-child(1){animation-delay:.1s}
.feature-card:nth-child(2){animation-delay:.2s}
.feature-card:nth-child(3){animation-delay:.3s}
.feature-card:nth-child(4){animation-delay:.4s}
.feature-card:nth-child(5){animation-delay:.5s}
.feature-card:nth-child(6){animation-delay:.6s}
