/* ============================================================
   Notebook of a COO — v3 marketing stylesheet
   Netflix/Hulu-style rebuild. Used across every marketing page.
   ============================================================ */

:root {
  --black: #07060a;
  --surface: #0f0d12;
  --card: #15131a;
  --white: #f5f1e8;
  --text-bright: #e7e2d6;
  --text: #b9b2a3;
  --text-muted: #8a8478;
  --gold: #cba85a;
  --gold-light: #e2c878;
  --gold-dim: rgba(203, 168, 90, 0.10);
  --gold-border: rgba(203, 168, 90, 0.30);
  --gold-grad: linear-gradient(135deg, #e2c878, #cba85a);
  --border-subtle: rgba(245, 241, 232, 0.08);
  --border-strong: rgba(245, 241, 232, 0.18);
  --display: 'Cormorant Garamond', Georgia, serif;
  --display-bold: 'Barlow Condensed', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
  --t: 280ms cubic-bezier(.2,.7,.25,1);
  --shell-x: 44px;
}
@media (max-width: 900px) { :root { --shell-x: 24px; } }
@media (max-width: 520px) { :root { --shell-x: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { background: var(--black); color: var(--text-bright); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Header (aligned + mobile hamburger) ---------- */
.v3-hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(7,6,10,0.88) 0%, rgba(7,6,10,0.55) 60%, transparent 100%);
  transition: background 240ms, backdrop-filter 240ms, border-bottom-color 240ms;
  border-bottom: 1px solid transparent;
}
.v3-hdr.scrolled { background: rgba(7,6,10,0.96); backdrop-filter: blur(14px); border-bottom-color: var(--border-subtle); }
.v3-hdr__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px var(--shell-x);
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 28px; align-items: center;
}
.v3-hdr__logo { display: inline-flex; align-items: center; }
.v3-hdr__logo img { height: 28px; width: auto; display: block; }
.v3-hdr__nav { display: flex; gap: 26px; align-items: center; justify-content: center; }
.v3-hdr__nav a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-bright); opacity: 0.78;
  transition: opacity .2s, color .2s; white-space: nowrap;
}
.v3-hdr__nav a:hover { opacity: 1; color: var(--gold-light); }
.v3-hdr__right { display: flex; gap: 12px; align-items: center; justify-self: end; }
.v3-hdr__login { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); opacity: 0.78; white-space: nowrap; }
.v3-hdr__login:hover { color: var(--gold-light); opacity: 1; }
.v3-hdr__cta {
  padding: 9px 16px; background: var(--gold-grad); color: #1a1408 !important;
  border-radius: 4px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em;
  white-space: nowrap; transition: transform var(--t);
}
.v3-hdr__cta:hover { color: #1a1408 !important; transform: translateY(-1px); }
.v3-hdr__burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--border-strong);
  border-radius: 4px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.v3-hdr__burger span { width: 18px; height: 1.5px; background: var(--text-bright); transition: transform .25s, opacity .25s; }
.v3-hdr__burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.v3-hdr__burger.open span:nth-child(2) { opacity: 0; }
.v3-hdr__burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.v3-hdr__panel {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0;
  background: rgba(7,6,10,0.98); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px var(--shell-x) 26px;
  z-index: 99;
}
.v3-hdr__panel.open { display: block; }
.v3-hdr__panel a {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  border-bottom: 1px solid var(--border-subtle);
}
.v3-hdr__panel a:last-of-type { border-bottom: 0; }
.v3-hdr__panel a.is-cta {
  margin-top: 16px;
  background: var(--gold-grad); color: #1a1408;
  padding: 14px 18px; border-radius: 4px;
  border-bottom: 0; text-align: center; letter-spacing: 0.04em;
  font-weight: 700;
}

@media (max-width: 900px) {
  .v3-hdr__nav, .v3-hdr__login { display: none; }
  .v3-hdr__burger { display: inline-flex; }
  .v3-hdr__cta { display: none; }
}

/* ---------- Billboard hero ---------- */
.v3-billboard {
  position: relative; min-height: 88vh;
  display: flex; align-items: flex-end; overflow: hidden;
  padding: 110px var(--shell-x) 80px;
}
@media (max-width: 760px) {
  .v3-billboard { min-height: 78vh; padding: 96px var(--shell-x) 54px; }
}
.v3-billboard__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
  opacity: 0.5;
  filter: brightness(0.85) contrast(1.02);
}
.v3-billboard::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(7,6,10,1) 0%, rgba(7,6,10,0.96) 28%, rgba(7,6,10,0.7) 52%, rgba(7,6,10,0.32) 78%, rgba(7,6,10,0.1) 100%),
    linear-gradient(to top, rgba(7,6,10,1) 0%, rgba(7,6,10,0.78) 28%, rgba(7,6,10,0.3) 58%, transparent 80%);
}
.v3-billboard::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 12% 70%, rgba(203,168,90,0.22) 0%, transparent 55%);
}
.v3-billboard__inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; gap: 22px;
}
.v3-billboard__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-chip {
  font-family: var(--display-bold); font-weight: 800;
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10,10,12,0.62); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); color: var(--white);
}
.v3-chip--gold { background: var(--gold-grad); color: #1a1408; border-color: transparent; }
.v3-chip--ghost { color: var(--gold-light); border-color: var(--gold-border); }

.v3-billboard__title {
  font-family: var(--display-bold); font-weight: 900;
  font-size: clamp(2.8rem, 8.4vw, 7.4rem);
  line-height: 0.9; letter-spacing: -0.008em;
  color: #ffffff; text-transform: uppercase;
  max-width: 18ch; margin: 0;
  text-shadow:
    0 0 38px rgba(0,0,0,0.95),
    0 8px 28px rgba(0,0,0,0.85),
    0 2px 6px rgba(0,0,0,0.9);
}
.v3-billboard__title em {
  font-family: var(--display); font-style: italic; font-weight: 600;
  text-transform: none; color: var(--gold-light);
  letter-spacing: -0.005em;
  display: block; font-size: 0.6em; line-height: 1.1;
  margin-top: 10px;
  text-shadow:
    0 0 28px rgba(0,0,0,0.95),
    0 4px 22px rgba(0,0,0,0.85),
    0 2px 4px rgba(0,0,0,0.9);
}
.v3-billboard__sub {
  max-width: 60ch; color: #ffffff;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.65; opacity: 1;
  font-weight: 400; margin: 0;
  text-shadow:
    0 0 22px rgba(0,0,0,0.85),
    0 2px 10px rgba(0,0,0,0.85);
}
.v3-billboard__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

.v3-rotate {
  font-family: var(--display); font-style: italic;
  color: var(--gold-light);
  font-size: clamp(1.15rem, 1.85vw, 1.65rem);
  margin: -2px 0 0; letter-spacing: -0.005em;
  text-shadow:
    0 0 22px rgba(0,0,0,0.95),
    0 2px 14px rgba(0,0,0,0.85);
  font-weight: 500;
}
.v3-rotate__word { display: inline-block; min-width: 9ch; position: relative; color: var(--gold-light); }
.v3-rotate__word span { display: inline-block; transition: opacity 360ms ease, transform 360ms ease; }
.v3-rotate__word span.out { opacity: 0; transform: translateY(-10px); }
.v3-rotate__word span.in  { opacity: 1; transform: translateY(0); }

.v3-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; font-weight: 700; font-size: 0.9rem;
  border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  font-family: var(--sans); white-space: nowrap; text-decoration: none;
}
.v3-btn--white { background: rgba(244,240,231,0.94); color: #1a1408; }
.v3-btn--white:hover { background: var(--white); transform: translateY(-1px); }
.v3-btn--gold { background: var(--gold-grad); color: #1a1408; }
.v3-btn--gold:hover { box-shadow: 0 8px 24px rgba(203,168,90,0.3); transform: translateY(-1px); }
.v3-btn--ghost { background: rgba(20,17,13,0.62); backdrop-filter: blur(8px); border-color: var(--border-strong); color: var(--text-bright); }
.v3-btn--ghost:hover { border-color: var(--gold-border); color: var(--gold-light); }
.v3-btn--lg { padding: 16px 32px; font-size: 1rem; }

.v3-billboard__meta { color: var(--text-bright); opacity: 0.85; font-size: 0.88rem; margin-top: 6px; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }

/* ---------- Pillar rail / content rows ---------- */
.v3-rail { padding: 80px var(--shell-x); }
@media (max-width: 760px) { .v3-rail { padding: 60px var(--shell-x); } }
.v3-rail + .v3-rail { padding-top: 20px; }
.v3-rail__head {
  max-width: 1320px; margin: 0 auto 26px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.v3-rail__title {
  font-family: var(--display-bold); font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem); color: var(--white);
  letter-spacing: -0.005em; text-transform: uppercase;
  margin: 0;
}
.v3-rail__title em { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--gold-light); text-transform: none; }
.v3-rail__sub { color: var(--text-muted); font-size: 0.94rem; max-width: 540px; margin: 6px 0 0; }
.v3-rail__link { color: var(--gold-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.v3-rail__link:hover { color: var(--gold); }

.v3-row { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.v3-row--3 { grid-template-columns: repeat(3, 1fr); }
.v3-row--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .v3-row { grid-template-columns: repeat(2, 1fr); } .v3-row--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .v3-row, .v3-row--3, .v3-row--2 { grid-template-columns: 1fr; gap: 14px; } }
.v3-tile {
  position: relative; border-radius: 8px; overflow: hidden;
  background: var(--card); border: 1px solid var(--border-subtle);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: block; text-decoration: none; color: inherit;
}
.v3-tile:hover { transform: translateY(-4px); border-color: var(--gold-border); box-shadow: 0 26px 60px rgba(0,0,0,0.45); }
.v3-tile__art { position: relative; aspect-ratio: 16/9; background: #14110d; overflow: hidden; }
.v3-tile__art img { width: 100%; height: 100%; object-fit: cover; }
.v3-tile__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(7,6,10,0.85) 100%); pointer-events: none; }
.v3-tile__chip { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--display-bold); font-weight: 800; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(10,10,12,0.7); backdrop-filter: blur(6px); border: 1px solid var(--border-strong); color: var(--gold-light); }
.v3-tile__body { padding: 16px 18px 18px; }
.v3-tile__title { font-family: var(--display); color: var(--text-bright); font-weight: 600; font-size: 1.05rem; line-height: 1.25; margin: 0 0 6px; }
.v3-tile__meta { color: var(--text-muted); font-size: 0.78rem; line-height: 1.55; margin: 0; }
.v3-tile__price { color: var(--gold-light); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; margin-top: 8px; }
.v3-tile__cta { color: var(--gold-light); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 12px; display: inline-block; }
.v3-tile__cta::after { content: '  \2192'; }

/* ---------- Editorial body ---------- */
.v3-prose { padding: 100px var(--shell-x); background: linear-gradient(180deg, var(--black) 0%, var(--surface) 100%); }
@media (max-width: 760px) { .v3-prose { padding: 70px var(--shell-x); } }
.v3-prose__inner { max-width: 760px; margin: 0 auto; }
.v3-prose h2 { font-family: var(--display-bold); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3.2rem); color: var(--white); text-transform: uppercase; letter-spacing: -0.005em; line-height: 1; margin: 0 0 28px; }
.v3-prose h2 em { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--gold-light); text-transform: none; display: block; font-size: 0.55em; line-height: 1.2; margin-top: 14px; }
.v3-prose p { color: var(--text-bright); font-size: clamp(1rem, 1.1vw, 1.1rem); line-height: 1.75; margin: 0 0 18px; }
.v3-prose .v3-pull { border-left: 3px solid var(--gold); padding: 18px 24px; margin: 36px 0; font-family: var(--display); font-style: italic; color: var(--text-bright); font-size: clamp(1.12rem, 1.4vw, 1.24rem); line-height: 1.55; background: var(--gold-dim); border-radius: 0 8px 8px 0; }

/* ---------- Stats row ---------- */
.v3-stats { padding: 60px var(--shell-x); background: var(--surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.v3-stats__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 760px) { .v3-stats__grid { grid-template-columns: repeat(2,1fr); gap: 24px; } }
.v3-stat__num { font-family: var(--display-bold); font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--gold-light); line-height: 1; letter-spacing: -0.01em; }
.v3-stat__label { color: var(--text-muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 10px; }

/* ---------- Process / Steps ---------- */
.v3-steps { padding: 100px var(--shell-x); background: var(--surface); }
@media (max-width: 760px) { .v3-steps { padding: 70px var(--shell-x); } }
.v3-steps__inner { max-width: 1080px; margin: 0 auto; }
.v3-steps__head { margin-bottom: 40px; }
.v3-eyebrow { color: var(--gold); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; }
.v3-h2 { font-family: var(--display-bold); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); text-transform: uppercase; line-height: 1; margin: 0; }
.v3-h2 em { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--gold-light); text-transform: none; }
.v3-lede { color: var(--text-muted); max-width: 620px; margin: 16px 0 0; line-height: 1.7; font-size: 1rem; }
.v3-step { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--border-subtle); }
@media (max-width: 520px) { .v3-step { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; } }
.v3-step__num { font-family: var(--display-bold); font-size: clamp(1.7rem, 2.4vw, 2.4rem); font-weight: 700; color: var(--gold-light); line-height: 1; }
.v3-step h4 { font-family: var(--display); color: var(--white); font-size: 1.35rem; font-weight: 600; margin: 0 0 6px; }
.v3-step p { color: var(--text); font-size: 0.95rem; line-height: 1.7; max-width: 720px; margin: 0; }

/* ---------- Testimonials ---------- */
.v3-testi { padding: 100px var(--shell-x); }
@media (max-width: 760px) { .v3-testi { padding: 70px var(--shell-x); } }
.v3-testi__inner { max-width: 1320px; margin: 0 auto; }
.v3-testi__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.v3-testi__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 880px) { .v3-testi__grid { grid-template-columns: 1fr; } }
.v3-testi__card { background: var(--card); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color var(--t), transform var(--t); margin: 0; }
.v3-testi__card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.v3-testi__stars { color: var(--gold-light); letter-spacing: 3px; font-size: 0.95rem; }
.v3-testi__card blockquote { font-family: var(--display); font-size: 1.08rem; line-height: 1.5; color: var(--white); font-style: italic; margin: 0; }
.v3-testi__card figcaption { font-size: 0.82rem; color: var(--text-bright); font-weight: 600; margin-top: auto; }
.v3-testi__card figcaption span { color: var(--text-muted); font-weight: 400; }

/* ---------- Final CTA ---------- */
.v3-final { padding: 130px var(--shell-x); background: var(--surface); text-align: center; position: relative; overflow: hidden; }
@media (max-width: 760px) { .v3-final { padding: 80px var(--shell-x); } }
.v3-final::before { content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse, rgba(203,168,90,0.10) 0%, transparent 70%); }
.v3-final__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.v3-final h2 { font-family: var(--display-bold); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.8rem); color: var(--white); text-transform: uppercase; line-height: 1; margin: 0 0 18px; text-shadow: 0 4px 28px rgba(0,0,0,0.6); }
.v3-final h2 em { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--gold-light); text-transform: none; display: block; font-size: 0.55em; line-height: 1.2; margin-top: 14px; }
.v3-final p { color: var(--text-bright); font-size: 1.05rem; line-height: 1.65; margin: 0 0 32px; }

/* ---------- Footer ---------- */
.v3-foot { padding: 70px var(--shell-x) 32px; background: var(--black); border-top: 1px solid var(--border-subtle); }
.v3-foot__top { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border-subtle); }
@media (max-width: 880px) { .v3-foot__top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .v3-foot__top { grid-template-columns: 1fr; gap: 22px; } }
.v3-foot__logo img { height: 26px; margin-bottom: 14px; }
.v3-foot__about { color: var(--text-muted); font-size: 0.86rem; line-height: 1.65; }
.v3-foot__col h5 { font-family: var(--display-bold); color: var(--gold); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.v3-foot__col ul { list-style: none; padding: 0; margin: 0; }
.v3-foot__col li { margin-bottom: 10px; }
.v3-foot__col a { color: var(--text); font-size: 0.88rem; }
.v3-foot__col a:hover { color: var(--gold-light); }
.v3-foot__bottom { max-width: 1320px; margin: 24px auto 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.82rem; }

/* ---------- Helpers ---------- */
.v3-section-dark { background: var(--black); }
.v3-section-surface { background: var(--surface); }
.v3-section-grad { background: linear-gradient(180deg, var(--black), var(--surface)); }