:root {
  --bg: #0b1020;
  --surface: #11182d;
  --surface-2: #16203a;
  --surface-3: rgba(255, 255, 255, 0.04);
  --primary: #7c3aed;
  --primary-2: #22d3ee;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --success: #34d399;
  --shadow: 0 24px 60px rgba(5, 10, 25, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 25%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--text);
  border-radius: 12px;
}

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

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

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

.section {
  padding: 88px 0;
}

.section-surface {
  position: relative;
}

.section-surface::before {
  content: "";
  position: absolute;
  inset: 22px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.section-surface > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h1,
.section-heading h2,
.hero h1 {
  margin: 0 0 18px;
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 4.4rem);
  max-width: 11ch;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

.section-heading p,
.hero-text,
.card p,
.faq-panel p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--primary-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  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;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), #5b21b6 65%, var(--primary-2));
  box-shadow: 0 18px 40px rgba(96, 51, 200, 0.32);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button-full {
  width: 100%;
}

.hero {
  padding-top: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

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

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-features li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  inset: 12% 12%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.orbit-a {
  animation: floatOrbit 18s linear infinite;
}

.orbit-b {
  inset: 6%;
  animation: floatOrbit 26s linear infinite reverse;
}

.dashboard-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 24, 45, 0.9), rgba(17, 24, 45, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.dashboard-main {
  left: 10%;
  right: 8%;
  top: 17%;
  padding: 28px;
}

.dashboard-topline,
.dashboard-metrics,
.dashboard-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topline {
  margin-bottom: 20px;
}

.dashboard-topline span,
.dashboard-side span,
.dashboard-side small,
.dashboard-metrics span,
.pricing-label,
.case-tag {
  color: var(--muted);
}

.dashboard-topline strong,
.dashboard-side strong,
.dashboard-metrics strong,
.metric-card strong,
.contact-highlight strong {
  font-family: "Manrope", "Inter", sans-serif;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 180px;
}

.chart-bars span {
  display: block;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  animation: barsPulse 3s ease-in-out infinite;
}

.chart-bars span:nth-child(1) { height: 34%; }
.chart-bars span:nth-child(2) { height: 50%; }
.chart-bars span:nth-child(3) { height: 68%; }
.chart-bars span:nth-child(4) { height: 58%; }
.chart-bars span:nth-child(5) { height: 86%; }
.chart-bars span:nth-child(6) { height: 96%; }

.chart-bars span:nth-child(2n) {
  animation-delay: 0.25s;
}

.dashboard-metrics {
  margin-top: 22px;
}

.dashboard-metrics article {
  flex: 1;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-side {
  width: 240px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px;
}

.dashboard-side-top {
  top: 8%;
  right: 2%;
}

.dashboard-side-bottom {
  left: 0;
  bottom: 10%;
}

.cards-grid,
.pricing-grid,
.metrics-grid {
  display: grid;
  gap: 22px;
}

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

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

.metrics-layout,
.benefits-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

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

.card,
.faq-item,
.benefit-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.card,
.benefit-item {
  padding: 26px;
  border-radius: var(--radius-md);
}

.service-card,
.case-card,
.pricing-card,
.metric-card,
.process-card {
  min-height: 100%;
}

.icon-chip,
.step-number,
.case-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(124, 58, 237, 0.14);
  color: var(--primary-2);
  font-weight: 700;
}

.card h3,
.pricing-card h3,
.contact-copy h2,
.faq-trigger,
.modal-dialog h2 {
  margin: 0 0 12px;
}

.pricing-card h3,
.metric-value {
  font-size: clamp(2rem, 4vw, 3rem);
}

.pricing-card ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.pricing-card li,
.benefit-item {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.pricing-card li + li {
  margin-top: 12px;
}

.pricing-card li::before,
.benefit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.pricing-card-featured {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.45);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.18), rgba(255, 255, 255, 0.03));
}

.case-card-accent {
  border-color: rgba(34, 211, 238, 0.32);
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

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

.section-action {
  margin-top: 30px;
}

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

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

.faq-item {
  border-radius: 18px;
  overflow: hidden;
}

.faq-item[open] .faq-trigger {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  list-style: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

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

.faq-panel {
  padding: 0 26px 24px;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleX(0.2);
}

.contact-center {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: 56px 24px;
}

.contact-center .eyebrow {
  margin-bottom: 0;
}

.contact-center h2 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-email {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 0 24px rgba(124, 58, 237, 0.18);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--primary-2);
  transform: translateY(-2px);
}


.faq-trigger:focus-visible,
.menu-toggle:focus-visible,
.button:focus-visible,
.site-nav a:focus-visible,
.contact-email:focus-visible {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.site-footer {
  padding: 22px 0 38px;
}

.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p,
.footer-links {
  color: var(--muted);
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@keyframes floatOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes barsPulse {
  0%, 100% { transform: scaleY(0.92); opacity: 0.9; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(17, 24, 45, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .menu-toggle {
    display: inline-block;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .metrics-layout,
  .benefits-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

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

  .services-grid,
  .cases-grid,
  .pricing-grid,
  .process-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.65rem);
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 16px;
    overflow: visible;
  }

   .hero-orbit {
    display: none;
   }

  .dashboard-card {
    position: relative;
  }

  .dashboard-main {
    left: auto;
    right: auto;
    top: auto;
    padding: 22px;
  }

  .dashboard-metrics {
    flex-direction: column;
  }

  .dashboard-side {
    width: 100%;
  }

  .dashboard-side,
  .dashboard-side-top {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .hero-actions,
  .footer-inner,
  .footer-links {
    align-items: stretch;
  }

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

  .card,
  .benefit-item {
    padding: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


.footer-links a,
.legal-content a,
.cookie-banner a {
  color: var(--primary-2);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible,
.cookie-banner a:hover,
.cookie-banner a:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(17, 24, 45, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner__button {
  min-height: 46px;
  padding: 0 22px;
  flex: none;
}

.legal-hero {
  padding-top: 64px;
}

.legal-content {
  padding-top: 0;
}

.legal-card {
  max-width: 920px;
  padding: 34px;
  margin: 0 auto;
}

.legal-card h2 {
  margin: 34px 0 14px;
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.2;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 24px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}

.legal-note {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

@media (max-width: 760px) {
  .cookie-banner {
    bottom: 12px;
    width: min(100% - 24px, 560px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-banner__button {
    width: 100%;
  }

  .legal-card {
    padding: 22px;
  }
}
