/* ============================================================
   FirstDropHQ — company website (V1)
   Canonical brand: bg #0A0F1E · text #FFFFFF/#F3F4F6 · accent #4A8FD4.
   Institutional, calm, professional. Mobile-first. No dependencies.
   ============================================================ */

:root {
  --bg: #0A0F1E;
  --bg-2: #0C1226;
  --panel: #111834;
  --card: #131B38;
  --border: rgba(120,150,220,0.16);
  --border-strong: rgba(120,150,220,0.30);
  --white: #FFFFFF;
  --text: #F3F4F6;
  --muted: #9AA7C2;
  --faint: #6B78A0;
  --accent: #4A8FD4;         /* canonical FirstDropHQ accent */
  --accent-2: #74A9E8;       /* lighter tint of the accent for gradient depth */
  --ink: #06122A;            /* dark text for on-accent surfaces */
  --shadow: 0 18px 50px -20px rgba(0,0,0,0.7);
  --maxw: 1120px;
  --radius: 16px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 14px;
}

h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  padding: 13px 22px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 26px -12px rgba(74,143,212,0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(74,143,212,0.6); }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

/* ---------- NAV ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,30,0.80);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 600; transition: color .15s ease; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-links.desktop { display: none; }
@media (min-width: 860px) { .nav-links.desktop { display: flex; } }

/* mobile nav toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text);
}
.nav-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .close-ico { display: none; }
.nav-toggle[aria-expanded="true"] .open-ico { display: none; }
.nav-toggle[aria-expanded="true"] .close-ico { display: block; }
@media (min-width: 860px) { .nav-toggle { display: none; } }

#mobileMenu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 10px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,15,30,0.96);
}
#mobileMenu.open { display: flex; }
#mobileMenu a { color: var(--muted); font-weight: 600; font-size: 16px; padding: 12px 4px; border-bottom: 1px solid var(--border); }
#mobileMenu a:last-child { border-bottom: 0; }
#mobileMenu a:hover { color: var(--white); }
@media (min-width: 860px) { #mobileMenu { display: none !important; } }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(74,143,212,0.20), transparent 60%),
    radial-gradient(680px 460px at 8% 12%, rgba(74,143,212,0.10), transparent 62%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 54px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.7rem); line-height: 1.04; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); margin: 22px 0 0; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* hero visual card */
.hero-visual {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow);
}
.hv-label { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 16px; }
.hv-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.hv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.hv-ico { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(74,143,212,0.14); color: var(--accent-2); }
.hv-ico svg { width: 18px; height: 18px; }
.hv-row .t { font-weight: 700; font-size: 15px; color: var(--text); }
.hv-row .s { color: var(--faint); font-size: 13px; }
.hv-row.accent .hv-ico { background: rgba(74,143,212,0.22); color: var(--accent-2); }

/* ---------- SECTION SHELL ---------- */
section { position: relative; }
.section-pad { padding: 84px 0; }
.section-head { max-width: 660px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); line-height: 1.1; }
.section-head p { color: var(--muted); margin: 16px 0 0; font-size: 1.06rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }

/* ---------- PROGRESSION LADDER ---------- */
.ladder { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.ladder .step { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: var(--muted); }
.ladder .step .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(120,150,220,0.14); color: var(--text); }
.ladder .step.s1 .n { background: rgba(74,143,212,0.22); color: var(--accent-2); }
.ladder .step.s2 .n { background: rgba(74,143,212,0.34); color: var(--white); }
.ladder .step.s3 .n { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--ink); }
.ladder .arw { color: var(--faint); }
.ladder .arw svg { width: 15px; height: 15px; display: block; }

/* ---------- PRODUCT CARDS ---------- */
.cards { display: grid; gap: 22px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card.featured {
  border: 1px solid transparent; box-shadow: var(--shadow);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
}
.card-tier { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; min-height: 24px; }
.tier-name { font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.tier-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: linear-gradient(100deg, var(--accent), var(--accent-2)); padding: 4px 10px; border-radius: 20px; }
.card h3 { font-size: 1.32rem; line-height: 1.2; margin: 8px 0 0; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 16px 0 4px; }
.price .amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--white); }
.price .once { color: var(--faint); font-size: 13.5px; font-weight: 600; }
.card .blurb { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.feat { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.feat li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.feat li svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--accent-2); }
.card .btn { width: 100%; margin-top: auto; }
.card-note { text-align: center; color: var(--faint); font-size: 12.5px; margin-top: 12px; }

/* ---------- GROWING LIBRARY ---------- */
.lib-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .lib-grid { grid-template-columns: 1fr 1fr; } }
.lib-col { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
.lib-label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 9px; }
.lib-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lib-label.available { color: var(--accent-2); }
.lib-label.soon { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 20px; background: rgba(120,150,220,0.07); border: 1px solid var(--border); color: var(--muted); }
.chip.on { color: var(--text); border-color: var(--border-strong); background: rgba(74,143,212,0.10); }

/* ---------- TOOLS ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .tools-grid { grid-template-columns: repeat(5, 1fr); } }
.tool {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 24px 16px;
  transition: transform .16s ease, border-color .16s ease;
}
.tool:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.tool .logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: 17px; color: #fff; }
.tool .name { font-weight: 700; font-size: 15px; color: var(--text); }
.tool .role { color: var(--faint); font-size: 12.5px; line-height: 1.4; }
.tools-foot { text-align: center; color: var(--faint); font-size: 13px; margin-top: 24px; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-body p { color: var(--muted); font-size: 1.06rem; margin: 0 0 18px; max-width: 58ch; }
.about-body p strong { color: var(--text); font-weight: 700; }
.about-body h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); line-height: 1.1; margin-bottom: 22px; }
.principles { display: flex; flex-direction: column; gap: 14px; }
.principle { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 13px; padding: 18px 20px; }
.principle .pi { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(74,143,212,0.14); color: var(--accent-2); }
.principle .pi svg { width: 19px; height: 19px; }
.principle .pt { font-weight: 700; font-size: 15px; margin-bottom: 3px; color: var(--text); }
.principle .ps { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ---------- CONTACT ---------- */
.contact-card {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--border); border-radius: 20px; padding: clamp(30px, 5vw, 52px);
  text-align: center; box-shadow: var(--shadow);
}
.contact-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.contact-card p { color: var(--muted); max-width: 52ch; margin: 16px auto 28px; font-size: 1.06rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-email { margin: 18px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.contact-email a { color: var(--accent-2); }

/* ---------- FOOTER ---------- */
footer.foot { border-top: 1px solid var(--border); padding: 52px 0 40px; background: var(--bg-2); }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .brand-logo { height: 34px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 16px 0 0; max-width: 36ch; }
.foot-col h4 { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin: 0 0 16px; }
.foot-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 11px; transition: color .15s ease; }
.foot-col a:hover { color: var(--accent-2); }
.foot-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; text-align: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.foot-trust span { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.foot-trust a { color: var(--accent-2); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 22px; color: var(--faint); font-size: 13px; }

/* reveal on load */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .6s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
