/* Adenofrin — Medical / Clinical Design */
:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #475569;
  --surface: #ffffff;
  --page: #f0f7ff;
  --page-warm: #f8faff;
  --blue-deep: #003d99;
  --blue-mid: #0066cc;
  --blue-bright: #0284c7;
  --blue-soft: #dbeafe;
  --teal: #0d9488;
  --teal-soft: #ccfbf1;
  --line: rgba(0, 102, 204, 0.12);

  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;

  --shadow-soft: 0 4px 20px rgba(0, 102, 204, 0.07);
  --shadow-lift: 0 16px 40px rgba(0, 102, 204, 0.13);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--page);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-xs);
}

p {
  margin: 0 0 var(--space-md);
  font-size: 1.02rem;
}

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-deep);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--blue-mid);
  padding: 0.8rem 0;
  box-shadow: 0 2px 16px rgba(0, 102, 204, 0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

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

.logo-link:hover {
  opacity: 0.88;
}

.nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--font-display);
}

.nav-link:hover {
  background: var(--blue-soft);
  color: var(--blue-mid);
}

.nav-link.active {
  background: var(--blue-mid);
  color: #fff;
  border-color: var(--blue-mid);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #003d99 0%, #0066cc 45%, #0284c7 78%, #0d9488 100%);
  color: #e0f2fe;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--page) 50%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 5% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 95% 10%, rgba(13, 148, 136, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

/* Medical cross decoration on hero */
.hero-cross-bg {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  opacity: 0.04;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 5rem) var(--space-lg) clamp(4.5rem, 11vw, 6.5rem);
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: min(72vh, 660px);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bae6fd;
  margin-bottom: var(--space-md);
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(186, 230, 253, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-title {
  text-align: left;
  margin-bottom: var(--space-md);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-subtitle {
  text-align: left;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  max-width: 32rem;
  margin: 0 0 var(--space-lg);
  color: rgba(224, 242, 254, 0.9);
  line-height: 1.72;
  animation: heroIn 0.95s 0.07s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .btn-primary {
  animation: heroIn 1s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* Medical cross hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.hero-medical-icon {
  width: min(260px, 48vw);
  height: min(260px, 48vw);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseRing 4s ease-in-out infinite;
}

.hero-medical-icon::before {
  content: "+";
  font-size: clamp(6rem, 14vw, 9rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  line-height: 1;
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.04); opacity: 0.6; }
}

.btn-wrap {
  display: flex;
  justify-content: flex-start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  font-size: 0.93rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: #ffffff;
  color: var(--blue-mid);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  color: var(--blue-deep);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 0.96rem;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Inner pages hero (light text on blue) */
.hero > .container {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 2rem);
}

.hero > .container .hero-title {
  text-align: center;
}

.hero > .container .hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section headings */
.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto var(--space-xl);
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
}

.section-head h2 {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: var(--space-md) auto 0;
  background: linear-gradient(90deg, var(--blue-mid), var(--teal));
  border-radius: 2px;
}

/* Stats band */
.section--stats {
  background: linear-gradient(150deg, #003d99 0%, #0066cc 55%, #0284c7 100%);
  color: #e0f2fe;
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 1rem);
  border: none;
  box-shadow: none;
}

.section--stats .section-head .section-eyebrow {
  color: #bae6fd;
}

.section--stats h2 {
  color: #fff;
}

.section--stats h2::after {
  background: linear-gradient(90deg, #7dd3fc, var(--teal));
}

.section--stats .card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e0f2fe;
}

.section--stats .card p {
  color: #bae6fd;
  margin-bottom: 0;
}

.section--stats .stat-num {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

/* Product strip */
.section--product .grid {
  position: relative;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--blue-soft) 0%, #fff 50%, #f0fdfa 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.section--product h2,
.section--ingredients h2 {
  position: relative;
  padding-left: var(--space-md);
  border-left: 5px solid var(--blue-mid);
}

/* FAQ */
.section--faq .card {
  border-radius: var(--radius-md);
  border-left: 4px solid var(--teal);
  background: var(--surface);
}

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

.mb-xl {
  margin-bottom: var(--space-xl);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-0 {
  margin-bottom: 0;
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--teal));
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 102, 204, 0.22);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  border: 1.5px solid rgba(0, 102, 204, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue-mid);
  stroke-width: 2;
}

.card-title {
  color: var(--ink);
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid var(--line);
}

.stat-num {
  font-size: 2.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

/* Product */
.product-shot {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 102, 204, 0.18);
  border: 3px solid #fff;
  outline: 2px solid var(--blue-soft);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-shot:hover {
  transform: scale(1.03);
}

/* Anim */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.65s ease forwards;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 102, 204, 0.2);
  background: var(--page-warm);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--blue-mid);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-info:hover {
  box-shadow: var(--shadow-soft);
  border-left-color: var(--teal);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info span,
.contact-info a {
  color: var(--muted);
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--blue-mid);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #0a1120 100%);
  border-top: 3px solid var(--blue-mid);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  color: #fff;
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer p {
  color: #94a3b8;
  line-height: 1.8;
}

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #93c5fd;
}

.footer-links a:hover {
  color: #bae6fd;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  text-align: center;
  color: #64748b;
  font-size: 0.86rem;
}

.footer-bottom a {
  color: #93c5fd;
}

.footer-bottom a:hover {
  color: #bae6fd;
}

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

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--muted);
  line-height: 1.75;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Legal */
.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1.5px solid var(--blue-soft);
  color: var(--ink);
  font-size: 1.3rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--blue-mid);
  font-size: 1.05rem;
}

.content-card ul,
.content-card ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--muted);
}

.content-card li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

.content-card strong {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center !important;
  }

  .hero-inner .btn-wrap {
    justify-content: center;
  }

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

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section--product .grid {
    padding: var(--space-md);
  }
}

@media (max-width: 640px) {
  .container,
  .hero-inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
  }

  .content-card {
    padding: var(--space-md);
  }
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start;
}
