/* ==========================================================
   3D PrintAll — main stylesheet
   ========================================================== */

:root {
  --bg: #0a0c0f;
  --bg-2: #11141b;
  --surface: #161a23;
  --surface-2: #1d2230;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --muted: #9aa3b5;
  --accent: #2dff60;        /* logo green */
  --accent-2: #00d4ff;      /* cyan */
  --accent-3: #7c5cff;      /* PETG violet */
  --grad: linear-gradient(110deg, var(--accent) 0%, #9dffb8 45%, var(--accent-2) 100%);
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

::selection { background: var(--accent); color: #000; }

/* ---------- Icons (inline SVG sprite, colored with currentColor) ---------- */
.ico {
  display: inline-block; flex-shrink: 0;
  width: 1.25em; height: 1.25em;
  fill: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: #03200c;
  box-shadow: 0 10px 30px -10px rgba(45, 255, 96, .7);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(45, 255, 96, .9); }
.btn--ghost { border-color: var(--border); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1.1em 2em; font-size: 1.1rem; white-space: normal; word-break: break-all; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  color: var(--accent-2);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; }
.logo b { color: var(--accent); font-weight: 700; }
.logo__mark {
  width: 30px; height: 40px;
  color: var(--accent); fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(45,255,96,.45));
  transition: transform .4s cubic-bezier(.2,.8,.2,1), filter .4s;
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.08); filter: drop-shadow(0 0 12px rgba(45,255,96,.8)); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 12, 15, .75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: var(--muted); font-weight: 500; position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links { margin-left: auto; }

/* Language switch: sliding pill */
.lang-switch {
  position: relative; display: inline-flex; margin-left: 1.5rem;
  padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
}
.lang-switch::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: rgba(45,255,96,.15); border: 1px solid rgba(45,255,96,.45);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.lang-switch[data-active="en"]::before { transform: translateX(100%); }
.lang-switch button {
  position: relative; z-index: 1; min-width: 38px;
  padding: .3em .7em; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 600 .8rem/1 var(--mono); letter-spacing: .06em; color: var(--muted);
  transition: color .25s;
}
.lang-switch button[aria-pressed="true"] { color: var(--accent); }
.lang-switch button:hover { color: var(--text); }

.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: transform .3s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 40% at 75% 35%, rgba(45, 255, 96, .22), transparent 70%),
    radial-gradient(35% 35% at 15% 75%, rgba(0, 212, 255, .14), transparent 70%),
    radial-gradient(30% 30% at 50% 10%, rgba(124, 92, 255, .12), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, -3%, 0) rotate(4deg); } }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 700; margin-bottom: 1.5rem; }
.hero__lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin-bottom: 2.2rem; }
.hero__lead strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

/* "Layer by layer" heading reveal */
.layered {
  display: inline-block;
  position: relative;
  color: transparent;
  background: repeating-linear-gradient(180deg, var(--text) 0 6px, rgba(238,241,246,.82) 6px 7px);
  -webkit-background-clip: text; background-clip: text;
  clip-path: inset(100% 0 0 0);
  animation: printUp 1.4s steps(18, end) forwards;
}
.layered--accent {
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, #8dffaa 6px 7px);
  -webkit-background-clip: text; background-clip: text;
  animation-delay: 1.2s;
}
@keyframes printUp { to { clip-path: inset(0 0 0 0); } }

.hero__socials { display: flex; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.hero__socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted);
  transition: color .25s, border-color .25s, transform .25s, background .25s;
}
.hero__socials a:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px) rotate(-4deg); background: var(--surface-2); }

/* Animated printer */
.printer { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.printer__frame {
  position: relative; aspect-ratio: 1 / 1.05;
  border: 3px solid #2a3142; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)), var(--bg-2);
  box-shadow: var(--shadow), inset 0 0 60px rgba(0,0,0,.4);
  overflow: hidden;
}
.printer__frame::before, .printer__frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 10px;
  background: linear-gradient(90deg, #2a3142, #3a4358, #2a3142);
}
.printer__frame::before { left: 8%; }
.printer__frame::after { right: 8%; }
.printer__gantry {
  position: absolute; left: 8%; right: 8%; height: 12px; z-index: 2;
  background: linear-gradient(180deg, #4a5468, #2a3142);
  border-radius: 3px;
  /* top = nozzle-tip height; driven by js/main.js (p: 0 → 1) */
  top: calc(90% - 54px - var(--p, 0) * 54%);
}
.printer__head {
  position: absolute; top: -18px; width: 54px; height: 44px;
  background: linear-gradient(180deg, #ececec, #b9bec9);
  border-radius: 8px;
  animation: head 1.1s ease-in-out infinite alternate;
  box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.printer__head::before {
  content: ""; position: absolute; inset: 8px 10px auto; height: 6px; border-radius: 3px;
  background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2);
}
.printer__nozzle {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  width: 12px; height: 12px;
  background: linear-gradient(180deg, #d9a43a, #8a5b12);
  clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%);
}
.printer__nozzle::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px 4px rgba(45,255,96,.8);
}
.printer__bed {
  position: absolute; left: 12%; right: 12%; bottom: 10%; height: 8px;
  background: linear-gradient(90deg, #333b4d, #4b556c, #333b4d);
  border-radius: 3px;
}
.print {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(10% + 8px);
  width: 50%; height: 54%;
}
/* Object silhouette (mask) is set by js/main.js; clip-path reveals it bottom-up */
.print__fill {
  position: absolute; inset: 0;
  clip-path: inset(100% 0 0 0);
  -webkit-mask: none center bottom / contain no-repeat;
          mask: none center bottom / contain no-repeat;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.3) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, var(--f2, #13b83f), var(--f1, #2dff60) 40%, #e6fff0 55%, var(--f1, #2dff60) 70%, var(--f2, #13b83f));
}
.print { filter: drop-shadow(0 0 10px rgba(45,255,96,.35)); }
.printer__label {
  display: flex; justify-content: space-between; margin-top: 1rem;
  color: var(--muted); font-size: .8rem; letter-spacing: .12em;
}
.printer__pct { color: var(--accent-2); }
.printer__bar { height: 4px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-top: .5rem; }
.printer__bar span { display: block; height: 100%; width: 0; background: var(--grad); }

@keyframes head { from { left: 4%; } to { left: calc(96% - 54px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 2.4rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat__num {
  display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 640px; margin-bottom: 3.5rem; }
.section__head h2, .cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.section__sub { color: var(--muted); font-size: 1.1rem; }

/* ---------- Social cards ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.social-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 1.8rem; min-height: 190px;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
  isolation: isolate;
}
.social-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--c1), var(--c2) 55%, var(--c3));
  opacity: 0; transition: opacity .4s ease;
}
.social-card:hover { transform: translateY(-6px); border-color: transparent; }
.social-card:hover::before { opacity: 1; }
.social-card__icon { font-size: 2.2rem; color: var(--text); margin-bottom: auto; }
.social-card h3 { font-size: 1.5rem; }
.social-card p { color: var(--muted); font-size: .9rem; transition: color .3s; }
.social-card:hover p { color: rgba(255,255,255,.9); }
.social-card__arrow {
  position: absolute; top: 1.4rem; right: 1.5rem; font-size: 1.4rem;
  transition: transform .35s;
}
.social-card:hover .social-card__arrow { transform: translate(4px, -4px); }

/* ---------- App showcase ---------- */
.app {
  background:
    radial-gradient(60% 50% at 85% 40%, rgba(45,255,96,.08), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(0,212,255,.06), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.app .section__head { max-width: 720px; }
.app .section__sub strong { color: var(--text); }
.app__grid { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: 4rem; align-items: center; }

.app__features { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.feature {
  position: relative; overflow: hidden;
  width: 100%; display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.1rem 1.3rem; border-radius: 14px;
  background: transparent; border: 1px solid transparent;
  color: var(--muted); font: inherit; text-align: left; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.feature:hover { background: rgba(255,255,255,.03); color: var(--text); }
.feature.is-active { background: var(--surface); border-color: var(--border); color: var(--text); }
.feature__num { font-size: .8rem; padding-top: .2rem; color: var(--muted); transition: color .3s; }
.feature.is-active .feature__num { color: var(--accent); }
.feature__body { display: grid; gap: .25rem; }
.feature__body strong { font-size: 1.08rem; color: inherit; }
.feature__body span {
  font-size: .95rem; color: var(--muted);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease;
}
.feature.is-active .feature__body span { max-height: 6em; opacity: 1; }
.feature__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.feature.is-active .feature__bar { animation: featureProgress var(--dur, 5s) linear forwards; }
.app__features.is-paused .feature__bar { animation-play-state: paused; }
@keyframes featureProgress { to { width: 100%; } }

.app__stage { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.app__glow {
  position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45,255,96,.28), transparent);
  filter: blur(20px);
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 50% { transform: scale(1.12); opacity: .7; } }
.phone {
  position: relative; width: min(300px, 78vw);
  padding: 12px; border-radius: 46px;
  background: linear-gradient(145deg, #2a3040, #12151d 60%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.06);
  animation: float 6s ease-in-out infinite;
}
.phone__notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 14px; height: 14px; border-radius: 50%; background: #05070a;
  box-shadow: inset 0 0 0 3px #1b1f29;
}
.phone__screen {
  position: relative; overflow: hidden; border-radius: 36px;
  aspect-ratio: 540 / 1131; background: #f6f7f9;
  padding-top: 26px; /* room for the punch-hole camera, like a real status bar */
  background: linear-gradient(#1f2433 0 26px, #f6f7f9 26px);
}
.phone__screen img {
  position: absolute; top: 26px; left: 0; width: 100%; height: auto;
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.phone__screen img.is-active { opacity: 1; transform: none; }

.app__chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6em 1em; border-radius: 12px;
  background: rgba(22,26,35,.85); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.app__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.app__chip--a { top: 18%; left: -4%; color: var(--accent); }
.app__chip--b { bottom: 20%; right: -6%; color: #ff6b6b; animation-delay: -2.5s; }

.app__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 3.5rem; }
.play-btn {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .8rem 1.6rem .8rem 1.3rem; border-radius: 14px;
  background: var(--text); color: #0a0c0f;
  font-weight: 700; font-size: 1.2rem; line-height: 1.1;
  transition: transform .25s, box-shadow .25s;
}
.play-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(45,255,96,.6); }
.play-btn .ico { width: 1.6em; height: 1.6em; }
.play-btn small { display: block; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.app__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.app__tags li {
  padding: .4em .9em; border-radius: 999px; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(45,255,96,.3); background: rgba(45,255,96,.06); color: var(--accent);
}

/* ---------- Model cards ---------- */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.model-card {
  padding: 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .8rem;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.model-card:hover { transform: translateY(-6px); border-color: rgba(45,255,96,.5); box-shadow: 0 30px 60px -30px rgba(45,255,96,.45); }
.model-card h3 { font-size: 1.4rem; }
.model-card p { color: var(--muted); }
.link { color: var(--accent); font-weight: 600; margin-top: auto; }
.model-card__visual {
  height: 180px; border-radius: 12px; margin-bottom: .6rem;
  display: grid; place-items: center; perspective: 700px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg);
}

/* CSS 3D cube */
.cube {
  --s: 76px; --col: var(--accent);
  position: relative; width: var(--s); height: var(--s);
  transform-style: preserve-3d;
  animation: spin 10s linear infinite;
}
.cube--b { --col: var(--accent-2); animation-duration: 12s; animation-direction: reverse; }
.cube--c { --col: var(--accent-3); animation-duration: 14s; }
.cube span {
  position: absolute; inset: 0;
  border: 2px solid var(--col);
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--col) 22%, transparent) 0 3px, transparent 3px 6px);
  box-shadow: inset 0 0 20px color-mix(in srgb, var(--col) 35%, transparent);
}
.cube span:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
@keyframes spin { from { transform: rotateX(-25deg) rotateY(0); } to { transform: rotateX(-25deg) rotateY(360deg); } }
.model-card:hover .cube { animation-duration: 3s; }

/* Share your print callout */
.share {
  margin-top: 1.5rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  padding: 1.5rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(45,255,96,.09), rgba(0,212,255,.05) 60%), var(--surface);
  border: 1px dashed rgba(45,255,96,.45);
}
.share__icon {
  display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 16px; background: rgba(45,255,96,.12); font-size: 1.7rem;
}
.share__text { flex: 1 1 300px; }
.share__text h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.share__text p { color: var(--muted); }
.share__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.share__tags a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5em .9em; border-radius: 999px; font-size: .9rem;
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  transition: border-color .25s, color .25s, transform .25s;
}
.share__tags a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Deals ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.deal {
  position: relative; padding: 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  transition: border-color .3s, transform .3s;
}
.deal:hover { border-color: rgba(255,255,255,.18); transform: translateY(-4px); }
.deal h3 { font-size: 1.25rem; padding-right: 4rem; }
.deal p { color: var(--muted); font-size: .95rem; flex: 1; }
.deal__tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-family: var(--mono); font-weight: 600; font-size: .8rem;
  padding: .3em .7em; border-radius: 8px;
  background: rgba(45,255,96,.12); color: var(--accent); border: 1px solid rgba(45,255,96,.35);
}
.coupon {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .55em .6em .55em 1em; border-radius: 10px;
  border: 1.5px dashed var(--accent-2); background: rgba(0,212,255,.06);
  color: var(--text); font: inherit; cursor: pointer;
  transition: background .25s;
}
.coupon span { font-size: 1rem; letter-spacing: .1em; font-weight: 600; }
.coupon em {
  font-style: normal; font-size: .75rem; font-weight: 600; text-transform: uppercase;
  padding: .3em .6em; border-radius: 6px; background: var(--accent-2); color: #00222b;
}
.coupon:hover { background: rgba(0,212,255,.14); }
.coupon.is-copied em { background: var(--accent); color: #03200c; }
.deal--app {
  background: linear-gradient(150deg, rgba(0,212,255,.12), rgba(124,92,255,.12)), var(--surface);
  border-color: rgba(0,212,255,.3);
}
.deal__appicon { font-size: 2rem; color: var(--accent-2); }
.disclaimer { margin-top: 2rem; color: var(--muted); font-size: .85rem; opacity: .8; }

/* ---------- Telegram ---------- */
.tg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.tg {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, background .3s;
}
.tg:hover { transform: translateX(6px); border-color: #29a9eb; background: rgba(41,169,235,.07); }
.tg__flag { font-size: 1.9rem; }
.tg h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.tg p { color: var(--muted); font-size: .92rem; }
.tg__icon { margin-left: auto; font-size: 1.6rem; color: #29a9eb; flex-shrink: 0; }

/* ---------- CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(45,255,96,.18), transparent);
  pointer-events: none;
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__logo {
  width: 96px; height: 128px; margin-bottom: 1.5rem;
  color: var(--accent); fill: currentColor;
  filter: drop-shadow(0 0 24px rgba(45,255,96,.5));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.cta .section__sub { max-width: 560px; margin-bottom: 2.2rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal { text-align: right; display: grid; gap: .2rem; }
.footer__copy { color: var(--muted); font-size: .85rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100;
  transform: translate(-50%, 140%);
  padding: .8em 1.4em; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--accent-2);
  font-weight: 600; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s, visibility .4s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Scroll reveal ---------- */
/* Hidden state only when JS runs, so content never stays invisible */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.svc-audience {
  display: inline-flex; align-items: center; gap: .55rem; margin: -.2rem 0 1.1rem;
  padding: .4em 1em; border-radius: 999px;
  font-weight: 600; color: var(--accent);
  background: rgba(45,255,96,.08); border: 1px solid rgba(45,255,96,.35);
}
.svc-audience::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: border-color .35s, transform .35s;
}
.svc:hover { border-color: rgba(45,255,96,.4); transform: translateY(-4px); }
.svc__visual { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; }
.svc__label {
  position: absolute; left: 1rem; bottom: .9rem;
  font-size: .72rem; letter-spacing: .14em; color: var(--muted);
  padding: .3em .7em; border-radius: 6px; background: rgba(10,12,15,.6);
}
.svc__body { padding: 1.8rem; display: grid; gap: .9rem; }
.svc__body h3 { font-size: 1.5rem; }
.svc__body > p { color: var(--muted); }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.svc__list li { position: relative; padding-left: 1.6rem; }
.svc__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 3px;
  background: var(--accent); box-shadow: 0 0 10px rgba(45,255,96,.6);
}

/* 3D print visual: layers stacking up */
.svc__visual--print {
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(60% 70% at 50% 100%, rgba(45,255,96,.15), transparent 70%), var(--bg);
}
.layers { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 70%; padding-bottom: 14px; }
.layers span {
  height: 12px; width: var(--w); border-radius: 3px;
  background: linear-gradient(90deg, #13b83f, var(--accent) 40%, #e6fff0 55%, var(--accent) 70%, #13b83f);
  transform: scaleX(0); opacity: 0;
  animation: layerIn 6s ease-out infinite;
  animation-delay: calc(var(--i) * .35s);
}
@keyframes layerIn {
  0% { transform: scaleX(0); opacity: 0; }
  6%, 80% { transform: scaleX(1); opacity: 1; }
  92%, 100% { transform: scaleX(1); opacity: 0; }
}

/* Laser visual: logo burned into a wood panel */
.svc__visual--laser {
  background:
    repeating-linear-gradient(92deg, rgba(0,0,0,.06) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(88deg, rgba(255,255,255,.04) 0 1px, transparent 1px 23px),
    linear-gradient(160deg, #c89b6a, #a8794b 55%, #8e6239);
}
.engrave { height: 82%; overflow: visible; }
.engrave > * {
  fill: none; stroke: #3a2210; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: engrave 9s linear infinite;
  animation-delay: calc(var(--i) * .3s);
}
@keyframes engrave {
  0% { stroke-dashoffset: 1; opacity: 1; filter: drop-shadow(0 0 0 transparent); }
  4% { filter: drop-shadow(0 0 10px #ff6a1a) drop-shadow(0 0 3px #ffd36a); }
  8% { stroke-dashoffset: 0; filter: drop-shadow(0 0 2px rgba(255,106,26,.4)); }
  78% { stroke-dashoffset: 0; opacity: 1; filter: none; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.svc-tags { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.svc-tags li {
  padding: .5em 1em; border-radius: 999px; font-size: .95rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}

.svc-steps { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.svc-steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 21px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(45,255,96,.5), transparent);
}
.svc-steps li { position: relative; display: grid; justify-items: center; text-align: center; gap: .35rem; }
.svc-steps li > span.mono {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .5rem;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font-weight: 600;
}
.svc-steps strong { font-size: 1.05rem; }
.svc-steps li > span:last-child { color: var(--muted); font-size: .92rem; max-width: 22ch; }

.quote {
  margin-top: 3.5rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem;
  padding: 2.2rem; border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(45,255,96,.09), rgba(0,212,255,.05) 60%), var(--surface);
  border: 1px solid rgba(45,255,96,.3);
}
.quote__intro h3 { font-size: 1.8rem; margin-bottom: .8rem; }
.quote__intro p { color: var(--muted); }
.quote__form { display: grid; gap: 1.1rem; justify-items: start; }
.quote__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.quote__row--split { width: 100%; align-items: end; gap: 1.5rem; }
.chip {
  padding: .55em 1.1em; border-radius: 999px; cursor: pointer;
  font: 600 .95rem var(--font); color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--text); }
.chip.is-on { color: var(--accent); border-color: rgba(45,255,96,.55); background: rgba(45,255,96,.1); }
.quote__field { display: grid; gap: .4rem; width: 100%; font-size: .9rem; color: var(--muted); font-weight: 600; }
.quote__row--split .quote__field { width: auto; }
.quote__field textarea, .quote__field select {
  width: 100%; padding: .8em 1em; border-radius: 12px;
  font: 400 1rem var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  transition: border-color .2s;
}
.quote__field textarea { resize: vertical; min-height: 92px; }
.quote__field select { min-width: 120px; cursor: pointer; }
.quote__field textarea:focus, .quote__field select:focus { outline: none; border-color: var(--accent); }
.quote__check { display: flex; align-items: center; gap: .6rem; cursor: pointer; padding-bottom: .7em; }
.quote__check input { width: 18px; height: 18px; accent-color: var(--accent); }
.quote__note { font-size: .85rem; color: var(--muted); }
.quote__note a { color: var(--accent); }
.quote__fallback {
  width: 100%; display: grid; gap: .7rem; padding-top: 1.1rem;
  border-top: 1px dashed rgba(45,255,96,.3);
  animation: fadeUp .4s ease;
}
.quote__fallback[hidden] { display: none; }
.quote__fallback > p:first-child { font-weight: 600; }
a.chip { display: inline-block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Home: app teaser ---------- */
.teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.teaser h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.teaser .section__sub { margin-bottom: 2rem; }
.teaser .section__sub strong { color: var(--text); }
.teaser__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.teaser__phones { position: relative; display: block; height: 460px; }
.teaser__phones .app__glow { left: 10%; top: 5%; }
.teaser__phones .phone { position: absolute; display: block; width: 220px; padding: 9px; border-radius: 36px; }
.teaser__phones .phone__screen { display: block; border-radius: 28px; }
.teaser__phones .phone__screen img { opacity: 1; transform: none; top: 22px; }
.teaser__phones .phone__notch { top: 15px; width: 11px; height: 11px; }
.teaser__phones .phone { transform: rotate(var(--r)); animation: floatTilt 6s ease-in-out infinite; }
.phone--back { --r: -8deg; left: 8%; top: 40px; opacity: .55; animation-delay: -3s !important; }
.phone--front { --r: 4deg; right: 8%; top: 0; }
@keyframes floatTilt { 50% { transform: translateY(-10px) rotate(var(--r)); } }
.teaser__phones:hover .phone--back { opacity: .8; }
.play-btn--sm { padding: .55rem 1.2rem .55rem 1rem; font-size: 1rem; border-radius: 12px; }

/* ---------- App page ---------- */
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.hero--app::before {
  background:
    radial-gradient(40% 40% at 78% 40%, rgba(45,255,96,.2), transparent 70%),
    radial-gradient(35% 35% at 10% 80%, rgba(0,212,255,.12), transparent 70%);
}
.hero__title--app { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.hero--app .app__tags { margin-top: .5rem; }
.stats__grid--4 { grid-template-columns: repeat(4, 1fr); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step {
  position: relative; padding: 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.step::after {
  content: "→"; position: absolute; right: -1rem; top: 50%; transform: translate(50%, -50%);
  color: var(--accent); font-size: 1.3rem; z-index: 1;
}
.step:last-child::after { display: none; }
.step__num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.2rem;
  border-radius: 12px; background: rgba(45,255,96,.1); border: 1px solid rgba(45,255,96,.35);
  color: var(--accent); font-weight: 600;
}
.step h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.step p { color: var(--muted); }

.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cost {
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s, border-color .3s;
}
.cost:hover { transform: translateY(-4px); border-color: rgba(45,255,96,.4); }
.cost__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 50%; background: rgba(0,212,255,.1); color: var(--accent-2); font-size: 1.4rem;
}
.cost h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.cost p { color: var(--muted); font-size: .95rem; }

.privacy-band {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(45,255,96,.1), rgba(0,212,255,.06)), var(--surface);
  border: 1px solid rgba(45,255,96,.3);
}
.privacy-band > div { flex: 1 1 320px; }
.privacy-band__icon { width: 48px; height: 48px; color: var(--accent); flex-shrink: 0; }
.privacy-band h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.privacy-band p { color: var(--muted); }

.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: .75rem; }
.faq details {
  border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s;
}
.faq details[open] { border-color: rgba(45,255,96,.35); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3.2rem 1.1rem 1.4rem; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem/1 var(--mono); color: var(--accent); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

.cta .play-btn { margin-top: .5rem; }
.footer__copy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .cost-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 1.2rem; }
  .nav__links a:not(.btn) { font-size: .95rem; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .printer { max-width: 300px; }
  .model-grid { grid-template-columns: 1fr; }
  .app__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero--app .app__stage { order: 0; padding-top: 0; }
  .hero--app .phone { width: min(250px, 68vw); }
  .teaser { grid-template-columns: 1fr; gap: 1rem; }
  .svc-grid, .quote { grid-template-columns: 1fr; }
  .quote { padding: 1.6rem; gap: 1.5rem; }
  .svc-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .svc-steps::before { display: none; }
  .teaser__phones { height: 400px; max-width: 420px; width: 100%; margin-inline: auto; }
  .steps, .cost-grid { grid-template-columns: 1fr; }
  .step::after { content: "↓"; right: 50%; top: auto; bottom: -1rem; transform: translate(50%, 50%); }
  .stats__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid--4 .stat:nth-child(2) { border-right: 0; }
  .stats__grid--4 .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .app__stage { order: -1; }
  .app__chip--a { left: 2%; }
  .app__chip--b { right: 2%; }
  .stat { padding: 1.8rem .5rem; }
  .tg-grid { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }

  .nav__toggle { display: block; margin-left: .75rem; }
  .lang-switch { margin-left: auto; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 1.4rem; padding: 2rem 16px 2.5rem;
    background: rgba(10,12,15,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { font-size: 1.2rem; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .social-grid, .deal-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 0; }
  .hero__cta .btn { flex: 1 1 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }
}

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