/* ═══════════════════════════════════════════
   CHICCO · Global Stylesheet
   Colors: #AE2D36 · #0F2119 · #E7E6D4
   ═══════════════════════════════════════════ */

:root {
  --red:    #AE2D36;
  --red-dk: #8e2029;
  --green:  #0F2119;
  --cream:  #E7E6D4;
  --cream-dk: #d8d7c4;
  --white:  #ffffff;
  --text:   #0F2119;
  --muted:  #4a5c53;
  --border: rgba(15,33,25,.12);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:  12px;
  --radius-lg: 20px;
  --shadow:  0 4px 24px rgba(15,33,25,.10);
  --shadow-lg: 0 12px 48px rgba(15,33,25,.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: opacity .2s; }
a:hover { opacity: .8; }
ul { list-style: none; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-family: var(--font-sans);
  font-weight: 600; font-size: .925rem; cursor: pointer;
  border: 2px solid transparent; transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary  { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dk); border-color: var(--red-dk); opacity: 1; }
.btn-ghost    { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); opacity: 1; }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(231,230,212,.4); }
.btn-outline:hover { background: rgba(231,230,212,.1); opacity: 1; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,33,25,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,230,212,.08);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--cream); display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.logo-cup { font-size: 1.4rem; }
.nav-links {
  display: flex; gap: 4px; margin-left: auto;
}
.nav-links a {
  color: rgba(231,230,212,.75); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover { color: var(--cream); background: rgba(231,230,212,.08); opacity: 1; }
.nav-cta { margin-left: 8px; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.5rem; cursor: pointer; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: var(--green);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(174,45,54,.18) 0%, transparent 70%);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; bottom: -150px; left: -80px; background: radial-gradient(circle, rgba(231,230,212,.06) 0%, transparent 70%); }
.shape-3 { width: 200px; height: 200px; top: 30%; left: 38%; background: radial-gradient(circle, rgba(174,45,54,.1) 0%, transparent 70%); }

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.badge {
  display: inline-block; background: rgba(174,45,54,.2); color: #e97e86;
  border: 1px solid rgba(174,45,54,.35); border-radius: 50px;
  font-size: .8rem; font-weight: 600; padding: 5px 14px; letter-spacing: .04em;
  margin-bottom: 20px; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700; color: var(--cream); line-height: 1.15; margin-bottom: 20px;
}
.hero-title .accent { color: var(--red); }
.hero-sub {
  color: rgba(231,230,212,.7); font-size: 1.1rem; line-height: 1.7;
  max-width: 460px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; align-items: center; gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat strong { color: var(--cream); font-size: 1.4rem; font-family: var(--font-serif); }
.stat span { color: rgba(231,230,212,.55); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.stat-divider { width: 1px; height: 36px; background: rgba(231,230,212,.15); }

/* ── Phone Mockup ── */
.hero-mockup { display: flex; flex-direction: column; align-items: center; gap: 0; }
.phone {
  width: 260px; height: 520px;
  background: #1a2e24;
  border-radius: 38px;
  border: 3px solid rgba(231,230,212,.12);
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(231,230,212,.06) inset;
  padding: 16px 12px 12px;
  position: relative;
  overflow: hidden;
}
.phone-notch {
  width: 80px; height: 22px; background: #0F2119;
  border-radius: 0 0 14px 14px; margin: 0 auto 10px;
}
.phone-screen { height: calc(100% - 38px); overflow: hidden; }
.app-preview { display: flex; flex-direction: column; gap: 10px; }
.app-header-bar {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--cream); font-size: .75rem; font-weight: 500; padding: 0 4px;
}
.points-pill {
  background: rgba(174,45,54,.25); border: 1px solid rgba(174,45,54,.4);
  color: #e97e86; padding: 3px 10px; border-radius: 50px; font-size: .7rem;
}
.featured-card {
  background: var(--red); border-radius: 14px; padding: 16px;
  color: var(--white);
}
.card-tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; margin-bottom: 6px; }
.card-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; }
.card-sub { font-size: .7rem; opacity: .8; margin: 2px 0 10px; }
.card-price { font-weight: 700; font-size: .95rem; }
.quick-cats { display: flex; gap: 6px; }
.cat { font-size: .7rem; padding: 4px 10px; border-radius: 50px; color: rgba(231,230,212,.6); background: rgba(231,230,212,.08); cursor: pointer; }
.cat.active { background: var(--cream); color: var(--green); font-weight: 600; }
.menu-row { display: flex; gap: 8px; }
.menu-item {
  flex: 1; background: rgba(231,230,212,.06); border-radius: 10px;
  padding: 10px 8px; text-align: center;
}
.item-icon { font-size: 1.2rem; margin-bottom: 4px; }
.item-name { color: var(--cream); font-size: .68rem; font-weight: 500; }
.item-price { color: rgba(231,230,212,.6); font-size: .65rem; margin-top: 2px; }
.order-bar {
  background: rgba(174,45,54,.15); border: 1px solid rgba(174,45,54,.3);
  border-radius: 10px; padding: 10px 12px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--cream); font-size: .7rem;
}
.track-pill {
  background: var(--red); color: var(--white);
  padding: 3px 10px; border-radius: 50px; font-size: .65rem; font-weight: 600;
}
.phone-shadow {
  width: 200px; height: 20px;
  background: radial-gradient(ellipse, rgba(0,0,0,.4) 0%, transparent 70%);
  margin-top: -4px;
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section { padding: 96px 0; }
.section-light { background: var(--white); }
.section-dark  { background: var(--green); }
.section-cream { background: var(--cream); }
.section-cta   { background: var(--red); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700; margin-bottom: 14px; color: var(--green);
}
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.section-header-light h2 { color: var(--cream); }
.section-header-light p  { color: rgba(231,230,212,.65); }

.section-label {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section-label-light { color: #e97e86; }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--cream-dk);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 10px; color: var(--green); }
.feature-card p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ── Roles Grid ── */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card {
  background: rgba(231,230,212,.06); border: 1px solid rgba(231,230,212,.1);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: background .25s, border-color .25s;
}
.role-card:hover { background: rgba(231,230,212,.1); border-color: rgba(231,230,212,.2); }
.role-emoji { font-size: 2rem; margin-bottom: 12px; }
.role-card h4 { color: var(--cream); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.role-card p  { color: rgba(231,230,212,.6); font-size: .88rem; line-height: 1.6; }

/* ── Steps ── */
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.step { flex: 1; min-width: 200px; max-width: 280px; text-align: center; }
.step-number {
  font-family: var(--font-serif); font-size: 3.5rem; font-weight: 700;
  color: rgba(15,33,25,.12); line-height: 1; margin-bottom: 12px;
}
.step h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 8px; color: var(--green); }
.step p   { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.step-arrow { font-size: 1.8rem; color: var(--red); margin-top: -20px; flex-shrink: 0; }

/* ── CTA ── */
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px;
}
.cta-text h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white); margin-bottom: 14px;
}
.cta-text p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 28px; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px;
  padding: 12px 22px; font-weight: 600; font-size: .95rem;
  transition: background .2s;
}
.store-badge:hover { background: rgba(255,255,255,.25); opacity: 1; }
.cta-art { flex-shrink: 0; }
.cta-cup { font-size: 8rem; line-height: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--green); padding: 64px 0 0; }
.footer-inner { display: flex; gap: 64px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-brand { flex: 1.5; min-width: 200px; }
.footer-logo { font-family: var(--font-serif); font-size: 1.5rem; color: var(--cream); display: block; margin-bottom: 12px; }
.footer-brand p { color: rgba(231,230,212,.5); font-size: .9rem; }
.footer-links { display: flex; gap: 48px; flex: 2; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-col h5 { color: var(--cream); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer-col a { color: rgba(231,230,212,.55); font-size: .9rem; }
.footer-col a:hover { color: var(--cream); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(231,230,212,.08);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(231,230,212,.4); font-size: .85rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(231,230,212,.4); font-size: .85rem; }
.footer-bottom-links a:hover { color: var(--cream); opacity: 1; }

/* ══════════════════════════════════════
   INNER PAGES (support, privacy, terms)
══════════════════════════════════════ */
.page-hero {
  background: var(--green); padding: 130px 0 70px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream); margin-bottom: 14px;
}
.page-hero p { color: rgba(231,230,212,.65); font-size: 1.05rem; }

.page-content { padding: 72px 0; background: var(--white); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--green);
  margin: 40px 0 14px; padding-top: 20px;
  border-top: 2px solid var(--cream);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose h3 { font-size: 1.1rem; color: var(--green); margin: 20px 0 8px; font-weight: 600; }
.prose p  { color: var(--muted); line-height: 1.8; margin-bottom: 14px; font-size: .97rem; }
.prose ul { margin: 12px 0 14px 20px; }
.prose ul li { color: var(--muted); line-height: 1.7; margin-bottom: 6px; font-size: .97rem; list-style: disc; }
.prose a  { color: var(--red); text-decoration: underline; }
.prose strong { color: var(--green); font-weight: 600; }
.prose .last-updated { font-size: .85rem; color: rgba(74,92,83,.6); margin-bottom: 32px; }

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.support-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: center; border: 1px solid var(--cream-dk);
  transition: transform .2s, box-shadow .2s;
}
.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.support-icon { font-size: 2rem; margin-bottom: 14px; }
.support-card h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 8px; color: var(--green); }
.support-card p  { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.support-card .btn { font-size: .85rem; padding: 9px 18px; }

.faq-item {
  border-bottom: 1px solid var(--cream-dk); padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; color: var(--green); margin-bottom: 8px; font-size: .97rem; cursor: pointer; }
.faq-a { color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-mockup { order: 2; display: none; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .cta-inner { flex-direction: column; text-align: center; }
  .store-badges { justify-content: center; }
  .cta-art { display: none; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 90px 0 48px; }
}
