:root {
  --bg: #0b1220;
  --bg-alt: #10192b;
  --panel: rgba(18, 28, 46, 0.88);
  --panel-solid: #121c2e;
  --panel-border: rgba(84, 104, 138, 0.35);
  --text: #f5f7fa;
  --muted: #b7c0d1;
  --soft: #7e889b;
  --gold: #b88746;
  --gold-bright: #d6a85c;
  --blue: #2f80ed;
  --green: #22c55e;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(47, 128, 237, 0.14), transparent 25%),
    radial-gradient(circle at top left, rgba(184, 135, 70, 0.12), transparent 24%),
    linear-gradient(180deg, #09101b 0%, #0b1220 40%, #09101a 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.18;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  left: -8%;
  bottom: 10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.12), transparent 68%);
  filter: blur(18px);
  opacity: 0.72;
  animation: ambientFloat 18s ease-in-out infinite;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8, 14, 24, 0.82);
  border-bottom: 1px solid rgba(95, 113, 145, 0.18);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(8, 14, 24, 0.94);
  border-bottom-color: rgba(184, 135, 70, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 236px;
  height: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(95, 113, 145, 0.3);
  background: rgba(18, 28, 46, 0.82);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: #111827;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.site-nav .nav-cta:hover {
  color: #111827;
  filter: brightness(1.05);
}

.hero {
  position: relative;
  padding: 88px 0 52px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 20, 0.94) 0%, rgba(7, 12, 20, 0.72) 48%, rgba(7, 12, 20, 0.28) 100%),
    url("design.png") center/cover no-repeat;
  opacity: 0.98;
  z-index: -2;
  animation: heroBreath 14s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  min-height: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-copy p,
.section-intro p,
.lead,
.card p,
.info-block p,
.timeline-step p,
.contact-box p,
.profile-card p {
  color: var(--muted);
}

.hero-copy .lead {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button.primary {
  color: #111827;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 10px 26px rgba(184, 135, 70, 0.28);
}

.button.secondary {
  color: var(--text);
  background: rgba(15, 24, 40, 0.72);
  border-color: rgba(47, 128, 237, 0.35);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 430px);
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 25, 43, 0.92), rgba(11, 18, 32, 0.86));
  border: 1px solid rgba(184, 135, 70, 0.24);
  box-shadow: var(--shadow);
  animation: panelFloat 10s ease-in-out infinite;
}

.hero-panel h3 {
  margin-bottom: 18px;
}

.metric-list {
  display: grid;
  gap: 16px;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(95, 113, 145, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.metric:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 135, 70, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 1.4rem;
  font-family: "Montserrat", Arial, sans-serif;
}

.metric span {
  color: var(--soft);
  font-size: 0.95rem;
}

.metric-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(214, 168, 92, 0.16), rgba(47, 128, 237, 0.12));
  border: 1px solid rgba(214, 168, 92, 0.25);
  color: var(--gold-bright);
  font-size: 1.15rem;
  line-height: 1;
}

.metric-badge.operators::before {
  content: "\260E";
}

.metric-badge.scale::before {
  content: "\2197";
}

.metric-badge.talent::before {
  content: "\25C8";
}

.stats-strip {
  margin-top: -24px;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 22px;
  border-radius: 16px;
  background: rgba(16, 25, 43, 0.9);
  border: 1px solid rgba(95, 113, 145, 0.22);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.08) 48%, transparent 76%);
  transform: translateX(-140%);
  animation: statSweep 9s ease-in-out infinite;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 135, 70, 0.28);
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
}

.stat-card span {
  color: var(--muted);
}

section {
  padding: 96px 0;
}

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

.section-header p {
  max-width: 700px;
  margin: 12px 0 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.info-block,
.timeline-step,
.contact-box,
.profile-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 28, 46, 0.92), rgba(11, 18, 32, 0.96));
  border: 1px solid rgba(95, 113, 145, 0.22);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.info-block:hover,
.timeline-step:hover,
.profile-card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 135, 70, 0.26);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(214, 168, 92, 0.15), rgba(47, 128, 237, 0.12));
  border: 1px solid rgba(214, 168, 92, 0.24);
  color: var(--gold-bright);
  font-size: 1.25rem;
  line-height: 1;
}

.card-icon.sales::before {
  content: "\2197";
}

.card-icon.support::before {
  content: "\260E";
}

.card-icon.retention::before {
  content: "\27F3";
}

.card-icon.crm::before {
  content: "\25A3";
}

.list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 10px rgba(214, 168, 92, 0.28);
}

.feature-panel {
  padding: 36px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(12, 19, 33, 0.84), rgba(12, 19, 33, 0.94)),
    url("design.png") center/cover no-repeat;
  border: 1px solid rgba(184, 135, 70, 0.2);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 168, 92, 0.3);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.timeline-step strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.page-hero {
  padding: 96px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 20, 0.92) 0%, rgba(7, 12, 20, 0.68) 50%, rgba(7, 12, 20, 0.44) 100%),
    url("design.png") center/cover no-repeat;
  z-index: -1;
}

.page-hero .lead {
  max-width: 780px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 28, 46, 0.86);
  border: 1px solid rgba(95, 113, 145, 0.24);
  color: var(--muted);
  font-size: 0.9rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.quote-box {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 28, 46, 0.9), rgba(11, 18, 32, 0.96));
  border: 1px solid rgba(184, 135, 70, 0.2);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.quote-box::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 92, 0.12), transparent 70%);
  animation: ambientFloat 16s ease-in-out infinite reverse;
}

.quote-box p {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text);
}

.quote-box span {
  color: var(--gold-bright);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form .field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid rgba(95, 113, 145, 0.24);
  background: rgba(10, 16, 28, 0.88);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(95, 113, 145, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambientFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(38px, -20px, 0); }
}

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

@keyframes heroBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes statSweep {
  0%, 100% { transform: translateX(-140%); }
  45%, 60% { transform: translateX(140%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.reveal-visible {
    opacity: 1;
    transform: none;
  }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--soft);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hero-grid,
  .highlight-grid,
  .contact-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(8, 14, 24, 0.98);
    border: 1px solid rgba(95, 113, 145, 0.2);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    padding-top: 48px;
  }

  .brand-logo {
    width: 188px;
  }

  .hero-panel {
    width: 100%;
    justify-self: stretch;
  }

  .stats-grid,
  .grid-2,
  .grid-4,
  .contact-form .field-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }

  .section-header {
    display: block;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-logo {
    width: min(172px, 52vw);
  }

  .site-nav {
    left: 12px;
    right: 12px;
  }

  .hero,
  .page-hero {
    padding-top: 40px;
  }

  .hero-grid {
    gap: 24px;
    min-height: auto;
  }

  .hero-panel,
  .card,
  .info-block,
  .timeline-step,
  .contact-box,
  .profile-card,
  .feature-panel,
  .quote-box,
  .stat-card {
    padding: 22px;
  }

  .hero-actions,
  .cta-actions {
    gap: 12px;
  }

  .button {
    width: 100%;
  }
}
