:root {
  --bg: #0B0E14;
  --bg-soft: #10141d;
  --bg-softer: #141924;
  --line: #232936;
  --blue: #2D6BFF;
  --blue-light: #7FA8FF;
  --white: #F5F7FA;
  --dim: #9AA5B4;
  --dimmer: #5C6472;
  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  display: none;
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--blue-light);
  transition: width .2s ease, height .2s ease, opacity .2s ease;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(127,168,255,.5);
  transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, background .3s ease;
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  background: rgba(45,107,255,.12);
  border-color: var(--blue-light);
}
.cursor-dot.is-hover { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, .service-card, input, textarea { cursor: none; }
  .cursor-dot, .cursor-ring { display: block; }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1c4fd6);
  color: #fff;
  box-shadow: 0 8px 24px rgba(45,107,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45,107,255,.5); }
.btn-outline {
  border-color: rgba(245,247,250,.25);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(45,107,255,.4);
  color: var(--white);
  padding: 10px 22px;
  font-size: 14px;
}
.btn-ghost:hover { background: rgba(45,107,255,.12); border-color: var(--blue); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11,14,20,.82);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand-logo { height: 46px; width: auto; }
.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav a {
  font-size: 14.5px;
  color: var(--dim);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--blue-light);
  transition: width .25s ease;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 140px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(11,14,20,.55) 0%, rgba(11,14,20,.88) 65%, var(--bg) 100%), url('https://images.unsplash.com/photo-1644088379091-d574269d422f?q=80&w=1800&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  opacity: .55;
}
.hero-grid {
  position: absolute;
  inset: -10% -10%;
  background-image:
    linear-gradient(rgba(245,247,250,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,247,250,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 62% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 62% 40%, #000 0%, transparent 72%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.draw-line {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 1.5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawLine 2.6s cubic-bezier(.2,.7,.2,1) .4s forwards;
}
.draw-line.delay-1 { animation-delay: .8s; }
.node {
  fill: var(--blue-light);
  opacity: 0;
  animation: nodePop 1.6s ease .8s forwards, pulseGlow 2.4s ease 2.4s infinite;
}
.node.delay-1 { animation-delay: 1.2s, 2.8s; }
.node.delay-2 { animation-delay: 1.6s, 3.2s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes nodePop { to { opacity: 1; } }
@keyframes pulseGlow {
  0%, 100% { r: 5; opacity: 1; }
  50% { r: 8; opacity: .5; }
}
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--blue-light);
  margin: 0 0 22px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 26px;
}
.hero-title span { display: block; }
.accent { color: var(--blue-light); }
.hero-sub {
  font-size: 18px;
  color: var(--dim);
  max-width: 560px;
  margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- section shared ---------- */
section { padding: 120px 0; position: relative; }
.section-tag {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--blue-light);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  letter-spacing: -.5px;
  max-width: 640px;
  margin: 0 0 64px;
}

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.service-card {
  background: var(--bg-soft);
  padding: 40px 30px;
  position: relative;
  transition: background .3s ease;
}
.service-card:last-child { grid-column: span 2; }
.service-card:hover { background: var(--bg-softer); }
.service-num {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--dimmer);
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.service-icon { width: 42px; height: 42px; margin-bottom: 22px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-6deg); }
.service-card:hover .service-num { color: var(--blue-light); transition: color .3s ease; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14.5px;
  color: var(--dim);
  margin: 0;
}

/* ---------- demo showcase ---------- */
.demo-sub {
  color: var(--dim);
  font-size: 16px;
  max-width: 560px;
  margin: -40px 0 44px;
}
.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  background: var(--bg-soft);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-softer);
  border-bottom: 1px solid var(--line);
}
.browser-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--dot);
  opacity: .85;
}
.browser-url {
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 18px;
  font-size: 12.5px;
  color: var(--dimmer);
  font-family: var(--font-body);
}
.browser-frame iframe {
  width: 100%;
  height: 560px;
  border: none;
  display: block;
  background: #FAF7F2;
}
.demo-cta { text-align: center; margin-top: 34px; }

/* ---------- process ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 8px;
}
.steps-line {
  position: absolute;
  top: -22px; left: 0;
  width: 100%;
  height: 4px;
}
.steps-line-fill {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.steps.is-visible .steps-line-fill { stroke-dashoffset: 0; }
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--bg);
  background: var(--blue-light);
  width: 34px; height: 34px;
  border-radius: 50%;
  text-align: center;
  line-height: 34px;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin: 0 0 10px;
}
.step p {
  font-size: 14.5px;
  color: var(--dim);
  margin: 0;
}

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.why-list li {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
}
.why-list li { color: var(--dim); font-size: 15px; }
.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(45,107,255,.18), transparent 65%), var(--bg-soft);
  border: 1px solid var(--line);
}
.why-graphic { width: 70%; filter: drop-shadow(0 10px 30px rgba(45,107,255,.35)); }
.why-node { animation: pulseGlow 2.6s ease infinite; }
.why-node:nth-child(2) { animation-delay: .4s; }
.why-node:nth-child(3) { animation-delay: .8s; }
.why-node:nth-child(4) { animation-delay: 1.2s; }
.why-node:nth-child(5) { animation-delay: 1.6s; }
.why-node:nth-child(6) { animation-delay: 2s; }

/* ---------- content showcase ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.content-sub { color: var(--dim); font-size: 16px; max-width: 480px; margin: 0 0 30px; }
.content-points { display: flex; flex-direction: column; gap: 16px; }
.content-points li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
}
.content-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(45,107,255,.15);
  border: 1px solid var(--blue-light);
}
.content-points li::after {
  content: '';
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--blue-light);
  border-bottom: 2px solid var(--blue-light);
  transform: rotate(-45deg);
}

.phone-mockup { display: flex; justify-content: center; }
.phone-frame {
  width: 260px;
  background: #0d1016;
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px var(--line);
}
.phone-notch {
  width: 80px; height: 18px;
  background: #0d1016;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 4px;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  margin-top: -18px;
}
.ig-header { display: flex; align-items: center; gap: 10px; padding: 14px; }
.ig-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  flex-shrink: 0;
}
.ig-handle { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.ig-sponsored { font-size: 10.5px; color: #8a8a8a; }
.ig-photo { width: 100%; aspect-ratio: 1; background-size: cover; background-position: center; }
.ig-actions { display: flex; gap: 14px; padding: 12px 14px 4px; color: #1a1a1a; }
.ig-actions svg { width: 22px; height: 22px; }
.ig-caption { padding: 6px 14px 16px; font-size: 12.5px; color: #333; line-height: 1.5; }
.ig-caption strong { color: #1a1a1a; }

/* ---------- contact ---------- */
.contact { padding: 0 0 120px; }
.contact-panel {
  background:
    linear-gradient(160deg, rgba(16,20,29,.92), rgba(20,25,36,.96)),
    url('https://images.unsplash.com/photo-1758073519996-6d3c63b4922c?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.contact-panel::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(45,107,255,.22), transparent 70%);
  pointer-events: none;
  animation: driftGlow 10s ease-in-out infinite;
}
@keyframes driftGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.15); }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  position: relative;
}
.contact-copy p { color: var(--dim); font-size: 16px; max-width: 420px; }
.quick-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 34px; }
.quick-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  transition: padding-left .25s ease, color .25s ease;
}
.quick-contact a:last-child { border-bottom: 1px solid var(--line); }
.quick-link span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dimmer);
}
.quick-link:hover { padding-left: 10px; color: var(--blue-light); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
}
.contact-form input,
.contact-form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  transition: border-color .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--dimmer);
  margin: 0;
}

/* ---------- footer ---------- */
.site-footer { padding: 48px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo { height: 36px; width: auto; opacity: .9; }
.footer-social { display: flex; gap: 20px; margin-left: auto; }
.footer-social a { font-size: 13.5px; color: var(--dim); transition: color .25s ease; }
.footer-social a:hover { color: var(--blue-light); }
.footer-copy {
  width: 100%;
  font-size: 12.5px;
  color: var(--dimmer);
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps-line { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .content-grid { grid-template-columns: 1fr; }
  .phone-mockup { order: -1; margin-bottom: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav {
    display: flex;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 22px 28px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .site-header.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .header-cta {
    display: inline-flex;
    position: fixed;
    top: 14px; right: 60px;
  }
  .hero { padding: 150px 0 90px; }
  .browser-frame iframe { height: 400px; }
  .demo-sub { margin-top: -20px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .contact-panel { padding: 70px 0; }
}
