/* ============================================================
   BullNotes — Landing Page
   Dark frosted glass · green gradient · punchy & bold
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-0: #07090d;          /* deepest */
  --bg-1: #0a0c10;          /* page */
  --bg-2: #0d1117;          /* raised */
  --glass: rgba(18, 18, 20, 0.72);
  --glass-2: rgba(255, 255, 255, 0.045);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-2: rgba(255, 255, 255, 0.14);

  /* Text */
  --ink: rgba(255, 255, 255, 0.96);
  --ink-2: rgba(255, 255, 255, 0.62);
  --ink-3: rgba(255, 255, 255, 0.40);
  --ink-4: rgba(255, 255, 255, 0.24);

  /* Accent (tweakable) */
  --accent: #4ade80;
  --accent-2: #16a34a;
  --accent-deep: #15803d;
  --accent-glow: rgba(74, 222, 128, 0.55);
  --accent-soft: rgba(74, 222, 128, 0.12);

  /* Signals */
  --buy: #4ade80;
  --hold: #d4a017;
  --sell: #f85149;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-1);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page ambient glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(74, 222, 128, 0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(34, 197, 94, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

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

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 13px;
  cursor: pointer;
  border: 0.5px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.22s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #042b12;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  background: var(--glass-2);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-1px); }

.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-md { padding: 12px 20px; font-size: 14.5px; }

.chrome-dot {
  width: 17px; height: 17px; flex: none;
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0 100%);
  position: relative;
}
.chrome-dot::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 50%; background: #042b12;
}

/* ===================== Nav ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 0.5px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.35);
  position: relative; overflow: hidden;
}
.brand-bull {
  width: 23px; height: 23px; margin-top: 2px;
  color: #06210f;
  transform: scaleX(-1);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.12));
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
}
.brand-name b { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color 0.18s ease;
}
.nav-link:hover { color: var(--ink); }

/* ===================== Section scaffolding ===================== */
section { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent); opacity: 0.6;
}
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  margin-top: 20px; text-wrap: balance;
}
.section-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2);
  line-height: 1.6; margin-top: 20px; max-width: 560px;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .wrap, .nav-inner { padding-left: 22px; padding-right: 22px; }
  .nav-links .nav-link { display: none; }
}
