@import url('theme.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* THEME: Roota | Model X Blueprint | USA Market */

/* ── LAYER 1: COLOR TOKENS ───────────────────────────────── */
:root {
  /* Primary — Deep Botanical Green from Roota */
  --primary:        #073021;
  --primary-dark:   #052016;
  --primary-light:  #EFF7E9;
  --secondary:      #FAF8F5;

  /* Layout backgrounds */
  --bg:             #FFFFFF;
  --bg-alt:         #FAF8F5;   
  --dark:           #073021;   
  --text:           #2D3748;   
  --text-muted:     #64748B;
  --border:         #E2E8F0;

  /* CTA button — Vibrant Forest Green */
  --cta-bg:         #308935;
  --cta-text:       #FFFFFF;

  /* Alert bar — Matching Roota's primary dark green or vibrant green */
  --alert-bg:       #073021;

  /* Accent / Success — Roota Green */
  --gold:           #308935;   
  --star:           #308935;
}

/* ── LAYER 2: TYPOGRAPHY ────────────────────────────────── */
:root {
  --font-heading:   'Roboto', sans-serif;
  --font-body:      'Roboto', sans-serif;
  --fw-heading:     900;
  --fw-subheading:  700;
  --fw-body:        400;
  --lh-heading:     1.1;
  --lh-body:        1.6;
}

/* ═══════════════════════════════════════════════════════════
   MANDATORY HARDCODED OVERRIDES (MODEL X)
   ───────────────────────────────────────────────────────────── */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  overflow-x: hidden;
  background: #000;
}

#announcement-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0 !important;
  position: relative !important;
  top: 0 !important;
  z-index: 9999;
  background: var(--alert-bg, #E80000);
  min-height: 40px;
  padding: 8px 0 !important;
}

.alert-badges {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
  width: 100%;
}
h1, h2, h3, h4, h5, h6, button, input, select, textarea {
  font-family: var(--font-body);
}

.alert-badge i {
  color: #FFFFFF;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.hero-text h1 .highlight {
  color: #FFFFFF;
  text-decoration: underline decoration-color var(--primary);
  text-underline-offset: 8px;
}

.hero-tagline i {
  color: var(--primary);
}

.hero-guarantee i {
  color: var(--gold);
}

/* ── LAYER 3: HERO ───────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, #3E594B 0%, #073021 100%); /* Requested Green Gradient */
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* ── LAYER 4: ALERT BAR ─────────────────────────────────── */
#announcement-bar {
  background: var(--primary) !important;
  color: #FFFFFF;
  margin-top: 0 !important;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}
.marquee {
  width: 100%;
  display: flex;
}
.marquee-content {
  display: flex;
  gap: 50px;
  animation: scrollMarquee 30s linear infinite;
  white-space: nowrap;
  padding-left: 50px;
}
.alert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  flex-shrink: 0;
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── LAYER 5: NAVBAR ────────────────────────────────────── */
#header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-logo-text {
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}
.nav-links a {
    color: var(--dark) !important;
}

#hero {
  background: linear-gradient(135deg, #304F40 0%, #073021 100%);
  padding: 100px 0 80px;
  color: #FFFFFF;
}
.hero-text,
.hero-text h1 {
  color: #FFFFFF;
}
.hero-subtext {
  color: rgba(255, 255, 255, 0.9);
}

/* ── LAYER 7: CTA BUTTONS ───────────────────────────────── */
.btn-primary,
.hero-cta,
.cta-button {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: 10px; 
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(48, 137, 53, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover,
.hero-cta:hover,
.cta-button:hover {
  background: #256b29;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(48, 137, 53, 0.4);
}

/* ── LAYER 8: TRUST ─────────────────────────────────────── */
#trust {
  background: #FFFFFF; 
  color: #000000;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.trust-badge-text strong {
  color: var(--dark);
  display: block;
}
.trust-badge-text span {
  color: var(--text-muted);
}
.trust-icon {
  background: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon i {
  color: var(--primary);
}

/* ── LAYER 9: SOCIAL PROOF ──────────────────────────────── */
#social-proof {
  background: var(--primary); 
  padding: 40px 0;
  border: none;
}
.stat-value {
  color: #FFFFFF;
  font-weight: 900;
  font-size: 2.5rem;
}
.stat-label {
  color: rgba(255, 255, 255, 0.9);
}
.stat-divider {
  background: rgba(255, 255, 255, 0.3);
}

/* ── LAYER 10: BENEFITS ─────────────────────────────────── */
#benefits {
  background: #FAF8F5; /* Soft Beige */
  color: var(--text);
  padding: 80px 0;
}
#benefits .section-h2 { color: var(--dark); }
#benefits .section-body { color: var(--text); }

.urgency-badge {
  background: #FFF5F5;
  border: 1px solid #FED7D7;
  color: #C53030;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  margin: 24px 0;
  display: inline-block;
}
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 700;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 16px;
}

/* ── LAYER 11: REVIEWS (MARQUEE) ────────────────────────── */
#reviews {
  background: #F4F6FF; /* Very light background for contrast */
  color: var(--dark);
  padding: 80px 0;
  overflow: hidden;
}
#reviews .section-h2 { color: var(--dark); margin-bottom: 40px; }

.reviews-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.reviews-marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.reviews-marquee-track:hover {
  animation-play-state: paused;
}

.review-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  width: 350px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #308935; /* Roota Green Stars */
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.review-body {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4A5568;
  margin-bottom: 25px;
  flex-grow: 1;
}

.reviewer-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 5px;
}

.reviewer-location {
  font-size: 0.9rem;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviewer-location i {
  color: #3182CE; /* Blue Verified Icon */
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 3 - 30px * 3)); }
}

/* ── LAYER 12: FEATURES (5-COLUMN GRID) ─────────────────── */
#features {
  background: #FFFFFF;
  padding: 80px 0;
}
.features-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  text-align: left;
}
.feature-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://imagedelivery.net/u8JiH5bJQTfO_tBFRSJ5Lg/d9e2e177-44d6-45e2-6d7b-69d80d7dcb00/w=40,h=40,format=webp'); /* Simplified icon placeholder */
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}
.feature-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4A5568;
}
.feature-desc strong {
  color: var(--dark);
}

@media (max-width: 1024px) {
  .features-grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .features-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ── LAYER 13: USAGE (FLEX LAYOUT) ───────────────────────── */
#usage {
  background: #FFFFFF;
  padding: 80px 0;
}
.red-line {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 20px auto 40px;
}

.usage-flex {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 50px;
  margin-top: 20px;
}

.usage-image {
  flex: 1;
}

.usage-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.usage-text {
  flex: 1;
}

.usage-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.usage-item {
  margin-bottom: 20px;
}

.usage-item-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.usage-item-title i {
  color: var(--primary);
  font-size: 1.1rem;
}

.usage-item-desc {
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 32px;
}

@media (max-width: 900px) {
  .usage-flex {
    flex-direction: column;
    gap: 40px;
  }
}

/* ── LAYER 14: EXPERT & CONFIDENCE ──────────────────────── */
#expert {
  background: #F8F9FA; 
  color: var(--dark);
  padding: 80px 0;
}
.expert-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.expert-image {
  flex-shrink: 0;
}

.expert-image img {
  width: 250px;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

/* Application Steps Styling */
.app-step {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.step-badge {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.step-info strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.step-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .benefits-layout {
    flex-direction: column;
  }
  .expert-card {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
    gap: 25px;
  }
  
  .expert-image img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}

#confidence {
  background: #EFF7E9; /* Very Light Botanical Green/Beige */
  color: var(--dark);
  padding: 60px 0;
}
.confidence-card {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .confidence-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ── LAYER 15: CHECKOUT SECTION ─────────────────────────── */

/* ── LAYER 15: FAQ ──────────────────────────────────────── */
#faq {
  background: #FFFFFF;
  padding: 80px 0;
}

/* ── LAYER 16: FOOTER ───────────────────────────────────── */
#footer {
  background: #073021;
  color: #FFFFFF !important;
  padding: 80px 0 40px;
}
#footer h2, #footer h4, #footer p, #footer a, #footer .footer-contact {
  color: #FFFFFF !important;
}
#footer a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#footer a:hover {
  opacity: 0.7;
}
#footer .footer-distributor {
  opacity: 0.8;
}
#footer .footer-brand h2, 
#footer .footer-col h4, 
#footer .footer-col ul li a {
  color: #FFFFFF !important;
}
#footer .footer-col ul {
  list-style: none;
  padding: 0;
}
#footer .footer-col ul li {
  margin-bottom: 10px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .btn-primary, .hero-cta, .cta-button {
    padding: 14px 28px;
    width: 100%;
    text-align: center;
  }

  #announcement-bar {
    overflow: hidden;
    height: 40px;
    padding: 0 !important;
  }

  .alert-badges {
    width: max-content;
    animation: alert-marquee 12s linear infinite;
    display: flex !important;
    gap: 50px !important; /* Increased gap for better spacing */
  }

  .alert-badge {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@keyframes alert-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 25px)); } /* Adjust for gap */
}

/* ── LAYER 16: MODAL SYSTEM ───────────────────────────── */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding-top: 50px;
}
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 40px;
  border-radius: 20px;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}
.close-modal {
  color: #aaa;
  position: sticky;
  top: -20px;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close-modal:hover { color: #000; }
.modal-title { color: var(--dark); margin-bottom: 20px; font-weight: 900; }
.modal-body { line-height: 1.6; color: var(--text); }

/* Mobile Header: Center Logo */
@media (max-width: 768px) {
  .nav-inner {
    justify-content: center !important;
    padding: 15px 0;
  }
  .nav-links, .nav-cta {
    display: none !important;
  }
}
