:root {
  --bg: #020611;
  --bg-soft: #07101f;
  --panel: rgba(255,255,255,0.07);
  --panel-strong: rgba(255,255,255,0.11);
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.18);
  --text: #f7fbff;
  --muted: #9eb0ce;
  --soft: #dce7fb;
  --glow: #84ebff;
  --glow-2: #91a5ff;
  --glow-3: #ccb3ff;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 34px 100px rgba(0,0,0,0.45);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(132,235,255,0.17), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(145,165,255,0.18), transparent 26rem),
    linear-gradient(180deg, #020611 0%, #040a15 45%, #020611 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 85%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.section-lg { padding: 96px 0 70px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0 88px; }
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow), var(--glow-3));
  box-shadow: 0 0 16px var(--glow);
}
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin: 0 auto 46px; text-align: center; }
.section-head h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); background: rgba(255,255,255,0.09); }
.btn-primary {
  color: #05101f;
  border-color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--glow) 42%, var(--glow-2) 100%);
  box-shadow: 0 20px 70px rgba(132,235,255,0.22);
}
.btn-primary:hover { box-shadow: 0 24px 84px rgba(132,235,255,0.28); }

/* NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(2, 6, 17, 0.76);
  backdrop-filter: blur(18px);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo img { width: auto; height: 44px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 0.94rem; font-weight: 700; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
}
.mobile-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 10px 20px 20px; background: rgba(2,6,17,0.94); }
.mobile-menu a { display: block; padding: 14px 0; font-weight: 700; color: var(--soft); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }
.mobile-menu.open { display: block; }

/* HERO */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.1em;
}
.hero-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proof-row span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--soft);
  font-weight: 700;
}
.hero-visual {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}
.orb-one {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(132,235,255,0.35), transparent 70%);
  top: 30px; right: 80px;
}
.orb-two {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(145,165,255,0.24), transparent 70%);
  left: 30px; bottom: 10px;
}
.visual-card {
  position: absolute;
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.visual-main {
  position: relative;
  width: min(100%, 760px);
  padding: 18px;
}
.visual-main img { width: 100%; height: auto; border-radius: 22px; }
.visual-float { padding: 18px 20px; max-width: 260px; }
.visual-note { top: 86px; left: 0; }
.visual-proof { right: 10px; bottom: 80px; }
.mini-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glow);
}
.visual-float strong { display: block; font-size: 1.1rem; letter-spacing: -0.04em; }
.visual-float small { display: block; margin-top: 6px; color: var(--muted); font-size: 0.92rem; }

/* VALUE STRIP */
.value-strip { padding: 20px 0 10px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: 0 18px 72px rgba(0,0,0,0.28);
}
.value-grid > div { padding: 26px 24px; background: rgba(255,255,255,0.05); }
.value-grid strong { display: block; font-size: 1.08rem; }
.value-grid span { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; }

/* RESULTS */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.result-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  box-shadow: var(--shadow);
}
.result-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: var(--glow);
  font-weight: 800;
}
.result-card h3 {
  margin: 18px 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}
.result-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* STORY / STICKY */
.story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: start;
}
.story-visual-wrap { position: relative; }
.story-stage {
  position: sticky;
  top: 112px;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-stage::before {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 28px;
  background: radial-gradient(circle at top right, rgba(132,235,255,0.22), transparent 35%), rgba(3,9,20,0.72);
  border: 1px solid rgba(255,255,255,0.07);
}
.story-layer {
  position: absolute;
  width: 72%;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background: rgba(12, 19, 35, 0.84);
  box-shadow: var(--shadow);
  transition: transform .45s ease, opacity .45s ease, border-color .45s ease;
}
.story-layer h3 { margin: 0 0 10px; font-size: 1.6rem; letter-spacing: -0.05em; }
.story-layer p { margin: 0; color: var(--muted); line-height: 1.6; }
.stage-base { left: 36px; top: 80px; }
.stage-middle { right: 34px; top: 210px; }
.stage-top { left: 60px; bottom: 56px; }
.story-layer:not(.active) { opacity: 0.55; }
.story-layer.active { transform: translateY(-10px) scale(1.02); border-color: rgba(132,235,255,0.28); }
.story-copy { display: grid; gap: 18px; }
.story-step {
  min-height: 240px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
}
.story-step.active { border-color: rgba(132,235,255,0.26); background: rgba(255,255,255,0.07); }
.step-kicker { display: inline-block; color: var(--glow); font-weight: 800; letter-spacing: 0.12em; margin-bottom: 14px; }
.story-step h3 { margin: 0 0 10px; font-size: 2rem; letter-spacing: -0.06em; }
.story-step p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 1.05rem; }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(132,235,255,0.22); background: rgba(255,255,255,0.07); }
.service-card h3 { margin: 0 0 12px; font-size: 1.55rem; letter-spacing: -0.04em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* OFFERS */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.offer-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}
.offer-card.featured { border-color: rgba(132,235,255,0.26); background: linear-gradient(180deg, rgba(132,235,255,0.12), rgba(255,255,255,0.05)); }
.offer-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--glow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer-card h3 { margin: 18px 0 12px; font-size: 1.65rem; letter-spacing: -0.05em; }
.offer-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* CONTACT */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
}
.contact-copy {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-copy h2 {
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}
.contact-copy p { margin: 0; color: var(--muted); max-width: 460px; line-height: 1.65; }
.contact-links { display: grid; gap: 10px; margin-top: 24px; }
.contact-links a { color: var(--soft); font-weight: 700; }
.project-form {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background: rgba(5,10,20,0.72);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--soft); font-weight: 700; font-size: 0.92rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: rgba(132,235,255,0.36); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 20px; }
.form-note { color: var(--muted); font-size: 0.92rem; }
.form-status { display: none; margin-top: 14px; color: var(--soft); font-weight: 600; }

/* FINAL CTA */
.final-cta {
  padding: 56px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(132,235,255,0.1), rgba(255,255,255,0.05));
  text-align: center;
  box-shadow: var(--shadow);
}
.final-cta h2 {
  margin: 18px auto 22px;
  max-width: 860px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

/* FOOTER */
.site-footer { padding: 0 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr;
  gap: 22px;
  padding: 34px 0 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { max-width: 420px; color: var(--muted); line-height: 1.6; }
.site-footer h3 { margin: 0 0 14px; font-size: 1rem; }
.site-footer a { display: block; margin-bottom: 10px; color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* SIMPLE PAGES */
.simple-page { min-height: 100vh; display: grid; place-items: center; }
.simple-shell { width: min(100% - 40px, 760px); }
.simple-logo { display: inline-flex; margin-bottom: 22px; }
.simple-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}
.simple-card h1 { margin: 16px 0 12px; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 0.95; letter-spacing: -0.08em; }
.simple-card p { margin: 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 1080px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: inline-block; }
  .hero-grid,
  .story-grid,
  .contact-panel,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 620px; }
  .story-stage { position: relative; top: 0; min-height: 500px; }
}

@media (max-width: 900px) {
  .results-grid,
  .services-grid,
  .offer-grid,
  .value-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 680px) {
  .section-lg { padding-top: 64px; }
  .section { padding: 82px 0; }
  .hero-visual { min-height: 500px; }
  .visual-main { padding: 12px; }
  .visual-note,
  .visual-proof { max-width: 210px; }
  .visual-note { top: 30px; }
  .visual-proof { bottom: 20px; right: 0; }
  .results-grid,
  .services-grid,
  .offer-grid,
  .value-grid { grid-template-columns: 1fr; }
  .story-step { min-height: auto; }
  .story-layer { width: calc(100% - 52px); }
  .stage-base { left: 26px; top: 48px; }
  .stage-middle { right: 26px; top: 182px; }
  .stage-top { left: 26px; bottom: 34px; }
  .contact-panel,
  .project-form,
  .simple-card,
  .final-cta { padding: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
