:root {
  --bg: #050914;
  --bg-strong: #03050d;
  --surface: #0d1530;
  --surface-soft: #111d3f;
  --surface-card: #121f42;
  --text: #ebefff;
  --text-soft: #b3bedf;
  --text-muted: #8b97be;
  --line: rgba(161, 176, 226, 0.2);
  --brand: #3f7bff;
  --brand-2: #26dcb9;
  --brand-3: #8f74ff;
  --success: #1bcf99;
  --danger: #ff6b7a;
  --max-width: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px rgba(1, 6, 21, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% -20%, rgba(63, 123, 255, 0.24), transparent 45%),
    radial-gradient(circle at 90% 0, rgba(38, 220, 185, 0.15), transparent 38%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(130, 147, 201, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 147, 201, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 22%, black 45%, transparent 85%);
  z-index: -1;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.15;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.15rem;
}

.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.7rem 0.95rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0.8rem;
  top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 8, 18, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(161, 176, 226, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(63, 123, 255, 0.28));
}

.brand-text {
  line-height: 1;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.btn-sm {
  padding: 0.68rem 1rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #5a83ff 45%, var(--brand-3));
  color: #fff;
  box-shadow: 0 16px 30px rgba(61, 104, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 22px 38px rgba(61, 104, 255, 0.4);
}

.btn-outline {
  border-color: rgba(142, 158, 210, 0.45);
  color: var(--text);
  background: rgba(19, 31, 66, 0.45);
}

.btn-ghost {
  border-color: rgba(142, 158, 210, 0.35);
  color: var(--text-soft);
  background: rgba(16, 26, 56, 0.5);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(142, 158, 210, 0.6);
}

.hero {
  position: relative;
  padding-top: 4.4rem;
}

.hero-bg-glow {
  position: absolute;
  width: min(680px, 75vw);
  aspect-ratio: 1;
  right: 2%;
  top: -18%;
  background: radial-gradient(circle, rgba(116, 94, 255, 0.24), transparent 66%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: start;
}

.kicker,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-2);
  border: 1px solid rgba(38, 220, 185, 0.35);
  background: rgba(14, 38, 43, 0.55);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
}

.hero-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.05rem, 5vw, 3.65rem);
  max-width: 14ch;
}

.subheadline {
  margin-top: 1.2rem;
  max-width: 60ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-tags {
  margin-top: 1.65rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-tags li {
  border: 1px solid rgba(153, 171, 225, 0.22);
  background: rgba(17, 28, 61, 0.65);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.86rem;
  padding: 0.48rem 0.8rem;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(20, 34, 73, 0.86), rgba(14, 23, 47, 0.86));
  border: 1px solid rgba(156, 172, 230, 0.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 1.25rem;
}

.hero-panel p {
  margin-top: 0.85rem;
  color: var(--text-soft);
}

.hero-metrics {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.78rem;
}

.metric-card {
  border: 1px solid rgba(156, 172, 230, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(8, 12, 30, 0.65);
  padding: 0.86rem 0.95rem;
}

.metric-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.24rem;
}

.metric-card strong {
  font-size: 0.94rem;
  font-weight: 600;
}

.trust-strip {
  margin-top: 3.2rem;
  border-top: 1px solid rgba(157, 172, 227, 0.15);
  border-bottom: 1px solid rgba(157, 172, 227, 0.15);
  background: rgba(8, 14, 32, 0.75);
}

.trust-strip-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.trust-strip p {
  color: var(--text-soft);
  max-width: 60ch;
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.trust-strip li {
  color: var(--text);
  font-size: 0.88rem;
  border: 1px solid rgba(153, 171, 225, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.section {
  padding: 5.2rem 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(5, 10, 22, 0.75), rgba(6, 9, 18, 0.95));
}

.section-header {
  max-width: 73ch;
}

.section-header h2 {
  margin-top: 0.95rem;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
}

.section-header p {
  margin-top: 1rem;
  color: var(--text-soft);
}

.services-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.process-card,
.about-panel,
.cert-card,
.result-card,
.contact-card,
.contact-form {
  border-radius: var(--radius);
  border: 1px solid rgba(160, 176, 228, 0.2);
  background:
    linear-gradient(180deg, rgba(19, 31, 67, 0.82), rgba(10, 18, 39, 0.9));
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(136, 154, 209, 0.34);
  background: linear-gradient(140deg, rgba(63, 123, 255, 0.2), rgba(38, 220, 185, 0.08));
  display: inline-grid;
  place-items: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-icon path,
.service-icon rect {
  stroke: #b8d7ff;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-top: 0.8rem;
}

.service-card p {
  color: var(--text-soft);
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.service-card ul {
  margin-top: 0.95rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.process-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.process-card {
  padding: 1.2rem;
}

.process-step {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--brand-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.process-card h3 {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.process-card p {
  margin-top: 0.7rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.about-content p {
  margin-top: 1rem;
  color: var(--text-soft);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill-list li {
  border: 1px solid rgba(147, 162, 214, 0.3);
  border-radius: 999px;
  background: rgba(15, 24, 50, 0.58);
  padding: 0.45rem 0.78rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.about-panel {
  padding: 1.25rem;
}

.about-panel h3 {
  font-size: 1.15rem;
}

.difference-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.65rem;
  color: var(--text-soft);
}

.results-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cert-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cert-card {
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.cert-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cert-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #f7f9ff;
  border: 1px solid rgba(186, 200, 240, 0.52);
  overflow: hidden;
}

.cert-logo-wrap.aws {
  width: 70px;
}

.cert-org-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.cert-logo-wrap.aws .cert-org-logo {
  width: 60px;
  height: 28px;
}

.cert-card h3 {
  font-size: 1.04rem;
}

.cert-org {
  margin-top: 0.32rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cert-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.cert-skills li {
  border: 1px solid rgba(149, 167, 223, 0.26);
  background: rgba(10, 18, 39, 0.68);
  color: var(--text-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.36rem 0.62rem;
}

.result-card {
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.result-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -55px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 116, 255, 0.22), transparent 70%);
}

.result-card h3 {
  font-size: 1.12rem;
}

.result-card p {
  margin-top: 0.7rem;
  max-width: 45ch;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.contact-card {
  padding: 1.2rem;
  margin-top: 1.35rem;
}

.contact-card h3 {
  font-size: 1.05rem;
}

.contact-card ul {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.8rem;
  color: var(--text-soft);
}

.contact-card strong {
  color: var(--text);
}

.contact-card a {
  color: #9cc7ff;
}

.contact-form {
  padding: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.contact-form label {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(155, 173, 228, 0.22);
  background: rgba(8, 15, 33, 0.72);
  color: var(--text);
  padding: 0.8rem;
  font: inherit;
}

.contact-form .hidden-field {
  display: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(72, 134, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(72, 134, 255, 0.18);
}

.contact-form button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  min-height: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.form-feedback.error {
  color: var(--danger);
}

.form-feedback.success {
  color: var(--success);
}

.site-footer {
  border-top: 1px solid rgba(160, 176, 228, 0.16);
  background: var(--bg-strong);
  padding-top: 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.32rem;
}

.footer-logo {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.footer-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer small {
  color: var(--text-soft);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(160, 176, 228, 0.14);
  margin-top: 1.8rem;
  padding: 1rem 0 1.5rem;
}

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

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

@media (max-width: 1120px) {
  .desktop-cta {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 72px;
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(154, 171, 225, 0.22);
    background: rgba(9, 15, 33, 0.96);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-left: 0;
    box-shadow: var(--shadow);
  }

  .main-nav.active {
    display: flex;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .trust-strip-inner {
    min-height: auto;
    padding: 0.95rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .cert-grid,
  .results-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }
}
