/* ==========================================================================
   NeuroRecall - Premium Wellness Sales Page Styles
   ========================================================================== */

/* --- CSS Variables & Theming --- */
:root {
  --color-primary: #1A365D;       /* Deep slate/navy */
  --color-primary-light: #2A4365;
  --color-secondary: #0D9488;     /* Trustworthy teal */
  --color-secondary-hover: #0F766E;
  --color-accent: #E2E8F0;
  
  --text-main: #2D3748;
  --text-muted: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  
  --bg-main: #FFFFFF;
  --bg-light: #F7FAFC;
  --bg-card: #FFFFFF;
  
  --border-color: #E2E8F0;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* --- Base Reset & Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

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

a:hover {
  color: var(--color-secondary-hover);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-section { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--color-primary); color: var(--text-white); }
.bg-primary h2, .bg-primary p { color: var(--text-white); }

/* --- Components --- */

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--color-primary-light);
  color: var(--text-white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Navigation */
.navbar {
  background-color: var(--bg-main);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-color);
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.trust-statement {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* General Sections */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Badges / Trust */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.trust-badges img {
  height: 60px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--transition-speed);
}

.trust-badges img:hover {
  opacity: 1;
}

/* Offer Section */
.offer-section {
  background-color: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform var(--transition-speed);
}

.pricing-card.popular {
  border-color: var(--color-secondary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-secondary);
  color: var(--text-white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card img {
  margin: 0 auto 1.5rem;
  height: 200px;
  object-fit: contain;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-answer p {
  padding-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  max-height: 1000px;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: #A0AEC0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer p {
  color: #A0AEC0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--text-white);
  font-size: 0.875rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .grid-2, .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .grid-3 {
    grid-template-columns: md;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
