/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DRIFAGENCY  —  Global Stylesheet
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Fonts (loaded per-page via <link>) ── */
/* Inter · Barlow Condensed · JetBrains Mono */

/* ── Design tokens ── */
:root {
  --navy:       #0B1829;
  --navy-mid:   #122035;
  --navy-lt:    #1A2E4A;
  --steel:      #2563A8;
  --steel-lt:   #3D84D4;
  --cyan:       #4FB3E8;
  --cyan-lt:    #86CFEF;
  --silver:     #9BB5CC;
  --off-white:  #DDE8F2;
  --white:      #FFFFFF;
  --muted:      #4E6880;
  --border:     rgba(37,99,168,.22);
  --border-lt:  rgba(79,179,232,.14);
  --glow:       rgba(61,132,212,.35);
}

/* ── Reset ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:none}
ul{list-style:none}

/* ── Base ── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--off-white);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   CURSOR
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
#cur {
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
  mix-blend-mode: screen;
}
#cur-ring {
  width: 30px; height: 30px;
  border: 1.5px solid rgba(79,179,232,.45);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .28s, height .28s, opacity .28s;
}
#cur.h { width: 16px; height: 16px; }
#cur-ring.h { width: 44px; height: 44px; opacity: .2; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   TYPOGRAPHY
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.display {
  font-family: 'Barlow Condensed', impact, sans-serif;
  line-height: .96; letter-spacing: -.01em; font-weight: 800;
}
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); display: block;
}
.grad {
  background: linear-gradient(130deg, var(--steel-lt) 10%, var(--cyan) 60%, var(--cyan-lt) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   LAYOUT HELPERS
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 100px 0; }
.section-sm { padding: 68px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   BACKGROUNDS
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.bg-mid   { background: var(--navy-mid); }
.bg-lt    { background: var(--navy-lt); }

.grid-bg {
  background-image:
    linear-gradient(var(--border-lt) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-lt) 1px, transparent 1px);
  background-size: 52px 52px;
}

.orb {
  border-radius: 50%; filter: blur(88px);
  pointer-events: none; position: absolute;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   NAV
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: fixed; inset: 0 0 auto;
  background: rgba(11,24,41,.92);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  z-index: 800;
}
.nav-wrap {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px; cursor: none;
}
.nav-brand img { height: 36px; width: auto; }
.nav-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px; font-weight: 700; letter-spacing: .04em; color: var(--white);
}
.nav-brand-name em {
  font-style: normal;
  background: linear-gradient(130deg, var(--steel-lt), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links {
  display: flex; align-items: center; gap: 34px;
}
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--silver); cursor: none;
  position: relative; transition: color .22s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--steel), var(--cyan));
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 9px 22px !important;
  background: linear-gradient(130deg, var(--steel), var(--steel-lt)) !important;
  color: var(--white) !important;
  border-radius: 3px;
  box-shadow: 0 3px 16px var(--glow);
  transition: transform .25s, box-shadow .25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--glow) !important; }

/* hamburger */
.ham { display: none; background: none; border: none; cursor: none; padding: 4px; }
.ham span { display: block; width: 22px; height: 2px; background: var(--silver); margin: 5px 0; border-radius: 1px; transition: .3s; }
#mob { display: none; position: fixed; top: 70px; inset-inline: 0; z-index: 790; background: var(--navy-mid); border-bottom: 1px solid var(--border); padding: 20px 28px; flex-direction: column; gap: 0; }
#mob.open { display: flex; }
#mob a { font-size: 14px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--silver); padding: 14px 0; border-bottom: 1px solid var(--border); cursor: auto; transition: color .22s; }
#mob a:last-child { border: none; }
#mob a:hover { color: var(--white); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border: none; cursor: none;
  position: relative; overflow: hidden;
  transition: transform .28s, box-shadow .28s;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.08);
  transform: translateX(-110%);
  transition: transform .38s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(130deg, var(--steel) 0%, var(--steel-lt) 55%, var(--cyan) 110%);
  color: var(--white);
  box-shadow: 0 4px 22px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(61,132,212,.6); }

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid rgba(79,179,232,.45);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 12px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: transform .34s cubic-bezier(.16,1,.3,1), border-color .28s, box-shadow .34s;
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(79,179,232,.42);
  box-shadow: 0 22px 54px rgba(0,0,0,.38);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   REVEAL ANIMATIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.rv   { opacity: 0; transform: translateY(24px);  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1); }
.rv-l { opacity: 0; transform: translateX(-24px); transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1); }
.rv-r { opacity: 0; transform: translateX(24px);  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1); }
.rv.on,.rv-l.on,.rv-r.on { opacity: 1; transform: none; }
.d1{transition-delay:.08s}.d2{transition-delay:.18s}.d3{transition-delay:.28s}.d4{transition-delay:.38s}.d5{transition-delay:.48s}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   TICKER
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-outer { overflow: hidden; background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.ticker-inner { display: flex; white-space: nowrap; animation: tick 30s linear infinite; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   STEP CARDS  (How It Works)
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.step-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-top: 3px solid var(--steel);
  padding: 40px 28px 36px;
  position: relative;
  transition: transform .34s cubic-bezier(.16,1,.3,1), border-top-color .28s;
}
.step-card:hover { transform: translateY(-7px); border-top-color: var(--cyan); }
.step-bg-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 96px; font-weight: 900; line-height: 1;
  background: linear-gradient(130deg, var(--steel), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: .12;
  position: absolute; bottom: 10px; right: 16px;
  pointer-events: none; user-select: none;
}
.step-icon {
  width: 56px; height: 56px; margin-bottom: 22px;
  background: rgba(37,99,168,.16);
  border: 1px solid rgba(79,179,232,.25);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}

/* arrow connector */
.step-arrow { display: flex; align-items: flex-start; padding-top: 72px; color: var(--steel); font-size: 26px; opacity: .45; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   TEAM CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.team-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  padding: 44px 32px; text-align: center;
  transition: transform .34s cubic-bezier(.16,1,.3,1), box-shadow .34s;
}
.team-card:hover { transform: translateY(-8px); box-shadow: 0 26px 64px rgba(0,0,0,.42); }
.avatar {
  width: 110px; height: 110px;
  border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(130deg, var(--navy-lt), var(--steel));
  border: 2px solid rgba(79,179,232,.38);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 700; color: var(--white);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   FORM
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.field { margin-bottom: 22px; }
.field label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 9px; }
.field input,.field textarea,.field select {
  width: 100%; font-family: 'Inter', sans-serif; font-size: 14px;
  background: var(--navy-lt); border: 1px solid var(--border);
  color: var(--off-white); padding: 13px 16px; outline: none;
  border-radius: 3px; transition: border-color .25s, box-shadow .25s; cursor: none;
}
.field input:focus,.field textarea:focus {
  border-color: var(--steel-lt);
  box-shadow: 0 0 0 3px rgba(37,99,168,.22);
}
.field input::placeholder,.field textarea::placeholder { color: var(--muted); }
.field select option { background: var(--navy-lt); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   "COMING SOON" BLUR BLOCK
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.soon-block {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.soon-blur {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    120deg,
    rgba(37,99,168,.06) 0px, rgba(37,99,168,.06) 2px,
    transparent 2px, transparent 60px
  );
  filter: blur(4px);
}
.soon-content { position: relative; z-index: 2; text-align: center; padding: 60px 24px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   H-LINE
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.h-line { height: 1px; background: linear-gradient(90deg, transparent, var(--steel), transparent); margin: 56px 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer { background: var(--navy); border-top: 1px solid var(--border); padding: 42px 0; }
.footer-wrap {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { height: 30px; opacity: .82; }
.footer-brand span { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; color: var(--silver); }
.footer-brand span em { font-style: normal; background: linear-gradient(130deg,var(--steel-lt),var(--cyan)); -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: none; transition: color .22s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE HERO HEADER
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  padding: 148px 0 80px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   MISC UTILITIES
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 11px;
  background: rgba(37,99,168,.16);
  color: var(--cyan-lt);
  border: 1px solid rgba(79,179,232,.24);
  border-radius: 2px; display: inline-block;
}

.arrow-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan);
}

.stat-block { border-left: 3px solid var(--steel); padding-left: 18px; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  background: linear-gradient(130deg, var(--steel-lt), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLLBAR
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 3px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .ham { display: block; }
  .section { padding: 68px 0; }
  .page-hero { padding: 114px 0 56px; }
}
@media (max-width: 600px) {
  body { cursor: auto; }
  #cur,#cur-ring { display: none; }
}
