/* Reax Solutions — neon violet theme, derived from the R logo */
:root {
  --bg: #06020e;
  --bg-2: #0c0519;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(196, 160, 255, .12);
  --line-2: rgba(196, 160, 255, .24);
  --text: #f4efff;
  --muted: #a99bc8;
  --indigo: #4b1cff;
  --violet: #8a2cff;
  --magenta: #e046f5;
  --grad: linear-gradient(115deg, #4b1cff 0%, #8a2cff 45%, #e046f5 100%);
  --glow: 0 0 0 1px rgba(170, 90, 255, .35), 0 10px 40px -10px rgba(138, 44, 255, .65);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 8px; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }

/* Progress + cursor glow */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 44, 255, .16), transparent 65%); pointer-events: none; z-index: 0;
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s; opacity: 0;
}
@media (pointer: fine) { .cursor-glow.is-on { opacity: 1; } }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15.5px;
  white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: var(--glow); transition: background-position .6s var(--ease), transform .35s var(--ease), box-shadow .35s; }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(224, 70, 245, .5), 0 14px 50px -10px rgba(224, 70, 245, .7); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(224, 70, 245, .5); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.linklike { background: none; border: 0; padding: 0; text-align: left; color: var(--muted); }
.linklike:hover { color: var(--text); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled, .menu-open .header { background: rgba(6, 2, 14, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 0 10px rgba(138, 44, 255, .5)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand b { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .3s, background-color .3s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); flex-shrink: 0; }
.lang a { display: inline-grid; place-items: center; min-width: 38px; min-height: 32px; padding: 0 10px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: background .3s, color .3s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 24px) 24px max(32px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto;
  background: rgba(6, 2, 14, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: clamp(30px, 9vw, 44px); font-weight: 800; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-menu nav a:hover { color: var(--magenta); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; } .mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; } .mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }

/* Reveal (only hidden when JS runs, so content never disappears without it) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { opacity: 1; }

/* Eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 600; color: #d9c8ff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224, 70, 245, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(224, 70, 245, 0); } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb--1 { width: 560px; height: 560px; background: #4b1cff; top: -160px; right: -120px; }
.orb--2 { width: 460px; height: 460px; background: #a020ff; bottom: -200px; left: -160px; animation-duration: 22s; opacity: .4; }
.orb--3 { width: 320px; height: 320px; background: #e046f5; top: 40%; right: 30%; animation-duration: 26s; opacity: .25; }
@keyframes drift { to { transform: translate3d(-60px, 50px, 0) scale(1.12); } }
/* R-monogram pattern behind the hero (replaces the old grid) */
.grid-lines {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 72%);
}
.grid-lines::before {
  content: ""; position: absolute; inset: -128px; opacity: .09;
  background: url("/assets/img/monogram.webp") 0 0 / 128px 128px repeat;
  animation: monogram-drift 40s linear infinite; will-change: transform;
}
/* moves exactly one tile, so the loop is seamless */
@keyframes monogram-drift { to { transform: translate3d(128px, 128px, 0); } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin: 0; }
.hero__kicker { display: block; margin-bottom: 14px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.005em; line-height: 1.35; color: #d9c8ff; }
.hero__display { display: block; }
.hero__rotate { margin-top: -22px; }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rotator > span { grid-area: 1 / 1; color: #cdb6ff; transform: translateY(100%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.rotator > span.is-on, html:not(.js) .rotator > span:first-child { transform: none; opacity: 1; }
.rotator > span.is-out { transform: translateY(-100%); opacity: 0; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; gap: 36px; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats dt { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; color: var(--muted); font-size: 13.5px; }

.hero__visual { position: relative; aspect-ratio: 1; perspective: 1000px; }
.hero__logo { position: absolute; inset: 6%; transition: transform .6s var(--ease); }
.hero__logo img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(138, 44, 255, .55)); animation: float 7s ease-in-out infinite; }
.hero__logo::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(138, 44, 255, .45), transparent 70%); filter: blur(30px); }
@keyframes float { 50% { transform: translateY(-14px); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(18, 8, 36, .72); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); font-size: 14px; animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 600; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--grad); color: #fff; }
.float-card--a { left: -4%; bottom: 14%; animation-delay: -2s; }
.float-card--b { right: -2%; top: 10%; animation-delay: -4s; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #3ef08f; box-shadow: 0 0 12px #3ef08f; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--magenta); animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 32s linear infinite; }
.marquee__track span { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(205, 182, 255, .55); }
.marquee__track span:nth-of-type(3n+1) { color: #e9dcff; -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; color: var(--magenta); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* Sections */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section-head h2, .chat-sec h2, .contact h2 { font-size: clamp(32px, 4.8vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.section-head p:not(.eyebrow), .lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18.5px); }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 28px; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

/* Intro word reveal */
.intro { padding-block: clamp(70px, 9vw, 120px); }
.intro__text { font-size: clamp(24px, 3.6vw, 46px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; max-width: 1050px; }
.intro__text .w { color: rgba(244, 239, 255, .4); transition: color .4s; }
.intro__text .w.is-lit { color: var(--text); }

/* Cards */
.card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 28px; overflow: hidden; }
.spot { transition: transform .5s var(--ease), border-color .4s, background-color .4s, opacity .9s var(--ease) var(--d, 0s); }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 44, 255, .18), transparent 45%);
}
.spot:hover { border-color: var(--line-2); }
.spot:hover::before { opacity: 1; }
@media (hover: hover) { .spot.is-in:hover, .spot:not(.reveal):hover { transform: translateY(-4px); } }
.badge { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 700; box-shadow: var(--glow); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: #ddd2f5; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(138, 44, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9c6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Work carousel */
.carousel { position: relative; container-type: inline-size; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(1040px, 88cqi); gap: clamp(16px, 3vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 20px max(6cqi, calc((100cqi - 1040px) / 2)) 40px; /* (100 - slide width) / 2, so the first slide sits centred */ margin: -20px 0 0; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carousel__track.is-dragging * { pointer-events: none; }
@media (pointer: fine) { .carousel__track { cursor: grab; } }
.slide {
  scroll-snap-align: center; display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(18px, 2.4vw, 32px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .4s;
}
.js .slide:not(.is-active) { opacity: .35; transform: scale(.95); }
.slide.is-active { border-color: var(--line-2); }
.slide__media { position: relative; display: block; padding: 0 7% 7% 0; }
.device { border-radius: 16px; overflow: hidden; background: #120a22; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(138, 44, 255, .6); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
.device__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.device__bar span:first-child { background: #ff5f8a; } .device__bar span:nth-child(2) { background: #c06bff; }
.device__bar em { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .05); padding: 2px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device__screen { aspect-ratio: 16 / 10; overflow: hidden; }
.device__screen img, .mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.mini-phone {
  position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 9 / 19; border-radius: 18px; overflow: hidden;
  border: 4px solid #1c0f33; background: #120a22; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--line-2);
  transition: transform .8s var(--ease);
}
.slide__media:hover .device__screen img { transform: scale(1.04); }
.slide__media:hover .mini-phone { transform: translateY(-8px) rotate(-2deg); }
.slide__info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.slide__info h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.slide__info p { color: var(--muted); font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #d9c8ff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #e7d6ff; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .3s, border-color .3s, gap .3s var(--ease); }
.link-arrow:hover { color: #fff; border-color: var(--magenta); gap: 12px; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.carousel__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.carousel__btn:hover:not(:disabled) { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.carousel__btn:active:not(:disabled) { transform: scale(.92); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); transition: width .5s var(--ease), background .3s; position: relative; }
.carousel__dots button::after { content: ""; position: absolute; inset: -12px -4px; } /* bigger tap target */
.carousel__dots button[aria-current="true"] { width: 34px; background: var(--grad); }
.carousel__count { min-width: 56px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 16px; }
.service h3, .why h3 { font-size: 22px; font-weight: 700; }
.service > p:not(.service__aud), .why p { color: var(--muted); font-size: 15.5px; }
.service .checks { margin-top: 4px; }
.service__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(75, 28, 255, .35), rgba(224, 70, 245, .25)); border: 1px solid var(--line-2); color: #f0e2ff; }
.service__icon .ic { width: 24px; height: 24px; }
.service__aud { font-size: 13px; font-weight: 600; color: #c7a8ff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: -8px; }
.service__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.price small, .price-card__amt small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.time { font-size: 13.5px; color: var(--muted); }
.service--featured { background: linear-gradient(160deg, rgba(75, 28, 255, .22), rgba(224, 70, 245, .08) 60%, var(--surface)); border-color: rgba(170, 90, 255, .45); }
.more-head { display: grid; gap: 8px; margin: clamp(48px, 6vw, 72px) 0 24px; text-align: center; }
.more-head h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.more-head p { color: var(--muted); }
.services--duo { grid-template-columns: repeat(2, 1fr); }
.price--quote { font-size: 22px; }
.service--cta { justify-content: center; background: radial-gradient(circle at 80% 0%, rgba(224, 70, 245, .22), transparent 60%), var(--surface); border-style: dashed; border-color: var(--line-2); }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why .card { display: flex; flex-direction: column; gap: 14px; }

/* Steps */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; position: relative; display: grid; gap: 22px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--sp, 0)); box-shadow: 0 0 14px rgba(224, 70, 245, .6); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.step > div { padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, background-color .4s; }
.step:hover > div { border-color: var(--line-2); background: var(--surface-2); }
.step__dot { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--muted); transition: background .5s, color .5s, box-shadow .5s; }
.step__dot .ic { width: 22px; height: 22px; }
.step.is-done .step__dot { background: var(--grad); color: #fff; box-shadow: var(--glow); border-color: transparent; }
.step__n { font-size: 13px; font-weight: 700; color: #c7a8ff; letter-spacing: .08em; }
.step h3 { font-size: 21px; margin: 4px 0 8px; }
.step p { color: var(--muted); }

/* Tabs + pricing */
.tabs { position: relative; display: flex; width: max-content; margin: 0 auto 40px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; min-height: 44px; padding: 0 26px; border: 0; background: none; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 999px; background: var(--grad); box-shadow: var(--glow); transition: transform .5s var(--ease), width .5s var(--ease); }
.tab-panel:not([hidden]) { animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card { display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.price-card h3 { font-size: 19px; }
.price-card--hot h3 { padding-right: 84px; }
.price-card p { color: var(--muted); font-size: 15px; }
.price-card__amt { margin-top: auto; font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.price-card__amt span { display: inline-block; transition: transform .35s var(--ease), opacity .25s; }
.price-card__amt span.is-flip { transform: translateY(-40%); opacity: 0; }
.price-card--hot { border-color: rgba(170, 90, 255, .45); background: linear-gradient(160deg, rgba(75, 28, 255, .22), var(--surface) 70%); }
#panel-beheer .price-card { min-height: 140px; }
.plan-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; font-weight: 600; color: var(--muted); }
.plan-toggle span { transition: color .3s; }
.plan-toggle .is-on { color: var(--text); }
.switch { width: 58px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); position: relative; padding: 0; }
.switch span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); box-shadow: var(--glow); transition: transform .45s var(--ease); }
.switch[aria-checked="true"] span { transform: translateX(26px); }
.plan-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan-features h4 { font-size: 17px; margin-bottom: 14px; }

/* Payment methods */
.pay { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(75, 28, 255, .16), var(--surface) 60%); border: 1px solid var(--line-2); }
.pay__text { flex: 1 1 260px; display: grid; gap: 2px; }
.pay__text b { font-size: 17px; }
.pay__text span { color: var(--muted); font-size: 15px; }
.pay__cards { display: flex; gap: 10px; flex-wrap: wrap; }
.cardmark { height: 40px; min-width: 64px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; background: #fff; color: #1a1f71; font-weight: 800; font-size: 15px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7); }
.cardmark--visa { font-style: italic; font-size: 19px; letter-spacing: -.02em; }
.cardmark--mc i { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; }
.cardmark--mc i + i { background: #f79e1b; margin-left: -12px; mix-blend-mode: multiply; }
.cardmark--mc small, .cardmark small { font-size: 11px; font-weight: 700; color: #222; }
.cardmark .ic { color: #4b1cff; }
.cardmark--local { background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: none; }
.cardmark--local small { color: var(--text); }
.cardmark--local .ic { color: #d9b8ff; }

/* Chat */
.chat-sec { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 7vw, 100px); align-items: center; }
.chat-sec > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.phone { border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #2a1350, #0d0519); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(138, 44, 255, .7); }
.phone__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 28px 28px 0 0; background: rgba(255, 255, 255, .05); }
.phone__top img { width: 36px; height: auto; }
.phone__top b { display: block; font-size: 15px; }
.phone__top small { color: #3ef08f; font-size: 12px; }
.phone__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px 22px; min-height: 440px; border-radius: 0 0 28px 28px; background: radial-gradient(circle at 20% 10%, rgba(138, 44, 255, .12), transparent 50%), #0b0416; }
.msg { max-width: 84%; padding: 10px 14px 22px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; position: relative; }
.msg__t { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: rgba(244, 239, 255, .55); }
.msg--in { align-self: flex-start; background: rgba(255, 255, 255, .07); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: linear-gradient(135deg, #4b1cff, #8a2cff); border-bottom-right-radius: 4px; }
.msg--ok { background: linear-gradient(135deg, #8a2cff, #e046f5); font-weight: 600; }
.js [data-chat] .msg { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-chat] .msg.is-in { opacity: 1; transform: none; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background-color .3s, opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--surface-2); transition: transform .45s var(--ease), background .3s; }
.faq details[open] summary .ic { transform: rotate(135deg); background: var(--grad); }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
/* Smooth open/close in browsers that support it; others open instantly */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Contact */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__inner > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.contact__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; width: 100%; }
.contact__list a, .contact__static { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.contact__list a:hover { border-color: var(--line-2); transform: translateX(4px); }
.contact__list .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--grad); color: #fff; }
.contact__list small { display: block; color: var(--muted); font-size: 12.5px; }
.contact__list span span { font-weight: 600; word-break: break-word; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: rgba(14, 6, 28, .75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line-2); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: #ddd2f5; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background-color: rgba(255, 255, 255, .04);
  color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a99bc8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: #140a26; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 155, 200, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(224, 70, 245, .18); background-color: rgba(255, 255, 255, .06); }
.field .is-invalid { border-color: #ff5f8a; }
.form__err { color: #ff8fb0; font-size: 14px; }
.form .fine { margin-top: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 70px 0 30px; position: relative; z-index: 1; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; }
.footer__inner > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__inner a:not(.brand), .footer__inner > div > span { color: var(--muted); font-size: 15px; transition: color .3s; }
.footer__inner a:not(.brand):hover { color: var(--text); }
.footer__brand p { color: var(--muted); max-width: 320px; margin-top: 6px; }
.footer__h { margin: 0 0 6px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #c7a8ff; }
.footer .linklike { font-size: 15px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__bottom a:hover { color: var(--text); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80;
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float.is-visible { transform: scale(1); }
.wa-float.is-visible:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--magenta); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
body.consent-open .wa-float { transform: scale(0); }

/* Consent */
.consent {
  position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 150;
  width: min(480px, calc(100% - 36px)); max-height: calc(100svh - 36px); overflow-y: auto; padding: 24px; border-radius: var(--radius);
  background: rgba(16, 7, 32, .94); border: 1px solid var(--line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(138, 44, 255, .8);
  display: grid; gap: 14px; transform: translateY(30px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-open { transform: none; opacity: 1; }
.consent h2 { font-size: 20px; }
.consent p { color: var(--muted); font-size: 14.5px; }
.consent p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__prefs { display: grid; gap: 10px; }
.consent__prefs[hidden], .consent [hidden] { display: none; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.pref b { display: block; font-size: 14.5px; }
.pref small { color: var(--muted); font-size: 12.5px; }
.pref input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 46px; height: 26px; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); position: relative; cursor: pointer; transition: background .3s; }
.pref input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.pref input:checked { background: var(--grad); }
.pref input:checked::after { transform: translateX(20px); }
.pref input:disabled { opacity: .55; cursor: not-allowed; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .btn { flex: 1 1 auto; }

/* Legal + 404 pages */
.legal { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin: 18px 0 10px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal p, .legal li { color: #d5c9ee; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: #e7d6ff; text-decoration: underline; text-underline-offset: 3px; }
.legal .table-wrap { overflow-x: auto; margin-top: 12px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: #c7a8ff; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.notfound h1 { font-size: clamp(80px, 18vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.notfound p { color: var(--muted); margin: 12px 0 28px; font-size: 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .services, .why, .prices { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: 0; }
  .lang { margin-left: auto; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero__inner { grid-template-columns: 1fr; gap: 16px; }
  .hero__visual { order: -1; width: min(300px, 60vw); margin: 0 auto; }
  .scroll-hint { display: none; }
  .slide { grid-template-columns: 1fr; }
  .chat-sec, .contact__inner { grid-template-columns: 1fr; }
  .phone { max-width: 380px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --radius: 20px; }
  .orb { animation: none; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .card { padding: 22px; }
  .services, .why, .prices, .plan-features { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { gap: 14px; justify-content: space-between; width: 100%; }
  .stats dt { font-size: 24px; }
  .stats dd { font-size: 12px; }
  .float-card { font-size: 12.5px; padding: 9px 12px; }
  .float-card--a { left: -8%; }
  .float-card--b { right: -8%; }
  .float-card .ic { width: 28px; height: 28px; padding: 6px; }
  .carousel__track { grid-auto-columns: 90cqi; padding-inline: 5cqi; }
  .slide { border-radius: 22px; }
  .mini-phone { border-width: 3px; border-radius: 12px; }
  .carousel__btn { width: 46px; height: 46px; }
  .price-card { min-height: 0; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq__a { padding: 0 18px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .consent { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 20px; }
  .consent__actions .btn { flex: 1 1 calc(50% - 4px); }
  .consent__actions [data-consent-accept], .consent__actions [data-consent-save] { flex-basis: 100%; order: -1; }
}

@media (max-width: 400px) {
  .header__inner { gap: 10px; }
  .brand { font-size: 16.5px; gap: 7px; }
  .brand img { width: 34px; }
  .lang a { min-width: 34px; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
