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

:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #818CF8;
  --bg-dark: #0F172A;
  --bg-card: #1E293B;
  --bg-card-hover: #263348;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-green: #22C55E;
  --accent-orange: #F59E0B;
  --accent-blue: #3B82F6;
  --border-color: #334155;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

/* Advertorial Banner */
.advertorial-banner {
  background: var(--bg-card);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

/* Header */
.site-header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.9);
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

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

/* Main Content */
.main-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Hero */
.hero-section {
  text-align: center;
  margin-bottom: 48px;
}

.hero-section h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-section .lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

/* Info Notice */
.info-notice {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-orange);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 44px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-notice strong {
  color: var(--accent-orange);
}

/* Content Blocks */
.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.content-block-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}

.content-block-image img {
  width: 100%;
  object-fit: cover;
  max-height: 320px;
}

.content-block h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-block h2 .block-icon {
  font-size: 1.6rem;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.pubmed-ref {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(79, 70, 229, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.pubmed-ref a {
  color: var(--primary-light);
  font-size: 12px;
}

/* Connector */
.connector-section {
  text-align: center;
  padding: 44px 20px;
  margin-bottom: 28px;
}

.connector-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.connector-section .divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 24px auto;
  border-radius: 2px;
}

/* Product Section */
.product-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(79, 70, 229, 0.08) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 40px;
}

.product-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-section .product-subtitle {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-image-wrapper {
  max-width: 400px;
  margin: 0 auto 28px;
}

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

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  text-align: center;
}

.product-feature {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 16px;
}

.product-feature .feat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.product-feature h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  color: #fff;
}

.cta-button svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 48px 24px 32px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

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

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--text-primary);
}

.footer-contact {
  flex: 1;
  min-width: 240px;
}

.footer-contact h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.6;
}

.footer-disclaimers {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  margin-top: 8px;
}

.footer-disclaimers p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-disclaimers p strong {
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Subpages */
.subpage-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 60px;
}

.subpage-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.subpage-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 14px;
}

.subpage-content p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.8;
}

.subpage-content ul {
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding-left: 24px;
  line-height: 1.8;
}

.subpage-content ul li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.6rem;
  }

  .content-block {
    padding: 22px;
  }

  .product-section {
    padding: 28px 20px;
  }

  .product-features {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.35rem;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 24px 16px 40px;
  }
}
