/* ===== DESIGN SYSTEM ===== */
:root {
  --teal: #4ECDC4;
  --teal-dark: #3db8b0;
  --teal-glow: rgba(78, 205, 196, 0.35);
  --yellow: #F7D794;
  --yellow-glow: rgba(247, 215, 148, 0.25);
  --navy: #1a2332;
  --dark: #0a0e1a;
  --dark-card: #0f1520;
  --white: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1vw, 17px);
  color: #fff;
  background: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.serif { font-family: 'Playfair Display', serif; }

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(78,205,196,0.08);
  border: 1px solid rgba(78,205,196,0.15);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  opacity: 0.55;
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 56px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, #8be8e0 60%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-inner { max-width: 1200px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 18px 44px;
  background: var(--teal);
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 60px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 40px var(--teal-glow);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}
.btn-yellow:hover {
  box-shadow: 0 8px 40px var(--yellow-glow);
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(78,205,196,0.08);
  transition: all 0.3s;
}
nav.scrolled {
  padding: 10px 40px;
  background: rgba(10, 14, 26, 0.95);
}
.nav-logo { height: 48px; width: auto; object-fit: contain; border-radius: 6px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--dark) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700 !important;
}
.nav-cta:hover { box-shadow: 0 4px 20px var(--teal-glow); }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* ===== SIGNUP COMPONENT ===== */
.signup-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(78,205,196,0.08) 0%, transparent 50%), var(--dark);
  text-align: center;
  padding: 140px 24px;
}
.signup-form {
  display: flex; gap: 12px; max-width: 540px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.signup-form input[type="text"],
.signup-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 18px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 60px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.signup-form input:focus { border-color: var(--teal); }
.signup-form input::placeholder { color: rgba(255,255,255,0.25); }
.signup-form button {
  padding: 18px 36px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 60px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}
.signup-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px var(--yellow-glow);
}
.signup-success {
  display: none; margin-top: 24px; padding: 18px 32px;
  background: rgba(78,205,196,0.08);
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 60px;
  color: var(--teal); font-weight: 600;
}
.signup-error {
  display: none; margin-top: 20px; color: #FF6B6B; font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
  padding: 56px 24px;
  text-align: center;
  border-top: 1px solid rgba(78,205,196,0.06);
  background: var(--dark);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { height: 36px; margin-bottom: 16px; opacity: 0.4; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { font-size: 0.8rem; opacity: 0.4; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 0.8; color: var(--teal); }
footer p { font-size: 0.8rem; opacity: 0.3; line-height: 2; }

/* ===== INGREDIENT STRIP (product pages) ===== */
.ingredient-strip {
  background: linear-gradient(135deg, rgba(78,205,196,0.06) 0%, rgba(247,215,148,0.04) 100%);
  border-top: 1px solid rgba(78,205,196,0.1);
  border-bottom: 1px solid rgba(78,205,196,0.1);
  padding: 24px;
  text-align: center;
}
.ingredient-strip .label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 6px;
}
.ingredient-strip .value {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,14,26,0.98);
    padding: 24px; gap: 20px;
    border-bottom: 1px solid rgba(78,205,196,0.1);
  }
  .hamburger { display: block; }
  .section-title { font-size: clamp(1.8rem, 5vw, 2rem); }
  .signup-form { flex-direction: column; }
  .signup-form input, .signup-form button { width: 100%; }
  .footer-links { gap: 16px; }
}
