/* ============================================================
   AI Operator's Playbook — Shared Styles
   Locked palette + typography for aioperatorsplaybook.com
   Reference: mockups/website-mockup-v5.html (canonical)
   ============================================================ */

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

:root {
  /* Locked brand colors */
  --purple: #7C3AED;
  --magenta: #C026D3;
  --black: #111111;
  --ink: #0F0F12;
  --slate: #525252;
  --slate-soft: #737373;
  --bg: #FFFFFF;
  --bg-tint: #FAFAFA;
  --soft-purple: #F5F0FF;
  --soft-magenta: #F9F0FF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --grad: linear-gradient(135deg, #7C3AED 0%, #C026D3 100%);

  /* Status */
  --done: #10B981;
  --partial: #F59E0B;
  --error: #DC2626;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   GRADIENT UTILITIES
   ============================================================ */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-bg { background: var(--grad); }

/* ============================================================
   NAV (sticky top, marketing site)
   ============================================================ */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -.02em;
}
.nav-logo .ven {
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .9; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(124,58,237,.22);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(124,58,237,.32);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 16px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ============================================================
   HERO + MARKETING SECTIONS
   ============================================================ */
.hero {
  padding: 110px 48px 110px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
  padding: 6px 14px;
  background: var(--soft-purple);
  border-radius: 5px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--black);
  max-width: 980px;
  margin-bottom: 32px;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 20px;
  color: var(--slate);
  max-width: 680px;
  line-height: 1.55;
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Proof bar */
.proof {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 48px;
}
.proof-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
.proof-stats {
  display: flex;
  gap: 48px;
  flex: 1;
  flex-wrap: wrap;
}
.proof-stat {
  display: flex;
  flex-direction: column;
}
.proof-stat .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proof-stat .lbl {
  font-size: 13px;
  color: var(--slate-soft);
  margin-top: 4px;
}

/* Standard section */
section.block {
  padding: 120px 48px;
  max-width: 1180px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--soft-purple);
  border-radius: 5px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--black);
  max-width: 820px;
  margin-bottom: 22px;
}
.section-sub {
  font-size: 18px;
  color: var(--slate);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 60px;
}

/* ============================================================
   TIER CARDS (pricing)
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
}
.tier {
  background: linear-gradient(180deg, var(--soft-purple) 0%, #FBF7FF 100%);
  border: 1px solid #E9DFFC;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(124,58,237,.14);
}
.tier.featured {
  background: linear-gradient(155deg, var(--purple) 0%, var(--magenta) 100%);
  color: #fff;
}
.tier.featured::before {
  content: "Most teams start here";
  position: absolute;
  top: -12px;
  left: 24px;
  background: #0F0F12;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}
.tier-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.tier.featured .tier-name { color: #fff; }
.tier-desc {
  font-size: 13px;
  color: var(--slate-soft);
  margin-bottom: 24px;
  min-height: 36px;
  line-height: 1.4;
}
.tier.featured .tier-desc { color: rgba(255,255,255,.78); }
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.tier-price .amt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -.022em;
  line-height: 1;
}
.tier.featured .tier-price .amt { color: #fff; }
.tier-price .per {
  font-size: 13px;
  color: var(--slate-soft);
}
.tier.featured .tier-price .per { color: rgba(255,255,255,.65); }
.tier-seats {
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 24px;
}
.tier.featured .tier-seats { color: #fff; }
.tier-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.tier-features li {
  font-size: 13.5px;
  color: var(--slate);
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tier.featured .tier-features li { color: rgba(255,255,255,.92); }
.tier-features li::before {
  content: "✓";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-purple);
  border-radius: 50%;
  margin-top: 1px;
}
.tier.featured .tier-features li::before {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.tier-cta {
  background: #fff;
  color: var(--ink);
  padding: 13px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all .15s;
}
.tier.featured .tier-cta {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.tier-cta:hover {
  border-color: var(--purple);
  color: var(--purple);
}

/* ============================================================
   ICP — DARK GRADIENT BAND (signature moment)
   ============================================================ */
.icp {
  position: relative;
  color: #fff;
  padding: 130px 48px;
  overflow: hidden;
  background: #0F0F12;
}
.icp::before {
  content: "";
  position: absolute;
  width: 80vw;
  height: 120%;
  left: -15%;
  top: -10%;
  background: radial-gradient(circle, var(--purple) 0%, transparent 60%);
  opacity: .55;
  filter: blur(50px);
}
.icp::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 80%;
  right: -10%;
  bottom: 0;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 65%);
  opacity: .45;
  filter: blur(60px);
}
.icp-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.icp .section-eyebrow {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.icp .section-title {
  color: #fff;
  max-width: 880px;
}
.icp-quote {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.4;
  color: #fff;
  max-width: 880px;
  margin: 48px 0 16px;
  letter-spacing: -.01em;
}
.icp-attrib {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-foot {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  padding: 56px 48px 40px;
  font-size: 13px;
  color: var(--slate);
}
.foot {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.foot-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--black);
  font-size: 17px;
  letter-spacing: -.01em;
}
.foot-brand .ven {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 13px;
  transition: color .15s;
}
.foot-links a:hover { color: var(--purple); }

/* ============================================================
   AUTH PAGES (login, signup)
   ============================================================ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bg-tint);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 44px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
}
.auth-card h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: var(--black);
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.15;
}
.auth-card .sub {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 32px;
}
.auth-card .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.auth-card label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--slate);
}
.auth-card input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .15s;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--purple);
}
.auth-card button.submit {
  width: 100%;
  background: var(--grad);
  color: #fff;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  transition: opacity .15s, transform .15s;
}
.auth-card button.submit:hover {
  opacity: .92;
  transform: translateY(-1px);
}
.auth-card button.submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.auth-card .alt-link {
  text-align: center;
  font-size: 13px;
  color: var(--slate);
  margin-top: 20px;
}
.auth-card .alt-link a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}
.auth-card .error {
  background: #FEE2E2;
  color: #991B1B;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-card .info {
  background: var(--soft-purple);
  color: var(--purple);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}
.auth-brand a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--black);
  text-decoration: none;
}
.auth-brand .ven {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero h1 { font-size: 46px; }
  .icp-quote { font-size: 24px; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section-title { font-size: 34px; }
}

@media (max-width: 600px) {
  nav.site-nav { padding: 0 24px; }
  .hero { padding: 60px 24px; }
  .hero h1 { font-size: 36px; }
  section.block { padding: 60px 24px; }
  .icp { padding: 80px 24px; }
  .tiers { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
}
