:root {
  --bg: #071225;
  --bg-soft: #0b1d3d;
  --bg-card: rgba(255, 255, 255, 0.07);
  --primary: #1e88ff;
  --primary-strong: #4aa3ff;
  --primary-dark: #0d5ed7;
  --text: #f7fbff;
  --muted: #b8c7dc;
  --muted-strong: #d6e3f6;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
  --header-height: 76px;
}

* {
  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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 8%, rgba(30, 136, 255, 0.24), transparent 32%),
    radial-gradient(circle at 90% 18%, rgba(74, 163, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(7, 18, 37, 0.25), #071225 60%);
  z-index: -2;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--white);
  color: #071225;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 18, 37, 0.78);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #8fc7ff);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(30, 136, 255, 0.35);
  letter-spacing: -0.08em;
}

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

.nav-links a {
  color: var(--muted-strong);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 999px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.section {
  padding: 104px 0;
  position: relative;
}

.section-gradient {
  position: relative;
  overflow: hidden;
}

.section-gradient::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 999px;
  right: -330px;
  top: -220px;
  background: radial-gradient(circle, rgba(30, 136, 255, 0.28), transparent 66%);
  z-index: -1;
}

.hero {
  padding: 112px 0 92px;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
}

.hero-grid,
.split-grid,
.contact-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8fc7ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  color: var(--muted-strong);
  max-width: 720px;
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 18px 36px rgba(30, 136, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 22px 42px rgba(30, 136, 255, 0.38);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.pill-row span {
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.glass-card,
.service-card,
.feature-panel,
.why-card,
.contact-form,
.about-stats {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-card {
  width: min(100%, 460px);
  border-radius: 32px;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-strong);
  font-weight: 700;
  margin-bottom: 22px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #35e4a8;
  box-shadow: 0 0 0 8px rgba(53, 228, 168, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 18, 37, 0.62);
  border-radius: 20px;
  padding: 18px;
}

.metric strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span,
.progress-block span,
.footer-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.progress-block {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  margin-top: 18px;
}

.progress-block > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-strong);
  margin-bottom: 10px;
}

.progress-line {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #8fc7ff);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(143, 199, 255, 0.2);
  border-radius: 999px;
  animation: float 7s ease-in-out infinite;
}

.orbit-one {
  width: 420px;
  height: 420px;
}

.orbit-two {
  width: 560px;
  height: 560px;
  animation-delay: -2s;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
  margin: 0;
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

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

.service-card,
.why-card {
  border-radius: var(--radius);
  padding: 26px;
  min-height: 100%;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 199, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
}

.icon-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 22px;
  background: rgba(30, 136, 255, 0.13);
  color: #8fc7ff;
}

.icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.aws-section,
.why {
  background: rgba(255, 255, 255, 0.025);
}

.split-grid.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.split-copy p {
  font-size: 1.04rem;
}

.certification-note {
  border-left: 3px solid var(--primary-strong);
  padding: 14px 0 14px 18px;
  background: linear-gradient(90deg, rgba(30, 136, 255, 0.12), transparent);
  border-radius: 0 16px 16px 0;
}

.certification-note strong {
  color: var(--white);
}

.feature-panel {
  border-radius: 30px;
  padding: 30px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

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

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(30, 136, 255, 0.16);
  color: #8fc7ff;
  font-weight: 900;
  font-size: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fc7ff;
  font-weight: 800;
  margin-top: 10px;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}

.code-panel {
  overflow: hidden;
  padding: 0;
  background: #08162f;
}

.code-header {
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.code-header span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
}

code {
  color: #dcecff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
}

.about-grid {
  align-items: stretch;
}

.about-stats {
  display: grid;
  gap: 16px;
  border-radius: 30px;
  padding: 24px;
}

.about-stats div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(7, 18, 37, 0.42);
}

.about-stats strong {
  color: #8fc7ff;
  font-size: 1.5rem;
}

.about-stats span {
  color: var(--muted-strong);
}

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

.contact {
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  left: -280px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(30, 136, 255, 0.18), transparent 68%);
  z-index: -1;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list div {
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
}

.contact-list span {
  color: var(--muted);
}

.contact-form {
  border-radius: 30px;
  padding: 28px;
}

.contact-form label {
  display: block;
  font-weight: 800;
  color: var(--muted-strong);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  color: var(--white);
  background: rgba(7, 18, 37, 0.74);
  padding: 14px 15px;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(214, 227, 246, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(143, 199, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(30, 136, 255, 0.16);
  background: rgba(7, 18, 37, 0.9);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-grid p {
  margin-bottom: 0;
  max-width: 560px;
}

.footer-grid > div:last-child {
  display: grid;
  gap: 6px;
  text-align: right;
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.02); }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

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

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 18, 37, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .nav-links a {
    padding: 13px 14px;
  }

  .hero {
    padding: 78px 0 76px;
  }

  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-card {
    min-height: 420px;
  }

  .orbit-one {
    width: 320px;
    height: 320px;
  }

  .orbit-two {
    width: 430px;
    height: 430px;
  }

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

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

  .section {
    padding: 78px 0;
  }
}

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

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.6rem);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .services-grid,
  .why-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }

  .dashboard-card,
  .feature-panel,
  .contact-form,
  .about-stats {
    border-radius: 24px;
  }

  .orbit {
    display: none;
  }

  .about-stats div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer-grid > div:last-child {
    text-align: left;
  }

  .section-heading {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
