/* ============ Base ============ */
:root {
  --bg: #07060f;
  --bg-2: #0e0c1d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f1effa;
  --muted: #a19db8;
  --violet: #7c5cff;
  --cyan: #00e0c6;
  --pink: #ff5c9d;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --radius: 20px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2.5rem); }
.gradient-text {
  background: linear-gradient(120deg, #b28cff, var(--cyan) 50%, #ff8cc0);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* cursor glow (desktop only) */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 500px; height: 500px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(124, 92, 255, .14), transparent 60%);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #07060f; box-shadow: 0 8px 30px -8px rgba(124, 92, 255, .7); }
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(0, 224, 198, .6); }
.btn--ghost { background: var(--surface); border-color: var(--border); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); }
.btn--sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
/* el desenfoque va en un pseudo-elemento: si estuviera en .nav, el menú móvil (position:fixed) quedaría atrapado dentro */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: rgba(7, 6, 15, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.logo__dim { color: var(--muted); font-weight: 500; margin-left: .25rem; }
.logo__orb { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 20px rgba(124, 92, 255, .8); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 34px rgba(0, 224, 198, .8); } }
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: .93rem; }
.nav__links a:not(.btn) { color: var(--muted); position: relative; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.nav__links a:not(.btn):hover::after { width: 100%; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate;
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -2; opacity: .55; }
.hero__blob--1 { width: 520px; height: 520px; background: var(--violet); top: -120px; right: -100px; animation: float 14s ease-in-out infinite; }
.hero__blob--2 { width: 420px; height: 420px; background: var(--cyan); bottom: -160px; left: -120px; opacity: .3; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-60px, 50px) scale(1.1); } }
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--muted); backdrop-filter: blur(8px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero__title { font-size: clamp(2.6rem, 8vw, 6rem); margin: 1.4rem 0 1.2rem; font-weight: 700; }
#rotator { display: inline-block; min-height: 1.1em; }
#rotator::after { content: ""; display: inline-block; width: 3px; height: .85em; margin-left: 6px; background: var(--cyan); vertical-align: -0.05em; animation: blink 1s steps(1) infinite; }
.hero__sub { max-width: 600px; color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.hero__trust { display: flex; align-items: center; gap: .9rem; margin-top: 2.6rem; font-size: .9rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.hero__trust strong { color: var(--text); }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: linear-gradient(135deg, hsl(var(--h) 90% 65%), hsl(calc(var(--h) + 40) 90% 45%)); }
.avatars span:first-child { margin-left: 0; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--text); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ Marquee ============ */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 1.2rem 0; }
.marquee__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-head); font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 600; }
.marquee__track span { color: var(--muted); }
.marquee__track i { font-style: normal; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.section__head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; flex-wrap: wrap; gap: 1.5rem; }
.section__head--row > div:first-child { display: flex; flex-direction: column; gap: 1rem; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* cards */
.card {
  position: relative; padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, background .3s; transform-style: preserve-3d; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, .16), transparent 45%);
}
.card:hover { border-color: rgba(124, 92, 255, .45); }
.card:hover::before { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.5rem; color: #07060f; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 30px -10px var(--c1); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--muted); }
.card__list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .5rem; font-size: .92rem; }
.card__list li::before { content: "✓"; color: var(--cyan); margin-right: .6rem; font-weight: 700; }

/* stats */
.stats { padding: 3rem 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--bg); padding: 2.2rem 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--pink)); opacity: .5; }
.step { display: flex; flex-direction: column; gap: 1.2rem; position: relative; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  background: var(--bg); border: 2px solid var(--violet); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(124, 92, 255, .5);
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* works */
.filters { display: flex; gap: .4rem; padding: .35rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { padding: .5rem 1.1rem; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 500; transition: background .25s, color .25s; white-space: nowrap; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 1.5rem; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: opacity .4s, transform .4s var(--ease); }
.work--tall { grid-row: span 2; }
.work--wide { grid-column: span 2; }
.work.is-hidden { display: none; }
.work__art { position: absolute; inset: 0; transition: transform .7s var(--ease); display: grid; place-items: center; }
.work:hover .work__art { transform: scale(1.06); }
.work__info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem;
  background: linear-gradient(0deg, rgba(7, 6, 15, .9), transparent);
}
.work__info h3 { font-size: 1.15rem; }
.work__info p { color: var(--muted); font-size: .88rem; }
.work::after {
  content: "↗"; position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-weight: 700; transform: scale(0) rotate(-45deg); transition: transform .35s var(--ease);
}
.work:hover::after { transform: scale(1) rotate(0); }
/* generated artworks */
.art-1 { background: radial-gradient(circle at 30% 20%, #ffb36b, transparent 50%), linear-gradient(160deg, #3b1d0e, #8a3c18 60%, #e07a3c); }
.art-2 { background: radial-gradient(circle at 70% 30%, #6bffe9, transparent 45%), linear-gradient(135deg, #003b36, #00796b); }
.art-3 { background: linear-gradient(135deg, #1b2a1a, #3e6b3a 50%, #a3c96b); }
.art-4 { background: radial-gradient(circle at 50% 50%, #7c5cff, transparent 60%), #0d0a24; }
.art-5 { background: linear-gradient(120deg, #0a2a5c, #1d6fd1 45%, #6bd0ff 75%, #ffd6e6); }
.art-6 { background: radial-gradient(circle at 20% 80%, #ff5c9d, transparent 50%), linear-gradient(135deg, #2a0b1d, #6e1846); }
.art-ui { width: 62%; aspect-ratio: 3/4; border-radius: 16px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); padding: 14% 10%; display: flex; flex-direction: column; gap: 10%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.art-ui i { display: block; height: 14%; border-radius: 8px; background: rgba(255,255,255,.35); }
.art-ui i:first-child { width: 70%; background: rgba(255,255,255,.7); }
.art-ui i:last-child { margin-top: auto; height: 18%; width: 55%; background: #ffd9b3; }
.art-logo { font-family: var(--font-head); font-size: 7rem; font-weight: 700; color: rgba(255,255,255,.9); text-shadow: 0 20px 50px rgba(0,0,0,.4); line-height: 1; }
.art-logo--alt { font-style: italic; }
.art-cards { position: relative; width: 50%; aspect-ratio: 1; }
.art-cards i { position: absolute; inset: 0; border-radius: 16px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); }
.art-cards i:nth-child(1) { transform: rotate(-12deg) translateX(-18%); }
.art-cards i:nth-child(2) { transform: rotate(6deg) translateX(14%); }
.art-cards i:nth-child(3) { background: rgba(255,255,255,.85); }
.art-rings { width: 55%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); box-shadow: 0 0 0 22px rgba(124,92,255,.15), 0 0 0 46px rgba(124,92,255,.08), inset 0 0 40px rgba(0,224,198,.5); animation: spin 14s linear infinite; }
.art-rings::before { content: ""; display: block; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); margin: -8% auto 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-wave { position: absolute; inset: auto 0 0; height: 60%; background: repeating-radial-gradient(ellipse at 50% 120%, rgba(255,255,255,.22) 0 2px, transparent 2px 22px); }

/* testimonials */
.slider { max-width: 820px; margin-inline: auto; overflow: hidden; }
.slider__track { display: flex; transition: transform .6s var(--ease); }
.quote { flex: 0 0 100%; margin: 0; padding: clamp(2rem, 5vw, 3.2rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.quote blockquote { margin: 0 0 2rem; font-family: var(--font-head); font-size: clamp(1.2rem, 2.8vw, 1.7rem); line-height: 1.4; font-weight: 500; }
.quote figcaption { display: inline-flex; align-items: center; gap: .9rem; text-align: left; }
.quote figcaption strong { display: block; }
.quote figcaption span:not(.q-av) { color: var(--muted); font-size: .9rem; }
.q-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #07060f; background: linear-gradient(135deg, hsl(var(--h) 90% 70%), hsl(calc(var(--h) + 40) 90% 55%)); }
.slider__dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: var(--border); transition: width .3s var(--ease), background .3s; }
.slider__dots button[aria-selected="true"] { width: 32px; background: var(--grad); }

/* pricing */
.toggle { display: flex; align-items: center; gap: .9rem; margin-top: .5rem; font-size: .95rem; }
.toggle__label { color: var(--muted); transition: color .2s; }
.toggle__label.is-on { color: var(--text); }
.toggle__label em { font-style: normal; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: rgba(0, 224, 198, .15); color: var(--cyan); margin-left: .3rem; }
.toggle__switch { width: 56px; height: 30px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); position: relative; padding: 0; }
.toggle__switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); transition: transform .3s var(--ease); }
.toggle__switch[aria-pressed="true"] span { transform: translateX(26px); }
.plans { align-items: stretch; }
.plan { position: relative; padding: 2.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; }
.plan__desc { color: var(--muted); font-size: .93rem; margin-top: .4rem; }
.plan__price { display: flex; align-items: baseline; gap: .2rem; margin: 1.6rem 0; font-family: var(--font-head); }
.plan__price .cur { font-size: 1.4rem; color: var(--muted); }
.plan__price .amt { font-size: 3.2rem; font-weight: 700; line-height: 1; }
.plan__price .per { color: var(--muted); margin-left: .4rem; font-family: var(--font-body); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; flex: 1; font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--cyan); margin-right: .7rem; font-weight: 700; }
.plan--featured { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; transform: scale(1.04); box-shadow: 0 30px 80px -30px rgba(124, 92, 255, .6); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: .3rem .9rem; border-radius: 999px; background: var(--grad); color: #07060f; font-size: .78rem; font-weight: 700; white-space: nowrap; }

/* faq */
.faq { display: grid; gap: 1rem; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(124, 92, 255, .4); background: var(--surface-2); }
.faq summary { list-style: none; padding: 1.3rem 1.5rem; font-weight: 600; font-size: 1.05rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 1.2rem; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--violet); }
.faq details p { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* cta + form */
.cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 4rem); border-radius: 28px;
  background: radial-gradient(600px circle at 0% 0%, rgba(124, 92, 255, .25), transparent 60%), radial-gradient(500px circle at 100% 100%, rgba(0, 224, 198, .15), transparent 60%), var(--bg-2);
  border: 1px solid var(--border);
}
.cta__text { display: flex; flex-direction: column; gap: 1.2rem; }
.cta__text p { color: var(--muted); font-size: 1.05rem; }
.cta__perks { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .6rem; }
.cta__perks li::before { content: "✦"; color: var(--cyan); margin-right: .7rem; }
.form { display: grid; gap: 1rem; align-content: start; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.5rem 1.1rem .6rem; border-radius: 14px; border: 1px solid var(--border); background: rgba(7, 6, 15, .6);
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s; resize: vertical; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a19db8' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
.field select option { background: var(--bg-2); color: var(--text); }
.field label { position: absolute; left: 1.1rem; top: 1.05rem; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: .45rem; font-size: .75rem; color: var(--cyan); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--pink); }
.form__note { min-height: 1.4em; font-size: .92rem; text-align: center; }
.form__note.ok { color: var(--cyan); }
.form__note.err { color: var(--pink); }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 2.2rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__copy { color: var(--muted); font-size: .88rem; }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: background .25s, transform .25s; }
.to-top:hover { background: var(--violet); transform: translateY(-3px); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .timeline::before { display: none; }
  .works { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .work--wide { grid-column: span 2; }
  .cta { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .burger { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem; font-size: 1.5rem;
    background: rgba(7, 6, 15, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav__links a:not(.btn) { color: var(--text); font-family: var(--font-head); font-weight: 600; transform: translateY(16px); transition: transform .4s var(--ease); }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links.is-open a { transform: none; }
  .nav__cta { font-size: 1.05rem; padding: .9rem 2rem; margin-top: .5rem; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 110px; }
  .hero__blob--1 { width: 320px; height: 320px; }
  .hero__blob--2 { width: 280px; height: 280px; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__actions .btn { width: 100%; }
  .scroll-hint { display: none; }

  .grid--3 { grid-template-columns: 1fr; }
  .card { padding: 1.6rem; }
  .timeline { grid-template-columns: 1fr; gap: 1.8rem; }
  .timeline::before { display: block; top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--violet), var(--cyan), var(--pink)); }
  .step { flex-direction: row; align-items: flex-start; gap: 1.2rem; }
  .step__num { flex-shrink: 0; }
  .works { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .work--tall { grid-row: span 1; }
  .work--wide { grid-column: span 1; }
  .work::after { transform: scale(1); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .stat { padding: 1.6rem 1rem; }
  .plan { padding: 1.8rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}

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