/* ========================================
   PRASLIN LIFESCIENCES - STYLES
   ======================================== */

/* CSS Variables */
:root {
  --primary: #0097b2;
  --primary-light: #00b4d8;
  --secondary: #5c2d91;
  --secondary-light: #7c3aed;
  --foreground: #1a1f36;
  --foreground-light: #4a5568;
  --background: #ffffff;
  --muted: #f1f5f9;
  --border: #e2e8f0;
  --cream: #faf8f5;
  --soft: #f0f4ff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

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

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

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

ul {
  list-style: none;
}

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

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

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

/* Section Backgrounds */
.section-white { background-color: var(--background); }
.section-cream { background-color: var(--cream); }
.section-soft { background-color: var(--soft); }

/* Gradient Text */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav-left, .nav-right {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-left, .nav-right { display: flex; }
}

.nav-link {
  font-size: .995rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 100px;
  width: auto;
}

.icon-btn {
  padding: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s;
}

.icon-btn:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero { padding: 6rem 0; }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content { text-align: left; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--foreground-light);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero-buttons { justify-content: flex-start; }
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.badge-label {
  display: block;
  font-size: 0.75rem;
  color: var(--foreground-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .trust-section { padding: 6rem 0; }
}

.trust-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 151, 178, 0.1) 0%, rgba(92, 45, 145, 0.1) 100%);
  border: 1px solid rgba(0, 151, 178, 0.2);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gradient);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: white;
}

.trust-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.trust-description {
  font-size: 0.875rem;
  color: var(--foreground-light);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

.section-description {
  color: var(--foreground-light);
  max-width: 42rem;
  margin: 0 auto;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .products-section { padding: 6rem 0; }
}

.products-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.product-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image.product-logo {
  padding: 2rem;
  object-fit: contain;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.875rem;
  color: var(--foreground-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.2s;
}

.product-link:hover {
  gap: 0.75rem;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .benefits-section { padding: 6rem 0; }
}

.benefits-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

.benefits-image-wrapper {
  position: relative;
  order: 2;
}

@media (min-width: 1024px) {
  .benefits-image-wrapper { order: 1; }
}

.benefits-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.benefits-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  display: none;
}

@media (min-width: 768px) {
  .benefits-badge { display: block; }
}

.benefits-badge-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
}

.benefits-badge-text {
  font-size: 0.875rem;
  opacity: 0.9;
}

.benefits-content {
  order: 1;
}

@media (min-width: 1024px) {
  .benefits-content { order: 2; }
}

.benefits-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .benefits-list { grid-template-columns: repeat(2, 1fr); }
}

.benefit-item {
  display: flex;
  gap: 1rem;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.benefit-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-description {
  font-size: 0.875rem;
  color: var(--foreground-light);
}

/* ========================================
   INGREDIENTS SECTION
   ======================================== */
.ingredients-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .ingredients-section { padding: 6rem 0; }
}

.ingredients-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ingredients-grid { grid-template-columns: 1fr 1fr; }
}

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

.ingredient-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.ingredient-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ingredient-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.ingredient-amount {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
}

.ingredient-benefit {
  font-size: 0.75rem;
  color: var(--foreground-light);
}

.quality-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 151, 178, 0.1) 0%, rgba(92, 45, 145, 0.1) 100%);
  border: 1px solid rgba(0, 151, 178, 0.2);
  border-radius: var(--radius-lg);
}

.quality-note p {
  font-size: 0.875rem;
}

.ingredients-image-wrapper {
  position: relative;
}

.ingredients-image {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   SCIENCE SECTION
   ======================================== */
.science-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .science-section { padding: 6rem 0; }
}

.science-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

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

.science-card {
  text-align: center;
  padding: 1.5rem;
}

.science-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--soft);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.science-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.science-description {
  font-size: 0.875rem;
  color: var(--foreground-light);
}

.stats-banner {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-banner {
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem;
  }
}

.stat {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .stat-number { font-size: 2.25rem; }
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */
.certifications-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .certifications-section { padding: 6rem 0; }
}

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

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

.certification-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.certification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--soft);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--primary);
}

.certification-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.certification-description {
  font-size: 0.75rem;
  color: var(--foreground-light);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .faq-section { padding: 6rem 0; }
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--foreground);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--foreground-light);
  font-size: 0.9375rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--foreground);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
  height: 64px;
  width: auto;
  background: white;
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.875rem;
  opacity: 0.8;
  max-width: 24rem;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.disclaimer {
  font-size: 0.75rem;
  opacity: 0.6;
  max-width: 48rem;
  margin: 0 auto 1rem;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
