/* ================================
   PRUP LABS CONSULTING — styles.css
   ================================ */

/* TOKENS */
:root {
  --navy:    #0D1B2A;
  --steel:   #2C5F8A;
  --teal:    #00B4A6;
  --slate:   #8B9CB0;
  --off-white: #F7F9FC;
  --white:   #FFFFFF;
  --border:  rgba(139, 156, 176, 0.18);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h: 68px;
  --max-w: 1140px;
  --radius: 10px;
  --transition: 220ms ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* CONTAINER */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.nav.scrolled {
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo-dot {
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  color: var(--teal) !important;
  border: 1px solid var(--teal);
  padding: 7px 18px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition) !important;
}
.nav__cta:hover {
  background: var(--teal);
  color: var(--navy) !important;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--teal);
  color: var(--navy);
}
.btn--primary:hover {
  background: #00cfc0;
  transform: translateY(-1px);
}
.btn--ghost {
  border: 1.5px solid var(--border);
  color: var(--off-white);
}
.btn--ghost:hover {
  border-color: var(--off-white);
  background: rgba(247,249,252,0.05);
}
.btn--full { width: 100%; }

/* ================================
   SECTION SHARED
   ================================ */
.section { padding: 100px 0; }
.section__eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.section__title em {
  font-style: normal;
  color: var(--teal);
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 28px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}
.hero__pipeline {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#pipelineCanvas {
  width: 100%;
  height: 100%;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s ease forwards;
}
.hero__accent { color: var(--teal); }
.hero__sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s ease forwards;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.8s ease forwards;
}
.hero__metrics {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 48px;
  margin-top: 72px;
  opacity: 0;
  animation: fadeUp 0.7s 1s ease forwards;
}
.metric__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
}
.metric__label {
  display: block;
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 3px;
}

/* ================================
   ABOUT
   ================================ */
.about { background: rgba(255,255,255,0.025); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__body {
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}
.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.pillar:hover { border-color: rgba(0, 180, 166, 0.35); }
.pillar__icon {
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 4px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.pillar p { font-size: 0.9rem; color: var(--slate); line-height: 1.6; }

/* ================================
   SERVICES
   ================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.service-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}
.service-card:hover {
  border-color: rgba(0, 180, 166, 0.4);
  transform: translateY(-3px);
}
.service-card--highlight {
  background: rgba(0, 180, 166, 0.07);
  border-color: rgba(0, 180, 166, 0.3);
}
.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--teal);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--border);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.service-card__tags li {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(44, 95, 138, 0.25);
  color: var(--slate);
  border: 1px solid rgba(44, 95, 138, 0.4);
}

/* ================================
   PROCESS
   ================================ */
.process { background: rgba(255,255,255,0.025); }
.process__steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process__step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  padding-bottom: 40px;
}
.process__step:last-child { padding-bottom: 0; }
.step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.step__line {
  flex: 1;
  width: 1px;
  background: var(--border);
  margin-top: 6px;
}
.step__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 1px var(--teal);
  flex-shrink: 0;
}
.step__dot--last { margin-top: 6px; }
.step__content { padding-top: 0; }
.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.step__content p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.65;
  max-width: 560px;
}

/* ================================
   CONTACT
   ================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact__text p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate);
}
.contact__info svg { color: var(--teal); flex-shrink: 0; }

/* FORM */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form__group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.form__group input,
.form__group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
  outline: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: rgba(139,156,176,0.5); }
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--teal);
  background: rgba(0,180,166,0.04);
}
.form__note {
  font-size: 0.85rem;
  color: var(--teal);
  min-height: 20px;
  text-align: center;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
}
.footer__tagline {
  font-size: 0.85rem;
  color: var(--slate);
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(139,156,176,0.5);
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__metrics { gap: 28px; }
  .services__grid { grid-template-columns: 1fr; }
  .nav__links { 
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(13,27,42,0.97);
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }
  .process__steps { gap: 0; }
  .contact__text .section__title { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
