/* =========================================================
   Thrivance AI — Site Stylesheet
   Deep-space dark theme, neon cyan/magenta/purple gradients
   ========================================================= */

:root {
  --cyan: #00E5FF;
  --magenta: #FF2DFF;
  --purple: #7C3AED;
  --bg: #0A0F1A;
  --bg-raised: #0F1626;
  --bg-card: #121a2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --white: #FFFFFF;
  --text: #E7ECF6;
  --text-muted: #A9B3C7;
  --text-dim: #7A84A0;
  --gradient: linear-gradient(90deg, var(--cyan), var(--magenta), var(--purple));
  --gradient-soft: linear-gradient(90deg, rgba(0,229,255,0.15), rgba(255,45,255,0.15), rgba(124,58,237,0.15));
  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --font-heading: 'Orbitron', sans-serif;
  --font-sub: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
p { margin: 0 0 1em; color: var(--text-muted); }
button { font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 14px;
}

/* ---------- Ambient glow backgrounds ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-cyan { background: var(--cyan); }
.glow-magenta { background: var(--magenta); }
.glow-purple { background: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--bg);
  box-shadow: 0 0 0 rgba(255,45,255,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(255, 45, 255, 0.55);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 104px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-sub);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.88rem; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 200;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-logo img { height: 68px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    background: #070a12;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 24px 90px;
  text-align: center;
  overflow: hidden;
}
.hero .glow-cyan { width: 420px; height: 420px; top: -140px; left: -100px; }
.hero .glow-magenta { width: 480px; height: 480px; top: -60px; right: -140px; }
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 0.4em;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  padding: 90px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero .glow-purple { width: 400px; height: 400px; top: -160px; left: 50%; transform: translateX(-50%); }
.page-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.page-hero p { font-family: var(--font-sub); font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { position: relative; padding: 90px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-head p { font-family: var(--font-sub); font-size: 1.05rem; }
.section-alt { background: var(--bg-raised); }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.card h3 {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card a.card-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan);
}

/* ---------- Numbered steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  counter-reset: step;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-family: var(--font-sub); font-size: 1.1rem; }
.step p { font-size: 0.95rem; }

/* ---------- ROI / stat blocks ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
@media (max-width: 780px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block;
  margin-bottom: 8px;
}
.stat p { font-size: 0.92rem; margin: 0; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
.price-figure {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  margin: 18px 0 4px;
}
.price-figure .setup {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price-sub { font-family: var(--font-sub); color: var(--text-muted); margin-bottom: 30px; }
.price-list {
  text-align: left;
  margin: 0 auto 34px;
  max-width: 400px;
}
.price-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
  color: var(--text);
}
.price-list li:last-child { border-bottom: none; }
.price-list .check {
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}
.pilot-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gradient-soft);
  border: 1px solid var(--border-hover);
  color: var(--cyan);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
  max-width: 640px;
}
.form-success::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
.form-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--bg);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.form-success p { margin-bottom: 0; }

.form-error {
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 255, 0.4);
  background: rgba(255, 45, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; gap: 50px; } }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-weight: 600;
  color: var(--white);
  margin-top: 6px;
}
.calendly-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 700px;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0.6;
}
.cta-band-content { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }

/* ---------- About page ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
}
@media (max-width: 780px) { .pillars { grid-template-columns: 1fr; } }
.pillar { text-align: center; padding: 10px; }
.pillar .word {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 10px;
}
.founder-block {
  max-width: 760px;
  margin: 0 auto;
}
.founder-block p { font-size: 1.02rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
  background: var(--bg-raised);
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.footer-logo img { height: 30px; margin-bottom: 14px; }
.footer-tagline {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.footer-col h4 {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.94rem; color: var(--text-muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 14vw, 8rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

/* ---------- Landing pages (outreach) ---------- */
.problem-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.problem-list li:last-child { border-bottom: none; }
.problem-list .mark {
  color: var(--magenta);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.small-note { font-size: 0.85rem; color: var(--text-dim); }
