:root {
  --ink: #181827;
  --muted: #626378;
  --paper: #fbf9ff;
  --surface: #ffffff;
  --line: #e4e1f1;
  --accent: #7c6df2;
  --accent-dark: #36305f;
  --accent-soft: #efedff;
  --sky: #66a6ff;
  --violet-pop: #d76df2;
  --shadow: 0 24px 70px rgba(36, 34, 68, 0.12);
  --shadow-hover: 0 28px 80px rgba(36, 34, 68, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 249, 255, 0.9);
  border-bottom: 1px solid rgba(228, 225, 241, 0.8);
  backdrop-filter: blur(14px);
  transition:
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(228, 225, 241, 1);
  box-shadow: 0 14px 34px rgba(24, 24, 39, 0.08);
}

.brand,
.site-nav,
.hero-actions,
.hero-proof,
.contact-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-3deg);
  box-shadow: 0 12px 24px rgba(124, 109, 242, 0.26);
}

.site-nav {
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

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

.nav-cta {
  padding: 10px 16px;
  color: #fff !important;
  background: var(--ink);
  border-radius: 8px;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(124, 109, 242, 0.28);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 109, 242, 0.18);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(124, 109, 242, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

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

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 70px;
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(124, 109, 242, 0.24);
}

.button.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(124, 109, 242, 0.34);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: rgba(124, 109, 242, 0.35);
  background: rgba(239, 237, 255, 0.78);
  transform: translateY(-2px);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 8px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.hero-proof span:hover {
  transform: translateY(-1px);
  background: #e4e0ff;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--accent-dark);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: heroFloat 7s ease-in-out infinite;
  transform-origin: center;
}

.hero-panel img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.hero-panel:hover img {
  transform: scale(1.035);
}

.hero-stats {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(92%, 520px);
}

.hero-stats article,
.service-card,
.steps article,
.feature-card,
.price-card,
.faq-list details,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats article {
  min-height: 104px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(24, 24, 39, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.hero-stats article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(24, 24, 39, 0.14);
}

.hero-stats strong {
  display: block;
  color: var(--sky);
  font-size: 26px;
}

.hero-stats span {
  color: var(--muted);
  font-weight: 700;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  background: var(--accent-dark);
  color: #fff;
}

.intro .eyebrow {
  color: #d9d2ff;
}

.intro p:last-child {
  color: #e8e4ff;
  font-size: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card,
.steps article,
.feature-card,
.price-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card::before,
.steps article::before,
.feature-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover,
.steps article:hover,
.feature-card:hover,
.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 109, 242, 0.32);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before,
.steps article:hover::before,
.feature-card:hover::before,
.price-card:hover::before {
  opacity: 1;
}

.service-card p,
.steps p,
.feature-card p,
.price-card p,
.faq-list p,
.contact-copy p {
  color: var(--muted);
}

.icon,
.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 8px;
  font-weight: 800;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.service-card:hover .icon,
.steps article:hover span {
  color: #fff;
  background: var(--accent);
  transform: rotate(-3deg) scale(1.04);
}

.process {
  background: #f0f2ff;
}

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

.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-card {
  min-height: 300px;
}

.feature-card.accent {
  color: #fff;
  background: var(--ink);
}

.feature-card.accent p {
  color: #e1e0f0;
}

.pricing {
  background: #fff;
}

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

.price-card.highlighted {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price-card.highlighted::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(124, 109, 242, 0.1), transparent 38%);
}

.price {
  color: var(--accent) !important;
  font-size: 30px;
  font-weight: 800;
}

.price-card ul {
  padding-left: 20px;
  margin: 20px 0 0;
  color: var(--muted);
}

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

.faq-list details {
  padding: 20px 22px;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(124, 109, 242, 0.3);
  box-shadow: 0 16px 34px rgba(36, 34, 68, 0.08);
  transform: translateY(-2px);
}

.faq-list summary {
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: start;
  background: var(--accent-dark);
  color: #fff;
}

.contact .eyebrow {
  color: #d9d2ff;
}

.contact-copy p {
  color: #e8e4ff;
}

.contact-list {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  color: #fff;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: #fdfcff;
  box-shadow: 0 0 0 4px rgba(124, 109, 242, 0.14);
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 0 clamp(20px, 5vw, 72px);
  color: #dedded;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 109, 242, 0.28), transparent 32%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(28px, 5vw, 70px);
  padding: 58px 0 42px;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #fff;
}

.footer-brand p {
  color: #c9c7dc;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: #c9c7dc;
  font-size: 15px;
}

.footer-column a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact {
  gap: 12px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 10px 15px;
  color: #fff !important;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(124, 109, 242, 0.28);
}

.footer-cta:hover {
  transform: translateY(-2px) !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p,
.footer-bottom a {
  color: #b8b5cc;
  font-size: 14px;
}

.footer-bottom a:hover {
  color: #fff;
}

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

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

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .work-layout,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .price-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 10px;
  }

  .nav-cta {
    text-align: center;
  }

  .language-switcher {
    justify-content: center;
    width: 100%;
  }

  .section {
    padding: 64px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-panel {
    min-width: 0;
  }

  .hero-stats,
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero-panel img {
    height: 430px;
  }

  .hero-stats {
    position: static;
    width: auto;
    padding: 12px;
    background: #fff;
  }

  .hero-stats article {
    min-height: 92px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    padding: 44px 0 34px;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
