/* ═══════════════════════════════════════════════
   GERMWISE — Brand Mockup
   Identity: UV-glow sci-fi authority + warm Canadian friendliness
   Palette: Deep navy/near-black surfaces | UV purple #7B2FFF | Lime glow #B8F400 | Forest green trust #1A3C34
   Fonts: Cabinet Grotesk (display) + General Sans (body)
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root,
[data-theme="dark"] {
  /* Surfaces */
  --color-bg:          #07060F;
  --color-surface:     #0D0B1A;
  --color-surface-2:   #120F22;
  --color-surface-mid: #1A1630;
  --color-border:      rgba(123, 47, 255, 0.18);
  --color-divider:     rgba(255,255,255,0.06);

  /* Text */
  --color-text:        #F0EEF8;
  --color-text-muted:  #9E9AB8;
  --color-text-faint:  #524E6A;
  --color-text-inverse: #07060F;

  /* Accents */
  --color-uv:          #7B2FFF;       /* UV purple — signature */
  --color-uv-bright:   #9B5FFF;       /* lighter purple */
  --color-uv-glow:     rgba(123,47,255,0.35);
  --color-lime:        #B8F400;       /* lime glow — particle accent */
  --color-lime-muted:  rgba(184,244,0,0.18);
  --color-forest:      #1A4A3C;       /* Canadian authority green */
  --color-forest-text: #4DBA8F;       /* green on dark */
  --color-gold:        #C9A052;       /* authority warmth */

  /* Semantic */
  --color-primary:     var(--color-uv);
  --color-primary-hover: var(--color-uv-bright);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-uv: 0 0 40px rgba(123,47,255,0.25), 0 0 80px rgba(123,47,255,0.12);
  --shadow-lime: 0 0 20px rgba(184,244,0,0.4);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease-out);

  /* Layout */
  --content-default: 1120px;
  --content-narrow: 720px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

[data-theme="light"] {
  --color-bg:          #F4F2FF;
  --color-surface:     #FDFCFF;
  --color-surface-2:   #F0EEFF;
  --color-surface-mid: #E8E4FF;
  --color-border:      rgba(123, 47, 255, 0.2);
  --color-divider:     rgba(0,0,0,0.08);
  --color-text:        #130F28;
  --color-text-muted:  #4A4566;
  --color-text-faint:  #9E9AB8;
  --color-text-inverse: #FDFCFF;
  --color-uv-glow:     rgba(123,47,255,0.15);
  --color-lime-muted:  rgba(90,120,0,0.12);
  --color-forest-text: #1A6B4A;
  --shadow-uv: 0 0 30px rgba(123,47,255,0.15), 0 4px 24px rgba(123,47,255,0.1);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── TYPOGRAPHY TOKENS ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-forest-text);
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--lg { font-size: 1rem; padding: 0.9rem 2rem; }
.btn--sm { font-size: 0.82rem; padding: 0.55rem 1.1rem; }

.btn--primary {
  background: var(--color-uv);
  color: #fff;
  border-color: var(--color-uv);
}
.btn--primary:hover { background: var(--color-uv-bright); border-color: var(--color-uv-bright); }

.btn--glow {
  background: var(--color-uv);
  color: #fff;
  border-color: var(--color-uv);
  box-shadow: 0 0 24px rgba(123,47,255,0.4);
}
.btn--glow:hover {
  background: var(--color-uv-bright);
  box-shadow: 0 0 40px rgba(123,47,255,0.6), 0 0 80px rgba(123,47,255,0.2);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-forest-text);
  border-color: var(--color-forest-text);
}
.btn--outline:hover {
  background: var(--color-forest-text);
  color: var(--color-bg);
}

.btn--text {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
  padding-inline: 0;
}
.btn--text:hover { color: var(--color-lime); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s var(--ease-out);
}
.nav--scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.3); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--content-default);
  margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 5vw, 3rem);
}
.nav__logo {
  color: var(--color-text);
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.8; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--color-text); background: var(--color-surface-2); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.nav__theme-toggle:hover { background: var(--color-surface-2); color: var(--color-text); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,6,15,0.88) 0%,
    rgba(7,6,15,0.65) 45%,
    rgba(7,6,15,0.3) 100%
  );
}
[data-theme="light"] .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(20,10,60,0.82) 0%,
    rgba(20,10,60,0.55) 45%,
    rgba(20,10,60,0.2) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-default);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  max-width: 640px;
  margin-left: clamp(1.25rem, 8vw, 10vw);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 1.25rem;
}
.glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: var(--shadow-lime);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.75); }
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero__headline-em {
  font-style: italic;
  color: var(--color-uv-bright);
  text-shadow: 0 0 40px rgba(123,47,255,0.6), 0 0 80px rgba(123,47,255,0.3);
}
.hero__sub {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-pill {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(8px);
}

/* ── SECTORS ── */
.sectors {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--color-divider);
}
.sectors__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  text-align: center;
  margin-bottom: 2rem;
}
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.sector-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.sector-card:hover {
  border-color: var(--color-uv);
  box-shadow: var(--shadow-uv);
  transform: translateY(-2px);
}
.sector-card__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.sector-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.sector-card__desc { font-size: 0.83rem; color: var(--color-text-muted); line-height: 1.5; }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-surface);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}
.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-uv);
  text-shadow: 0 0 30px rgba(123,47,255,0.5);
  line-height: 1;
  margin-bottom: 1rem;
}
.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.step__desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }
.step__connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--color-uv), var(--color-lime));
  margin-top: 1.5rem;
  opacity: 0.4;
}

/* ── PRODUCT FEATURE ── */
.product-feature {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.product-feature__inner {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.product-feature__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-feature__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-uv);
}
.product-feature__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--color-lime);
  color: #07060F;
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.badge-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; line-height: 1; }
.badge-label { font-size: 0.72rem; font-weight: 700; line-height: 1.3; }
.product-feature__copy { display: flex; flex-direction: column; gap: 1rem; }
.product-feature__copy p { color: var(--color-text-muted); line-height: 1.7; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.feature-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: var(--shadow-lime);
}
.product-feature__cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ── EDUCATION SECTION ── */
.edu-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.edu-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,74,60,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.edu-section__inner {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.edu-section__copy { display: flex; flex-direction: column; gap: 1.25rem; }
.edu-section__copy p { color: var(--color-text-muted); line-height: 1.7; }
.edu-section__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.edu-section__img { width: 100%; object-fit: cover; }

/* ── CATEGORIES ── */
.categories {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-uv);
  border-color: var(--color-uv);
}
.cat-card--large { min-height: 280px; }
.cat-card__bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  transition: opacity var(--transition);
}
.cat-card:hover .cat-card__bg { opacity: 0.2; }
.cat-card__bg--kits { background: radial-gradient(circle at 60% 40%, #7B2FFF, #B8F400); }
.cat-card__bg--gels { background: radial-gradient(circle at 50% 50%, #4DBA8F, #07060F); }
.cat-card__bg--lamps { background: radial-gradient(circle at 50% 50%, #7B2FFF, #1A1630); }
.cat-card__bg--microbes { background: radial-gradient(circle at 50% 50%, #C9A052, #07060F); }
.cat-card__content { position: relative; z-index: 1; }
.cat-card__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin-bottom: 0.35rem; }
.cat-card__desc { font-size: 0.83rem; color: var(--color-text-muted); margin-bottom: 0.75rem; line-height: 1.4; }
.cat-card__cta { font-size: 0.8rem; font-weight: 600; color: var(--color-uv-bright); }

/* ── CTA BANNER ── */
.cta-banner {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-surface-mid);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-banner__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(123,47,255,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner__headline {
  font-size: clamp(2.5rem, 2rem + 3vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-em {
  font-style: italic;
  color: var(--color-uv-bright);
  text-shadow: 0 0 40px rgba(123,47,255,0.5);
}
.cta-banner__sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cta-banner__contact { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.contact-link:hover { color: var(--color-lime); }

/* ── FOOTER ── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  color: var(--color-uv-bright);
}
.footer__tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.footer__address {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.footer__sub-brand { font-size: 0.78rem; color: var(--color-text-faint); }
.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 1rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-uv-bright); }
.footer__bottom {
  border-top: 1px solid var(--color-divider);
  padding-block: 1.25rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.8rem; color: var(--color-text-faint); }
.footer__social { display: flex; gap: 1rem; }
.social-link {
  color: var(--color-text-faint);
  transition: color var(--transition);
}
.social-link:hover { color: var(--color-uv-bright); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .product-feature__inner,
  .edu-section__inner { grid-template-columns: 1fr; }
  .edu-section__img-wrap { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step__connector { width: 2px; height: 40px; background: linear-gradient(to bottom, var(--color-uv), var(--color-lime)); }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .sectors__grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__headline { font-size: clamp(2.5rem, 10vw, 4rem); }
}
