@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1a2639;       /* Deep Twilight Navy */
  --primary-rich: #2d4a6e;        /* Rich Sapphire — for headings */
  --secondary-color: #eef2f7;     /* Horizon Mist — cooler, crisper base */
  --accent-color: #c8614e;        /* Fired Rose Terracotta */
  --accent-light: #e8a55c;        /* Warm Amber Glow */
  --accent-teal: #3d9fa8;         /* Calm Teal Spark */
  --text-dark: #1a2639;
  --text-body: #3b4c62;           /* Richer body text */
  --text-light: #faf9f6;
  --glass-bg: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(26, 38, 57, 0.12);
  --surface-color: #ffffff;
  --surface-tinted: #f5f8fe;      /* Subtle icy tint for card backs */
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  /* Gradient definitions */
  --grad-page: linear-gradient(160deg, #f0f4f9 0%, #f8f1f9 35%, #fff5f0 65%, #f2f9f8 100%);
  --grad-accent: linear-gradient(135deg, #c8614e 0%, #e8a55c 100%);
  --grad-teal: linear-gradient(135deg, #3d9fa8 0%, #2d4a6e 100%);

  /* Pastel Card Palette */
  --pastel-mist: #f5f8fc;
  --pastel-blush: #fff9f8;
  --pastel-sand: #fffbf5;
  --pastel-mint: #f6fbfb;
}

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

body, html {
  font-family: 'Outfit', sans-serif;
  height: 100%;
  width: 100%;
  color: var(--text-body);
  /* Vibrant multi-tone gradient base */
  background: var(--grad-page);
  background-attachment: fixed;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Fixed watermark layer that sits behind all content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('assets/watermark.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* Increased slightly to showcase the new premium artwork */
  pointer-events: none;
  z-index: 0;
}

/* Base Utility Classes */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
}

.section-padding {
  padding: 6rem 5%;
}

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

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1.5rem; }

h2.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  /* Gradient text */
  background: linear-gradient(135deg, var(--primary-rich) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2.section-title::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  border-radius: 2px;
}

/* Hero Slider */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary-color);
}

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1.05); /* Slight zoom out effect during slide duration */
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26, 38, 57, 0.6) 0%, rgba(26, 38, 57, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Decorative Sections with Illustrative Backgrounds */
.decorative-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
}

/* White Overlay for Content Readability */
.decorative-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85); /* Clean white overlay for readability */
  z-index: -1;
  pointer-events: none;
}

/* Specific Section Backgrounds */
#getting-started.decorative-section {
  background-image: url('assets/getting_started_bg.png');
}

#inner-pattern.decorative-section {
  background-image: url('assets/inner_pattern_bg.png');
}

/* Background Utility Classes */
.bg-mist { background-color: var(--pastel-mist) !important; border-color: rgba(45, 74, 110, 0.05) !important; }
.bg-rose { background-color: var(--pastel-blush) !important; border-color: rgba(200, 97, 78, 0.05) !important; }
.bg-sand { background-color: var(--pastel-sand) !important; border-color: rgba(232, 165, 92, 0.05) !important; }
.bg-mint { background-color: var(--pastel-mint) !important; border-color: rgba(61, 159, 168, 0.05) !important; }

/* Header/Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.75); /* Modern glass look */
  backdrop-filter: blur(15px); /* Enhanced blur for premium feel */
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(26, 38, 57, 0.04);
  transition: all 0.4s ease;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.trademark {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  align-self: flex-start;
  margin-top: 15px;
  margin-left: 2px;
  user-select: none;
}

.brand-logo {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-rich);
  font-weight: 600;
  transition: color 0.3s;
}

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

/* Hero Card */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 3rem;
  max-width: 600px;
  width: 90%;
  color: #2c3e50; /* Ensure it's readable against light backgrounds */
  animation: floatIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.7); /* subtle text shadow to stand out if needed */
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  opacity: 1;
  color: #2c3e50;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.5);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  background-color: var(--primary-color);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 38, 57, 0.3); /* Changed to use primary color based shadow */
  gap: 0.5rem;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 85, 78, 0.4);
  background-color: var(--accent-color);
}
.cta-btn.light {
    background-color: var(--accent-color);
    color: var(--surface-color);
    box-shadow: 0 4px 15px rgba(200, 121, 101, 0.3);
}
.cta-btn.light:hover {
    background-color: var(--primary-color);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite, fadeInUp 1s ease-out 0.5s both;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Split Layout (About) */
.split-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.split-content {
  flex: 1;
  min-width: 300px;
}

.split-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  /* Advanced blur/fade effect for the portrait */
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
}

.split-image:hover img {
  transform: scale(1.05);
}

/* Book Section */
.book-section {
  background: #e6edf5; /* Light pastel blue integrated with the theme */
  color: #2c3e50;
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  margin-top: 4rem;
  display: flex;
  gap: 4rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Softer shadow for lighter background */
}

.book-cover {
  flex: 0 0 300px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.book-cover:hover { transform: translateY(-5px); }
.book-cover:active { transform: scale(0.95); }

/* Timeline Steps (Getting Started) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-step {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  border-left: 5px solid transparent;
  border-image: var(--grad-accent) 1;
  transition: transform 0.3s;
}

.timeline-step:hover {
  transform: translateX(10px);
}

.step-number {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Masonry Layout for Reviews */
.reviews-grid {
  column-count: 3;
  column-gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  break-inside: avoid;
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--accent-teal) 0%, var(--primary-rich) 100%) 1;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.review-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--accent-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.review-avatar svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.review-stars {
  color: #ffc107;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Accordions (Symptoms) */
.symptoms-accordion {
  max-width: 800px;
  margin: 0 auto;
}

details.symptom {
  background: var(--surface-color);
  margin-bottom: 1rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}

details.symptom summary {
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary-color);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.symptom summary::-webkit-details-marker {
  display: none;
}

details.symptom summary::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

details.symptom[open] summary::after {
  transform: rotate(45deg);
}

.symptom-content {
  padding: 0 2rem 2rem;
  color: #2c3e50;
  line-height: 1.6;
}

.symptom-content ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.symptom-content li {
  margin-bottom: 0.5rem;
}

/* Frameworks Grid */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.framework-card {
  background: var(--surface-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.05);
}

.framework-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--accent-color);
}

.framework-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
}

.framework-step {
  margin-bottom: 1rem;
}

.framework-step strong {
  display: block;
  color: var(--accent-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f1f38 0%, #1a2639 50%, #2d4a6e 100%);
  color: var(--text-light);
  padding: 4rem 5%;
  text-align: center;
}

.footer a {
  color: var(--accent-color);
  text-decoration: none;
}

/* Animations */
@keyframes floatIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Formatted Text */
p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--text-body);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  position: relative;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(-50%) scale(1);
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* ======================================
   Help Section (Amaha Style)
   ====================================== */
.help-section {
  position: relative;
  padding: 6rem 5%;
  background-image: linear-gradient(rgba(45, 74, 110, 0.85), rgba(45, 74, 110, 0.85)), url('assets/mental_health_hero.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}

.help-section .section-title {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
  text-shadow: none;
}
.help-section .section-title::after { display: none; }
.help-subtitle {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #eaeaea;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.help-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  color: var(--text-body);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.help-card:hover {
  transform: translateY(-5px);
}

.help-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.help-card h3 {
  color: #2b5e3f; /* Deep green */
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.help-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.help-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.help-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50px;
  color: #d15a45; /* Orange red */
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.help-btn-outline.green {
  color: #2b5e3f;
}

.help-btn-outline:hover {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.3);
}

/* Media Queries */
@media (max-width: 992px) {
  .reviews-grid { column-count: 2; }
  .book-section { flex-direction: column; text-align: center; }
  .book-cover { flex: 0 0 auto; width: 100%; max-width: 300px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-content { padding: 3rem 2rem; }
  .nav-links { display: none; } /* Could add hamburger menu later */
  h2.section-title { font-size: 2rem; }
  .reviews-grid { column-count: 1; }
  .split-layout { flex-direction: column; }
}

/* ======================================
   Legal Modal Styles (Terms/Privacy/Disclaimer)
   ====================================== */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  background: rgba(26, 38, 57, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.legal-modal.legal-modal--open {
  opacity: 1;
}

.legal-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--border-radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(26, 38, 57, 0.35);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.legal-modal--open .legal-modal-box {
  transform: translateY(0) scale(1);
}

.legal-modal-body {
  overflow-y: auto;
  padding: 3rem 3rem 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
}

.legal-modal-body::-webkit-scrollbar {
  width: 5px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
}

.legal-modal-body h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.legal-modal-body .legal-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.legal-modal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-modal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.legal-modal-body p {
  color: #3f4e60;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.legal-modal-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-modal-body ul li {
  color: #3f4e60;
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.legal-modal-body a {
  color: var(--accent-color);
  text-decoration: underline;
}

.legal-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s, transform 0.2s;
}

.legal-modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Footer legal link buttons */
.footer-legal-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0 10px;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

.footer-legal-btn:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-modal-body {
    padding: 2rem 1.5rem;
  }
  .legal-modal-body h1 {
    font-size: 1.5rem;
  }
}

/* =========================================================================
   Restored Styles
   ========================================================================= */

/* --- Conditions Grid --- */
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .conditions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.condition-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.condition-icon {
  width: 80px;
  height: 80px;
  background: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.condition-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.condition-title {
  color: var(--accent-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.condition-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.condition-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start;
  text-decoration: none;
}
.condition-arrow:hover {
  background: var(--primary-color);
}
.arrow-icon {
  width: 20px;
  height: 20px;
}

/* --- Reviews Grid --- */
.reviews-grid {
  column-count: 1;
  column-gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .reviews-grid {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    column-count: 3;
  }
}

.review-card {
  break-inside: avoid;
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 2rem;
  border: 1px solid rgba(0,0,0,0.02);
}

.review-title {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.review-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-color);
  overflow: hidden;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.review-stars {
  color: #ffb800;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* --- FAQ Accordion --- */
.symptoms-accordion {
  max-width: 800px;
  margin: 0 auto;
}

details.symptom {
  background: #fff;
  border-radius: var(--border-radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  overflow: hidden;
}

details.symptom summary {
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none;
  position: relative;
  outline: none;
}

details.symptom summary::-webkit-details-marker {
  display: none;
}

details.symptom summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-color);
}

details.symptom[open] summary::after {
  content: '-';
}

.symptom-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Frameworks Grid --- */
.frameworks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .frameworks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.framework-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.framework-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.framework-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.framework-card p {
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.framework-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.framework-step {
  background: var(--surface-color);
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  color: var(--primary-color);
}
.framework-step strong {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

/* --- Modals (Legal & Conditions) --- */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 39, 36, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-box {
  background: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.legal-modal--open .legal-modal-box {
  transform: translateY(0);
}

.legal-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}
.legal-modal-close:hover {
  color: var(--accent-color);
}

.legal-modal-body h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.legal-modal-body p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-modal-body h2 {
  color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.legal-modal-body ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Cookie Banner Legacy Override */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.05);
  padding: 1.5rem;
  z-index: 5000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner--hiding {
  transform: translateY(100%);
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner-icon {
  font-size: 2rem;
  display: none;
}
@media (min-width: 768px) {
  .cookie-banner-icon {
    display: block;
  }
}

.cookie-banner-text {
  flex-grow: 1;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner-text strong { color: var(--primary-color); }
.cookie-links { margin-top: 0.5rem; }
.cookie-policy-link { background: none; border: none; color: var(--accent-color); text-decoration: underline; cursor: pointer; padding: 0; }

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
}
.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-btn--primary {
  background: var(--accent-color);
  color: #fff;
  border: none;
}
.cookie-btn--primary:hover { background: var(--primary-color); }

.cookie-btn--outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(0,0,0,0.1);
}
.cookie-btn--outline:hover { background: rgba(0,0,0,0.05); }

.cookie-banner-dismiss {
  position: absolute;
  top: -0.5rem;
  right: 0;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
}
@media (min-width: 1024px) {
    .cookie-banner-dismiss { position: static; }
}



/* ======================================
   Pricing Section
   ====================================== */
.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.pricing-tabs {
  display: inline-flex;
  background: rgba(45, 74, 110, 0.05); /* Very soft navy tint */
  padding: 0.6rem;
  border-radius: 60px;
  gap: 0.5rem;
  border: 1px solid rgba(45, 74, 110, 0.1);
}

.pricing-tab {
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 0.9rem 1.85rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.pricing-tab.active {
  background: #ffffff;
  color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(26, 38, 57, 0.08);
  transform: scale(1.05);
}

.pricing-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.pricing-tab .badge {
  background: var(--accent-teal);
  color: white;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-tab .badge {
  background: white;
  color: #333;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  border: 1px solid #ddd;
}
.pricing-tab.active .badge {
  background: var(--surface-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width: 768px){
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(min-width: 1024px){
  .pricing-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.pricing-icon {
  background: #eaf1ed;
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pricing-card h3 {
  color: var(--primary-color);
  font-size: 1.35rem; /* Increased size */
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.pricing-sub {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  min-height: 2em;
}

.pricing-price {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.pricing-price .currency {
  font-size: 1.2rem; /* Decreased size */
}
.pricing-price .amount {
  font-size: 2.2rem; /* Decreased size */
  letter-spacing: -1px;
}
.pricing-price .suffix {
  font-size: 1.0rem; /* Decreased size */
}

.pricing-btn {
  margin-top: auto;
  margin-bottom: 0;
  text-align: center;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.pricing-divider {
  border: 0;
  height: 1px;
  background: rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
}

.pricing-features {
  flex-grow: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.pricing-features .check {
  color: var(--primary-color);
  font-weight: bold;
}

