:root {
  --bg: #050706;
  --bg-soft: #0a1110;
  --panel: rgba(8, 15, 14, 0.78);
  --panel-strong: #0d1514;
  --text: #f4f8f7;
  --muted: #9eb0aa;
  --line: rgba(134, 255, 206, 0.16);
  --green: #4af3bf;
  --green-strong: #15c98d;
  --green-soft: rgba(74, 243, 191, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 216, 151, 0.17), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(74, 243, 191, 0.12), transparent 22%),
    linear-gradient(180deg, #030504 0%, #050706 45%, #08100f 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(3, 7, 6, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.brand {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 243, 191, 0.22), rgba(10, 18, 17, 0.92));
  border: 1px solid rgba(74, 243, 191, 0.24);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 28px rgba(0, 0, 0, 0.34);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(74, 243, 191, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(74, 243, 191, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  color: #03110d;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(21, 201, 141, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(21, 201, 141, 0.36);
}

.button-small {
  min-height: 46px;
  padding: 0 18px;
}

.nav-links .button,
.nav-links .button-small {
  color: #03110d;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  padding: 72px 0 56px;
  min-height: calc(100vh - 88px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    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.8), transparent 88%);
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.32;
  pointer-events: none;
}

.aurora-one {
  width: 320px;
  height: 320px;
  top: 130px;
  left: -70px;
  background: rgba(74, 243, 191, 0.34);
}

.aurora-two {
  width: 260px;
  height: 260px;
  top: 80px;
  right: 2%;
  background: rgba(36, 140, 255, 0.2);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.84rem;
  letter-spacing: 0.34em;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.solutions-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.03;
}

.hero h1 {
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.solutions-copy p,
.contact-copy p,
.service-card p,
.stack-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.hero-metrics div {
  min-width: 120px;
}

.hero-metrics strong {
  display: block;
  font-size: 2rem;
  font-family: "Orbitron", sans-serif;
  color: var(--green);
}

.hero-metrics span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.logo-card {
  position: absolute;
  inset: 80px 48px 100px 48px;
  display: grid;
  place-items: center;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(18, 32, 30, 0.9), rgba(5, 10, 10, 0.95)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(74, 243, 191, 0.3), transparent 42%);
  animation: spin 14s linear infinite;
}

.logo-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 37px;
  background: linear-gradient(180deg, rgba(5, 9, 8, 0.9), rgba(7, 15, 14, 0.84));
}

.logo-card img,
.logo-ring {
  position: relative;
  z-index: 1;
}

.logo-card img {
  width: min(90%, 530px);
  padding: 30px;
}

.logo-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(74, 243, 191, 0.18);
  box-shadow: inset 0 0 80px rgba(74, 243, 191, 0.08);
}

.floating-panel {
  position: absolute;
  z-index: 2;
  max-width: 250px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(8, 15, 14, 0.85);
  border: 1px solid rgba(74, 243, 191, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.floating-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-panel strong {
  line-height: 1.55;
}

.panel-top {
  top: 40px;
  right: 0;
  animation: float 5s ease-in-out infinite;
}

.panel-bottom {
  bottom: 26px;
  left: 0;
  animation: float 6.5s ease-in-out infinite reverse;
}

.trust-bar {
  padding: 16px 0 34px;
}

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

.trust-items span {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: #d7e6e1;
}

.section {
  padding: 110px 0;
}

.section-dark {
  background:
    radial-gradient(circle at 80% 30%, rgba(74, 243, 191, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.solutions-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 20px;
}

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

.service-card,
.stack-card,
.stat-card,
.contact-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 280px;
  padding: 28px;
}

.service-card::before,
.stack-card::before,
.stat-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 243, 191, 0.11), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-card:hover::before,
.stack-card:hover::before,
.stat-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.service-card h3,
.stack-card h3,
.timeline-item h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.solutions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.feature-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: #dce9e5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #b0ffe7);
  box-shadow: 0 0 16px rgba(74, 243, 191, 0.44);
}

.solutions-stack {
  display: grid;
  gap: 18px;
}

.stack-card {
  padding: 30px;
}

.stack-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
}

.timeline-index {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(74, 243, 191, 0.09);
  border: 1px solid rgba(74, 243, 191, 0.18);
  color: var(--green);
  font-family: "Orbitron", sans-serif;
}

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

.stat-card {
  padding: 28px;
}

.stat-card strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: "Orbitron", sans-serif;
  color: var(--green);
}

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

.contact-section {
  padding-bottom: 140px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-option {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(7, 14, 13, 0.72);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-option:hover {
  border-color: rgba(74, 243, 191, 0.22);
  transform: translateY(-2px);
}

.contact-option-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(74, 243, 191, 0.09);
  border: 1px solid rgba(74, 243, 191, 0.18);
  color: var(--green);
}

.contact-option-icon svg {
  width: 24px;
  height: 24px;
}

.contact-option h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.contact-option p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-option-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-option-links li + li {
  margin-top: 8px;
}

.contact-option-links a {
  color: var(--green);
  font-weight: 700;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.contact-option-links a:hover,
.contact-option-links a:focus-visible {
  color: #b0ffe7;
  text-shadow: 0 0 18px rgba(74, 243, 191, 0.28);
}

.contact-card {
  padding: 30px;
}

.contact-card label {
  display: block;
  margin-bottom: 18px;
  color: #d7e8e2;
  font-weight: 600;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(74, 243, 191, 0.42);
  box-shadow: 0 0 0 4px rgba(74, 243, 191, 0.08);
}

.form-status {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  color: #b0ffe7;
  background: rgba(74, 243, 191, 0.1);
  border: 1px solid rgba(74, 243, 191, 0.24);
}

.form-status[data-state="error"] {
  color: #ffd0d0;
  background: rgba(255, 96, 96, 0.1);
  border: 1px solid rgba(255, 96, 96, 0.24);
}

.form-status[data-state="loading"] {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 1100px) {
  .hero-content,
  .solutions-layout,
  .contact-layout,
  .cards-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    align-items: start;
  }

  .hero-visual {
    min-height: 520px;
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(5, 9, 8, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

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

  .hero,
  .section {
    padding: 88px 0;
  }

  .hero-content,
  .solutions-layout,
  .contact-layout,
  .cards-grid,
  .stats-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 480px;
  }

  .logo-card {
    inset: 70px 12px 100px;
  }

  .floating-panel {
    max-width: 220px;
  }

  .panel-top {
    right: 10px;
  }

  .panel-bottom {
    left: 10px;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 78px;
  }

  .brand {
    width: 62px;
    height: 62px;
  }

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

  .hero h1 {
    font-size: 2.8rem;
  }

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

  .button,
  .button-small {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-index {
    width: 58px;
    height: 58px;
  }

  .contact-option {
    grid-template-columns: 1fr;
  }

  .logo-card img {
    padding: 20px;
  }
}
