/* ============================================================
   Kinetic Edge Design — stylesheet
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f1f6ff;
  --surface: #ffffff;
  --surface-2: #f4f8ff;
  --border: rgba(26, 39, 50, 0.10);
  --border-strong: rgba(26, 39, 50, 0.22);

  --text: #1a2732;
  --text-muted: #4b5563;
  --text-faint: #78828e;

  --blue: #009cfe;
  --navy: #1a2732;
  --navy-hover: #2e4256;
  --yellow: #ffdb2b;
  --gradient: linear-gradient(135deg, var(--blue), var(--navy));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-glow: 0 0 0 1px rgba(26, 39, 50, 0.06), 0 20px 45px -20px rgba(26, 39, 50, 0.20);

  --container-w: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

/* Bold italic lean on the primary display headings, echoing the
   logo's slanted wordmark. Kept off h3/h4 so smaller UI text (card
   titles, labels) stays upright and easy to scan. */
h1, h2 {
  font-weight: 700;
  font-style: oblique 8deg;
}

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  position: relative;
  color: var(--navy);
  background-image: linear-gradient(180deg, transparent 60%, rgba(0, 156, 254, 0.5) 60%, rgba(0, 156, 254, 0.5) 90%, transparent 90%);
  background-repeat: no-repeat;
  padding: 0 2px;
}

.capacity-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 156, 254, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.capacity-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 219, 43, 0.22);
  flex-shrink: 0;
}
.capacity-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.55;
  animation: capacity-pulse 2.2s ease-out infinite;
}

@keyframes capacity-pulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .capacity-dot::after { animation: none; display: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 20px -8px rgba(26, 39, 50, 0.3);
}
.skip-link:focus { left: 0; }

/* ---------------- Background layers ---------------- */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(26, 39, 50, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 39, 50, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 40%, transparent 90%);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}
.bg-glow--one {
  width: 640px; height: 640px;
  top: -220px; left: -160px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}
.bg-glow--two {
  width: 560px; height: 560px;
  top: 30%; right: -220px;
  background: radial-gradient(circle, var(--navy), transparent 70%);
  opacity: 0.14;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 10px 26px -10px rgba(26, 39, 50, 0.55);
}
.btn--primary:hover { background: var(--navy-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(26, 39, 50, 0.5); }

.btn--ghost {
  background: rgba(26, 39, 50, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(26, 39, 50, 0.07); }

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
  width: 100%;
}
.btn--outline:hover { border-color: var(--navy); background: rgba(0, 156, 254, 0.10); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 108px 0 96px;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.12rem;
  max-width: 620px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-label { font-size: 0.85rem; color: var(--text-faint); }

.hero-lines {
  position: absolute;
  left: 0; right: 0; bottom: -20px;
  width: 100%;
  height: 260px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.kinetic-path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
}
.kinetic-path--a { stroke: var(--navy); opacity: 0.3; animation: dash-move 26s linear infinite; }
.kinetic-path--b { stroke: var(--blue); opacity: 0.55; animation: dash-move 34s linear infinite reverse; }
.kinetic-path--c { stroke: var(--navy); opacity: 0.15; animation: dash-move 20s linear infinite; }

@keyframes dash-move {
  to { stroke-dashoffset: -1000; }
}

/* ---------------- Trust strip ---------------- */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: space-between;
  padding: 28px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1 1 200px;
}
.trust-item svg { width: 22px; height: 22px; fill: var(--navy); flex-shrink: 0; }
.trust-item:nth-child(4) svg { fill: var(--yellow); }

/* ---------------- Sections ---------------- */

.section { padding: 112px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 8%, var(--bg-alt) 92%, transparent); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-lede { font-size: 1.05rem; }

/* ---------------- Pricing cards ---------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-grid--three { grid-template-columns: repeat(3, 1fr); }

.price-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}

.price-card--featured {
  border-color: rgba(26, 39, 50, 0.3);
  background: linear-gradient(180deg, rgba(0, 156, 254, 0.14), var(--surface-2));
  box-shadow: 0 0 0 1px rgba(0, 156, 254, 0.35), 0 24px 50px -28px rgba(26, 39, 50, 0.25);
}

.price-card__tag {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card__head h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card__blurb { font-size: 0.9rem; min-height: 42px; }

.price { margin: 4px 0 20px; }
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.price-period { font-size: 0.95rem; color: var(--text-faint); }

.feature-list { flex: 1; margin-bottom: 24px; }
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(0, 156, 254, 0.22);
  border: 1px solid rgba(26, 39, 50, 0.35);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 8.5px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
}

.price-card__offer {
  font-size: 0.82rem;
  color: var(--navy);
  background: rgba(255, 219, 43, 0.25);
  border: 1px solid rgba(255, 219, 43, 0.65);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
}

.pricing-footnote {
  text-align: center;
  margin-top: 40px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* ---------------- Process ---------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.process-step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.process-step:hover::after { transform: scaleX(1); }

.process-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--navy);
  width: 34px; height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; }
.process-step p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------------- About ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about-copy p { font-size: 1rem; }

.about-list {
  display: grid;
  gap: 20px;
}
.about-item {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.about-item h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.about-item p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------------- CTA banner ---------------- */

.cta-banner {
  padding: 88px 0;
  background: linear-gradient(135deg, rgba(0, 156, 254, 0.16), rgba(26, 39, 50, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.cta-banner p { font-size: 1.05rem; margin-bottom: 32px; }

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.contact-details { margin-top: 28px; display: grid; gap: 16px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.contact-details a { color: var(--navy); font-weight: 600; }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: 0 1px 3px rgba(26, 39, 50, 0.05);
}
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(26, 39, 50, 0.02);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 0.94rem;
  resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 156, 254, 0.35);
}
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
  min-height: 1.2em;
}
.form-status[data-state="sending"] { color: var(--text-faint); }
.form-status[data-state="success"] { color: #1a7f4b; }
.form-status[data-state="error"] { color: #c22b2b; }

.btn[disabled] { opacity: 0.65; pointer-events: none; }

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand .brand-logo { height: 30px; }
.footer-brand p { font-size: 0.9rem; margin-top: 10px; max-width: 260px; }
.footer-nav { display: grid; gap: 12px; }
.footer-nav a { font-size: 0.9rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--text); }
.footer-meta { font-size: 0.86rem; color: var(--text-faint); display: grid; gap: 8px; text-align: right; }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-meta { text-align: left; }
}

/* ---------------- Reveal-on-scroll ---------------- */

/* Visible by default so content is never hidden for no-JS users, slow
   script loads, or crawlers. Only once JS confirms it can run the
   reveal animation does .has-js hide elements pending intersection. */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

html.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
html.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-js .reveal { opacity: 1; transform: none; transition: none; }
  .kinetic-path { animation: none; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .pricing-grid,
  .pricing-grid--three { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 780px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .header-actions .btn--sm { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .pricing-grid,
  .pricing-grid--three,
  .process-grid { grid-template-columns: 1fr; }
  .hero { padding: 88px 0 72px; }
  .section { padding: 80px 0; }
  .trust-inner { justify-content: flex-start; }
}
