/* ============================================
   hydra-facial.me — Style Sheet
   Modern, clean design optimized for readability
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --accent: #06b6d4;
  --gradient-start: #0ea5e9;
  --gradient-end: #8b5cf6;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --card-shadow-hover: 0 10px 25px rgba(0,0,0,.08), 0 4px 10px rgba(0,0,0,.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --header-h: 72px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.3; color: var(--text); }
h2 { font-size: 2rem; font-weight: 800; margin-bottom: .5em; }
h3 { font-size: 1.35rem; font-weight: 700; margin: 1.5em 0 .75em; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1em; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 600; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: .5em 1em;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo:hover { color: var(--text); }
.logo-icon {
  color: var(--primary);
  font-size: 1.5rem;
}
.logo-accent { color: var(--primary); }

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover {
  color: var(--primary);
  background: rgba(14,165,233,.06);
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f0f9ff 0%, var(--bg) 100%);
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(14,165,233,.1);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
}
.stat-label {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero CTA */
.hero-cta { display: flex; gap: 12px; justify-content: center; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14,165,233,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}
.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 720px;
  margin-bottom: 2em;
}

/* --- Info Grid (3 steps) --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2em 0;
}
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .25s, transform .25s;
}
.info-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-card h3 { margin-top: 0; font-size: 1.15rem; }
.info-card p { font-size: .92rem; color: var(--text-light); margin-bottom: 0; }
.info-card ul { font-size: .92rem; color: var(--text-light); }

/* Solution Cards */
.solution-card { border-top: 3px solid var(--primary); }
.ingredient-list {
  list-style: none;
  padding: 0;
}
.ingredient-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .9rem;
}
.ingredient-list li:last-child { border-bottom: none; }

/* --- Names Box & Tags --- */
.names-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 2em;
}
.names-box h3 { margin-top: 0; }
.names-box p { font-size: .92rem; color: var(--text-light); margin-bottom: 0; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(14,165,233,.08);
  color: var(--primary-dark);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid rgba(14,165,233,.15);
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  margin: 1.5em 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table thead {
  background: var(--bg-dark);
  color: #fff;
}
.compare-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(14,165,233,.03); }

/* Pricing table highlight */
.pricing-table tbody tr:nth-child(odd) { background: rgba(14,165,233,.02); }

/* --- Callouts --- */
.callout {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(14,165,233,.06), rgba(139,92,246,.06));
  border: 1px solid rgba(14,165,233,.15);
  border-radius: var(--radius);
  padding: 28px;
  margin: 2em 0;
}
.callout-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
.callout-text { font-size: .95rem; color: var(--text); }
.callout-text strong { font-weight: 700; }

.callout-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 24px 28px;
  margin: 2em 0;
  border-radius: var(--radius);
}
.callout-warning h3 {
  color: #92400e;
  margin-top: 0;
  font-size: 1.1rem;
}
.callout-warning ul { margin: 0; }
.callout-warning li {
  font-size: .92rem;
  color: #78350f;
  margin-bottom: 4px;
}

/* --- Evidence Grid --- */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2em 0;
}
.evidence-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.evidence-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.evidence-stat {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.evidence-card h3 { font-size: 1.05rem; margin-top: 0; margin-bottom: 8px; }
.evidence-card p { font-size: .88rem; color: var(--text-light); margin-bottom: 0; }

/* --- Benefits List --- */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 1em 0 2em;
}
.benefits-list li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
}
.benefits-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* --- Pricing Notes --- */
.pricing-notes {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 2em;
}
.pricing-notes h3 { margin-top: 0; }
.pricing-notes li {
  font-size: .92rem;
  margin-bottom: 6px;
}

/* --- Market Grid --- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 2em 0;
}
.market-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .25s;
}
.market-card:hover { box-shadow: var(--card-shadow-hover); }
.market-card h3 { margin-top: 0; font-size: 1rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.market-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 8px 0;
}
.market-number .arrow { color: var(--primary); font-size: 1.2rem; }
.market-card p { font-size: .9rem; color: var(--text-light); margin-bottom: 0; }

/* --- Demographics Grid --- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 1.5em 0;
}
.demo-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-size: .88rem;
  color: var(--text-light);
}
.demo-item strong {
  display: block;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 4px;
}

/* --- FAQ --- */
.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--card-shadow); }
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform .25s, background .25s;
}
.faq-item[open] summary::before {
  content: "\2212";
  background: rgba(14,165,233,.1);
  transform: rotate(180deg);
}
.faq-item summary h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-item p {
  padding: 0 24px 20px 64px;
  font-size: .92rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 80px 0;
}
.cta-section h2 {
  color: #fff;
  font-size: 2rem;
}
.cta-section p {
  color: #cbd5e1;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-updated {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 1.5em;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #e2e8f0;
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-col p {
  font-size: .88rem;
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: #94a3b8;
  font-size: .88rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: .82rem;
  margin-bottom: 6px;
}
.disclaimer {
  font-size: .75rem;
  color: #64748b;
  max-width: 700px;
  margin: 8px auto 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero h1 { font-size: 2.4rem; }
  .info-grid, .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 105;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.15rem;
    padding: 12px 24px;
  }

  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-number { font-size: 1.4rem; }

  h2 { font-size: 1.6rem; }
  .section { padding: 56px 0; }

  .info-grid, .evidence-grid { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }

  .callout {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .callout-number { font-size: 2.5rem; }

  .compare-table { font-size: .82rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }

  .faq-item summary h3 { font-size: .95rem; }
  .faq-item p { padding-left: 52px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.55rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .demo-grid { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 8px 10px; font-size: .78rem; }
}

/* --- Print --- */
@media print {
  .site-header, .nav-toggle, .hero-cta, .cta-section { display: none; }
  .section, .section-alt { padding: 24px 0; }
  body { font-size: 11pt; }
}
