/* HungRecover — style.css */
/* Dark theme, cyan-to-indigo gradient accents, mobile-first */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --bg:       #0f172a;
  --bg-alt:   #1e293b;
  --surface:  #334155;
  --border:   #475569;
  --text:     #f8fafc;
  --text-dim: #94a3b8;
  --cyan:     #38bdf8;
  --indigo:   #818cf8;
  --grad:     linear-gradient(135deg,var(--cyan),var(--indigo));
  --font:     -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --max:      1120px;
}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden}

a{color:var(--cyan);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}

.container{width:90%;max-width:var(--max);margin:0 auto}

/* ─── Gradient text util ─── */
.grad-text{
  background:var(--grad);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ─── Buttons ─── */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.75rem 1.75rem;border-radius:9999px;font-weight:600;font-size:1rem;
  border:none;cursor:pointer;transition:transform .15s,box-shadow .15s;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(56,189,248,.25)}
.btn-primary{background:var(--grad);color:#fff}
.btn-outline{background:transparent;border:1px solid var(--border);color:var(--text)}
.btn-outline:hover{border-color:var(--cyan)}

/* ─── NAV ─── */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(15,23,42,.85);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(71,85,105,.3);
}
.nav .container{display:flex;align-items:center;justify-content:space-between;height:64px}
.nav-logo{font-size:1.25rem;font-weight:800}
.nav-links{display:flex;gap:1.5rem;align-items:center}
.nav-links a{color:var(--text-dim);font-size:.875rem;font-weight:500}
.nav-links a:hover{color:var(--text);text-decoration:none}
.mobile-toggle{display:none;background:none;border:none;color:var(--text);font-size:1.5rem;cursor:pointer}

/* ─── HERO ─── */
.hero{
  padding:6rem 0 4rem;text-align:center;
  background:radial-gradient(ellipse at 50% 0%,rgba(56,189,248,.08) 0%,transparent 60%);
}
.hero h1{font-size:clamp(2.5rem,6vw,4rem);font-weight:800;line-height:1.1;margin-bottom:1rem}
.hero .tagline{font-size:clamp(1.1rem,2.5vw,1.35rem);color:var(--text-dim);max-width:540px;margin:0 auto 2rem}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-bottom:3rem}

.app-badge{height:48px;border-radius:10px;transition:transform .15s}
.app-badge:hover{transform:scale(1.05)}

.hero-phone{
  max-width:280px;margin:0 auto;
  border-radius:24px;overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,.4);
  border:2px solid var(--surface);
  background:var(--bg-alt);
  aspect-ratio:9/19;
  display:flex;align-items:center;justify-content:center;
  color:var(--text-dim);font-size:.875rem;
}

/* ─── SECTION shared ─── */
section{padding:5rem 0}
.section-label{
  text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:700;
  color:var(--cyan);margin-bottom:.5rem;
}
.section-title{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:700;margin-bottom:1rem}
.section-sub{color:var(--text-dim);max-width:600px;font-size:1.05rem}
.section-header{text-align:center;margin-bottom:3rem}
.section-header .section-sub{margin:0 auto}

/* ─── PROBLEM / SOLUTION ─── */
.problem{background:var(--bg-alt)}
.problem-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.pain-list{list-style:none;display:flex;flex-direction:column;gap:1.25rem;margin-top:1.5rem}
.pain-list li{display:flex;gap:.75rem;align-items:flex-start;color:var(--text-dim)}
.pain-list .icon{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem}
.pain-list .icon-bad{background:rgba(239,68,68,.15);color:#ef4444}
.pain-list .icon-good{background:rgba(56,189,248,.15);color:var(--cyan)}

/* ─── FEATURES ─── */
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.feature-card{
  background:var(--bg-alt);border:1px solid var(--surface);border-radius:16px;padding:2rem;
  transition:border-color .2s,transform .2s;
}
.feature-card:hover{border-color:var(--cyan);transform:translateY(-4px)}
.feature-icon{
  width:48px;height:48px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;margin-bottom:1rem;background:var(--grad);
}
.feature-card h3{font-size:1.1rem;margin-bottom:.5rem}
.feature-card p{color:var(--text-dim);font-size:.925rem}

/* ─── HOW IT WORKS ─── */
.steps{background:var(--bg-alt)}
.steps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;text-align:center}
.step-num{
  width:56px;height:56px;border-radius:50%;margin:0 auto 1rem;
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;font-weight:800;background:var(--grad);
}
.step h3{margin-bottom:.5rem}
.step p{color:var(--text-dim);font-size:.925rem}

/* ─── PRODUCTS (affiliate) ─── */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.product-card{
  background:var(--bg-alt);border:1px solid var(--surface);border-radius:16px;
  padding:1.5rem;text-align:center;transition:border-color .2s;
}
.product-card:hover{border-color:var(--cyan)}
.product-img{
  width:100%;aspect-ratio:1;border-radius:12px;
  background:var(--surface);margin-bottom:1rem;
  display:flex;align-items:center;justify-content:center;color:var(--text-dim);font-size:.8rem;
}
.product-card h3{font-size:1rem;margin-bottom:.25rem}
.product-card .price{color:var(--cyan);font-weight:700;font-size:1.1rem;margin-bottom:.75rem}
.product-card .btn{width:100%;justify-content:center;font-size:.875rem;padding:.6rem 1rem}

/* ─── TESTIMONIALS ─── */
.testimonials{background:var(--bg-alt)}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.testimonial{
  background:var(--bg);border:1px solid var(--surface);border-radius:16px;padding:2rem;
}
.testimonial blockquote{font-style:italic;color:var(--text-dim);margin-bottom:1rem;line-height:1.7}
.testimonial .author{font-weight:600;font-size:.875rem}
.testimonial .stars{color:#fbbf24;margin-bottom:.5rem}

/* ─── EMAIL SIGNUP ─── */
.signup{text-align:center}
.signup-form{
  display:flex;gap:.75rem;max-width:480px;margin:2rem auto 0;flex-wrap:wrap;justify-content:center;
}
.signup-form input{
  flex:1;min-width:200px;padding:.75rem 1.25rem;
  border-radius:9999px;border:1px solid var(--surface);
  background:var(--bg-alt);color:var(--text);font-size:1rem;
}
.signup-form input::placeholder{color:var(--text-dim)}
.signup-form input:focus{outline:none;border-color:var(--cyan)}

/* ─── FOOTER ─── */
.footer{
  padding:3rem 0;border-top:1px solid var(--surface);
  text-align:center;color:var(--text-dim);font-size:.875rem;
}
.footer-links{display:flex;gap:1.5rem;justify-content:center;margin-bottom:1rem;flex-wrap:wrap}
.footer-links a{color:var(--text-dim)}
.footer-links a:hover{color:var(--text)}

/* ─── RESPONSIVE ─── */
@media(max-width:768px){
  .problem-grid{grid-template-columns:1fr}
  .nav-links{
    display:none;position:absolute;top:64px;left:0;right:0;
    background:rgba(15,23,42,.97);flex-direction:column;padding:1.5rem;gap:1rem;
    border-bottom:1px solid var(--surface);
  }
  .nav-links.open{display:flex}
  .mobile-toggle{display:block}
  .hero{padding:4rem 0 3rem}
  section{padding:3.5rem 0}
}
