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

:root {
  /* Light Grey Premium Palette */
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0F2F5;
  --bg-card: rgba(255, 255, 255, 0.95);
  
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A68;
  --text-muted: #7A7A96;
  --text-light: #9A9AB0;
  
  /* Accent Colors - Clinical Violet/Teal */
  --accent-primary: #6C5CE7;
  --accent-secondary: #A29BFE;
  --accent-gradient: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 50%, #74B9FF 100%);
  --accent-glow: rgba(108, 92, 231, 0.15);
  
  /* Trust/Success Colors */
  --success: #00B894;
  --success-light: rgba(0, 184, 148, 0.1);
  --warning: #FDCB6E;
  --premium-gold: #D4AF37;
  
  /* Borders & Shadows */
  --border-light: rgba(26, 26, 46, 0.08);
  --border-medium: rgba(26, 26, 46, 0.12);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 8px 32px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 26, 46, 0.12);
  --shadow-glow: 0 8px 40px rgba(108, 92, 231, 0.2);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1200px;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(116, 185, 255, 0.08), transparent);
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-primary);
}

/* Container */
.container {
  width: min(var(--max-width), 100% - 48px);
  margin: 0 auto;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--bg-secondary);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-tag {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn.primary:hover {
  box-shadow: 0 12px 48px rgba(108, 92, 231, 0.35);
}

.btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn.secondary:hover {
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-md);
}

.btn.ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 20px;
}

.btn.ghost:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn.small {
  padding: 10px 20px;
  font-size: 13px;
}

.btn.large {
  padding: 18px 36px;
  font-size: 17px;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

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

.hero-content {
  max-width: 580px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.trust-item .icon-badge {
  width: 32px;
  height: 32px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Product Card */
.hero-card {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(108, 92, 231, 0.05) 100%);
  pointer-events: none;
}

.hero-art {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.caption-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.caption-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.caption-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.badge strong {
  font-weight: 700;
  color: var(--text-primary);
}

.badge.success {
  background: var(--success-light);
  border-color: rgba(0, 184, 148, 0.2);
  color: var(--success);
}

.badge.premium {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--premium-gold);
}

.badge.accent {
  background: var(--accent-glow);
  border-color: rgba(108, 92, 231, 0.2);
  color: var(--accent-primary);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head.left {
  text-align: left;
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.subhead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FEATURE GRID ===== */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-primary);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PRODUCT SECTION ===== */
.product-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.product-preview + .product-preview {
  margin-top: 24px;
}

.preview-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-sm);
}

.preview-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.price-current {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-primary);
}

.price-original {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-badge {
  background: var(--success-light);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* List */
.list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check::after {
  content: '✓';
  font-size: 11px;
  color: var(--success);
  font-weight: 700;
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.callout {
  background: linear-gradient(135deg, rgba(253, 203, 110, 0.08), rgba(253, 203, 110, 0.02));
  border: 1px solid rgba(253, 203, 110, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.callout h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.callout p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq details[open] {
  box-shadow: var(--shadow-sm);
}

.faq summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

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

.faq p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--accent-primary);
  font-size: 14px;
}

.author-info {
  font-size: 13px;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-title {
  color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--accent-gradient);
  padding: 80px 0;
  text-align: center;
  border-radius: var(--radius-xl);
  margin: 40px 24px;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-section .btn {
  background: white;
  color: var(--accent-primary);
}

.cta-section .btn:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mini-links a {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.mini-links a:hover {
  background: var(--accent-glow);
  color: var(--accent-primary);
  text-decoration: none;
}

.small {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== PRODUCT PAGE ===== */
.product-hero {
  padding: 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.gallery {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.gallery-main {
  aspect-ratio: 1;
  background: var(--bg-tertiary);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--border-light);
}

.thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb:hover {
  border-color: var(--accent-secondary);
}

.thumb[aria-selected='true'] {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.thumb img {
  aspect-ratio: 1;
  object-fit: cover;
}

.spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.spec .item {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 16px;
}

.spec .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.spec .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.instruction {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.instruction img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .product-grid,
  .product-preview,
  .split {
    grid-template-columns: 1fr;
  }
  
  .grid3,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-content {
    max-width: none;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: inline-flex;
  }
  
  .mobile-menu.open {
    display: block;
    padding: 16px 0;
  }
  
  .mobile-menu a {
    display: block;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
  }
  
  .mobile-menu a:hover {
    background: var(--accent-glow);
    color: var(--accent-primary);
    text-decoration: none;
  }
  
  .grid3,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .section h2 {
    font-size: 28px;
  }
  
  .trust-bar {
    gap: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .cta-section {
    margin: 20px 16px;
    padding: 60px 24px;
    border-radius: var(--radius-lg);
  }
}
