/* ═══════════════════════════════════════════════════════
   PRASORA — process.css
   Light-first, narrative-driven, consumer-focused
   ═══════════════════════════════════════════════════════ */

@font-face {
  font-family: 'PrasoraFont';
  src: url('../fonts/PrasoraFont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ──────────── TOKENS — LIGHT ──────────── */
:root {
  --bg: #fafbfd;
  --bg-alt: #f1f4f9;
  --surface: #ffffff;
  --border: rgba(74, 158, 228, 0.22);
  --border-soft: rgba(0, 0, 0, 0.06);

  --blue: #2b7cc9;
  --blue-bright: #1b6ab5;
  --blue-glow: rgba(74, 158, 228, 0.12);
  --blue-deep: rgba(74, 158, 228, 0.06);

  --text-1: #1a1a2e;
  --text-2: #4a5568;
  --text-3: #8892a4;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-brand: 'PrasoraFont', system-ui, sans-serif;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1080px;
  --max-w-wide: 1200px;
  --nav-h: 64px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.07);
}

/* ──────────── DARK ──────────── */
[data-theme="dark"] {
  --bg: #0d0f14;
  --bg-alt: #131620;
  --surface: #1a1e2c;
  --border: rgba(74, 158, 228, 0.18);
  --border-soft: rgba(255, 255, 255, 0.06);

  --blue: #4a9ee4;
  --blue-bright: #62b3f5;
  --blue-glow: rgba(74, 158, 228, 0.15);
  --blue-deep: rgba(74, 158, 228, 0.08);

  --text-1: #eef2f8;
  --text-2: #9ba8c0;
  --text-3: #556078;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
}

/* ──────────── RESET ──────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 2rem; }
.container--wide { max-width: var(--max-w-wide); }
@media (max-width: 640px) { .container { padding-inline: 1.5rem; } }

/* ──────────── REVEAL ──────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ──────────── BUTTONS ──────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: var(--r-md);
  font-size: 0.88rem; font-weight: 600;
  transition: all 0.22s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 24px var(--blue-glow); }
.btn--ghost { border-color: var(--border-soft); color: var(--text-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-deep); }

/* ──────────── SECTION ──────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__label {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.25rem;
}

/* ──────────── NARRATIVE BLOCKS ──────────── */
.narrative { max-width: var(--max-w); }
.narrative__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800; line-height: 1.2;
  color: var(--text-1); margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.narrative__body p {
  color: var(--text-2); font-size: 1rem;
  line-height: 1.82; margin-bottom: 1.25rem;
}
.narrative__body p:last-child { margin-bottom: 0; }
.narrative__body strong { color: var(--text-1); font-weight: 600; }
.narrative__body em { font-style: italic; color: var(--text-1); }

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 251, 253, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s;
}
[data-theme="dark"] .nav { background: rgba(13, 15, 20, 0.9); }

.nav__inner {
  max-width: var(--max-w-wide); margin-inline: auto; padding-inline: 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo-img { width: 30px; height: 30px; border-radius: 6px; }
.nav__logo-text {
  font-family: var(--font-brand); font-size: 1.7rem;
  color: var(--text-1); text-transform: lowercase; line-height: 1;
  transform: translateY(-8%);
}
.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__link { font-size: 0.82rem; font-weight: 500; color: var(--text-3); transition: color 0.2s; }
.nav__link:hover, .nav__link.active { color: var(--text-1); }
.nav__cta {
  font-size: 0.82rem; font-weight: 600; padding: 0.4rem 1rem;
  border-radius: var(--r-sm); background: var(--blue); color: #fff;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--blue-bright); }

.theme-toggle {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border-soft); color: var(--text-3);
  transition: all 0.2s; flex-shrink: 0;
}
.theme-toggle:hover { background: var(--blue-deep); color: var(--blue); border-color: var(--border); }
.theme-toggle svg { width: 16px; height: 16px; pointer-events: none; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
}
.nav__burger span {
  display: block; width: 20px; height: 1.5px; background: var(--text-2);
  border-radius: 99px; transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none; position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgba(250, 251, 253, 0.97); backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  }
  [data-theme="dark"] .nav__links { background: rgba(13, 15, 20, 0.97); }
  .nav__links.is-open { display: flex; }
  .nav__link, .nav__cta { font-size: 1.1rem; }
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 80svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
}
.hero__bg-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(74,158,228,0.06) 0%, transparent 70%);
}
[data-theme="dark"] .hero__bg-glow {
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(74,158,228,0.10) 0%, transparent 70%);
}
.hero__content { position: relative; z-index: 1; text-align: center; max-width: 780px; margin-inline: auto; }
.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 1.5rem; color: var(--text-1);
}
.hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem); color: var(--text-2);
  line-height: 1.75; max-width: 640px; margin-inline: auto; margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero__headline { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════
   PAIN POINTS (client quotes)
   ════════════════════════════════════════════ */
.pain-points {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.pain-point {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 1.25rem 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pain-point:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.pain-point__icon { color: var(--text-3); flex-shrink: 0; margin-top: 2px; }
.pain-point__icon svg { width: 20px; height: 20px; }
.pain-point p {
  font-size: 0.9rem; color: var(--text-2); line-height: 1.65;
  font-style: italic;
}
.pain-point p strong { color: var(--text-1); font-weight: 600; font-style: normal; }

@media (max-width: 700px) {
  .pain-points { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   TIMELINE (brainstorm → build → go live)
   ════════════════════════════════════════════ */
.timeline {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 2.5rem;
}
.timeline__step {
  flex: 0 1 260px; text-align: center;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 2rem 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.timeline__step:hover { border-color: var(--border); box-shadow: var(--shadow-md); }
.timeline__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 0.9rem; font-weight: 800; margin-bottom: 0.75rem;
}
.timeline__step h4 { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.25rem; }
.timeline__duration {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
}
.timeline__step p { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }
.timeline__step p strong { color: var(--text-1); font-weight: 600; }
.timeline__connector {
  flex-shrink: 0; width: 40px; height: 2px;
  background: var(--border); align-self: center; margin-top: -1rem;
}

@media (max-width: 700px) {
  .timeline { flex-direction: column; align-items: stretch; gap: 0; }
  .timeline__step { flex: none; }
  .timeline__connector { width: 2px; height: 24px; align-self: center; margin: 0; }
}

/* ════════════════════════════════════════════
   CONTRAST (problem vs solution)
   ════════════════════════════════════════════ */
.contrast {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem; align-items: stretch; margin-top: 3rem;
}
.contrast__card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contrast__card:hover { border-color: var(--border); box-shadow: var(--shadow-md); }
.contrast__card--problem { border-left: 3px solid var(--text-3); }
.contrast__card--solution { border-left: 3px solid var(--blue); }
.contrast__icon { margin-bottom: 1rem; color: var(--blue); }
.contrast__icon svg { width: 24px; height: 24px; }
.contrast__card h3 { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.75rem; }
.contrast__card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.72; }
.contrast__list {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
}
.contrast__list li {
  font-size: 0.87rem; color: var(--text-2); line-height: 1.55;
  padding-left: 1.25rem; position: relative;
}
.contrast__list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%;
}
.contrast__card--problem .contrast__list li::before { background: var(--text-3); opacity: 0.5; }
.contrast__card--solution .contrast__list li::before { background: var(--blue); }
.contrast__vs {
  display: flex; align-items: center; font-size: 0.75rem;
  font-weight: 700; color: var(--text-3); letter-spacing: 0.05em;
}

@media (max-width: 700px) {
  .contrast { grid-template-columns: 1fr; }
  .contrast__vs { justify-content: center; padding: 0.5rem 0; }
}

/* ════════════════════════════════════════════
   THREE-COL (data / workflow / people)
   ════════════════════════════════════════════ */
.three-col {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}
.three-col__item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.three-col__item:hover { border-color: var(--border); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.three-col__icon { color: var(--blue); margin-bottom: 1rem; }
.three-col__icon svg { width: 22px; height: 22px; }
.three-col__item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.5rem; }
.three-col__item p { font-size: 0.86rem; color: var(--text-2); line-height: 1.7; }

@media (max-width: 700px) { .three-col { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════
   FOUR-GRID (data / process / people / analytics)
   ════════════════════════════════════════════ */
.four-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; margin-top: 2.5rem;
}
.four-grid__item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.four-grid__item:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.four-grid__item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.15rem; }
.four-grid__sub {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 0.75rem;
}
.four-grid__item p { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }

@media (max-width: 640px) { .four-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════
   HIGHLIGHTS (inline chips)
   ════════════════════════════════════════════ */
.highlights {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem; justify-content: center;
}
.highlight {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem; background: var(--blue-deep);
  border: 1px solid var(--border); border-radius: 99px;
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
}
.highlight svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════
   CLIENTS CAROUSEL
   ════════════════════════════════════════════ */
.clients__carousel { margin-top: 2.5rem; }
.clients__track {
  display: flex; gap: 1.25rem; overflow-x: auto;
  scroll-behavior: smooth; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 1rem;
  scrollbar-width: none;
}
.clients__track::-webkit-scrollbar { display: none; }
.client__card {
  flex: 0 0 320px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.client__card:hover { border-color: var(--border); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.client__name { font-size: 1.05rem; font-weight: 800; color: var(--text-1); margin-bottom: 0.15rem; }
.client__type {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem;
}
.client__card p { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; }

.clients__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.clients__btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border-soft); background: var(--surface);
  color: var(--text-3); transition: all 0.2s;
}
.clients__btn svg { width: 16px; height: 16px; pointer-events: none; }
.clients__btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-deep); }
.clients__btn:disabled { opacity: 0.25; cursor: not-allowed; }
.clients__dots { display: flex; gap: 5px; }
.clients__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-3);
  transition: all 0.2s; cursor: pointer; border: none; padding: 0;
}
.clients__dot.active { background: var(--blue); width: 16px; border-radius: 3px; }

@media (max-width: 640px) { .client__card { flex: 0 0 calc(100vw - 3rem); } }

/* ════════════════════════════════════════════
   FOUNDER
   ════════════════════════════════════════════ */
.founder__story { max-width: var(--max-w); }
.founder__story .narrative__title { font-style: italic; }
.founder__story p {
  color: var(--text-2); font-size: 1rem; line-height: 1.82;
  margin-bottom: 1.25rem;
}
.founder__meta {
  display: flex; gap: 2.5rem; margin: 2rem 0;
  padding: 1.5rem 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.founder__stat strong {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1.1;
}
.founder__stat span { font-size: 0.78rem; color: var(--text-3); }
.founder__links { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════ */
.section--cta { text-align: center; padding: 5rem 0 6rem; }
.cta__body {
  color: var(--text-2); font-size: 1rem; line-height: 1.78;
  max-width: 520px; margin-inline: auto; margin-bottom: 2rem;
}
.cta__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding: 3rem 0; }
.footer__inner {
  max-width: var(--max-w-wide); margin-inline: auto; padding-inline: 2rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
}
.footer__brand p { font-size: 0.76rem; color: var(--text-3); margin-top: 0.4rem; }
.footer__nav { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.footer__nav a { font-size: 0.76rem; color: var(--text-3); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text-1); }
.footer__copy { font-size: 0.7rem; color: var(--text-3); text-align: right; }

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { justify-content: center; }
  .footer__copy { text-align: center; }
  .footer__brand .nav__logo { justify-content: center; }
}

/* ════════════════════════════════════════════
   GLOBAL RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav__inner { padding-inline: 1rem; }
  .founder__meta { flex-direction: column; gap: 1rem; }
}
