:root {
  --bg: #111a2b;
  --bg-alt: #16233a;
  --surface: #1a2a45;
  --text: #e8ecf8;
  --muted: #bcc7df;
  --line: #334767;
  --brand: #6ee7ff;
  --brand-2: #8b5cf6;
  --ok: #22c55e;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(110, 231, 255, 0.16), transparent),
    radial-gradient(1000px 500px at -10% 10%, rgba(139, 92, 246, 0.14), transparent),
    radial-gradient(900px 450px at 50% 0%, rgba(255, 255, 255, 0.05), transparent), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(17, 26, 43, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 16px rgba(110, 231, 255, 0.8);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  padding: 6.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.78rem;
  margin: 0 0 0.9rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin: 0 0 0.65rem;
}

h3 {
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.hero-copy,
.section-copy {
  color: var(--muted);
  max-width: 65ch;
}

.hero-motto {
  margin: 0.15rem 0 0.95rem;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.78rem 1.05rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), #5ad2ff);
  color: #05101f;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(110, 231, 255, 0.22);
}

.btn-sm {
  padding: 0.58rem 0.8rem;
  font-size: 0.88rem;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--text);
}

.text-link {
  display: inline-flex;
  margin-top: 0.95rem;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 26, 48, 0.96), rgba(18, 26, 48, 0.72));
  border-radius: 16px;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(14, 21, 40, 0.75), rgba(14, 21, 40, 0.38));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.card {
  background: rgba(18, 26, 48, 0.76);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.case-study .case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  font-size: 0.76rem;
  color: var(--brand);
  border: 1px solid rgba(110, 231, 255, 0.35);
  background: rgba(110, 231, 255, 0.08);
}

.case-metrics {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.metrics-placeholder {
  margin: 0.8rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--muted);
  font-size: 0.92rem;
}

.table-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 26, 48, 0.76);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(12, 18, 33, 0.97);
  color: var(--text);
  font-weight: 700;
}

.comparison-table tbody td {
  color: var(--muted);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  color: var(--text);
  font-weight: 600;
  width: 21%;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.process-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(18, 26, 48, 0.6);
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: rgba(18, 26, 48, 0.55);
}

details + details {
  margin-top: 0.7rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.contact-wrap {
  text-align: center;
}

.pricing-grid,
.testimonial-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 255, 0.32);
  color: var(--brand);
  background: rgba(110, 231, 255, 0.08);
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  margin: 0;
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.pricing-card .btn {
  margin-top: auto;
}

.highlight-card {
  border-color: rgba(110, 231, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(110, 231, 255, 0.2), var(--shadow);
}

.pricing-note {
  margin-top: 1rem;
  color: var(--muted);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-meta {
  margin: 0.4rem 0 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
}

.inline-cta {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(18, 26, 48, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.inline-cta p {
  margin: 0;
}

.contact-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.contact-form,
.contact-details {
  background: rgba(18, 26, 48, 0.76);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

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

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 15, 29, 0.72);
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(110, 231, 255, 0.5);
  outline-offset: 1px;
  border-color: rgba(110, 231, 255, 0.4);
}

.form-note {
  margin: 0;
  color: var(--muted);
  min-height: 1.4em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-details ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-page main {
  padding: 5.5rem 0 3rem;
}

.service-hero {
  padding: 1.2rem 0 0.6rem;
}

.breadcrumb {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb span {
  color: var(--text);
}

.service-hero p {
  color: var(--muted);
}

.service-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.service-panel {
  background: rgba(18, 26, 48, 0.76);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.service-panel ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.service-kpi .chip {
  justify-content: center;
  text-align: center;
  padding: 0.35rem 0.55rem;
}

.related-services {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.not-found {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 5rem 0 3rem;
}

.not-found-card {
  width: min(760px, 92%);
  background: rgba(18, 26, 48, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.not-found-card p {
  color: var(--muted);
}

.not-found-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.5rem;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  border: 1px solid rgba(110, 231, 255, 0.35);
  background: rgba(18, 26, 48, 0.92);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(27, 39, 70, 0.95);
}

.legal-page main {
  padding: 5.5rem 0 3rem;
}

.legal-hero {
  padding: 1.25rem 0 0.5rem;
}

.legal-hero p {
  color: var(--muted);
  margin-bottom: 0;
}

.legal-card {
  margin-top: 1rem;
  background: rgba(18, 26, 48, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.legal-card section + section {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-card h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.legal-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.legal-meta {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-grid,
  .process-list,
  .contact-grid,
  .service-grid,
  .service-kpi {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.5rem;
  }
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 29, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 4%;
  }

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

  .site-nav .btn {
    width: 100%;
  }
}
