:root {
  --bg: #07131f;
  --bg-deep: #030b12;
  --surface: rgba(10, 22, 34, 0.86);
  --surface-strong: rgba(8, 17, 28, 0.92);
  --surface-light: #f4f5f2;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(7, 19, 31, 0.08);
  --text: #eef4ef;
  --text-soft: rgba(238, 244, 239, 0.76);
  --ink: #10202a;
  --ink-soft: rgba(16, 32, 42, 0.72);
  --brand: #1f8dff;
  --brand-strong: #0d6bd2;
  --accent: #78ff33;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.14);
  --shadow-strong: 0 36px 90px rgba(0, 0, 0, 0.3);
  --radius-lg: 32px;
  --radius-md: 24px;
  --container: 1180px;
  --header-height: 82px;
  --font-body: "Manrope", sans-serif;
  --font-display: "Oxanium", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 141, 255, 0.1), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(120, 255, 51, 0.08), transparent 18%),
    linear-gradient(180deg, #f6f7f3 0%, #f2f3ee 50%, #eff1eb 100%);
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease,
    padding 200ms ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(4, 10, 17, 0.82);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: min(34vw, 178px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(6, 16, 26, 0.42));
}

.brand-tagline {
  display: none;
}

.site-nav {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 11, 18, 0.95);
  box-shadow: var(--shadow-strong);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a:focus-visible,
.nav-toggle:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(31, 141, 255, 0.34);
  outline-offset: 3px;
}

.nav-cta {
  border: 1px solid rgba(120, 255, 51, 0.3);
  background: linear-gradient(135deg, rgba(120, 255, 51, 0.18), rgba(31, 141, 255, 0.14));
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(5, 11, 18, 0.76);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--white, #fff);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 72px) 0 56px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(2, 8, 12, 0.97) 0%, rgba(2, 8, 12, 0.88) 34%, rgba(2, 8, 12, 0.68) 56%, rgba(2, 8, 12, 0.8) 100%),
    var(--hero-background-image) 72% center / cover no-repeat,
    var(--bg);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  top: 130px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(120, 255, 51, 0.18), transparent 70%);
}

.hero::after {
  right: -60px;
  bottom: 40px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(31, 141, 255, 0.18), transparent 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 100%);
  opacity: 0.1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: end;
}

.hero-copy {
  padding-top: 104px;
}

.js .hero-copy,
.js .section-heading,
.js .solution-card,
.js .cta-shell {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 550ms ease,
    transform 550ms ease;
}

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

.section-kicker {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .section-kicker {
  color: #c0ff7d;
}

.section-heading .section-kicker,
.cta-shell .section-kicker {
  color: var(--brand-strong);
}

.hero h1,
.section-heading h2,
.cta-shell h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10.6ch;
  font-size: clamp(2.9rem, 8.5vw, 6.2rem);
}

.hero-text,
.section-heading p,
.mini-card p,
.solution-card p,
.cta-shell p,
.footer-brand p {
  line-height: 1.72;
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1rem;
  color: var(--text-soft);
}

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

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 18px 40px rgba(13, 107, 210, 0.32);
}

.button-secondary,
.button-instagram,
.button-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.button-instagram {
  gap: 10px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
  box-shadow: 0 18px 40px rgba(199, 54, 139, 0.34);
}

.button-instagram:hover,
.button-instagram:focus-visible {
  box-shadow: 0 22px 46px rgba(199, 54, 139, 0.4);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(16, 32, 42, 0.14);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: none;
}

.button-large {
  min-width: 220px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(4, 10, 17, 0.5);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.mini-card p,
.mini-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.section {
  padding: 84px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.cta-shell h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--ink);
}

.section-heading p,
.cta-shell p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.solution-grid {
  display: grid;
  gap: 18px;
}

.solution-card,
.cta-shell,
.band-shell,
.footer-grid {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.solution-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 32, 42, 0.08);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  border-color: rgba(31, 141, 255, 0.16);
}

.icon-shell {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(31, 141, 255, 0.15), rgba(120, 255, 51, 0.14));
}

.icon-shell svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.solution-card p,
.footer-brand p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-cta {
  padding-bottom: 96px;
}

.cta-shell {
  display: grid;
  gap: 22px;
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.74));
  border: 1px solid var(--line-dark);
}

.site-footer {
  position: relative;
  margin-top: 0;
  padding: 56px 0 34px;
  background:
    radial-gradient(circle at 85% 18%, rgba(5, 141, 243, 0.16), transparent 22%),
    linear-gradient(180deg, #06101a 0%, #07131f 58%, #050d16 100%);
  color: rgba(234, 244, 255, 0.82);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(5, 141, 243, 0), rgba(5, 141, 243, 0.9), rgba(5, 141, 243, 0));
}

.footer-grid {
  display: grid;
  gap: 30px;
  padding: 0 0 28px;
  color: rgba(234, 244, 255, 0.82);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand img {
  width: min(100%, 190px);
  margin-bottom: 0;
  filter: drop-shadow(0 0 14px rgba(6, 16, 26, 0.34));
}

.footer-brand .brand-tagline {
  display: none;
}

.footer-label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3f9ff;
}

.footer-column a {
  display: block;
  margin-bottom: 12px;
  color: rgba(234, 244, 255, 0.92);
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #82c9ff;
}

.footer-bottom {
  display: grid;
  gap: 18px;
}

.footer-copyright,
.footer-credit {
  margin: 0;
}

.footer-copyright {
  color: rgba(234, 244, 255, 0.7);
  font-size: 0.95rem;
}

.footer-credit {
  padding-top: 22px;
  border-top: 1px solid rgba(234, 244, 255, 0.12);
  color: rgba(234, 244, 255, 0.64);
  font-size: 0.95rem;
}

.footer-credit a {
  color: #9ed5ff;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #c9e8ff;
}

@media (min-width: 720px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  .hero {
    padding-bottom: 90px;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .cta-shell {
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: center;
    padding: 42px 38px;
  }
}

@media (min-width: 960px) {
  .site-header {
    padding: 18px 0;
  }

  .header-inner {
    min-height: 56px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(4, 10, 17, 0.58);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero {
    min-height: 88vh;
    display: grid;
    align-items: center;
    padding-top: calc(var(--header-height) + 44px);
  }

  .section {
    padding: 110px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
