/* ==========================================================================
   Slimqa Coffee Booster - Modern Design System & Mobile Responsive Styles
   ========================================================================== */

:root {
  /* Colors */
  --primary: #0E7C4A;
  --primary-dark: #054729;
  --primary-light: #249E67;
  --primary-subtle: #ECF5F1;
  --accent-gold: #D4A373;
  --accent-orange: #E8552F;
  --dark-green: #071510;
  --text-primary: #0B1F16;
  --text-muted: #4C5F56;
  --text-light: #6E8278;
  --bg-page: #FFFFFF;
  --bg-soft: #F4F8F6;
  --bg-mint: #DCF5ED;
  --bg-card: #FFFFFF;
  --border-light: rgba(14, 124, 74, 0.12);
  --border-subtle: #E5ECE8;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(11, 31, 22, 0.04);
  --shadow-md: 0 12px 32px -4px rgba(14, 124, 74, 0.1);
  --shadow-lg: 0 24px 48px -12px rgba(7, 21, 16, 0.18);
  --shadow-glow: 0 0 25px rgba(14, 124, 74, 0.25);

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

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

h1 {
  font-size: clamp(1.75rem, 4vw + 0.8rem, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw + 0.4rem, 1.6rem);
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

@media (min-width: 768px) {
  p {
    font-size: 1.08rem;
  }
}

/* Buttons */
.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-md);
  width: auto;
  text-decoration: none;
  cursor: pointer;
  border: none;
  user-select: none;
}

@media (max-width: 767px) {
  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-orange) 0%, #D4421E 100%);
  color: #ffffff;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 85, 47, 0.35);
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--accent-orange);
  color: #ffffff;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.top-bar-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-bar-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .top-bar-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }
  
  .top-bar-item {
    font-size: 0.76rem;
    width: 100%;
  }

  .top-bar-item:not(:last-child) {
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* Header */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-container {
    height: 76px;
  }
}

.logo-link svg {
  height: 28px;
  width: auto;
  transition: transform var(--transition-fast);
}

@media (min-width: 768px) {
  .logo-link svg {
    height: 32px;
  }
}

.header-cta .btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  width: auto;
}

/* Hero Section */
.hero-section {
  padding: 1.5rem 0 2.5rem;
  background-color: var(--bg-page);
}

@media (min-width: 768px) {
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
}

.hero-card {
  background: linear-gradient(135deg, var(--bg-mint) 0%, #E6F7F0 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column-reverse;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
  }
}

.hero-content {
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 3rem 2.5rem;
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .hero-content {
    padding: 4rem 3.5rem;
  }
}

.hero-image-wrapper {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero-image-wrapper {
    height: 320px;
  }
}

@media (min-width: 900px) {
  .hero-image-wrapper {
    height: 100%;
    min-height: 480px;
    border-radius: 0;
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Features Bar (Badges Grid) */
.features-bar {
  padding: 1.75rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

@media (min-width: 600px) and (max-width: 899px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
  }
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-soft);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

@media (min-width: 900px) {
  .feature-badge {
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
  }
}

.feature-badge:hover {
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.feature-badge svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .feature-badge svg {
    width: 26px;
    height: 26px;
  }
}

.feature-badge span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .feature-badge span {
    font-size: 0.98rem;
  }
}

/* Common Section */
.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-header p {
  margin-top: 0.75rem;
}

/* Benefits Section */
.benefits-section {
  background-color: var(--bg-soft);
}

.benefits-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

@media (min-width: 900px) {
  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.benefits-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .benefits-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.benefit-card {
  background: var(--bg-card);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .benefit-card {
    padding: 2rem;
    gap: 1rem;
  }
}

.benefit-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
}

@media (min-width: 768px) {
  .benefit-icon svg {
    width: 32px;
    height: 32px;
  }
}

.benefit-card h3 {
  font-size: 1.12rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .benefit-card h3 {
    font-size: 1.25rem;
  }
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.benefits-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 240px;
  width: 100%;
}

@media (min-width: 600px) {
  .benefits-image-wrapper {
    height: 340px;
  }
}

@media (min-width: 900px) {
  .benefits-image-wrapper {
    height: 100%;
    max-height: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
}

.benefits-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ingredients Box Section */
.ingredients-section {
  background-color: #ffffff;
}

.ingredients-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .ingredients-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.ingredients-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-height: 320px;
}

@media (min-width: 900px) {
  .ingredients-image-wrapper {
    max-height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
}

.ingredients-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingredients-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ingredient-block {
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

@media (min-width: 768px) {
  .ingredient-block {
    padding-left: 1.25rem;
    border-left-width: 4px;
  }
}

.ingredient-block h3 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

@media (min-width: 768px) {
  .ingredient-block h3 {
    font-size: 1.35rem;
  }
}

.ingredient-block p {
  font-size: 0.95rem;
}

/* Proven Results Section */
.results-section {
  position: relative;
  background: var(--dark-green);
  color: #ffffff;
  overflow: hidden;
}

.results-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: overlay;
}

.results-content {
  position: relative;
  z-index: 2;
}

.results-section h2 {
  color: #ffffff;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3.5rem 0;
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stat-card {
    padding: 2.5rem 2rem;
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

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

/* FAQ Section */
.faq-section {
  background-color: var(--bg-soft);
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

@media (min-width: 768px) {
  .faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
  }
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

@media (min-width: 768px) {
  .faq-icon {
    width: 24px;
    height: 24px;
  }
}

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

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

@media (min-width: 768px) {
  .faq-answer {
    padding: 0 2rem;
  }
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

@media (min-width: 768px) {
  .faq-item.active .faq-answer {
    padding: 0 2rem 1.75rem;
  }
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 16, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .modal-container {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
  }
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.modal-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  padding-right: 2rem;
}

.ingredients-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ingredients-list li {
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.ingredients-list li svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer */
.site-footer {
  background-color: var(--dark-green);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.footer-links a, .footer-links button {
  color: #ffffff;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-links button:hover {
  color: var(--primary-light);
}

.footer-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-disclaimer {
    text-align: left;
  }
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copy {
    text-align: left;
  }
}

/* Sticky Floating CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 0.65rem 1rem;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sticky-product-info {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .sticky-product-info {
    display: flex;
  }
}

.sticky-product-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.sticky-product-badge {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.sticky-cta-content .btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

@media (min-width: 600px) {
  .sticky-cta-content .btn {
    width: auto;
  }
}
