/* -------------------------------------------------------------
 * LaCrea SPORT DETOX - Premium Refined Dark Theme
 * High-End Aesthetic, Clean Typography & Subtle Color Harmony
 * ------------------------------------------------------------- */

:root {
  /* Deep Premium Dark Palette */
  --bg-main: #0B0F19;            /* Rich obsidian dark background */
  --bg-card: rgba(18, 24, 36, 0.85); /* Deep slate card with glass blur */
  --bg-card-solid: #121824;      /* Solid dark slate card */
  --bg-card-hover: #192233;      /* Subtle hover fill */

  /* Refined Elegant Emerald & Mint Palette */
  --emerald-primary: #10B981;    /* Sophisticated sports emerald */
  --emerald-dark: #059669;       /* Deep rich green */
  --mint-accent: #34D399;        /* Soft neon mint accent */
  --mint-subtle: rgba(16, 185, 129, 0.12);

  --red-discount: #EF4444;       /* Elegant red for discount badges */
  --gold-star: #F59E0B;          /* Rating star amber */

  /* Typography Colors */
  --text-primary: #FFFFFF;       /* Crisp white for headings */
  --text-body: #CBD5E1;          /* Slate 300 highly readable text */
  --text-muted: #94A3B8;         /* Slate 400 */
  --text-dim: #64748B;           /* Slate 500 */
  --border-glass: rgba(255, 255, 255, 0.08); /* Fine subtle border */
  --border-hover: rgba(16, 185, 129, 0.3);

  /* Fonts */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-btn: 0 4px 20px rgba(16, 185, 129, 0.35);
}

/* Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #34D399 65%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Top Announcement Bar */
.announcement-bar {
  background: #060910;
  border-bottom: 1px solid var(--border-glass);
  color: #E2E8F0;
  padding: 10px 20px;
  font-size: 0.86rem;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-link {
  color: var(--mint-accent);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.announcement-link:hover {
  color: #FFFFFF;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-primary));
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.15rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mint-accent);
  letter-spacing: 0.8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  white-space: nowrap;
}

.nav-menu a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--mint-accent);
}

.nav-btn {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-primary) 100%);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid var(--border-glass);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald-primary);
  color: var(--mint-accent);
}

/* Notice Banner */
.notice-banner {
  background: rgba(16, 185, 129, 0.06);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  padding: 8px 0;
  font-size: 0.84rem;
  text-align: center;
  color: var(--mint-accent);
}

/* Hero Section */
.hero {
  padding: 60px 0 70px;
  background: radial-gradient(circle at 75% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint-subtle);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--mint-accent);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.22;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.7;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.hero-feat-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mint-accent);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feat-item span {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-cta-group {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-primary) 100%);
  color: #FFFFFF;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
}

.price-tag {
  display: flex;
  flex-direction: column;
}

.price-current {
  color: var(--mint-accent);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.price-old {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.85rem;
}

/* Hero Image Card */
.hero-image-wrapper {
  position: relative;
}

.hero-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: var(--shadow-card), 0 0 35px rgba(16, 185, 129, 0.12);
  background: var(--bg-card-solid);
}

.hero-img-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-badge-floating {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Legal & Policy Pages Dark Mode Styling */
.article-container {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin: 0 auto;
  max-width: 820px;
}

.article-content h3 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-content p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.info-dark-card {
  background: rgba(7, 10, 18, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 24px;
  color: var(--text-body);
}

.info-dark-card strong {
  color: #FFFFFF;
}

.info-dark-card p {
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--mint-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.82rem;
}

.section-title {
  font-size: 2.1rem;
  margin-top: 6px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 1rem;
}

/* Expert Section */
.expert-quote-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 18px;
  padding: 34px;
  display: flex;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.quote-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--mint-accent);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
  flex-shrink: 0;
}

/* Product Showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 45px;
  align-items: center;
}

.product-img-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.product-img-box img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(16, 185, 129, 0.25));
}

.formula-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.formula-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 18px;
  border-radius: var(--radius-md);
}

.formula-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mint-accent);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.formula-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.formula-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Quiz Section */
.quiz-card {
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 34px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.quiz-opt-btn {
  padding: 12px 18px;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  background: rgba(11, 15, 25, 0.6);
  color: var(--text-body);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quiz-opt-btn:hover {
  border-color: var(--mint-accent);
  color: #FFFFFF;
}

.quiz-opt-btn.selected {
  background: var(--emerald-primary);
  border-color: var(--emerald-primary);
  color: #000000;
  font-weight: 800;
}

/* Order Form Section */
.order-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-card-solid);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.order-badge-discount {
  position: absolute;
  top: -15px;
  right: 24px;
  background: var(--red-discount);
  color: #FFFFFF;
  font-weight: 900;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.order-summary-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #070A12;
  border: 1px solid var(--border-glass);
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 22px;
}

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

.form-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: #070A12;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--emerald-primary);
}

.form-input.is-valid {
  border-color: #10B981;
}

.form-input.is-invalid {
  border-color: #EF4444;
}

.phone-error-msg {
  color: #EF4444;
  font-size: 0.84rem;
  margin-top: 6px;
  display: none;
}

.phone-success-msg {
  color: var(--mint-accent);
  font-size: 0.84rem;
  margin-top: 6px;
  display: none;
}

.btn-submit-order {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-primary) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
}

.form-guarantee-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
  border-top: 1px solid var(--border-glass);
  padding-top: 18px;
  text-align: center;
}

.guarantee-badge-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Certificates Grid */
.certificates-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 38px;
  border-radius: 20px;
  text-align: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.cert-card {
  background: #070A12;
  border: 1px solid var(--border-glass);
  padding: 22px 18px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.cert-card:hover {
  border-color: var(--mint-accent);
  background: #0E1420;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.18);
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cert-icon-wrap {
  color: var(--mint-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.cert-sub {
  color: var(--mint-accent);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cert-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 4px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: rgba(52, 211, 153, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.02rem;
}

.faq-icon {
  color: var(--mint-accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card-solid);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 32px;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(18, 24, 36, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 14px 20px;
  border-radius: 16px;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.cookie-text {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.4;
}

.cookie-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald-primary));
  color: #FFFFFF;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

/* Footer */
.footer {
  background: #050810;
  border-top: 1px solid var(--border-glass);
  padding: 55px 0 22px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--mint-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 14px;
  }
  .nav-menu a {
    font-size: 0.85rem;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .hero-grid, .product-showcase {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
