/* === ROOT CHARGIOX — Main Stylesheet === */
/* Last updated: 2026 */

:root {
  --ivory: #FAF7F2;
  --ivory-dark: #F0EBE3;
  --coffee: #5C4033;
  --coffee-light: #7A5C4F;
  --coffee-dark: #3E2A1E;
  --gold: #C5A55A;
  --gold-light: #D4BC7C;
  --gold-dark: #A8893E;
  --text: #3E2A1E;
  --text-light: #6B5344;
  --text-muted: #8C7A6B;
  --white: #FFFFFF;
  --border: #E0D5C7;
  --shadow: rgba(92, 64, 51, 0.08);
  --shadow-md: rgba(92, 64, 51, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', 'Times New Roman', serif;
  --font-sans: 'Nunito Sans', 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1140px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--coffee);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

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

/* === HEADER / NAV === */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coffee-dark);
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--coffee-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--coffee);
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-dark) 50%, #EDE4D4 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(197,165,90,0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(92,64,51,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  background: rgba(197,165,90,0.12);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--coffee-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-product {
  max-width: 320px;
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 40px rgba(92,64,51,0.15));
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--coffee);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--coffee-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62,42,30,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--coffee);
  border: 2px solid var(--coffee);
}

.btn-outline:hover {
  background: var(--coffee);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197,165,90,0.3);
}

/* === SECTIONS === */
section {
  padding: 72px 0;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--coffee-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* alternate bg */
.bg-white {
  background: var(--white);
}

.bg-cream {
  background: var(--ivory-dark);
}

.bg-coffee {
  background: var(--coffee-dark);
  color: var(--ivory);
}

/* === INFO GRID === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-md);
}

.info-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(197,165,90,0.15), rgba(197,165,90,0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--coffee-dark);
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === INGREDIENTS === */
.ingredients-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ingredient-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ingredient-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ingredient-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.ingredient-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--coffee-dark);
  margin-bottom: 4px;
}

.ingredient-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ingredients-image {
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 16px 40px rgba(92,64,51,0.12));
}

/* === PRICE === */
.price-section {
  text-align: center;
}

.price-card {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: 48px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--coffee-dark);
  line-height: 1;
  margin: 16px 0 8px;
}

.price-amount small {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* === REVIEWS === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 18px;
}

.review-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coffee);
}

.review-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === FAQ === */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--coffee-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(197,165,90,0.04);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === CONTACT FORM === */
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coffee);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-consent a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
}

/* === DISCLAIMER === */
.disclaimer-bar {
  background: var(--ivory-dark);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.disclaimer-bar p {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
  background: var(--coffee-dark);
  color: var(--ivory-dark);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: var(--ivory);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(240,235,227,0.65);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(240,235,227,0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-contact-item {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(240,235,227,0.6);
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(240,235,227,0.45);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(240,235,227,0.45);
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

/* Medical Disclaimer in footer */
.footer-medical {
  background: rgba(0,0,0,0.15);
  padding: 20px 0;
  margin-top: 0;
}

.footer-medical p {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(240,235,227,0.5);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-modal.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-modal p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.5;
}

.cookie-modal p a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--coffee);
  color: var(--white);
}

.cookie-accept:hover {
  background: var(--coffee-dark);
}

.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.cookie-decline:hover {
  border-color: var(--coffee-light);
  color: var(--coffee);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-dark) 100%);
  padding: 56px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--coffee-dark);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* === LEGAL PAGES === */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coffee-dark);
  margin: 36px 0 14px;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--coffee);
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-content ul {
  margin: 10px 0 18px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul li {
  margin-bottom: 6px;
}

.legal-update {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* === SUCCESS PAGE === */
.success-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(197,165,90,0.15), rgba(197,165,90,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 24px;
}

.success-wrap h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--coffee-dark);
  margin-bottom: 14px;
}

.success-wrap p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* === ABOUT PAGE === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.value-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--coffee-dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(197,165,90,0.15), rgba(197,165,90,0.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--coffee);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .info-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ingredients-wrap,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  section {
    padding: 52px 0;
  }
  .hero {
    padding: 56px 0 44px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .info-grid,
  .reviews-grid,
  .about-values {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .price-card {
    padding: 36px 28px;
  }
  .price-amount {
    font-size: 2.6rem;
  }
  .form-wrap {
    padding: 28px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .page-hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero-product {
    max-width: 240px;
  }
  .cookie-modal {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
