:root {
  --bg: #0b1020;
  --bg-soft: #121a32;
  --panel: rgba(15, 24, 48, 0.72);
  --panel-border: rgba(255, 255, 255, 0.08);
  --surface: #ffffff;
  --text: #0e1730;
  --text-soft: #5e6986;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.74);
  --line: rgba(18, 26, 50, 0.12);
  --brand: #5f82ff;
  --brand-2: #73d4ff;
  --success: #15b67f;
  --shadow: 0 24px 60px rgba(9, 15, 31, 0.2);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(115, 212, 255, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(95, 130, 255, 0.22), transparent 26%),
    linear-gradient(180deg, #f4f7ff 0%, #eef2fb 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

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

.narrow-flow {
  width: min(calc(100% - 32px), 800px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(244, 247, 255, 0.7);
  border-bottom: 1px solid rgba(14, 23, 48, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
}

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

.site-nav a {
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--white) !important;
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

.hero,
.page-hero {
  padding: 82px 0 32px;
}

.slim-hero {
  padding-bottom: 10px;
}

.hero-grid,
.showcase-grid,
.about-grid,
.contact-grid,
.faq-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.showcase-grid,
.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

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

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 12px 0 18px;
}

.hero-copy p,
.page-hero p,
.section-head p,
.about-block p,
.card p,
.service-card-lg p,
.timeline-card p,
.pricing-card p,
.value-card p,
.team-card p,
.contact-card p,
.sidebar-card p,
.legal-copy p,
.faq-list p,
.site-footer p {
  color: var(--text-soft);
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #4961b6;
  font-weight: 700;
}

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

.hero-actions,
.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(95, 130, 255, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border-color: rgba(14, 23, 48, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 23, 48, 0.06);
  border-radius: 18px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
}

.hero-metrics span,
.form-note {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(14, 23, 48, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  padding: 20px;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(180deg, #111a35 0%, #182445 100%);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.floating-card {
  position: absolute;
  max-width: 260px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 35px rgba(8, 15, 32, 0.28);
}

.floating-card strong,
.toast-inner strong,
.card h3,
.pricing-card h3,
.team-card h3,
.value-card h3,
.sidebar-card h3,
.service-card-lg h2 {
  display: block;
  letter-spacing: -0.04em;
}

.floating-card small {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.45;
}

.floating-card-top {
  top: 28px;
  right: 24px;
}

.floating-card-bottom {
  bottom: 26px;
  left: 24px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(95, 130, 255, 0.12);
  color: #3f56a8;
  font-size: 0.78rem;
  font-weight: 700;
}

.logo-strip {
  padding: 22px 0 12px;
}

.logo-strip p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

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

.logo-grid span {
  display: grid;
  place-items: center;
  min-height: 82px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(14, 23, 48, 0.06);
  color: #6d7790;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.35);
}

.section-head {
  margin-bottom: 28px;
}

.split-head {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.center-head {
  text-align: center;
}

.section-head h2,
.cta-panel h2,
.legal-copy h2,
.contact-card h2,
.about-block h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 10px 0 0;
}

.cards {
  display: grid;
  gap: 22px;
}

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

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

.card,
.pricing-card,
.value-card,
.team-card,
.timeline-card,
.service-card-lg,
.contact-card,
.sidebar-card,
.about-block,
.legal-copy {
  padding: 28px;
}

.icon-box,
.avatar-circle {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(95, 130, 255, 0.16), rgba(115, 212, 255, 0.18));
  color: #3d57aa;
  font-weight: 800;
  margin-bottom: 20px;
}

.avatar-circle {
  border-radius: 50%;
}

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

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.compact-list li {
  line-height: 1.6;
}

.image-panel {
  padding: 18px;
}

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

.timeline-card span,
.service-head .tag {
  margin-bottom: 16px;
}

.timeline-card h3,
.team-card h3,
.value-card h3,
.pricing-card h3,
.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

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

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
}

.cta-band {
  padding-top: 16px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, #111a35, #1b2550);
  color: var(--white);
}

.cta-panel .eyebrow,
.site-footer h4,
.site-footer a,
.site-footer p,
.cta-panel h2 {
  color: var(--white);
}

.service-stack,
.team-grid {
  align-items: start;
}

.featured-card {
  border-color: rgba(95, 130, 255, 0.32);
  transform: translateY(-6px);
}

.service-head {
  margin-bottom: 14px;
}

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

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.contact-form,
.field-grid {
  display: grid;
  gap: 18px;
}

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

label {
  display: grid;
  gap: 9px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(14, 23, 48, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(95, 130, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(95, 130, 255, 0.12);
}

.legal-copy a,
.sidebar-card a,
.site-footer a {
  color: #d8e2ff;
}

.site-footer {
  margin-top: 40px;
  background: #0c1225;
  color: var(--white);
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 0.6fr;
  gap: 24px;
}

.footer-grid h4 {
  margin: 0 0 12px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

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

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-inner {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.95);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.toast-inner span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .hero-grid,
  .showcase-grid,
  .contact-grid,
  .about-grid,
  .faq-grid,
  .split-head,
  .footer-grid,
  .timeline-grid,
  .three-up,
  .two-up,
  .logo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(14, 23, 48, 0.08);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .page-hero,
  .section {
    padding: 56px 0;
  }

  .hero-grid,
  .showcase-grid,
  .contact-grid,
  .about-grid,
  .faq-grid,
  .split-head,
  .timeline-grid,
  .three-up,
  .two-up,
  .field-grid.two-cols,
  .logo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 18px;
  }
}
