/* =====================================================
   AQUA DROP CO. — Shared Stylesheet
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --navy:      #0B1F2E;
  --navy2:     #112234;
  --navy3:     #0D2A3F;
  --teal:      #1B9DAA;
  --teal-lt:   #28BDD0;
  --teal-dim:  rgba(27,157,170,.1);
  --teal-rule: rgba(27,157,170,.2);
  --slate:     #3B5166;
  --mist:      #EEF4F6;
  --mist2:     #F5F9FA;
  --white:     #FFFFFF;
  --ink:       #0B1F2E;
  --body:      #4A6070;
  --border:    #DDE6EC;

  --cat-mol:  #2E87E0;
  --cat-bac:  #2AAA6E;
  --cat-dia:  #C75B2A;
  --cat-bld:  #B53060;

  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TYPE HELPERS ── */
.mono { font-family: 'Space Mono', monospace; }
.serif { font-family: 'DM Serif Display', serif; }
h1,h2,h3 { font-family: 'DM Serif Display', serif; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem,5vw,4rem); }
h2 { font-size: clamp(1.9rem,3.5vw,2.8rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content:''; width:24px; height:1px; background:var(--teal); flex-shrink:0; }

/* ── NAVIGATION ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(11,31,46,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27,157,170,.14);
}
.nav-logo {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--teal-dim);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav-logo-icon svg { width: 36px; height: 36px; }
.nav-logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem; color: var(--white); line-height: 1.1;
}
.nav-logo-name small {
  display: block; font-family: 'Space Mono', monospace;
  font-size: .55rem; letter-spacing: .12em; color: var(--teal);
  text-transform: uppercase; font-style: normal;
}
.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a {
  font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.55); text-decoration: none;
  padding: 7px 14px; border-radius: 5px; letter-spacing: .02em;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(27,157,170,.14); }
.nav-links a.active { color: var(--teal-lt); background: rgba(27,157,170,.1); }
.nav-cta {
  background: var(--teal); color: var(--white);
  padding: 8px 20px; border-radius: 5px;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-lt); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,.8); transition: .3s; }

/* mobile overlay */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 490;
  background: var(--navy); padding: 88px 6vw 40px;
  flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.05rem; font-weight: 500;
  color: rgba(255,255,255,.75); text-decoration: none;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--teal-lt); }

/* ── PAGE OFFSET ── */
.page-body { padding-top: var(--nav-h); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 72px 5vw 64px;
  border-bottom: 1px solid rgba(27,157,170,.12);
}
.page-hero .eyebrow { color: var(--teal-lt); }
.page-hero .eyebrow::before { background: var(--teal-lt); }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.5); font-size: 1rem; line-height: 1.75; max-width: 540px; }

/* ── SLIDE RULE DIVIDER ── */
.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(27,157,170,.2) 60%, transparent 100%);
}

/* ── BUTTONS ── */
.btn-fill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  padding: 12px 26px; border-radius: 5px;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  letter-spacing: .02em; transition: background .2s, transform .15s;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-fill:hover { background: var(--teal-lt); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--teal); color: var(--teal);
  padding: 12px 26px; border-radius: 5px;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  letter-spacing: .02em; transition: background .2s, color .2s;
  background: transparent; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-ghost-wh {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75);
  padding: 12px 26px; border-radius: 5px;
  font-size: .88rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s, color .2s; background: transparent;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-ghost-wh:hover { border-color: var(--teal); color: var(--teal-lt); }

/* ── PRODUCT CARD ── */
.product-card {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  background: var(--white);
}
.product-card:hover {
  box-shadow: 0 10px 32px rgba(11,31,46,.1);
  transform: translateY(-4px); border-color: var(--teal);
}
.pc-top {
  padding: 26px 24px 18px;
  border-bottom: 1px solid #EEF1F3;
}
.pc-badge {
  display: inline-block; padding: 3px 10px; border-radius: 3px;
  font-family: 'Space Mono', monospace; font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.pc-icon { font-size: 1.8rem; margin-bottom: 10px; }
.pc-top h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pc-top p { font-size: .85rem; color: var(--body); line-height: 1.6; }
.pc-bottom {
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.pc-meta { font-family: 'Space Mono', monospace; font-size: .6rem; color: #99AABB; letter-spacing: .06em; text-transform: uppercase; }
.pc-link {
  font-size: .78rem; font-weight: 600; color: var(--teal);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.pc-link:hover { gap: 9px; }
.pc-brand {
  font-family: 'Space Mono', monospace; font-size: .6rem;
  color: var(--teal); letter-spacing: .08em; text-transform: uppercase;
  margin-top: 10px;
}
.pc-crumb {
  font-family: 'Space Mono', monospace; font-size: .58rem;
  color: #aab8c2; letter-spacing: .04em;
  max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-brand {
  font-family: 'Space Mono', monospace; font-size: .6rem;
  color: var(--teal); letter-spacing: .08em; text-transform: uppercase;
  margin-top: 10px;
}
.pc-crumb {
  font-family: 'Space Mono', monospace; font-size: .58rem;
  color: #aab8c2; letter-spacing: .05em;
  max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── FOOTER ── */
#footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 5vw 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; color: var(--white); margin-bottom: 3px;
}
.footer-brand-sub {
  font-family: 'Space Mono', monospace;
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.footer-desc { font-size: .84rem; color: rgba(255,255,255,.38); line-height: 1.75; max-width: 280px; }
#footer h5 {
  font-family: 'Space Mono', monospace; font-size: .6rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 18px;
}
#footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
#footer ul a { font-size: .85rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
#footer ul a:hover { color: var(--teal-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-family: 'Space Mono', monospace; font-size: .68rem; color: rgba(255,255,255,.28); }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-family: 'Space Mono', monospace; font-size: .68rem; color: rgba(255,255,255,.28); text-decoration: none; transition: color .2s; }
.footer-socials a:hover { color: var(--teal); }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: var(--white);
  padding: 12px 24px; border-radius: 50px;
  font-size: .85rem; font-weight: 500;
  border: 1px solid rgba(27,157,170,.3);
  opacity: 0; transition: opacity .3s, transform .3s;
  z-index: 9999; white-space: nowrap;
  pointer-events: none;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.success { border-color: var(--cat-bac); color: #7effc0; }
#toast.error   { border-color: var(--cat-bld); color: #ffb3c6; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
