:root {
  --bg: #f6f2ff;
  --bg-soft: #fcfaff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: rgba(30, 18, 56, 0.92);
  --line: rgba(116, 84, 214, 0.16);
  --line-strong: rgba(116, 84, 214, 0.32);
  --text: #1f1537;
  --muted: #685f7b;
  --primary: #7d5cff;
  --primary-strong: #6543ec;
  --primary-soft: #ede6ff;
  --deep: #1d1334;
  --white: #ffffff;
  --success: #176f54;
  --error: #b4444b;
  --shadow-xl: 0 40px 100px rgba(63, 34, 139, 0.18);
  --shadow-lg: 0 26px 60px rgba(63, 34, 139, 0.12);
  --shadow-md: 0 18px 36px rgba(63, 34, 139, 0.09);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(153, 122, 255, 0.28), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(135, 112, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #fcfaff 0%, #f5f1ff 48%, #faf8ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 89, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 89, 210, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 88%);
}

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

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

.page-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.72;
}

.orb-left {
  top: 140px;
  left: -140px;
  background: rgba(125, 92, 255, 0.2);
}

.orb-right {
  right: -120px;
  bottom: 40px;
  background: rgba(208, 196, 255, 0.5);
}

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

.brand,
h1,
h2,
h3,
.footer-brand {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.hero {
  padding: 24px 0 84px;
}

.nav-shell {
  display: flex;
  justify-content: center;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1160px;
  min-height: 82px;
  padding: 12px 16px 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(26px);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 188px;
  height: auto;
}

.nav-links-desktop {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(104, 67, 236, 0.06);
  border: 1px solid rgba(104, 67, 236, 0.08);
}

.nav-link,
.nav-cta,
.btn,
.contact-mail,
.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-link {
  min-height: 46px;
  min-width: 118px;
  padding: 0 20px;
  color: #37275d;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.current {
  background: rgba(125, 92, 255, 0.14);
  color: var(--primary-strong);
}

.nav-cta {
  min-height: 50px;
  min-width: 164px;
  padding: 0 28px;
  color: var(--white);
  background: linear-gradient(135deg, #8a67ff 0%, #6440ee 100%);
  box-shadow: 0 18px 34px rgba(100, 64, 238, 0.24);
}

.nav-cta:hover,
.btn-primary:hover,
.contact-mail:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(100, 64, 238, 0.26);
}

.menu-toggle,
.mobile-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 14px;
  background: rgba(104, 67, 236, 0.06);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #36295b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(247, 242, 255, 0.94);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.mobile-menu-panel {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  padding: 84px 24px 26px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-panel a {
  min-height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 92, 255, 0.08);
  color: var(--primary-strong);
  font-weight: 700;
}

.mobile-menu-panel a:last-child {
  color: var(--white);
  background: linear-gradient(135deg, #8a67ff 0%, #6440ee 100%);
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(125, 92, 255, 0.1);
  color: var(--deep);
  font-size: 1.55rem;
  line-height: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 42px;
  align-items: end;
  padding-top: 60px;
}

.hero-copy {
  text-align: left;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.eyebrow.subtle {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

h1 {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.hero-brand {
  font-size: clamp(4.4rem, 10vw, 7.5rem);
  line-height: 0.88;
}

.hero-sub {
  max-width: 12ch;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.04;
  color: #4c3f68;
}

h2 {
  font-size: clamp(2.05rem, 4vw, 3.55rem);
  line-height: 1;
}

h3 {
  font-size: 1.36rem;
  line-height: 1.08;
}

.lead,
.section-heading p,
.service-card p,
.testimonial-text,
.contact-copy p,
.contact-card p,
.hero-note p,
.panel-list li,
.footer-copy,
.legal-shell p,
.footer-meta {
  color: var(--muted);
  line-height: 1.76;
}

.lead {
  max-width: 54ch;
  margin: 26px 0 0;
  font-size: 1.08rem;
}

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

.btn {
  min-height: 56px;
  padding: 0 28px;
  font-size: 0.98rem;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #23153f 0%, #4e2b97 100%);
  box-shadow: 0 18px 34px rgba(53, 29, 113, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(104, 67, 236, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-strong);
}

.btn-secondary:hover,
.mini-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(104, 67, 236, 0.22);
}

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

.fact {
  padding-top: 16px;
  border-top: 1px solid rgba(104, 67, 236, 0.14);
}

.fact strong,
.hero-note strong {
  display: block;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

.fact strong {
  font-size: 1.02rem;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.62;
}

.hero-panel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background:
    linear-gradient(180deg, rgba(22, 13, 39, 0.12), rgba(22, 13, 39, 0.5)),
    linear-gradient(180deg, #f2ebff 0%, #d8cbff 100%);
}

.panel-visual {
  position: absolute;
  inset: 0;
}

.panel-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 10, 40, 0.05) 0%, rgba(20, 10, 40, 0.58) 76%),
    linear-gradient(135deg, rgba(125, 92, 255, 0.1), rgba(30, 19, 55, 0.2));
}

.panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(18, 11, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  color: var(--white);
}

.panel-content h2 {
  max-width: 12ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.panel-list {
  margin: 22px 0 0;
  padding-left: 18px;
}

.panel-list li {
  color: rgba(255, 255, 255, 0.75);
}

.panel-list li + li {
  margin-top: 10px;
}

.hero-note {
  position: absolute;
  top: 24px;
  right: 24px;
  width: min(260px, calc(100% - 48px));
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.hero-note strong {
  font-size: 0.94rem;
  margin-bottom: 6px;
}

.hero-note p {
  margin: 0;
  font-size: 0.94rem;
}

.section {
  padding: 44px 0 92px;
}

.section-soft {
  padding-top: 8px;
}

.section-heading {
  max-width: 880px;
}

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

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p {
  margin: 0;
}

.trusted-headline {
  white-space: nowrap;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
}

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

.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 240, 255, 0.92));
  box-shadow: var(--shadow-md);
}

.service-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

.service-card h3 {
  margin-bottom: 14px;
}

.trusted-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

.trusted-logo {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-top: 1px solid rgba(104, 67, 236, 0.08);
  border-bottom: 1px solid rgba(104, 67, 236, 0.08);
  background: rgba(255, 255, 255, 0.45);
}

.trusted-logo img {
  width: auto;
  max-width: 140px;
  max-height: 42px;
  object-fit: contain;
  filter: saturate(0.95);
}

.dual-grid,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(350px, 1.1fr);
  gap: 30px;
  align-items: start;
}

.contact-shell,
.contact-spotlight {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.contact-spotlight {
  background:
    linear-gradient(180deg, rgba(28, 16, 53, 0.96), rgba(47, 28, 92, 0.94));
  color: var(--white);
}

.contact-spotlight .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.contact-spotlight p,
.contact-spotlight li {
  color: rgba(255, 255, 255, 0.74);
}

.contact-spotlight ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.contact-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 239, 255, 0.94));
}

.contact-card {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 255, 0.92));
  border: 1px solid rgba(104, 67, 236, 0.08);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  gap: 16px;
  position: relative;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(104, 67, 236, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(104, 67, 236, 0.16);
  border-color: rgba(104, 67, 236, 0.3);
}

.contact-mail {
  min-height: 58px;
  width: 100%;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, #8a67ff 0%, #6440ee 100%);
}

.mini-link {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(104, 67, 236, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-strong);
}

.mini-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.form-feedback {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

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

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

.testimonials-section {
  overflow: hidden;
}

.testimonials-mask {
  margin-top: 36px;
  max-height: 760px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 86%, transparent);
}

.testimonials-columns {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.testimonials-column {
  width: min(100%, 340px);
}

.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 22px;
  animation-name: testimonial-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.speed-1 {
  animation-duration: 18s;
}

.speed-2 {
  animation-duration: 21s;
}

.speed-3 {
  animation-duration: 19s;
}

.testimonial-card {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.testimonial-text {
  margin: 0;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  padding: 0 0 42px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(104, 67, 236, 0.12);
}

.footer-brand {
  margin: 0 0 10px;
  font-size: 1.14rem;
  font-weight: 700;
}

.footer-copy {
  margin: 10px 0 0;
  max-width: 560px;
}

.footer-meta,
.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary-strong);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
}

.legal-page {
  min-height: 100vh;
  padding: 40px 16px;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-lg);
}

.legal-shell section + section {
  margin-top: 26px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary-strong);
  font-weight: 700;
}

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

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

@keyframes testimonial-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@media (max-width: 1180px) {
  .trusted-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .services-grid,
  .dual-grid,
  .contact-shell,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .trusted-headline {
    white-space: normal;
  }

  .hero-panel {
    min-height: 520px;
  }
}

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

  .testimonials-columns {
    justify-content: center;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 760px) {
  .nav {
    grid-template-columns: auto 1fr;
    min-height: 74px;
    padding: 10px 14px 10px 16px;
    border-radius: 30px;
  }

  .brand img {
    width: 154px;
  }

  .nav-links-desktop,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-grid {
    gap: 26px;
    padding-top: 34px;
  }

  .hero-copy,
  h1 {
    justify-items: center;
    text-align: center;
  }

  .hero-sub,
  .lead {
    max-width: none;
  }

  .hero-actions,
  .mini-actions {
    justify-content: center;
  }

  .hero-panel,
  .service-card,
  .contact-shell,
  .contact-spotlight,
  .testimonial-card,
  .legal-shell {
    border-radius: 24px;
  }

  .panel-content,
  .hero-note,
  .contact-shell,
  .contact-card,
  .contact-spotlight {
    padding: 22px;
  }

  .trusted-line {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    font-size: clamp(3.4rem, 15vw, 5rem);
  }

  .hero-sub {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .section,
  .hero {
    padding-bottom: 66px;
  }
}
