*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --border: rgba(255,255,255,0.07);
  --text: #E8E8E8;
  --muted: rgba(232,232,232,0.45);
  --faint: rgba(232,232,232,0.18);
  --accent: #7C6AFA;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: none; border: none; background: none; }
::selection { background: rgba(124,106,250,0.2); }
::-webkit-scrollbar { width: 1px; }
::-webkit-scrollbar-thumb { background: var(--faint); }

/* CURSOR */
#cur {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}
#cur.hover {
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid rgba(232,232,232,0.3);
}

/* LOADER */
#loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.2s var(--ease-out), visibility 1.2s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.ld-word {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 0.12em;
  color: var(--text);
  opacity: 0;
  animation: up 0.9s var(--ease-out) 0.3s forwards;
}
.ld-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px; width: 0;
  background: var(--faint);
  animation: grow 2.4s var(--ease-out) 0.4s forwards;
}
@keyframes grow { to { width: 100%; } }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 36px 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.5s var(--ease), background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
nav.s {
  padding: 20px 64px;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav-links { display: flex; gap: 44px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.nav-cta:hover { color: var(--text); }

/* HERO */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 64px 80px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero-num {
  position: absolute;
  top: 50%; right: 64px;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 300;
  color: var(--faint);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.hero-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 32px;
  opacity: 0;
  animation: up 0.8s var(--ease-out) 1.8s forwards;
}
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px, 10vw, 148px);
  letter-spacing: 0.06em;
  line-height: 0.95;
  font-weight: 400;
  max-width: 900px;
  opacity: 0;
  animation: up 1s var(--ease-out) 1.95s forwards;
}
.hero-sub-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 48px;
  opacity: 0;
  animation: up 0.9s var(--ease-out) 2.2s forwards;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 10px; align-items: center; }
.btn-main {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border: 1px solid rgba(232,232,232,0.2);
  border-radius: 3px;
  transition: background 0.3s, border-color 0.3s;
}
.btn-main:hover { background: rgba(232,232,232,0.05); border-color: rgba(232,232,232,0.35); }
.btn-ghost {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 12px 18px;
  transition: color 0.25s;
}
.btn-ghost:hover { color: var(--text); }

/* SECTIONS */
.wrap { max-width: 1200px; margin: 0 auto; padding: 120px 64px; }
.sec-border { border-top: 1px solid var(--border); }

.sec-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 64px;
}

/* REVEAL */
.r { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.r.d1 { transition-delay: 0.1s; }
.r.d2 { transition-delay: 0.2s; }
.r.d3 { transition-delay: 0.3s; }
.r.in { opacity: 1; transform: translateY(0); }

/* ABOUT */
#about .ab-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}
#about h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.5vw, 66px);
  letter-spacing: 0.08em;
  line-height: 1.02;
  font-weight: 400;
  margin-bottom: 28px;
}
#about .ab-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}
.ab-stats { display: flex; flex-direction: column; }
.ab-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.ab-stat:first-child { border-top: 1px solid var(--border); }
.ab-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
}
.ab-l {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-align: right;
  max-width: 180px;
  line-height: 1.5;
}

/* SERVICES */
#services .srv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
  gap: 40px;
}
#services h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: 0.08em;
  line-height: 1.02;
  font-weight: 400;
}
#services .srv-intro {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  max-width: 240px;
  line-height: 1.7;
  text-align: right;
}
.srv-list { margin-top: 56px; }
.srv-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.25s;
  position: relative;
}
.srv-row:first-child { border-top: 1px solid var(--border); }
.srv-list:hover .srv-row { opacity: 0.4; }
.srv-list:hover .srv-row:hover { opacity: 1; }
.srv-n {
  font-size: 11px;
  font-weight: 300;
  color: var(--faint);
  letter-spacing: 0.08em;
}
.srv-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--text);
}
.srv-badge {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 2px;
}

/* NUMBERS SECTION */
#numbers .num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.num-cell {
  padding: 52px 36px;
  border-right: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.num-cell:last-child { border-right: none; }
.num-cell:hover { background: rgba(255,255,255,0.02); }
.num-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}
.num-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

/* DIFFS */
#diffs .diff-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}
#diffs h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 4.5vw, 66px);
  letter-spacing: 0.08em;
  line-height: 1.02;
  font-weight: 400;
}
.diff-list { display: flex; flex-direction: column; margin-top: 4px; }
.diff-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.diff-item:first-child { border-top: 1px solid var(--border); }
.diff-idx {
  font-size: 10px;
  font-weight: 300;
  color: var(--faint);
  letter-spacing: 0.1em;
  padding-top: 3px;
  flex-shrink: 0;
  width: 20px;
}
.diff-txt-wrap {}
.diff-t {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 5px;
}
.diff-d {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* CTA */
#cta {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 160px 64px;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,106,250,0.06) 0%, transparent 70%);
  pointer-events: none;
}
#cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 118px);
  letter-spacing: 0.06em;
  line-height: 0.95;
  font-weight: 400;
  margin-bottom: 36px;
  position: relative;
}
#cta p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 52px;
  line-height: 1.8;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.cta-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-link {
  font-size: 12px;
  font-weight: 300;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.cta-link:hover { color: var(--muted); border-color: var(--faint); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.ft-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.ft-links { display: flex; gap: 24px; }
.ft-links a {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--faint);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.ft-links a:hover { color: var(--muted); }
.ft-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(232,232,232,0.12);
  letter-spacing: 0.04em;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav, nav.s { padding: 22px 28px; }
  .nav-links { display: none; }
  #hero { padding: 0 28px 64px; }
  .hero-num { display: none; }
  .wrap { padding: 90px 28px; }
  #about .ab-body, #diffs .diff-body { grid-template-columns: 1fr; gap: 60px; }
  #numbers .num-grid { grid-template-columns: repeat(2, 1fr); }
  .num-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .num-cell:nth-child(2n) { }
  #cta { padding: 100px 28px; }
  footer { padding: 28px 28px; }
  #services .srv-head { flex-direction: column; align-items: flex-start; }
  #services .srv-intro { text-align: left; }
}
@media (max-width: 640px) {
  h1 { font-size: 58px; letter-spacing: 0.04em; }
  #numbers .num-grid { grid-template-columns: 1fr; }
}

@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }