/* =============================================================
   nicrobb.com — Stylesheet
   Brand: Deep Navy · Electric Blue · Teal · Inter
   Dark / Light mode via [data-theme] on <html>
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Honeypot: hidden from humans, bots fill it */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens — Dark (default) ──────────────────────────────────────── */
:root, [data-theme="dark"] {
  --bg:        #0D1B2A;
  --bg-alt:    #1C1C2E;
  --card:      #1E2A3A;
  --text:      #FFFFFF;
  --text-sub:  #A0AEC0;
  --text-mid:  #4A5568;
  --border:    rgba(255,255,255,0.06);
  --border-lo: rgba(255,255,255,0.1);
  --nav-bg:    rgba(13,27,42,0.92);
  --grid-line: rgba(0,191,255,0.03);
  --input-bg:  rgba(255,255,255,0.06);
  --input-bd:  rgba(255,255,255,0.15);
  --blue:      #00BFFF;
  --teal:      #00D4A8;
  --btn-text:  #0D1B2A;
  --shadow:    none;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 960px;
  --section-pad: 96px 24px;
}

/* ── Design tokens — Light ────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:        #F7F8FC;
  --bg-alt:    #ECEEF4;
  --card:      #FFFFFF;
  --text:      #0D1B2A;
  --text-sub:  #4A5568;
  --text-mid:  #718096;
  --border:    rgba(0,0,0,0.06);
  --border-lo: rgba(0,0,0,0.1);
  --nav-bg:    rgba(247,248,252,0.95);
  --grid-line: rgba(0,191,255,0.05);
  --input-bg:  #FFFFFF;
  --input-bd:  rgba(0,0,0,0.2);
  --blue:      #0099CC;
  --teal:      #00B890;
  --btn-text:  #FFFFFF;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

section { padding: var(--section-pad); }

/* ── Typography ───────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-sub);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 600px;
}

.accent { color: var(--blue); }
.accent-teal { color: var(--teal); }

/* ── Diagonal grid texture ────────────────────────────────────────────────── */
.grid-bg {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    var(--grid-line) 30px,
    var(--grid-line) 31px
  );
}

/* ── Accent rule ──────────────────────────────────────────────────────────── */
.accent-rule {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--blue); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme toggle button */
.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-lo);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--blue); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  border: 1px solid rgba(0,191,255,0.4);
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--blue);
  color: var(--bg);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
#hero {
  padding: 160px 24px 96px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-inner h1 { margin-bottom: 24px; }
.hero-inner .lead { margin-bottom: 48px; }

/* ── Subscribe Form ───────────────────────────────────────────────────────── */
.subscribe-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 480px;
}

.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--input-bd);
  background: var(--input-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.3s;
}

.subscribe-form input[type="email"]::placeholder { color: var(--text-mid); }
.subscribe-form input[type="email"]:focus { border-color: var(--blue); }

.btn-primary {
  padding: 14px 24px;
  background: var(--blue);
  color: var(--btn-text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-note {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 12px;
}

.subscribe-success {
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  padding: 16px 0;
}

[data-status] {
  font-size: 13px;
  color: #FC8181;
  margin-top: 8px;
  min-height: 20px;
}

/* ── Pain Section ─────────────────────────────────────────────────────────── */
#pain {
  background: var(--bg-alt);
}

.pain-text {
  max-width: 680px;
}

.pain-text h2 { margin-bottom: 24px; }
.pain-text p { margin-bottom: 16px; }

.pain-highlight {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-lo);
}

/* ── Solution ─────────────────────────────────────────────────────────────── */
#solution {
  background: var(--bg);
}

.solution-intro {
  max-width: 640px;
  margin-bottom: 64px;
}

.solution-intro h2 { margin-bottom: 16px; }

.solution-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.solution-card {
  background: var(--card);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background 0.3s, border-color 0.3s;
}

.solution-card .card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.solution-card h3 { margin-bottom: 12px; color: var(--text); }
.solution-card p { font-size: 15px; }

/* ── Who It's For ─────────────────────────────────────────────────────────── */
#who {
  background: var(--bg-alt);
  text-align: center;
}

#who h2 { margin-bottom: 16px; }
#who > .container > p { max-width: 560px; margin: 0 auto 48px; }

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.tag {
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--border-lo);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.3s;
}

.who-cta {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.who-cta span { color: var(--teal); }

/* ── About ────────────────────────────────────────────────────────────────── */
#about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }

.about-img {
  aspect-ratio: 3/4;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 14px;
  transition: background 0.3s;
  /* Replace with: <img src="path/to/headshot.jpg" alt="Nic Robb"> */
}

/* ── What You Get ─────────────────────────────────────────────────────────── */
#get {
  background: var(--bg-alt);
}

#get h2 { margin-bottom: 48px; }

.get-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
}

.get-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.6;
}

.get-list .arrow {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.get-note {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* ── Final CTA ────────────────────────────────────────────────────────────── */
#cta {
  background: var(--bg);
  text-align: center;
}

#cta h2 { margin-bottom: 16px; }
#cta .lead { margin: 0 auto 40px; }
#cta .subscribe-form { margin: 0 auto; justify-content: center; }
#cta .form-note { text-align: center; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.3s;
}

footer p {
  font-size: 13px;
  color: var(--text-mid);
}

footer a { color: var(--text-sub); font-size: 13px; }
footer a:hover { color: var(--blue); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  #hero { padding: 120px 20px 64px; min-height: auto; }

  .solution-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { display: none; }
  .get-list { grid-template-columns: 1fr; }

  .subscribe-form { flex-direction: column; }
  .subscribe-form input[type="email"] { min-width: auto; width: 100%; }
}
