/* ── Ewamo · Global Stylesheet ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&family=Jost:ital,wght@1,300&display=swap');

:root {
  --bark:       #3D2B1F;
  --bark2:      #5C3D2E;
  --amber:      #C17F3E;
  --gold:       #E8A857;
  --gold-light: #FDF3E3;
  --cream:      #FAF6F0;
  --warm-white: #FFFDF9;
  --sage:       #7A8C6E;
  --sage-light: #EEF2EA;
  --blush:      #E8C4B8;
  --blush-light:#FDF0EB;
  --terracotta: #C4603A;
  --sand:       #D4B896;
  --sand-light: #F5EDE0;
  --muted:      #8A7060;
  --dark:       #1A0F0A;
  --white:      #FFFFFF;

  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --radius:    14px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow:    0 4px 32px rgba(61,43,31,.08);
  --shadow-lg: 0 16px 56px rgba(61,43,31,.14);
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--bark);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TEXTURE OVERLAY ──────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.6;
}
body > * { position: relative; z-index: 1; }

/* ── NAV ──────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 72px; height: 76px;
  background: rgba(255,253,249,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(193,127,62,.12);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: 0 4px 24px rgba(61,43,31,.07); }
.nav-logo img { height: 42px; display: block; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-cta {
  background: var(--bark) !important; color: var(--gold-light) !important;
  padding: 10px 26px; border-radius: 100px;
  font-size: 12px !important; font-weight: 600 !important; letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition) !important;
}
.nav-cta:hover { background: var(--amber) !important; transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 95vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 72px;
  background: linear-gradient(150deg, var(--cream) 0%, var(--warm-white) 60%, var(--blush-light) 100%);
  overflow: hidden; position: relative;
  gap: 64px;
}
.hero::after {
  content: '';
  position: absolute; right: -120px; top: -80px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,87,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light); color: var(--amber);
  padding: 7px 18px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 28px;
  border: 1px solid rgba(193,127,62,.25);
}
.hero-badge span { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; animation: pulse 2.5s infinite; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.5vw, 78px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -1px; color: var(--bark);
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--amber); }
.hero p { font-size: 17px; color: var(--muted); max-width: 480px; line-height: 1.8; margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--bark); color: var(--gold-light);
  padding: 15px 36px; border-radius: 100px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(61,43,31,.2);
}
.btn-primary:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(193,127,62,.3); }
.btn-secondary {
  background: transparent; color: var(--bark);
  padding: 15px 36px; border-radius: 100px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1.5px solid rgba(61,43,31,.2);
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); background: var(--gold-light); }

/* ── HERO VISUAL ──────────────────────────────────────────────────────────── */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.hero-phone {
  width: 260px; height: 520px;
  background: var(--bark);
  border-radius: 40px;
  padding: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232,168,87,.2);
  position: relative; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-header {
  background: var(--bark); padding: 16px 18px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.phone-header span { font-size: 14px; font-weight: 600; color: var(--gold); font-family: var(--font-display); letter-spacing: 1px; }
.phone-content { flex: 1; padding: 16px; overflow: hidden; }
.phone-greeting { font-family: var(--font-display); font-size: 15px; color: var(--bark); margin-bottom: 4px; }
.phone-sub { font-size: 10px; color: var(--muted); margin-bottom: 14px; font-weight: 300; }
.phone-card {
  background: var(--white); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 10px;
  border: 1px solid rgba(193,127,62,.1);
  box-shadow: 0 2px 8px rgba(61,43,31,.06);
}
.phone-card-label { font-size: 8px; font-weight: 700; letter-spacing: 2px; color: var(--amber); text-transform: uppercase; margin-bottom: 5px; }
.phone-card-title { font-size: 12px; font-weight: 600; color: var(--bark); margin-bottom: 3px; }
.phone-card-sub { font-size: 9px; color: var(--muted); }
.phone-bar { height: 5px; border-radius: 3px; background: var(--sand-light); margin-top: 8px; }
.phone-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--amber), var(--gold)); }
.phone-mood { display: flex; gap: 6px; margin-bottom: 10px; }
.mood-dot { flex: 1; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.float-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(193,127,62,.15);
  z-index: 3;
}
.float-card-1 { top: 60px; right: -60px; width: 160px; }
.float-card-2 { bottom: 80px; left: -70px; width: 150px; }
.float-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; color: var(--amber); text-transform: uppercase; margin-bottom: 4px; }
.float-val { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--bark); }
.float-sub { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */
section { padding: 104px 72px; }
.section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600; line-height: 1.12;
  letter-spacing: -0.5px; color: var(--bark);
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.75; font-weight: 300; }

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid rgba(193,127,62,.1); padding: 36px;
  transition: all var(--transition); box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(193,127,62,.25); }
.card-icon { font-size: 32px; margin-bottom: 18px; }
.card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--bark); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── GRIDS ────────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 36px; }

/* ── FEATURE SPLIT ────────────────────────────────────────────────────────── */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-visual {
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand-light) 100%);
  border-radius: var(--radius-xl); padding: 48px;
  border: 1px solid rgba(193,127,62,.12);
  min-height: 380px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.feature-visual::before {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,87,.15) 0%, transparent 70%);
}
.feature-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--bark); font-weight: 300; }
.feature-list li::before {
  content: '✦';
  color: var(--amber); font-size: 11px; margin-top: 4px; flex-shrink: 0;
}

/* ── CALLOUT ──────────────────────────────────────────────────────────────── */
.callout-band {
  background: var(--bark);
  padding: 96px 72px; text-align: center; position: relative; overflow: hidden;
}
.callout-band::before {
  content: '';
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,87,.12) 0%, transparent 70%);
}
.callout-band h2 { font-family: var(--font-display); font-size: clamp(32px,4vw,54px); font-weight: 600; color: var(--gold-light); margin-bottom: 18px; letter-spacing: -0.5px; }
.callout-band p { font-size: 18px; color: rgba(253,243,227,.6); max-width: 520px; margin: 0 auto 40px; font-weight: 300; line-height: 1.75; }
.btn-warm {
  background: var(--gold); color: var(--bark);
  padding: 15px 40px; border-radius: 100px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-warm:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── PRICING ──────────────────────────────────────────────────────────────── */
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid rgba(193,127,62,.12); padding: 40px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.pricing-card.featured {
  background: var(--bark); border-color: var(--amber);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured h3, .pricing-card.featured .price,
.pricing-card.featured li { color: var(--gold-light) !important; }
.pricing-card.featured .price-period, .pricing-card.featured p { color: rgba(253,243,227,.6) !important; }
.pricing-badge { position: absolute; top: 20px; right: 20px; background: var(--gold); color: var(--bark); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.pricing-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--bark); margin-bottom: 6px; }
.pricing-card p { font-size: 14px; color: var(--muted); margin-bottom: 24px; font-weight: 300; }
.price { font-family: var(--font-display); font-size: 52px; font-weight: 300; color: var(--bark); line-height: 1; }
.price-period { font-size: 15px; color: var(--muted); margin-bottom: 28px; margin-top: 4px; }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--bark); font-weight: 300; }
.pricing-list li::before { content: '✦'; color: var(--amber); font-size: 10px; flex-shrink: 0; }

/* ── TESTIMONIALS ─────────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid rgba(193,127,62,.1);
}
.testimonial-card blockquote { font-family: var(--font-display); font-size: 19px; font-style: italic; color: var(--bark); line-height: 1.6; margin-bottom: 20px; }
.testimonial-card cite { font-size: 13px; font-weight: 500; color: var(--amber); }

/* ── BLOG ─────────────────────────────────────────────────────────────────── */
.blog-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(193,127,62,.1); overflow: hidden; text-decoration: none; color: inherit; display: block; transition: all var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 210px; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.blog-card-body { padding: 28px; }
.blog-tag { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; display: block; }
.blog-card-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--bark); margin-bottom: 10px; line-height: 1.3; }
.blog-card-body p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }
.blog-meta { font-size: 12px; color: var(--sand); margin-top: 16px; }

/* ── PAGE HERO ────────────────────────────────────────────────────────────── */
.page-hero { background: var(--bark); padding: 88px 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(232,168,87,.15) 0%, transparent 70%); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(38px,5vw,64px); font-weight: 600; color: var(--gold-light); letter-spacing: -0.5px; margin-bottom: 18px; }
.page-hero p { font-size: 17px; color: rgba(253,243,227,.6); max-width: 540px; margin: 0 auto; font-weight: 300; line-height: 1.75; }

/* ── CONTACT ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--bark); margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 18px; border: 1.5px solid rgba(193,127,62,.2); border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; color: var(--bark); background: var(--warm-white); outline: none; transition: border-color var(--transition); font-weight: 300; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--amber); }
.form-group textarea { height: 140px; resize: vertical; }
.btn-submit { background: var(--bark); color: var(--gold-light); padding: 14px 40px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: none; cursor: pointer; font-family: var(--font-body); transition: all var(--transition); }
.btn-submit:hover { background: var(--amber); }

/* ── APP SCREENS ──────────────────────────────────────────────────────────── */
.app-screen { background: var(--cream); border-radius: var(--radius-lg); padding: 24px; border: 1px solid rgba(193,127,62,.1); }
.app-screen-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.app-screen-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--bark); }
.ingredient-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 500; margin: 4px; }
.pill-safe { background: var(--sage-light); color: var(--sage); }
.pill-warn { background: var(--gold-light); color: var(--amber); }
.pill-flag { background: var(--blush-light); color: var(--terracotta); }

/* ── LEGAL ────────────────────────────────────────────────────────────────── */
.legal-body { max-width: 760px; margin: 0 auto; padding: 88px 40px; }
.legal-body h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--bark); margin: 48px 0 12px; }
.legal-body p { font-size: 15px; color: #5C4A3A; margin-bottom: 16px; line-height: 1.8; font-weight: 300; }
.legal-body ul { padding-left: 24px; margin-bottom: 16px; }
.legal-body li { font-size: 15px; color: #5C4A3A; margin-bottom: 8px; font-weight: 300; }
.legal-body a { color: var(--amber); text-decoration: none; }

/* ── ARTICLE ──────────────────────────────────────────────────────────────── */
.article-body { max-width: 720px; margin: 0 auto; padding: 72px 40px; }
.article-body h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--bark); margin: 48px 0 14px; }
.article-body p { font-size: 16px; color: #5C4A3A; margin-bottom: 22px; line-height: 1.85; font-weight: 300; }
.article-body ul { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 16px; color: #5C4A3A; margin-bottom: 12px; line-height: 1.8; font-weight: 300; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer { background: var(--dark); padding: 72px 72px 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-brand p { font-size: 14px; color: rgba(253,243,227,.4); margin-top: 18px; line-height: 1.75; max-width: 280px; font-weight: 300; }
.footer-col h4 { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(253,243,227,.4); text-decoration: none; margin-bottom: 12px; transition: color var(--transition); font-weight: 300; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(253,243,227,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px; color: rgba(253,243,227,.3); }
.footer-bottom a { color: rgba(253,243,227,.3); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ── UTILS ────────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand-light); }
.text-amber { color: var(--amber); }
.chip { display: inline-block; padding: 5px 16px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; background: var(--gold-light); color: var(--amber); border: 1px solid rgba(193,127,62,.2); }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.2)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay:.1s } .delay-2 { animation-delay:.2s } .delay-3 { animation-delay:.3s }
.float-anim { animation: float 5s ease-in-out infinite; }

@media (max-width:960px) {
  nav { padding: 0 28px; }
  .nav-links { display: none; }
  section { padding: 64px 28px; }
  .hero { grid-template-columns: 1fr; padding: 64px 28px; min-height: auto; }
  .hero-visual { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .callout-band, .page-hero { padding: 64px 28px; }
  .legal-body, .article-body { padding: 48px 24px; }
}
