/* =========================================================
   Palissa Washington — AI Automation Strategist
   ========================================================= */

:root {
  --bg: #0b0f14;
  --bg-alt: #10151c;
  --surface: #151b23;
  --surface-border: #232b36;
  --text: #eef1f5;
  --text-dim: #9aa5b1;
  --text-faint: #6b7684;
  --accent: #2dd4bf;
  --accent-dim: #1f9c8c;
  --accent-amber: #f0b429;
  --radius: 14px;
  --max-width: 1120px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

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;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: var(--accent); text-decoration: none; }

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

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-amber));
  z-index: 1000;
  transition: width .05s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  background: transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.nav-cta) {
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  color: var(--accent) !important;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
  border-color: var(--accent);
}
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #06231f;
  box-shadow: 0 0 0 0 rgba(45,212,191,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -6px rgba(45,212,191,.45);
  background: #3fe0ca;
}
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--text);
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
}
.hero-sub-2 {
  font-size: 15.5px;
  color: var(--text-faint);
  max-width: 600px;
  border-left: 2px solid var(--surface-border);
  padding-left: 16px;
}
.hero-actions { margin-top: 36px; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--surface-border);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text);
}
.section-lead {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 40px;
}
.section-close {
  margin-top: 48px;
  font-size: 18px;
  color: var(--text);
  max-width: 680px;
  font-family: var(--font-head);
  font-weight: 500;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; margin-top: 40px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dim);
  background: #161d26;
}
.card h3 { font-size: 19px; color: var(--text); }
.card p { font-size: 15px; margin-bottom: 0; }
.card-icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
  color: var(--accent);
}
.card-icon svg { width: 100%; height: 100%; }
.card-lg { padding: 36px; position: relative; }
.card-index {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

/* ---------- Problems list ---------- */
.problem-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.problem-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--surface-border);
  font-size: 18px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  position: relative;
  padding-left: 28px;
}
.problem-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 28px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
}

/* ---------- Why / stats ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.why-copy p { font-size: 16px; }
.why-copy p:first-of-type { color: var(--text); font-size: 17px; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.4;
}

/* ---------- Tools ---------- */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--surface-border);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.tool-col {
  background: var(--bg);
  padding: 30px 24px;
}
.tool-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 10px;
}
.tool-col p { font-size: 14.5px; color: var(--text-dim); margin: 0; }

/* ---------- Offer ---------- */
.section-offer { padding: 100px 0; }
.offer-box {
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 60px;
  text-align: left;
}
.offer-box p { color: var(--text-dim); font-size: 16px; }
.offer-lead { color: var(--text) !important; font-weight: 600; margin-top: 24px; }
.offer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}
.offer-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--surface-border);
  position: relative;
  color: var(--text);
  font-size: 15.5px;
}
.offer-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Contact ---------- */
.section-contact { background: var(--bg-alt); text-align: center; }
.section-contact .section-title { max-width: 700px; margin-left: auto; margin-right: auto; }
.section-contact > .container > p { max-width: 560px; margin-left: auto; margin-right: auto; }

.contact-form {
  text-align: left;
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.form-row input, .form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-status { text-align: center; font-size: 14px; margin: 14px 0 0; min-height: 20px; color: var(--accent); }
.contact-fallback {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid var(--surface-border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-faint);
}
.footer-inner a { color: var(--text-faint); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- Reveal animation base state ---------- */
.reveal { opacity: 0; transform: translateY(28px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .offer-box { padding: 40px 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(11,15,20,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--surface-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a:not(.nav-cta) { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--surface-border); }
  .nav-cta { margin-top: 14px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 80px; }
}
