@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&display=swap');

/* ─── Tokens ─── */
:root {
  --bg:         #070F1E;
  --bg-mid:     #0C1829;
  --navy:       #0D1F3C;
  --blue:       #2563EB;
  --blue-hover: #1D4ED8;
  --blue-glow:  rgba(37, 99, 235, 0.18);
  --blue-dim:   rgba(37, 99, 235, 0.12);
  --blue-light: #60A5FA;
  --green:      #10B981;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --g100:       #F1F5F9;
  --g200:       #E2E8F0;
  --g400:       #94A3B8;
  --g500:       #64748B;
  --g600:       #475569;
  --g700:       #334155;
  --g900:       #0F172A;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --r:    10px;
  --r-sm: 6px;
  --r-lg: 18px;
  --r-xl: 26px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: white;
  color: var(--g900);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Nav ─── */
nav {
  position: fixed;
  inset-block-start: 0; inset-inline: 0;
  height: 64px;
  background: rgba(7, 15, 30, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  z-index: 200;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: white; }

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover {
  background: var(--blue-hover) !important;
  transform: translateY(-1px) !important;
  color: white !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  padding: 4px;
}

/* ─── Hero ─── */
.hero {
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.11) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 20%;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.22);
  color: #93C5FD;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  font-weight: 800;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.h1-line {
  display: block;
}

.h1-accent { color: var(--blue-light); }

.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.45);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--blue);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: rgba(255,255,255,0.6);
  padding: 0.8rem 1.6rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(255,255,255,0.14);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.4); }

.btn-arrow { transition: transform 0.2s; }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }

/* light theme btn for CTA section */
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: white;
  color: var(--g900);
  padding: 0.9rem 1.75rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-light:hover {
  background: var(--g100);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat {
  padding-right: 2.5rem;
  margin-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.hero-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ─── Marquee ─── */
.marquee-wrap {
  background: var(--bg-mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 28s linear infinite;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-set {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee-item {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0 1.75rem;
}

.marquee-sep {
  font-size: 0.45rem;
  color: var(--blue);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ─── Shared section layout ─── */
.sec-light  { background: white;         padding: 6.5rem 6%; }
.sec-gray   { background: var(--off-white); padding: 6.5rem 6%; }
.sec-dark   { background: var(--bg);     padding: 6.5rem 6%; }
.sec-mid    { background: var(--bg-mid); padding: 6.5rem 6%; }

.mw { max-width: 1120px; margin: 0 auto; }

.sec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}
.sec-label-dark  { color: rgba(255,255,255,0.28); }
.sec-label-light { color: var(--blue); }

.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.sec-title-dark  { color: white; }
.sec-title-light { color: var(--g900); }

.sec-sub {
  margin-top: 0.75rem;
  font-size: 0.975rem;
  line-height: 1.75;
  max-width: 460px;
}
.sec-sub-dark  { color: rgba(255,255,255,0.4); }
.sec-sub-light { color: var(--g500); }

/* ─── Bento services ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.bento-cell {
  border-radius: var(--r-xl);
  padding: 2rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.25s cubic-bezier(0.16,1,0.3,1);
}
/* tilt effect overrides hover - keep box-shadow only for non-JS fallback */
.bento-cell:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Spans */
.span-4 { grid-column: span 4; }
.span-2 { grid-column: span 2; }

/* Themes */
.bento-navy {
  background: #0A1829;
  border: 1px solid rgba(255,255,255,0.06);
}
.bento-navy::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.bento-blue {
  background: var(--blue);
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

.bento-white {
  background: white;
  border: 1px solid var(--g200);
}

.bento-slate {
  background: #0D1F3C;
  border: 1px solid rgba(255,255,255,0.06);
}

.bento-dark-deep {
  background: #040C18;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Card content */
.bento-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.icon-blue-dim  { background: var(--blue-dim); }
.icon-white-dim { background: rgba(255,255,255,0.1); }
.icon-light-dim { background: var(--g100); }

.bento-cell h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.bento-cell p {
  font-size: 0.855rem;
  line-height: 1.7;
}

.text-on-dark h3 { color: white; }
.text-on-dark p  { color: rgba(255,255,255,0.48); }

.text-on-blue h3 { color: white; }
.text-on-blue p  { color: rgba(255,255,255,0.8); }

.text-on-light h3 { color: var(--g900); }
.text-on-light p  { color: var(--g500); }

/* Featured wide card */
.bento-feature-tag {
  display: inline-block;
  background: rgba(37,99,235,0.14);
  color: var(--blue-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.bento-big-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.bento-big-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  max-width: 360px;
  line-height: 1.7;
}

.bento-dots {
  position: absolute;
  top: 1.75rem; right: 2rem;
  display: grid;
  grid-template-columns: repeat(5, 6px);
  grid-template-rows: repeat(4, 6px);
  gap: 5px;
  opacity: 0.09;
}
.bento-dot { background: white; border-radius: 50%; }

/* ─── Process (dark section) ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.process-step {
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.process-step:last-child { border-right: none; }

.step-bg-num {
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.step-icon-box {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

.step-icon-box i { color: var(--blue-light); font-size: 1.1rem; }

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.45rem;
}

.process-step p {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
}

/* ─── Partners ─── */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  align-items: center;
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--g100);
  border: 1px solid var(--g200);
  border-radius: 100px;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--g700);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.partner-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.chip-live {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: chip-pulse 2s ease-in-out infinite;
}
@keyframes chip-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ─── CTA ─── */
.cta-wrap {
  background: var(--bg);
  padding: 9rem 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 450px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.09) 0%, transparent 60%);
  pointer-events: none;
}

.cta-wrap h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  position: relative;
}

.cta-wrap p {
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  position: relative;
}

/* ─── Footer ─── */
footer {
  background: #040A14;
  padding: 4.5rem 6% 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
}
.footer-logo span { color: var(--blue); }

.footer-brand p {
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 270px;
}

.footer-col h4 {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: rgba(255,255,255,0.18);
  font-size: 0.78rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  font-size: 0.78rem;
  margin-left: 1.5rem;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }

/* ─── Laptop 3D section ─── */
#laptop-section {
  position: relative;
  height: 100vh;
  background: var(--bg);
  overflow: hidden;
}

#laptop-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

#laptop-overlay {
  position: absolute;
  inset: 0;
  background: #070F1E;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.laptop-label {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.28);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
  animation: label-fade 3s ease-in-out infinite;
}

@keyframes label-fade {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;   transform: translateX(-50%) translateY(-4px); }
}

.laptop-label i { font-size: 1rem; }

/* ─── Hero canvas ─── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

/* ─── Cursor ring ─── */
.cursor-ring {
  position: fixed;
  top: -18px; left: -18px;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(37,99,235,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: width 0.25s, height 0.25s, top 0.25s, left 0.25s,
              border-color 0.25s, background 0.25s, opacity 0.3s;
  mix-blend-mode: normal;
  will-change: transform;
}

.cursor-ring.cursor-hover {
  width: 52px; height: 52px;
  top: -26px; left: -26px;
  border-color: rgba(37,99,235,0.9);
  background: rgba(37,99,235,0.06);
}

/* ─── Card shine overlay ─── */
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: background 0.1s ease;
  z-index: 2;
}

/* Ensure bento cells are positioned for shine */
.bento-cell { position: relative; }

/* ─── Floating orbs in hero (CSS only) ─── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  animation: orb-drift linear infinite;
  opacity: 0;
}

.hero-orb-1 {
  width: 300px; height: 300px;
  background: rgba(37,99,235,0.07);
  top: 10%; left: 5%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 200px; height: 200px;
  background: rgba(16,185,129,0.05);
  top: 60%; left: 70%;
  animation-duration: 24s;
  animation-delay: -8s;
}

.hero-orb-3 {
  width: 250px; height: 250px;
  background: rgba(37,99,235,0.05);
  top: 30%; left: 85%;
  animation-duration: 20s;
  animation-delay: -4s;
}

@keyframes orb-drift {
  0%   { transform: translate(0, 0)    scale(1);    opacity: 0.6; }
  25%  { transform: translate(30px, -20px) scale(1.05); }
  50%  { transform: translate(10px, 30px)  scale(0.97); opacity: 0.4; }
  75%  { transform: translate(-20px, 10px) scale(1.03); }
  100% { transform: translate(0, 0)    scale(1);    opacity: 0.6; }
}

/* ─── GSAP start states (only active when JS is ready) ─── */
.js-ready .reveal       { opacity: 0; transform: translateY(28px); }
.js-ready .reveal-up    { opacity: 0; transform: translateY(40px); }
.js-ready .reveal-fast  { opacity: 0; transform: translateY(18px); }

/* ─── Page hero (inner pages) ─── */
.pg-hero {
  background: var(--bg);
  padding: 9rem 6% 5rem;
  position: relative;
  overflow: hidden;
}
.pg-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.pg-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.pg-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}
.pg-hero p {
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.75;
}

/* ─── Apply form ─── */
.form-bg {
  background: var(--off-white);
  padding: 5rem 6%;
}
.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.form-card {
  background: white;
  border: 1px solid var(--g200);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--g500);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--g100);
}

.form-group { margin-bottom: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--g700);
  margin-bottom: 0.4rem;
}
.req { color: #EF4444; margin-left: 2px; }

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--g900);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
textarea { resize: vertical; min-height: 110px; }

.check-group { display: flex; flex-direction: column; gap: 0.6rem; }
.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--g700);
  cursor: pointer;
  font-weight: 400;
}
.check-row input[type="checkbox"] {
  width: 16px; height: 16px; padding: 0; flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue);
}

.submit-btn {
  width: 100%;
  background: var(--blue);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.submit-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.submit-note {
  text-align: center;
  font-size: 0.775rem;
  color: var(--g400);
  margin-top: 0.875rem;
}

/* ─── Work page ─── */
.work-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}

.work-card {
  background: white;
  border: 1px solid var(--g200);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.22s;
}
.work-card:hover {
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 10px 36px rgba(37,99,235,0.07);
  transform: translateY(-3px);
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.45rem;
}

.work-org {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--g900);
}

.status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-active   { background: #DCFCE7; color: #15803D; }
.pill-complete { background: #EFF6FF; color: var(--blue); }

.work-type {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
}

.work-card p {
  font-size: 0.875rem;
  color: var(--g500);
  line-height: 1.72;
  margin-bottom: 1.25rem;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  display: inline-block;
  background: var(--g100);
  color: var(--g600);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

/* ─── About page ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.about-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--g900);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.about-copy p {
  font-size: 0.95rem;
  color: var(--g500);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.impact-box {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.impact-box-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 2rem;
}
.impact-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.impact-row:first-of-type { padding-top: 0; }
.impact-row:last-child { border-bottom: none; padding-bottom: 0; }
.impact-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: -0.035em;
  line-height: 1;
}
.impact-txt {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.28);
  margin-top: 0.3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.val-card {
  background: white;
  border: 1px solid var(--g200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.val-card:hover { border-color: var(--blue); transform: translateY(-2px); }

.val-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--g100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.val-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--g900);
  margin-bottom: 0.4rem;
}
.val-card p {
  font-size: 0.85rem;
  color: var(--g500);
  line-height: 1.7;
}

.team-card {
  max-width: 640px;
  margin: 4rem auto 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}
.team-avi {
  width: 66px; height: 66px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.team-info h3 { font-size: 1rem; font-weight: 700; color: white; }
.team-role {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0.75rem;
}
.team-info p { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.75; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .span-4 { grid-column: span 6; }
  .span-2 { grid-column: span 3; }
}

@media (max-width: 768px) {
  nav { padding: 0 5%; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(7,15,30,0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1.75rem 5%;
    gap: 1.25rem;
    z-index: 199;
  }
  .nav-toggle { display: block; }

  .hero { padding: 100px 5% 60px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1.5rem; padding-top: 2rem; }
  .hero-stat { padding-right: 1.5rem; margin-right: 1.5rem; }

  .sec-light,
  .sec-gray,
  .sec-dark,
  .sec-mid,
  .pg-hero,
  .form-bg,
  .cta-wrap { padding-left: 5%; padding-right: 5%; }

  footer { padding-left: 5%; padding-right: 5%; }

  .bento { grid-template-columns: 1fr 1fr; }
  .span-4, .span-2 { grid-column: span 2; }

  .process-grid { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .process-step:last-child { border-bottom: none; }

  .work-list { grid-template-columns: 1fr; }
  .form-row  { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-card { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 500px) {
  .bento { grid-template-columns: 1fr; }
  .span-4, .span-2 { grid-column: span 1; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .reveal, .reveal-up, .reveal-fast,
  .hero-badge, .h1-line, .hero-sub,
  .hero-actions, .hero-stats { opacity: 1 !important; transform: none !important; }
}
