/* =========================================================
   DesignVer — style
   ========================================================= */

/* Inter (OFL) hostowany lokalnie — bez połączeń z Google (RODO) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbfbfd;
  --bg-soft: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --dark: #000;
  --violet: #7b5cff;
  --green: #30d158;
  --grad: linear-gradient(100deg, #0071e3 0%, #7b5cff 45%, #ff5ca8 100%);
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06), 0 24px 64px rgba(0,0,0,.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -.011em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* ---------- utilities ---------- */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gradient-text--logo { background-image: linear-gradient(100deg, #0a2a8f 0%, #1257e6 50%, #1fa0ff 100%); }
.gradient-text--light { background-image: linear-gradient(100deg, #6cb4ff, #a993ff 45%, #ff8cc4); }
.muted { color: var(--muted); }
.muted-p { color: var(--muted); font-size: 19px; margin: 20px 0 32px; max-width: 420px; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--violet);
  margin-bottom: 18px;
}
.eyebrow--light { color: #a993ff; }

/* ---------- buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  transition: transform .4s var(--ease-out), background .3s, color .3s, box-shadow .3s, border-color .3s;
  transform: translate(var(--bx), var(--by));
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--text); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--ghost { background: rgba(0,0,0,.04); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(0,0,0,.07); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { box-shadow: 0 10px 40px rgba(169,147,255,.35); }
.btn--small { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.04em; }
.logo__img { height: 36px; width: auto; flex: none; transition: transform .5s var(--ease-out), opacity .3s; }
.logo:hover .logo__img { transform: scale(1.03); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 14px; color: var(--muted); position: relative; transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(251,251,253,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; padding: 24px 32px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu a {
  font-size: 40px; font-weight: 700; letter-spacing: -.04em;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .05s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .15s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .2s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .25s; }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
/* bez JS treść musi być widoczna */
.no-js .reveal, .no-js .reveal-scale, .no-js .reveal-word { opacity: 1; transform: none; }
.no-js .t-card:first-child { opacity: 1; transform: none; filter: none; }
.reveal-scale {
  opacity: 0; transform: perspective(1400px) rotateX(18deg) scale(.92) translateY(40px);
  transition: opacity 1.4s var(--ease-out) .6s, transform 1.6s var(--ease-out) .6s;
}
.reveal-scale.is-in { opacity: 1; transform: perspective(1400px) rotateX(var(--rx, 0deg)) scale(1) translateY(0); }

.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.reveal-word {
  display: inline-block;
  opacity: 0; transform: translateY(100%);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
}
.is-loaded .reveal-word { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #9cc9ff; top: -160px; left: -120px; }
.blob--2 { width: 460px; height: 460px; background: #d4c6ff; top: -60px; right: -120px; }
.blob--3 { width: 380px; height: 380px; background: #ffc6e0; top: 380px; left: 40%; opacity: .4; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  opacity: .6;
}
.hero__content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }


.hero__title { font-size: clamp(44px, 8.2vw, 104px); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.hero__title .line:nth-child(1) .reveal-word:nth-child(1) { transition-delay: .05s; }
.hero__title .line:nth-child(1) .reveal-word:nth-child(2) { transition-delay: .12s; }
.hero__title .line:nth-child(2) .reveal-word:nth-child(1) { transition-delay: .2s; }
.hero__title .line:nth-child(2) .reveal-word:nth-child(2) { transition-delay: .27s; }
.hero__title .line:nth-child(2) .reveal-word:nth-child(3) { transition-delay: .34s; }
.hero__title .line:nth-child(2) .reveal-word:nth-child(4) { transition-delay: .41s; }
.hero__lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; margin: 28px auto 0; }
.hero__actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; text-align: left; }
.hero__trust small { color: var(--muted); font-size: 13px; }
.stars { color: #ffb400; letter-spacing: 2px; font-size: 14px; line-height: 1; margin-bottom: 3px; }
.avatars { display: flex; }
.avatars span, .t-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 2.5px solid var(--bg);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.avatars span + span { margin-left: -10px; }

/* mockup */
.mockup {
  position: relative;
  margin: 80px auto 0;
  max-width: 1000px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px -20px rgba(40, 30, 120, .25), 0 60px 120px -40px rgba(0,0,0,.25);
  transform-origin: center top;
}
.mockup__bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.mockup__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mockup__bar > span:nth-child(2) { background: #febc2e; }
.mockup__bar > span:nth-child(3) { background: #28c840; }
.mockup__url {
  margin: 0 auto; display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
  background: var(--bg-soft); padding: 5px 60px; border-radius: 8px;
}
.mockup__url svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mockup__screen { padding: 22px 28px 28px; overflow: hidden; border-radius: 0 0 22px 22px; }
.mockup__screen i { display: block; height: 14px; border-radius: 6px; background: #ececf1; margin-bottom: 10px; }
.mockup__screen i.thin { height: 8px; background: #f1f1f5; }
.w80 { width: 80%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; }
.ms-nav { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.ms-nav i { width: 70px !important; height: 14px !important; margin: 0 !important; background: var(--text) !important; border-radius: 4px; }
.ms-nav b { width: 46px; height: 7px; border-radius: 4px; background: #e6e6ec; }
.ms-nav b:first-of-type { margin-left: auto; }
.ms-nav em { width: 70px; height: 24px; border-radius: 999px; background: var(--grad); }
.ms-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; margin-bottom: 26px; }
.ms-text i:not(.thin) { height: 26px; background: #1d1d1f; opacity: .9; }
.ms-text i.w60:not(.thin) { opacity: .25; background: var(--violet); }
.ms-btns { display: flex; gap: 10px; margin-top: 18px; }
.ms-btns u { width: 100px; height: 30px; border-radius: 999px; background: var(--text); }
.ms-btns u.o { background: transparent; border: 1.5px solid #ddd; }
.ms-visual { aspect-ratio: 4/3; border-radius: 16px; background: linear-gradient(135deg, #eef3ff, #f6efff); display: grid; place-items: center; overflow: hidden; position: relative; }
.ms-orb {
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, #0071e3, #7b5cff, #ff5ca8, #ffb36b, #0071e3);
  filter: blur(18px); opacity: .85;
}
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ms-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.ms-card i { margin: 0 !important; }
.ms-chart svg { width: 100%; height: 60px; overflow: visible; }
.chart-line { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.mockup.is-in .chart-line { animation: draw 2.4s var(--ease-out) 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ms-num { font-size: 32px; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ms-bars { display: flex; align-items: flex-end; gap: 8px; height: 60px; }
.ms-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #7b5cff, #b9a7ff); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease-out); }
.mockup.is-in .ms-bars span { transform: scaleY(1); }
.mockup.is-in .ms-bars span:nth-child(1) { transition-delay: 1.7s; }
.mockup.is-in .ms-bars span:nth-child(2) { transition-delay: 1.8s; }
.mockup.is-in .ms-bars span:nth-child(3) { transition-delay: 1.9s; }
.mockup.is-in .ms-bars span:nth-child(4) { transition-delay: 2.0s; }
.mockup.is-in .ms-bars span:nth-child(5) { transition-delay: 2.1s; }

.chip {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 40px -10px rgba(0,0,0,.18);
  opacity: 0;
  transition: opacity .8s var(--ease-out) 2s, transform 1s var(--ease-out) 2s;
}
.chip b { display: block; font-size: 17px; letter-spacing: -.03em; line-height: 1.1; }
.chip small { color: var(--muted); font-size: 12px; }
.chip__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff4d6; font-size: 18px; }
.chip__icon--green { background: #dcfce7; color: #16a34a; font-weight: 700; }
.chip--1 { left: -40px; top: 40%; transform: translateX(-20px); }
.chip--2 { right: -40px; bottom: 18%; transform: translateX(20px); transition-delay: 2.2s; }
.mockup.is-in .chip { opacity: 1; transform: none; }

/* ---------- statement ---------- */
.statement { padding: 140px 24px 120px; }
.statement__text { font-size: clamp(30px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; max-width: 1050px; }
.statement__text .w { color: rgba(29,29,31,.14); transition: color .4s; }
.statement__text .w.on { color: var(--text); }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--dark { background: var(--dark); color: #f5f5f7; }
.section--dark .muted { color: #86868b; }
.section--soft { background: var(--bg-soft); }
.section__head { margin-bottom: 64px; }
.section__head h2 { font-size: clamp(36px, 5.4vw, 64px); }
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px;
  min-height: 340px;
  display: flex; flex-direction: column;
  transition: box-shadow .5s var(--ease), transform .8s var(--ease-out) var(--d, 0s), opacity 1s var(--ease-out) var(--d, 0s);
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { font-size: 26px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; max-width: 420px; }
.card__tag { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: 18px; }
.card__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(123,92,255,.12), transparent 60%);
  transition: opacity .4s;
}
.card:hover .card__glow { opacity: 1; }
.card--lg { grid-row: span 2; }
.card--full { grid-column: 1 / -1; min-height: 0; }
.card--dark { background: linear-gradient(160deg, #111114, #000); color: #f5f5f7; border-color: #222; }
.card--dark p, .card--dark .card__tag { color: #a1a1a6; }
.card--dark .card__glow { background: radial-gradient(500px circle at var(--mx) var(--my), rgba(123,92,255,.28), transparent 60%); }

.ui-stack { position: relative; flex: 1; min-height: 260px; margin-top: 30px; perspective: 1000px; }
.ui-layer {
  position: absolute; left: 50%; top: 50%;
  width: 78%; aspect-ratio: 16/10;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform 1s var(--ease-out);
  padding: 18px;
}
.ui-layer i { display: block; height: 10px; border-radius: 5px; background: rgba(255,255,255,.18); margin-bottom: 10px; }
.ui-layer i:nth-child(1) { width: 50%; height: 14px; background: rgba(255,255,255,.5); }
.ui-layer i:nth-child(2) { width: 80%; }
.ui-layer i:nth-child(3) { width: 65%; }
.ui-layer--1 { background: rgba(255,255,255,.04); transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(-60px); }
.ui-layer--2 { background: rgba(123,92,255,.15); transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(0); }
.ui-layer--3 { background: rgba(0,113,227,.2); transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(60px); display: grid; place-items: center; }
.ui-layer--3 span { width: 40%; height: 26%; border-radius: 999px; background: var(--grad); box-shadow: 0 10px 40px rgba(123,92,255,.6); }
.card--dark:hover .ui-layer--1 { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(-110px); }
.card--dark:hover .ui-layer--3 { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(-30deg) translateZ(110px); }

.code {
  margin-top: auto;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.8;
  background: #0d0d10; color: #d6d6dc;
  border-radius: 14px; padding: 16px 18px;
}
.code span { display: block; white-space: nowrap; }
.code b { font-weight: 400; }
.code .k { color: #ff7ab2; } .code .f { color: #6cb4ff; } .code .s { color: #fc6; }
.caret { display: inline-block; width: 7px; height: 15px; background: #d6d6dc; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.seo-rank { margin-top: auto; display: grid; gap: 10px; }
.seo-rank div { display: flex; align-items: center; gap: 12px; }
.seo-rank span { font-size: 13px; font-weight: 700; width: 26px; color: var(--muted); }
.seo-rank div:first-child span { color: var(--green); }
.seo-rank i { flex: 1; height: 10px; border-radius: 6px; background: var(--bg-soft); position: relative; overflow: hidden; }
.seo-rank i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #30d158, #a6f0b9); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .3s; }
.seo-rank div:not(:first-child) i::after { background: #d9d9e0; }
.card.is-in .seo-rank i::after { transform: scaleX(1); }

.card__split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; height: 100%; }
.status { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.status li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); font-size: 14.5px; color: var(--muted); }
.status b { margin-left: auto; color: var(--text); font-weight: 600; }
.ok { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(48,209,88,.15); }

/* ---------- stats ---------- */

/* project mini-visuals */

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.process__line { position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: #2a2a30; }
.process__line span { position: absolute; inset: 0; background: linear-gradient(90deg, #6cb4ff, #a993ff, #ff8cc4); transform-origin: left; transform: scaleX(0); }
.step { position: relative; padding-top: 70px; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #111; border: 1px solid #2a2a30;
  font-size: 14px; font-weight: 600; color: #a1a1a6;
  transition: background .5s, color .5s, border-color .5s, box-shadow .5s;
}
.step.is-active .step__num { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 0 6px rgba(169,147,255,.15), 0 0 40px rgba(169,147,255,.4); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: #a1a1a6; font-size: 15.5px; }
.step__time { display: inline-block; margin-top: 18px; font-size: 12.5px; font-weight: 600; color: #a993ff; padding: 5px 12px; border-radius: 999px; background: rgba(169,147,255,.1); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.why__sticky { position: sticky; top: 120px; }
.why__sticky h2 { font-size: clamp(40px, 5.4vw, 64px); }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why__list li {
  display: flex; gap: 22px; padding: 28px;
  border-radius: 22px; border: 1px solid var(--line); background: var(--surface);
  transition: transform .8s var(--ease-out) var(--d, 0s), box-shadow .5s, border-color .5s, opacity 1s var(--ease-out) var(--d, 0s);
}
.why__list li.is-in:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.why__list h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.why__list p { color: var(--muted); font-size: 15.5px; }
.why__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,113,227,.1), rgba(255,92,168,.1)); }
.why__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- testimonials ---------- */
.testimonials { max-width: 820px; margin: 0 auto; }
.t-track { display: grid; }
.t-card {
  grid-area: 1 / 1; margin: 0;
  text-align: center;
  opacity: 0; transform: translateY(16px) scale(.98); filter: blur(6px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
  pointer-events: none;
}
.t-card.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.t-card blockquote { margin: 0; font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; }
.t-card figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; text-align: left; }
.t-av { width: 48px; height: 48px; font-size: 14px; border-color: #fff; }
.t-card small { display: block; color: var(--muted); font-size: 14px; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 44px; }
.t-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease-out), box-shadow .3s; }
.t-btn:hover { transform: scale(1.08); box-shadow: var(--shadow); }
.t-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 8px; height: 8px; border-radius: 999px; background: #c7c7cc; transition: width .5s var(--ease-out), background .3s; padding: 0; }
.t-dots button.is-active { width: 28px; background: var(--text); }

/* ---------- pricing ---------- */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 38px 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .8s var(--ease-out) var(--d, 0s), box-shadow .5s, opacity 1s var(--ease-out) var(--d, 0s);
}
.plan.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; }
.plan__desc { color: var(--muted); font-size: 15px; margin-top: 10px; min-height: 68px; }
.plan__price { margin: 26px 0 28px; display: flex; align-items: baseline; gap: 6px; }
.price { font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; display: inline-block; }
.plan__price small { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 13px; flex: 1; }
.plan li { position: relative; padding-left: 30px; font-size: 15.5px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(123,92,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%237b5cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan--featured { background: #000; color: #f5f5f7; border-color: transparent; box-shadow: 0 30px 80px -30px rgba(123,92,255,.5); }
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, #6cb4ff, #a993ff, #ff8cc4);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan--featured .plan__desc, .plan--featured .plan__price small { color: #a1a1a6; }
.plan--featured li::before { background-color: rgba(169,147,255,.2); }
.plan--featured .btn--primary { background: #fff; color: #000; }
.plan__badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--grad); color: #fff;
}

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.accordion { display: grid; gap: 12px; }
.acc { border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.acc[open] { box-shadow: var(--shadow); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 26px; font-weight: 600; font-size: 17.5px; letter-spacing: -.02em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); transition: transform .5s var(--ease-out), background .3s; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--text); border-radius: 2px; transform: translate(-50%, -50%); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon { transform: rotate(45deg); background: var(--text); }
.acc[open] .acc__icon::before, .acc[open] .acc__icon::after { background: #fff; }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc[open] .acc__body { grid-template-rows: 1fr; }
.acc__body > p { overflow: hidden; padding: 0 26px; color: var(--muted); font-size: 16px; }
.acc[open] .acc__body > p { padding-bottom: 26px; }

/* ---------- contact ---------- */
.contact { background: #000; color: #f5f5f7; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; pointer-events: none; }
.contact__bg .blob { opacity: .35; filter: blur(100px); }
.contact__bg .blob--1 { background: #3b5bff; top: auto; bottom: -200px; left: -100px; }
.contact__bg .blob--2 { background: #9b4dff; top: -150px; right: -100px; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__intro h2 { font-size: clamp(40px, 5.6vw, 68px); }
.contact__intro > p { color: #a1a1a6; font-size: 19px; margin: 24px 0 40px; max-width: 440px; }
.contact__info { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact__info a { transition: color .25s; }
.contact__info a:hover { color: #fff; }
.contact__info li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: #d2d2d7; }
.contact__info svg { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 12px; background: rgba(255,255,255,.06); fill: none; stroke: #a993ff; stroke-width: 1.6; stroke-linejoin: round; }

.form {
  position: relative;
  padding: 36px; border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.form__body { display: grid; gap: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; color: #a1a1a6; margin-bottom: 12px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: #d2d2d7; transition: all .3s var(--ease-out); }
.chips label:hover span { border-color: rgba(255,255,255,.4); }
.chips input:checked + span { background: #fff; color: #000; border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid #a993ff; outline-offset: 2px; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff; font: inherit; font-size: 16px;
  transition: border-color .3s, background .3s, box-shadow .3s;
  resize: vertical;
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: #a993ff; background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(169,147,255,.15); }
.field label {
  position: absolute; left: 19px; top: 18px;
  color: #86868b; font-size: 16px; pointer-events: none;
  transform-origin: left top;
  transition: transform .3s var(--ease-out), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: #a993ff; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff6b6b; }

.range { padding: 6px 2px; }
.range__head { display: flex; justify-content: space-between; font-size: 14px; color: #a1a1a6; margin-bottom: 12px; }
.range__head b { color: #fff; font-weight: 600; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #a993ff var(--p, 16%), rgba(255,255,255,.15) var(--p, 16%)); outline: none; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); cursor: grab; transition: transform .2s; }
.range input::-webkit-slider-thumb:active { transform: scale(1.15); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; cursor: grab; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #a1a1a6; cursor: pointer; }
.consent a { color: #d2d2d7; text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: #fff; }
.consent input { margin-top: 3px; accent-color: #a993ff; width: 16px; height: 16px; flex: none; }
.form__error { color: #ff8a8a; font-size: 14px; min-height: 1em; text-align: center; }
.form .btn { margin-top: 6px; }
.form .btn.is-loading .btn__label::after { content: "…"; }

.form__success { text-align: center; padding: 60px 10px; animation: fadeUp .8s var(--ease-out); }
.form__success h3 { font-size: 32px; margin: 24px 0 10px; }
.form__success p { color: #a1a1a6; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.check { width: 80px; height: 80px; margin: 0 auto; }
.check svg { width: 100%; height: 100%; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke: #30d158; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease-out) forwards; }
.check path { stroke: #fff; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s var(--ease-out) .6s forwards; }

/* ---------- footer ---------- */
.footer { background: #000; color: #a1a1a6; padding: 80px 0 32px; border-top: 1px solid #1c1c21; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer .logo { color: #fff; }
.footer__brand p { margin-top: 16px; font-size: 15px; max-width: 280px; }
.footer__cols { display: flex; gap: 80px; flex-wrap: wrap; }
.footer__cols h4 { color: #fff; font-size: 14px; letter-spacing: 0; font-weight: 600; margin-bottom: 18px; }
.footer__cols a { display: block; font-size: 14.5px; margin-bottom: 10px; transition: color .25s; }
.footer__cols a:hover { color: #fff; }
.footer__big {
  font-size: clamp(64px, 17vw, 236px); font-weight: 800; letter-spacing: -.07em; line-height: .8;
  text-align: center; margin: 80px 0 40px;
  background: linear-gradient(180deg, #2a2a30 0%, #000 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; padding-top: 24px; border-top: 1px solid #1c1c21; }
.footer__bottom a:hover { color: #fff; }

/* ---------- cursor glow & progress ---------- */

.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 200; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- subpages: privacy policy, 404 ---------- */
.legal-page .nav { position: sticky; top: 0; }
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: #3a3a3f; font-size: 16.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.legal a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.legal mark { background: #fff3b0; padding: 0 4px; border-radius: 4px; }
.legal__meta { color: var(--muted) !important; font-size: 14px !important; }
.footer--slim { padding: 0 0 32px; }
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding-block: 40px; }
.notfound__code { font-size: clamp(90px, 20vw, 180px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(100deg, #0a2a8f, #1257e6 50%, #1fa0ff); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 30px; }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); }
.notfound p:not(.notfound__code) { color: var(--muted); margin-bottom: 10px; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1080px) {
  .chip--1 { left: -10px; }
  .chip--2 { right: -10px; }
  .why, .faq, .contact__grid { gap: 50px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--lg { grid-column: span 2; grid-row: auto; }
  .process { grid-template-columns: 1fr; row-gap: 50px; }
  .process__line { display: none; }
  .why, .faq, .contact__grid { grid-template-columns: 1fr; }
  .why__sticky { position: static; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan__desc { min-height: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .nav__cta .btn { display: none; }
  .hero { padding: 120px 0 50px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .mockup { margin-top: 56px; border-radius: 14px; }
  .mockup__url { padding: 4px 20px; }
  .mockup__screen { padding: 14px; }
  .ms-hero { grid-template-columns: 1fr; }
  .ms-visual { display: none; }
  .ms-cards { grid-template-columns: 1fr 1fr; }
  .ms-cards .ms-card:last-child { display: none; }
  .ms-nav b { display: none; }
  .ms-nav em { margin-left: auto; }
  .chip { padding: 8px 12px 8px 8px; }
  .chip--1 { left: 8px; top: auto; bottom: -26px; }
  .chip--2 { right: 8px; bottom: auto; top: 30%; }
  .chip__icon { width: 30px; height: 30px; font-size: 14px; }
  .statement { padding: 100px 18px 80px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 44px; }
  .bento { grid-template-columns: 1fr; }
  .card--lg { grid-column: auto; }
  .card { padding: 26px; min-height: 0; gap: 0; }
  .card > p { margin-bottom: 26px; }
  .card__split { grid-template-columns: 1fr; gap: 24px; }
  .process { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .reveal-word { opacity: 1 !important; transform: none !important; filter: none !important; }
}
