/*
  Harszone Design System v1.0
  "Netflix meets medical authority"
  Brand: Own Your Upgrade — deep teal, coral, dark
*/

/* ============================================================
   1. GOOGLE FONTS IMPORT
   ============================================================ */
/* ============================================================
   2. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --teal-deep:    #005F73;
  --teal-vibrant: #0A9396;
  --coral:        #E8735A;
  --warm-gray:    #E5E4E2;
  --white:        #FFFFFF;

  /* Dark surface palette */
  --bg-base:    #07110F;  /* near-black, slight teal */
  --bg-surface: #0D1C1E;  /* raised surface */
  --bg-card:    #112224;  /* card/panel */
  --bg-subtle:  #172A2D;  /* subtle lift */

  /* Text */
  --text-primary:   #FFFFFF;
  --text-secondary: #E5E4E2;
  --text-muted:     rgba(229, 228, 226, 0.55);
  --text-faint:     rgba(229, 228, 226, 0.30);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* Fluid type scale */
  --text-xs:   clamp(0.75rem,  1.2vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 1.5vw,  1rem);
  --text-base: clamp(1rem,     1.8vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 2vw,    1.25rem);
  --text-xl:   clamp(1.25rem,  2.5vw,  1.5rem);
  --text-2xl:  clamp(1.5rem,   3vw,    2rem);
  --text-3xl:  clamp(2rem,     4vw,    2.75rem);
  --text-4xl:  clamp(2.5rem,   5vw,    3.5rem);
  --text-5xl:  clamp(3rem,     6vw,    4.75rem);

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container:      1200px;
  --container-wide: 1400px;
  --nav-height:     72px;
  --section-gap:    clamp(4rem, 8vw, 8rem);

  /* Borders */
  --border-subtle: 1px solid rgba(10, 147, 150, 0.12);
  --border-light:  1px solid rgba(10, 147, 150, 0.25);
  --border-accent: 1px solid rgba(10, 147, 150, 0.50);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px  rgba(0, 0, 0, 0.35);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-teal: 0 0 24px   rgba(10, 147, 150, 0.18);

  /* Transitions */
  --t-fast: 140ms ease;
  --t-base: 240ms ease;
  --t-slow: 400ms ease;
}


/* ============================================================
   3. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(10, 147, 150, 0.35);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--teal-vibrant);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding-block: var(--section-gap);
}

.section--sm {
  padding-block: clamp(2rem, 4vw, 4rem);
}

.section--lg {
  padding-block: clamp(6rem, 10vw, 12rem);
}

.grid {
  display: grid;
  gap: var(--sp-8);
}

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

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--gap-4 { gap: var(--sp-4); }
.flex--gap-6 { gap: var(--sp-6); }
.flex--gap-8 { gap: var(--sp-8); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}


/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */

/* Display headings (Playfair) */
.display-1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.display-2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h5, .h5 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

h6, .h6 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-secondary);
}

.overline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-vibrant);
}

.caption {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

/* Data callouts — IBM Plex Mono */
.stat-number {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  font-weight: 500;
  color: var(--teal-vibrant);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

/* Italic highlight (Playfair italic) */
.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--coral);
}

/* Text colors */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-teal      { color: var(--teal-vibrant); }
.text-coral     { color: var(--coral); }
.text-white     { color: var(--white); }

/* Text align */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Max width for readable prose */
.prose {
  max-width: 68ch;
}


/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--teal-vibrant);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(10, 147, 150, 0);
}

.btn--primary:hover {
  background: #0bb3b7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(10, 147, 150, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
}

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

.btn--coral:hover {
  background: #f07d63;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 115, 90, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--teal-vibrant);
  border: 1px solid var(--teal-vibrant);
}

.btn--outline:hover {
  background: rgba(10, 147, 150, 0.08);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

/* Icon inside button */
.btn svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}


/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(7, 17, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-subtle);
  transition: background var(--t-base), box-shadow var(--t-base);
}

.nav.scrolled {
  background: rgba(7, 17, 15, 0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  gap: var(--sp-8);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-vibrant);
  line-height: 1;
  margin-top: 2px;
}

/* Desktop nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav__link--has-dropdown .nav__chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--t-base);
  color: var(--text-muted);
}

.nav__item:hover .nav__chevron,
.nav__item:focus-within .nav__chevron {
  transform: rotate(180deg);
  color: var(--teal-vibrant);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--sp-2));
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-surface);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 100;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}

.nav__dropdown-link:hover {
  background: rgba(10, 147, 150, 0.08);
}

.nav__dropdown-link-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.nav__dropdown-link-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.nav__dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-2) 0;
}

/* Nav right (CTA) */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Mobile toggle */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}

.nav__hamburger:hover {
  background: rgba(255,255,255,0.06);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-base);
  overflow-y: auto;
  padding: var(--sp-6) clamp(1rem, 4vw, 2rem) var(--sp-16);
  border-top: var(--border-subtle);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--t-slow), opacity var(--t-slow);
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile-link {
  display: block;
  padding: var(--sp-4) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: var(--border-subtle);
  transition: color var(--t-fast);
}

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

.nav__mobile-sublabel {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-vibrant);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-2);
}

.nav__mobile-sublink {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: var(--border-subtle);
  transition: color var(--t-fast);
}

.nav__mobile-sublink:hover {
  color: var(--text-primary);
}

.nav__mobile-cta {
  margin-top: var(--sp-8);
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: var(--border-subtle);
  padding-top: var(--sp-20);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 1.75fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-16);
  border-bottom: var(--border-subtle);
}

/* Col 1 — Brand */
.footer__brand-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-1);
}

.footer__brand-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-vibrant);
  margin-bottom: var(--sp-4);
}

.footer__brand-copy {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--sp-6);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(10, 147, 150, 0.2);
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.footer__social-link:hover {
  border-color: var(--teal-vibrant);
  color: var(--teal-vibrant);
  background: rgba(10, 147, 150, 0.08);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* Footer col heading */
.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

/* Footer nav links */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t-fast);
  line-height: 1;
}

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

/* Col 3 — CTA */
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.625rem 1.25rem;
  background: rgba(10, 147, 150, 0.12);
  border: 1px solid rgba(10, 147, 150, 0.30);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal-vibrant);
  transition: all var(--t-fast);
  margin-top: var(--sp-4);
  width: fit-content;
}

.footer__cta:hover {
  background: rgba(10, 147, 150, 0.20);
  border-color: var(--teal-vibrant);
}

/* Col 4 — Newsletter */
.footer__newsletter-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(10, 147, 150, 0.20);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.footer__input::placeholder {
  color: var(--text-faint);
}

.footer__input:focus {
  border-color: var(--teal-vibrant);
  background: rgba(10, 147, 150, 0.05);
  outline: none;
}

.footer__subscribe {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--teal-vibrant);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  border: none;
}

.footer__subscribe:hover {
  background: #0bb3b7;
  transform: translateY(-1px);
}

/* Sub-footer */
.footer__sub {
  padding-block: var(--sp-6);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  max-width: 900px;
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer__legal-links {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: var(--text-faint);
  transition: color var(--t-fast);
}

.footer__legal-link:hover {
  color: var(--text-muted);
}


/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 10vw, 10rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10, 147, 150, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__overline {
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  object-fit: cover;
  opacity: 0.35;
}

/* Gradient fade on hero image edge */
.hero__image-mask {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(to right, var(--bg-base) 0%, transparent 35%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}


/* ============================================================
   10. CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.card:hover {
  border-color: rgba(10, 147, 150, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card--feature {
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
}

.card--feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-vibrant));
  opacity: 0;
  transition: opacity var(--t-base);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(10, 147, 150, 0.12);
  border: 1px solid rgba(10, 147, 150, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--teal-vibrant);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}

.card__body {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   11. BADGE / PILL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge--teal {
  background: rgba(10, 147, 150, 0.12);
  color: var(--teal-vibrant);
  border: 1px solid rgba(10, 147, 150, 0.25);
}

.badge--coral {
  background: rgba(232, 115, 90, 0.12);
  color: var(--coral);
  border: 1px solid rgba(232, 115, 90, 0.25);
}

.badge--dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}


/* ============================================================
   12. DIVIDERS & DECORATIVE
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin-block: var(--sp-16);
}

.divider--short {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-vibrant), transparent);
  border: none;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
}

/* Gradient glow blob */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

.glow--teal {
  background: var(--teal-vibrant);
}

.glow--coral {
  background: var(--coral);
  opacity: 0.1;
}

/* Teal border-left accent */
.accent-left {
  border-left: 3px solid var(--teal-vibrant);
  padding-left: var(--sp-5);
}

.accent-left--coral {
  border-left-color: var(--coral);
}


/* ============================================================
   13. SECTION HEADER (reusable)
   ============================================================ */
.section-header {
  max-width: 700px;
  margin-bottom: var(--sp-16);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header .overline {
  margin-bottom: var(--sp-3);
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

.section-header .lead {
  max-width: 58ch;
}


/* ============================================================
   14. TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  position: relative;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid rgba(10, 147, 150, 0.3);
  flex-shrink: 0;
}

.testimonial__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial__mark {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--teal-vibrant);
  opacity: 0.15;
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  line-height: 1;
  pointer-events: none;
}


/* ============================================================
   15. FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(10, 147, 150, 0.20);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--teal-vibrant);
  background: rgba(10, 147, 150, 0.05);
}

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

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--coral);
}


/* ============================================================
   16. TABLE
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

thead tr {
  background: var(--bg-subtle);
  border-bottom: var(--border-light);
}

thead th {
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
}

tbody td {
  padding: var(--sp-4) var(--sp-5);
  color: var(--text-secondary);
  border-bottom: var(--border-subtle);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(10, 147, 150, 0.04);
}


/* ============================================================
   17. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
  background: rgba(10, 147, 150, 0.25);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 147, 150, 0.45);
}


/* ============================================================
   18. RESPONSIVE — Tablet (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: block; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }

  .footer__col--brand {
    grid-column: span 2;
  }

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

  .hero__image,
  .hero__image-mask {
    display: none;
  }
}


/* ============================================================
   19. RESPONSIVE — Mobile (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__col--brand {
    grid-column: span 1;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }
}


/* ============================================================
   20. UTILITY — SPACING, VISIBILITY
   ============================================================ */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

.hidden { display: none; }

@media (max-width: 900px) {
  .hide-tablet { display: none; }
}

@media (max-width: 600px) {
  .hide-mobile { display: none; }
}

/* Page body offset for fixed nav */
body { padding-top: var(--nav-height); }
