/* Synadentix Guide - Main Stylesheet */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-blue-50: #eff6ff;
  --color-blue-400: #60a5fa;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-mint-50: #f0fdfa;
  --color-mint-400: #5eead4;
  --color-mint-500: #14b8a6;
  --color-mint-600: #0d9488;
  --color-teal-100: #ccfbf1;
  --color-teal-500: #14b8a6;
  --color-teal-600: #0d9488;
  --color-teal-700: #0f766e;
  --color-teal-800: #115e59;
  --color-emerald-100: #d1fae5;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-800: #065f46;
  --color-amber-100: #fef3c7;
  --color-amber-800: #92400e;
  --color-red-100: #fee2e2;
  --color-red-500: #ef4444;
  --color-red-600: #dc2626;
  --color-red-800: #991b1b;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-gray-900);
  line-height: 1.5;
}

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

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

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-lg {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-md {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.navbar-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(to bottom right, var(--color-blue-400), var(--color-mint-400));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-link {
  color: var(--color-gray-600);
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-blue-500);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
}

.navbar-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--color-gray-900);
  transition: all 0.3s;
}

/* Hero Sections */
.hero {
  padding: 5rem 1rem;
  text-align: center;
}

.hero-gradient {
  background: linear-gradient(to bottom right, var(--color-blue-50), var(--color-white), var(--color-mint-50));
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-gray-900);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-600);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-blue-500);
  color: var(--color-white);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.hero-cta:hover {
  background: var(--color-blue-600);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-blue-500);
  color: var(--color-white);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-primary:hover {
  background: var(--color-blue-600);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn-teal {
  background: var(--color-teal-600);
  color: var(--color-white);
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn-teal:hover {
  background: var(--color-teal-700);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.btn-gradient {
  background: linear-gradient(to right, var(--color-teal-600), var(--color-emerald-600));
  color: var(--color-white);
  border-radius: 9999px;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.btn-gradient:hover {
  background: linear-gradient(to right, var(--color-teal-700), var(--color-emerald-700));
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Sections */
.section {
  padding: 5rem 1rem;
}

.section-gray {
  background: var(--color-gray-50);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--color-gray-600);
  max-width: 48rem;
  margin: 0 auto 3rem;
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(to bottom right, var(--color-blue-400), var(--color-mint-400));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-size: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-gray-900);
}

.card-text {
  color: var(--color-gray-600);
  line-height: 1.75;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Pricing Cards */
.pricing-card {
  background: var(--color-white);
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  overflow: hidden;
  transition: all 0.3s;
}

.pricing-card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: translateY(-4px);
}

.pricing-card-header {
  padding: 0.75rem;
  text-align: center;
  background: var(--color-gray-100);
}

.pricing-card-body {
  padding: 2rem;
}

.pricing-card-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card-subtitle {
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.pricing-card-image {
  width: 100%;
  height: 12rem;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.pricing-card-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-teal-600);
  margin-bottom: 1.5rem;
}

.pricing-card-price span {
  font-size: 1.5rem;
  color: var(--color-gray-600);
}

.pricing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-amber {
  background: var(--color-amber-100);
  color: var(--color-amber-800);
}

.badge-teal {
  background: var(--color-teal-100);
  color: var(--color-teal-800);
}

.badge-red {
  background: var(--color-red-100);
  color: var(--color-red-800);
}

.badge-emerald {
  background: var(--color-emerald-100);
  color: var(--color-emerald-800);
}

.pricing-card-best {
  position: relative;
  border: 4px solid var(--color-teal-500);
  transform: scale(1.05);
}

.pricing-ribbon {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--color-red-500), var(--color-red-600));
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  z-index: 10;
}

/* FAQ */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--color-teal-300);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--color-gray-50);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-gray-400);
  transition: transform 0.3s, color 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-teal-600);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

/* Footer */
.footer {
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
  margin-top: 5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(to bottom right, var(--color-blue-400), var(--color-mint-400));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.footer-text {
  color: var(--color-gray-600);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section-title {
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--color-gray-600);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-blue-500);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-200);
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--color-gray-400);
  margin-top: 0.5rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .pricing-card-best {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Ingredient Cards */
.ingredient-card {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  text-align: center;
  transition: all 0.3s;
}

.ingredient-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  transform: translateY(-4px);
}

.ingredient-image {
  width: 100%;
  height: 8rem;
  object-fit: contain;
  margin-bottom: 1rem;
}

.ingredient-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.ingredient-description {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* Trust Stats */
.trust-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.trust-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-teal-600);
  margin-bottom: 0.25rem;
}

.trust-stat-label {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scientific References */
.references-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  row-gap: 1.5rem;
}

.reference-item {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

.reference-item .reference-number {
  font-weight: 500;
  margin-right: 0.25rem;
}

.reference-item a {
  color: var(--color-blue-600);
  transition: text-decoration 0.2s;
}

.reference-item a:hover {
  text-decoration: underline;
}

.reference-disclaimer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  line-height: 1.75;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .references-grid {
    grid-template-columns: 1fr;
  }
}
