:root {
  --bg: #07111b;
  --bg-soft: #0a1623;
  --surface: rgba(11, 21, 34, 0.7);
  --surface-strong: rgba(10, 18, 30, 0.82);
  --surface-soft: rgba(15, 28, 43, 0.6);
  --text: #f3f7fc;
  --muted: #9eb1c6;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --accent: #ff7b42;
  --accent-strong: #ff945f;
  --accent-soft: rgba(255, 123, 66, 0.14);
  --glow: rgba(255, 123, 66, 0.2);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 123, 66, 0.09), transparent 24%),
    radial-gradient(circle at 100% 20%, rgba(69, 125, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #06101a 0%, #08131f 100%);
}

a,
button,
input,
textarea {
  font: inherit;
}

.page-glow {
  position: fixed;
  z-index: 0;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}

.glow-left {
  top: -10rem;
  left: -12rem;
  background: rgba(255, 123, 66, 0.12);
}

.glow-right {
  right: -10rem;
  top: 26%;
  background: rgba(75, 131, 255, 0.1);
  animation-delay: -7s;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(6, 13, 21, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.logo,
.nav a,
.header-cta,
.button {
  text-decoration: none;
}

.logo {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease;
}

.nav a:hover,
.header-cta:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  min-height: min(920px, 100vh);
}

.hero-video,
.hero-overlay,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 11, 18, 0.88) 0%, rgba(6, 11, 18, 0.68) 46%, rgba(6, 11, 18, 0.48) 100%),
    linear-gradient(180deg, rgba(6, 11, 18, 0.24) 0%, rgba(6, 11, 18, 0.68) 100%);
}

.hero-noise {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.3));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 400px);
  gap: 28px;
  align-items: center;
}

.eyebrow,
.section-label,
.panel-kicker,
.service-tag {
  margin: 0;
  color: #ffd6bf;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-main {
  max-width: 720px;
}

.hero h1,
.hero h2,
.section-header h2,
.case-card h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.hero-subtitle {
  max-width: 62ch;
  margin: 24px 0 0;
  color: rgba(243, 247, 252, 0.82);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #08111b;
  background: linear-gradient(135deg, #ffb084, var(--accent));
  box-shadow: 0 14px 36px rgba(255, 123, 66, 0.26);
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(255, 123, 66, 0.34);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-block {
  width: 100%;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.proof-chip,
.panel-card,
.service-card,
.step-card,
.case-card,
.stat-card,
.lead-form {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.proof-chip {
  padding: 18px;
  border-radius: 22px;
  animation: floatCard 7s ease-in-out infinite;
}

.proof-chip:nth-child(2) {
  animation-delay: -2s;
}

.proof-chip:nth-child(3) {
  animation-delay: -4s;
}

.proof-chip strong,
.panel-card strong,
.stat-card strong {
  display: block;
  margin: 0;
}

.proof-chip strong {
  font-size: 1rem;
  color: var(--text);
}

.proof-chip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-panel {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-head h2 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.panel-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 20px;
}

.panel-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.panel-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.panel-card strong {
  line-height: 1.6;
  font-size: 1rem;
}

.section {
  padding: 84px 0;
}

.section-compact {
  padding-top: 56px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-header h2,
.case-card h2,
.cta-copy h2 {
  max-width: 15ch;
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-note,
.service-card p,
.step-card p,
.case-card p,
.stat-card span,
.cta-copy p,
.cta-list li,
.lead-form span,
.form-note {
  color: var(--muted);
}

.section-note {
  max-width: 34ch;
  margin: 0;
  line-height: 1.8;
}

.service-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.step-card,
.case-card,
.stat-card,
.lead-form {
  border-radius: 24px;
}

.service-card,
.step-card {
  padding: 26px;
}

.service-card:hover,
.step-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.service-card,
.step-card,
.stat-card {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.service-card h3,
.step-card h3 {
  margin: 10px 0 0;
  font-size: 1.36rem;
  line-height: 1.3;
}

.service-card p,
.step-card p,
.case-card p,
.cta-copy p {
  margin: 14px 0 0;
  line-height: 1.82;
}

.service-tag {
  color: var(--accent-strong);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.case-layout,
.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: stretch;
}

.case-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 123, 66, 0.10), transparent 26%),
    var(--surface);
}

.case-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.case-title-block {
  min-width: 0;
  flex: 1;
}

.case-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.case-logo img {
  display: block;
  width: 88px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}

.case-card h2 {
  margin-top: 10px;
}

.case-note {
  color: var(--text);
  font-weight: 600;
}

.case-stats {
  display: grid;
  gap: 18px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 24px;
}

.stat-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  line-height: 1.7;
}

.cta-copy {
  align-self: center;
}

.cta-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.cta-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  font-size: 0.94rem;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(5, 11, 19, 0.74);
  color: var(--text);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #7690ab;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(255, 123, 66, 0.4);
  background: rgba(5, 11, 19, 0.92);
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -18px, 0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .case-layout,
  .cta-layout,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .header-row {
    min-height: 70px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-compact {
    padding-top: 44px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel,
  .service-card,
  .step-card,
  .case-card,
  .stat-card,
  .lead-form,
  .proof-chip {
    padding: 22px;
    border-radius: 22px;
  }

  .case-header {
    align-items: flex-start;
    gap: 20px;
  }

  .case-logo {
    margin-top: 6px;
  }

  .case-logo img {
    width: 58px;
    border-radius: 14px;
  }
}