/* ===========================================================
   Vake Up — Landing Page Styles
   Palette: Vake Green #1F4F3E · Performance Black #1A1B17
            Wake White #FAF6EE · Spark Yellow #E8D54B
            Sand #E5DCC9 · Signal Red #C2452B
   =========================================================== */

:root{
  --green:#1F4F3E;
  --black:#1A1B17;
  --white:#FAF6EE;
  --yellow:#E8D54B;
  --sand:#E5DCC9;
  --red:#C2452B;
  --gray:#8A8478;
  --maxw:1140px;
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}

html{scroll-behavior:smooth}

body{
  font-family:"Inter",system-ui,-apple-system,Segoe UI,sans-serif;
  background:var(--white);
  color:var(--black);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block}

a{color:inherit}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}

/* ── Header ── */
header{
  position:sticky; top:0; z-index:50;
  background:var(--white);
  border-bottom:1px solid rgba(26,27,23,.08);
}
header .wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
/* Wordmark logo (950x333, ~2.85:1). Height-driven, width auto — never set both. */
.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  line-height:0;
}
.logo img{height:34px; width:auto; display:block}
@media(max-width:640px){
  .logo img{height:28px}
}
header nav{display:flex; gap:28px; align-items:center}
header nav a{
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  color:var(--black);
  opacity:.75;
  transition:opacity .15s;
}
header nav a:hover{opacity:1}
.nav-cta{
  background:var(--green);
  color:var(--white) !important;
  padding:10px 20px;
  border-radius:100px;
  opacity:1 !important;
}

/* ── Mobile nav toggle ── */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px;height:40px;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block;
  width:22px;height:2px;
  background:var(--black);
  border-radius:2px;
}
@media (max-width:760px){
  .nav-toggle{display:flex}
  header nav{
    position:absolute;
    top:72px; left:0; right:0;
    background:var(--white);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border-bottom:1px solid rgba(26,27,23,.08);
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  header nav.open{max-height:320px}
  header nav a{padding:14px 24px}
  header nav a.nav-cta{
    margin:12px 24px;
    text-align:center;
  }
}

/* ── Sections ── */
section{padding:88px 0}
section .wrap{position:relative}

.eyebrow{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--green);
  margin-bottom:14px;
}
h1,h2,h3{
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--black);
}
h1{font-size:clamp(40px,6vw,68px); line-height:1.05}
h2{font-size:clamp(30px,4.5vw,46px); line-height:1.1; margin-bottom:18px}
h3{font-size:20px; margin-bottom:8px}
p{color:var(--black); opacity:.85}
.lead{font-size:clamp(17px,2vw,20px); max-width:560px; opacity:.8}

/* ── Buttons ── */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:15px 28px;
  border-radius:100px;
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  border:2px solid transparent;
  transition:transform .15s, box-shadow .15s;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--green); color:var(--white)}
.btn-primary:hover{box-shadow:0 8px 24px rgba(31,79,62,.25)}
.btn-outline{border-color:var(--black); color:var(--black)}

.btn-row{display:flex; gap:14px; flex-wrap:wrap; margin-top:32px}

/* ── Hero ── */
#hero{
  padding-top:64px;
  background:linear-gradient(180deg, var(--sand) 0%, var(--white) 100%);
}
#hero .hero-inner{
  display:flex;
  align-items:center;
  gap:48px;
  flex-wrap:wrap;
}
#hero .hero-text{flex:1 1 420px}
#hero .hero-visual{
  flex:0 0 auto;
  margin:0 auto;
}
.pill-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:28px}
.pill{
  background:rgba(31,79,62,.08);
  border:1px solid rgba(31,79,62,.18);
  color:var(--green);
  font-size:13px;
  font-weight:700;
  padding:7px 14px;
  border-radius:100px;
}

/* ── Hero stat card ── */
.stat-card{
  width:280px;
  background:var(--white);
  border:1px solid rgba(26,27,23,.08);
  border-radius:24px;
  padding:24px;
  box-shadow:0 20px 60px -24px rgba(26,27,23,.3);
}
.stat-card-header{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--gray);
  margin-bottom:18px;
}
.stat-dot{
  width:8px;height:8px;
  border-radius:50%;
  background:var(--green);
  display:inline-block;
}
.stat-row{
  display:flex;
  gap:14px;
  margin-bottom:18px;
}
.stat{
  flex:1;
  background:var(--sand);
  border-radius:14px;
  padding:14px;
}
.stat strong{display:block; font-size:22px; font-weight:800; color:var(--black)}
.stat span{display:block; font-size:12px; color:var(--gray); margin-top:2px}
.stat-meal{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid rgba(26,27,23,.08);
  border-radius:14px;
  margin-bottom:16px;
}
.stat-meal-icon{
  width:40px;height:40px;
  border-radius:10px;
  background:var(--green);
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  flex-shrink:0;
}
.stat-meal strong{display:block; font-size:14px}
.stat-meal span{display:block; font-size:12px; color:var(--gray); margin-top:2px}
.stat-tag{
  display:inline-block;
  background:rgba(31,79,62,.08);
  color:var(--green);
  font-size:12px;
  font-weight:700;
  padding:6px 12px;
  border-radius:100px;
}

/* ── App Highlights ── */
#app{background:var(--black); color:var(--white)}
#app h2, #app h3{color:var(--white)}
#app p{color:var(--white); opacity:.75}
#app .eyebrow{color:var(--yellow)}
#app .section-inner{
  display:flex;
  gap:64px;
  align-items:center;
  flex-wrap:wrap;
}
#app .app-text{flex:1 1 420px}
#app .app-visual{flex:0 0 auto; margin:0 auto}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-top:36px;
}
@media (max-width:520px){
  .feature-grid{grid-template-columns:1fr}
}
.feature-card{
  background:rgba(250,246,238,.05);
  border:1px solid rgba(250,246,238,.12);
  border-radius:16px;
  padding:20px;
}
.feature-card .icon{
  font-size:22px;
  margin-bottom:10px;
  display:block;
}
.feature-card h3{font-size:17px; margin-bottom:6px}
.feature-card p{font-size:14px; opacity:.65; margin:0}

/* ── Food Highlights ── */
#food{background:var(--white)}
.food-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:48px;
}
@media (max-width:900px){
  .food-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
  .food-grid{grid-template-columns:1fr}
}
.food-card{
  text-align:left;
  padding:28px 22px;
  background:var(--sand);
  border-radius:18px;
}
.food-card .icon{
  width:46px; height:46px;
  border-radius:12px;
  background:var(--green);
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin-bottom:16px;
}
.food-card h3{font-size:18px}
.food-card p{font-size:14px}

/* ── Coming Soon ── */
#soon{
  background:var(--green);
  color:var(--white);
  text-align:center;
}
#soon h2{color:var(--white)}
#soon .eyebrow{color:var(--yellow)}
#soon p.lead{margin:0 auto; opacity:.85; color:var(--white)}
.store-row{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:36px;
}
.store-badge{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(250,246,238,.08);
  border:1px solid rgba(250,246,238,.25);
  border-radius:14px;
  padding:14px 24px;
  min-width:200px;
  text-align:left;
  cursor:default;
}
.store-badge .store-icon{font-size:26px}
.store-badge .store-text small{
  display:block;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.65;
}
.store-badge .store-text strong{font-size:16px}
.soon-tag{
  display:inline-block;
  background:var(--yellow);
  color:var(--black);
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:100px;
  margin-left:8px;
}

/* ── Footer ── */
footer{
  background:var(--black);
  color:var(--white);
  padding:48px 0;
}
footer .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
}
footer .logo img{height:38px}
footer nav{display:flex; gap:24px; flex-wrap:wrap}
footer nav a{
  font-size:14px;
  text-decoration:none;
  color:var(--white);
  opacity:.65;
}
footer nav a:hover{opacity:1}
/* Legal / imprint bar — company details + English-language legal pages */
footer .legal-bar{
  width:100%;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:20px;
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  flex-wrap:wrap;
  gap:12px 28px;
  font-size:13px;
}
footer .legal-bar .entity{opacity:.55; line-height:1.6}
footer .legal-bar .entity a{color:var(--white); text-decoration:underline}
footer .legal-bar .lang{display:flex; gap:16px; align-items:baseline; flex-wrap:wrap}
footer .legal-bar .lang span{
  opacity:.4;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
}
footer .legal-bar .lang a{color:var(--white); opacity:.55; text-decoration:none}
footer .legal-bar .lang a:hover{opacity:1}
footer .copyright{
  font-size:13px;
  opacity:.5;
  width:100%;
  margin-top:8px;
}
@media(max-width:640px){
  footer .legal-bar{flex-direction:column; gap:14px}
}

/* ===========================================================
   Phone carousel (adapted from vakeup_app_carousel.html)
   =========================================================== */
.phone{
  position:relative;
  width:280px;
  background:#1e2d1e;
  border-radius:40px;
  padding:12px;
  box-shadow:
    0 0 0 1.5px #0d1f0d,
    inset 0 0 0 1px #3d5e3d,
    0 30px 60px -20px rgba(0,0,0,.5);
  user-select:none;
  flex-shrink:0;
}
.phone::before{
  content:'';
  position:absolute;
  top:12px; left:50%;
  transform:translateX(-50%);
  width:76px; height:22px;
  background:#1e2d1e;
  border-radius:0 0 14px 14px;
  z-index:20;
}
.phone::after{
  content:'';
  position:absolute;
  right:-4px; top:96px;
  width:4px; height:48px;
  background:#2e4a2e;
  border-radius:0 3px 3px 0;
}
.screen{
  position:relative;
  width:256px;
  height:528px;
  border-radius:30px;
  overflow:hidden;
  background:#111;
  cursor:pointer;
  isolation:isolate;
}
.slide{
  position:absolute;
  top:0; left:0;
  width:256px;
  height:528px;
  overflow:hidden;
  transform:translateX(110%);
  background:#111;
}
.slide img{
  position:absolute;
  top:0; left:0;
  width:256px;
  height:auto;
  display:block;
  pointer-events:none;
  transform:translateY(0);
  will-change:transform;
}
.overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  opacity:0;
  transition:opacity .22s;
  pointer-events:none;
}
.overlay.show{opacity:1}
.overlay-icon{
  background:rgba(20,38,20,.8);
  border-radius:50%;
  width:54px; height:54px;
  display:flex;align-items:center;justify-content:center;
}
.progress{
  position:absolute;
  bottom:0;left:0;right:0;
  height:2px;
  background:rgba(255,255,255,.1);
  z-index:10;
}
.progress-fill{
  height:100%;
  background:var(--yellow);
  width:0%;
}
.carousel-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.dots{
  display:flex;gap:8px;
  margin-top:16px;
  align-items:center;
}
.dot{
  width:7px;height:7px;
  border-radius:50%;
  background:rgba(250,246,238,.3);
  transition:all .3s;
}
.dot.active{
  width:22px;border-radius:4px;
  background:var(--yellow);
}
.caption{
  margin-top:10px;
  font-size:13px;font-weight:600;
  letter-spacing:.04em;
  color:var(--white);
  opacity:.7;
}

@media (max-width:640px){
  section{padding:64px 0}
  #app .section-inner, #hero .hero-inner{flex-direction:column}
  #app .app-visual, #hero .hero-visual{order:-1}
}
