/* ============================================================
   Paradigm Shift Consulting — design system
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-alt: #0a101c;
  --surface: #0e1626;
  --surface-2: #121c30;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #e8eef7;
  --text-muted: #9aa8bc;
  --accent: #38d3f5;
  --accent-2: #6e8bff;
  --accent-dim: rgba(56, 211, 245, 0.12);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.18rem; line-height: 1.35; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #051018;
  box-shadow: 0 8px 28px rgba(56, 211, 245, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(56, 211, 245, 0.32); }

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-small { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}

.brand-mark { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-accent { color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  transition: color 0.18s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  position: relative;
  z-index: 95; /* keep the toggle above the slide-out menu panel */
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s 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); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(4, 7, 14, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, black 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, black 35%, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: rgba(56, 211, 245, 0.13);
  top: -160px; right: -120px;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  background: rgba(110, 139, 255, 0.12);
  bottom: -180px; left: -140px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-50px, 36px); }
}

.hero-inner { position: relative; max-width: 820px; }

.hero-sub {
  font-size: 1.16rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 70px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { font-size: 0.85rem; color: var(--text-muted); }

.stat-divider { width: 1px; height: 44px; background: var(--border-strong); }

/* ---------- trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 34px 0;
}

.trust-label {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  list-style: none;
}

.trust-items li {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  border-radius: 999px;
  padding: 8px 18px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.trust-items li:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 60px; }

.section-sub {
  color: var(--text-muted);
  font-size: 1.06rem;
  margin-top: 18px;
}

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:nth-last-child(-n+2) {
  grid-column: span 3;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 211, 245, 0.4);
  box-shadow: 0 18px 44px rgba(2, 8, 20, 0.55);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(56, 211, 245, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.card p { color: var(--text-muted); font-size: 0.96rem; }

.card-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.card-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* ---------- AI ---------- */
.section-ai {
  position: relative;
  overflow: hidden;
}

.section-ai::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(56, 211, 245, 0.09), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(110, 139, 255, 0.1), transparent 34%);
  pointer-events: none;
}

.ai-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.ai-copy p:not(.eyebrow):not(.section-sub) {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 1.04rem;
}

.ai-panel {
  background: linear-gradient(160deg, rgba(18, 28, 48, 0.96) 0%, rgba(14, 22, 38, 0.96) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(2, 8, 20, 0.48);
  overflow: hidden;
}

.ai-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(56, 211, 245, 0.7);
}

.ai-panel-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ai-items {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.ai-item {
  background: var(--surface);
  padding: 28px 30px;
}

.ai-item h3 { margin-bottom: 8px; }
.ai-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- approach steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(110, 139, 255, 0.45); }

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  display: inline-block;
  margin-bottom: 14px;
}

.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.93rem; }
.step em { color: var(--text); font-style: italic; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p { color: var(--text-muted); margin-top: 18px; font-size: 1.04rem; }
.about-text strong { color: var(--text); }
.about-text em { color: var(--text); }

.book-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 38px 34px 38px 46px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.5);
}

.book-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.book-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.book-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.book-subtitle {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.book-meta {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---------- proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card,
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.proof-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.proof-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.quote-card {
  position: relative;
  border-color: rgba(56, 211, 245, 0.24);
}

.quote-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 0 4px 4px 0;
}

.quote-card p {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.55;
}

/* ---------- credentials ---------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cred {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cred:hover { border-color: rgba(56, 211, 245, 0.4); transform: translateY(-3px); }

.cred-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}

.cred-org { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- contact ---------- */
.section-contact {
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: "";
  position: absolute;
  left: 50%; top: -200px;
  transform: translateX(-50%);
  width: 760px; height: 480px;
  background: radial-gradient(ellipse, rgba(56, 211, 245, 0.09), transparent 70%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.contact-inner .section-sub { margin-left: auto; margin-right: auto; max-width: 480px; }

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 44px rgba(56, 211, 245, 0.12);
}

.contact-card svg {
  width: 28px; height: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-card-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  word-break: break-word;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-brand .brand-mark { width: 24px; height: 24px; }

.footer-copy { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card,
  .card:nth-last-child(-n+2) { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .ai-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px;
    gap: 28px;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .brand-accent { display: none; }

  .hero { padding-top: 120px; }
  .hero-stats { gap: 22px; }
  .stat-divider { display: none; }

  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
}
