/* =========================================================
   JoyTech — Liquid Glass
   ========================================================= */
:root {
  --ink: #0E1024;
  --ink-2: #474B68;
  --ink-3: #7A7E9A;
  --bg: #F4F5FB;
  --violet: #6C4BFF;
  --cyan: #18C6E8;
  --coral: #FF8A5B;
  --mint: #22C55E;
  --wa: #25D366;
  --grad: linear-gradient(110deg, #6C4BFF 0%, #3D7BFF 35%, #18C6E8 65%, #FF8A5B 100%);
  --glass-bg: linear-gradient(160deg, rgba(255,255,255,.62), rgba(255,255,255,.28));
  --glass-border: rgba(255,255,255,.75);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 -1px 0 rgba(255,255,255,.25) inset, 0 20px 50px -20px rgba(40,30,110,.28), 0 2px 6px rgba(40,30,110,.06);
  --r-lg: 28px;
  --r-md: 20px;
  --font-d: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-b); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.035em; line-height: 1.02; margin: 0; font-weight: 700; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow.light { color: #B9AEFF; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 640px; margin-top: 20px; }
.w-full { width: 100%; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 48vw; height: 48vw; background: #8B6CFF; top: -14vw; left: -10vw; animation: float1 22s ease-in-out infinite alternate; }
.b2 { width: 40vw; height: 40vw; background: #3FD8F2; top: 10vh; right: -12vw; animation: float2 26s ease-in-out infinite alternate; }
.b3 { width: 34vw; height: 34vw; background: #FFB08A; bottom: -12vw; left: 26vw; animation: float3 24s ease-in-out infinite alternate; }
.b4 { width: 22vw; height: 22vw; background: #FF8FD0; top: 42vh; left: 8vw; opacity: .3; animation: float2 30s ease-in-out infinite alternate-reverse; }
@keyframes float1 { to { transform: translate(14vw, 12vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(-16vw, 18vh) scale(.9); } }
@keyframes float3 { to { transform: translate(-10vw, -20vh) scale(1.2); } }
.grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,16,36,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14,16,36,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.grain { position: absolute; inset: -50%; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-radius: var(--r-lg);
}
/* Specular highlight: bright edge top left, fainter bottom right */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.1) 35%, rgba(255,255,255,0) 60%, rgba(255,255,255,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* Liquid glass with refraction (only where supported), more transparent so the bending shows */
.lg-refract .lg { background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,.12)); }
.lg-refract .lg.ind-panel, .lg-refract .lg.calc, .lg-refract .lg.contact-form { background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.3)); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .98rem/1 var(--font-b); padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #6C4BFF, #4E6BFF 50%, #18C6E8); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 30px -8px rgba(108,75,255,.6); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 16px 40px -10px rgba(108,75,255,.75); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-glass { color: var(--ink); border-radius: 999px; }
.btn-glass:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 28px; padding: 9px 9px 9px 18px; border-radius: 999px; width: min(1000px, calc(100% - 24px)); transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-140%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 1.35rem; letter-spacing: -0.03em; font-weight: 500; }
.brand b { font-weight: 800; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.7); color: var(--ink); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { pointer-events: auto; display: none; flex-direction: column; gap: 4px; width: calc(100% - 24px); margin-top: 8px; padding: 12px; opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .3s, transform .3s var(--ease); }
.mobile-menu.open { opacity: 1; transform: none; }
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 14px; font-weight: 500; }
.mobile-menu a:not(.btn):active { background: rgba(255,255,255,.6); }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 130px 16px 90px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1200px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero-title { font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
@media (min-width: 760px) { .hero-title .ln { white-space: nowrap; } }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 720px; margin: 28px auto 0; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-size: .9rem; color: var(--ink-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--mint); }

.hero-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fcard { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; font-size: .88rem; line-height: 1.3; }
.fcard b { display: block; font-weight: 600; }
.fcard small { color: var(--ink-3); font-size: .78rem; }
.fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.fc-ico svg { width: 19px; height: 19px; }
.fc-ico.ok { background: linear-gradient(135deg, #22C55E, #16A34A); }
.fc-ico.vi { background: linear-gradient(135deg, #8B6CFF, #6C4BFF); }
.fc-ico.wa { background: linear-gradient(135deg, #FFB08A, #FF7A59); }
.f1 { top: 21%; left: 4%; }
.f2 { top: 16%; right: 5%; }
.f3 { bottom: 17%; left: 7%; }
.f4 { bottom: 14%; right: 6%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 18px; }
.f4 .big { font-family: var(--font-d); font-size: 1.6rem; letter-spacing: -0.03em; }
.spark { width: 120px; height: 34px; margin-top: 4px; }
.spark path { fill: none; stroke: url(#none); stroke: #6C4BFF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.lens { position: absolute; z-index: 3; width: 190px; height: 190px; border-radius: 50%; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .5s; box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, 0 -8px 20px rgba(255,255,255,.35) inset, 0 20px 40px -12px rgba(40,30,110,.35); border: 1px solid rgba(255,255,255,.6); }
.lens::after { content: ""; position: absolute; inset: 8% 18% 55% 18%; border-radius: 50%; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.65), transparent 70%); }
.lg-refract .hero:hover .lens { opacity: 1; }
html:not(.lg-refract) .lens { display: none; }
@media (hover: none), (max-width: 860px) { .lens { display: none; } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(14,16,36,.25); border-radius: 20px; z-index: 2; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid rgba(14,16,36,.06); background: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-d); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink-3); display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; font-size: .7em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.problem { background: #0B0B1A; color: #fff; position: relative; overflow: hidden; }
.problem::before { content: ""; position: absolute; width: 60vw; height: 60vw; left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(circle, rgba(108,75,255,.35), transparent 60%); filter: blur(40px); }
.problem-pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; width: min(1100px, 100% - 32px); margin-inline: auto; padding: 120px 0; }
.scrub-text { font-family: var(--font-d); font-size: clamp(1.8rem, 4.2vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.scrub-text .w { opacity: .14; transition: opacity .2s; }
.problem-punch { margin-top: 48px; font-family: var(--font-d); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 500; color: rgba(255,255,255,.85); }

/* ---------- Stats ---------- */
.stats { padding: 90px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 28px 24px; }
.stat-card b { display: block; font-family: var(--font-d); font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 13vw, 160px) 0 0; }
.section-head { max-width: 860px; margin-bottom: 56px; }

/* Solutions */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.sol { padding: 30px 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; }
.sol:hover { box-shadow: var(--glass-shadow), 0 30px 60px -20px rgba(108,75,255,.35); }
.sol-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad); background-size: 220% 100%; box-shadow: 0 10px 24px -8px rgba(108,75,255,.6), 0 1px 0 rgba(255,255,255,.5) inset; margin-bottom: 22px; transform: translateZ(30px); }
.sol:nth-child(3n+2) .sol-ico { background-position: 50% 0; }
.sol:nth-child(3n) .sol-ico { background-position: 100% 0; }
.sol-ico svg { width: 24px; height: 24px; }
.sol h3 { margin-bottom: 10px; transform: translateZ(20px); }
.sol p { color: var(--ink-2); font-size: .97rem; }
.sol ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sol li { font-size: .78rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid rgba(14,16,36,.06); color: var(--ink-2); }

/* ---------- A working day ---------- */
.day { margin-top: clamp(90px, 13vw, 160px); position: relative; }
.day-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.day-head { margin-bottom: 44px; }
.day-head h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.vs { font-size: .5em; color: var(--ink-3); vertical-align: middle; font-weight: 500; padding: 0 .2em; }
.day-track { display: flex; gap: 20px; padding-left: max(16px, calc((100vw - 1200px) / 2)); padding-right: 16px; width: max-content; will-change: transform; }
.day-card { width: min(380px, 80vw); flex: none; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.time { font-family: var(--font-d); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.before, .after { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; font-size: .95rem; line-height: 1.45; }
.before { background: rgba(255,90,90,.08); color: #6B3B44; }
.after { background: rgba(34,197,94,.1); color: #1F4B33; }
.before svg, .after svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.before svg { color: #E5484D; } .after svg { color: #16A34A; }
.day-cta { justify-content: center; background: linear-gradient(150deg, rgba(108,75,255,.9), rgba(24,198,232,.85)); color: #fff; border-color: rgba(255,255,255,.4); }
.day-cta h3 { font-size: 1.9rem; }
.day-cta p { color: rgba(255,255,255,.85); }
.day-cta .btn { background: #fff; color: var(--ink); align-self: flex-start; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); }
.day-progress { width: min(1200px, 100% - 32px); margin: 40px auto 0; height: 3px; border-radius: 3px; background: rgba(14,16,36,.08); overflow: hidden; }
.day-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* ---------- Industries ---------- */
.ind-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.ind-tabs { display: flex; flex-direction: column; gap: 6px; }
.ind-tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; background: transparent; font: 500 .98rem var(--font-b); color: var(--ink-2); cursor: pointer; text-align: left; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.ind-tab .e { font-size: 1.3rem; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.6); flex: none; }
.ind-tab:hover { background: rgba(255,255,255,.5); color: var(--ink); transform: translateX(4px); }
.ind-tab[aria-selected="true"] { background: rgba(255,255,255,.85); border-color: rgba(255,255,255,.9); color: var(--ink); font-weight: 600; box-shadow: 0 10px 30px -14px rgba(40,30,110,.35); }
.ind-panel { padding: clamp(26px, 3.5vw, 44px); position: sticky; top: 100px; min-height: 520px; }
.ind-panel-inner { transition: opacity .25s, transform .35s var(--ease); }
.ind-panel-inner.swap { opacity: 0; transform: translateY(10px); }
.ind-big { font-size: 3rem; line-height: 1; margin-bottom: 14px; }
.ind-panel h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.035em; }
.ind-pain { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }
.ind-pain b { color: #C2410C; font-weight: 600; }
.ind-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ind-list li { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.8); font-size: .94rem; line-height: 1.4; }
.ind-list li b { display: block; font-weight: 600; margin-bottom: 2px; }
.ind-list li span { color: var(--ink-2); font-size: .86rem; }
.ind-list .ck { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.ind-list .ck svg { width: 15px; height: 15px; }
.ind-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.ind-case { font-size: .9rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.ind-case b { color: var(--violet); }
.ind-tab.other { margin-top: 8px; border: 1px dashed rgba(108,75,255,.4); color: var(--violet); }

/* ---------- Projects ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case { overflow: hidden; display: flex; flex-direction: column; }
.case-visual { height: 250px; position: relative; display: grid; place-items: center; overflow: hidden; }
.v-dental { background: linear-gradient(135deg, #C9F0FF, #E7E0FF); }
.v-farm { background: linear-gradient(135deg, #FFE9C2, #DDF6E1); }
.v-doors { background: linear-gradient(135deg, #EDE6DC, #D9E2F2); }
.v-media { background: linear-gradient(135deg, #FFD9E7, #DCD6FF); }
.mock { width: 78%; height: 76%; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 60px -20px rgba(40,30,110,.35); padding: 14px; transform: translateY(14%) rotate(-2deg); transition: transform .8s var(--ease); display: flex; flex-direction: column; gap: 12px; }
.case:hover .mock { transform: translateY(6%) rotate(0); }
.mock-bar { display: flex; gap: 5px; } .mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(14,16,36,.15); }
.mock-rows { display: flex; flex-direction: column; gap: 7px; } .mock-rows i { height: 8px; border-radius: 4px; background: rgba(14,16,36,.1); }
.teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.teeth span { aspect-ratio: .8; border-radius: 6px 6px 9px 9px; background: #fff; border: 1.5px solid rgba(14,16,36,.12); position: relative; }
.teeth .ok { background: #BBF7D0; border-color: #4ADE80; }
.teeth .imp { background: #BFDBFE; border-color: #3B82F6; }
.teeth .proc { background: #FEF08A; border-color: #EAB308; }
.teeth .x::after { content: "✕"; position: absolute; inset: 0; display: grid; place-items: center; color: #E5484D; font-weight: 800; font-size: .8rem; }
.bigbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bigbtns span { padding: 9px; border-radius: 10px; background: #fff; border: 1px solid rgba(14,16,36,.08); font-size: .78rem; font-weight: 600; text-align: center; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(#F4A51C, #FFD27A); }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.catalog span { border-radius: 8px; background: linear-gradient(180deg, #C9B79C, #8C7457); position: relative; }
.catalog span::after { content: ""; position: absolute; right: 18%; top: 50%; width: 4px; height: 10px; border-radius: 2px; background: #F1E6D2; }
.catalog span:nth-child(2n) { background: linear-gradient(180deg, #3A3F4E, #20232D); }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pipeline span { padding: 8px 4px 34px; border-radius: 10px; background: #fff; font-size: .7rem; font-weight: 600; text-align: center; border-top: 3px solid; }
.pipeline span:nth-child(1) { border-color: #A78BFA; } .pipeline span:nth-child(2) { border-color: #60A5FA; } .pipeline span:nth-child(3) { border-color: #34D399; } .pipeline span:nth-child(4) { border-color: #FB923C; }
.case-body { padding: 28px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--violet); margin-bottom: 8px; }
.case h3 { font-size: 1.8rem; margin-bottom: 12px; }
.case p { color: var(--ink-2); font-size: .97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips span { font-size: .78rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(14,16,36,.06); }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.calc { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.calc label span { display: flex; justify-content: space-between; font-weight: 500; font-size: .95rem; margin-bottom: 10px; }
.calc output { font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; color: var(--violet); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #6C4BFF var(--p, 50%), rgba(14,16,36,.1) var(--p, 50%)); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid rgba(14,16,36,.1); box-shadow: 0 4px 14px rgba(40,30,110,.3), 0 1px 0 #fff inset; transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid rgba(14,16,36,.1); box-shadow: 0 4px 14px rgba(40,30,110,.3); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc-out div { padding: 16px 14px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); }
.calc-out small { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.3; }
.calc-out b { display: block; font-family: var(--font-d); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin-top: 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-note { font-size: .8rem; color: var(--ink-3); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: rgba(14,16,36,.08); z-index: -1; }
.steps-line span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.step { padding: 28px 24px; }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-family: var(--font-d); font-weight: 700; color: #fff; background: var(--grad); background-size: 200%; box-shadow: 0 10px 24px -8px rgba(108,75,255,.6); margin-bottom: 20px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: var(--r-md); padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.8); font-weight: 400; font-size: 1.3rem; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); font-size: .97rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-direct { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; max-width: 380px; }
.cd { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; transition: transform .3s var(--ease); }
.cd:hover { transform: translateX(6px); }
.cd b { display: block; } .cd small { color: var(--ink-3); }
.cd-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.cd-ico svg { width: 22px; height: 22px; }
.cd-ico.wa { background: var(--wa); } .cd-ico.vi { background: linear-gradient(135deg, #8B6CFF, #6C4BFF); }
.contact-form { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea {
  font: 400 1rem var(--font-b); color: var(--ink); padding: 13px 15px; border-radius: 14px;
  border: 1px solid rgba(14,16,36,.1); background: rgba(255,255,255,.75); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108,75,255,.15); background: #fff; }
.contact-form .invalid { border-color: #E5484D !important; box-shadow: 0 0 0 4px rgba(229,72,77,.12) !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: .88rem; font-weight: 600; margin-bottom: 9px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 7px; }
.checks label { display: inline-flex; flex-direction: row; cursor: pointer; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .88rem; background: rgba(255,255,255,.7); border: 1px solid rgba(14,16,36,.08); transition: all .2s; }
.checks input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.checks input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { text-align: center; font-size: .88rem; color: var(--ink-3); }
.form-note a { color: var(--violet); font-weight: 600; }
.form-done { position: absolute; inset: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 90px !important; text-align: center; gap: 12px; padding: 30px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 2; }
.form-done[hidden] { display: none; }
.done-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff; box-shadow: 0 14px 30px -10px rgba(34,197,94,.6); }
.done-ico svg { width: 36px; height: 36px; }
.form-done h3 { font-size: 2rem; }
.form-done p { color: var(--ink-2); }
.form-err { color: #B91C1C; font-size: .9rem; text-align: center; }

/* ---------- Final ---------- */
.final { padding: clamp(100px, 14vw, 170px) 0 clamp(80px, 10vw, 120px); }
.final-card { text-align: center; padding: clamp(50px, 8vw, 100px) clamp(22px, 5vw, 60px); overflow: hidden; }
.final-card::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 100%; background: radial-gradient(ellipse at 50% 0%, rgba(108,75,255,.25), transparent 60%); z-index: -1; }
.final-card h2 { max-width: 900px; margin: 0 auto; }
.final-card p { color: var(--ink-2); font-size: 1.15rem; margin: 22px auto 34px; max-width: 560px; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 30px; border-top: 1px solid rgba(14,16,36,.06); background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.foot-grid p { color: var(--ink-3); font-size: .92rem; margin-top: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--violet); }
.foot-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(14,16,36,.06); font-size: .85rem; color: var(--ink-3); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--wa); box-shadow: 0 14px 30px -8px rgba(37,211,102,.6), 0 1px 0 rgba(255,255,255,.4) inset; transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waPulse 2.4s infinite; }
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Initial animation states (removed by JS) ---------- */
.js .reveal-up, .js .reveal-card { opacity: 0; }
.js [data-split] .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em; margin: 0 -.08em -.1em; }
.js [data-split] .wd > span { display: inline-block; transform: translateY(105%); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero-float .f3 { display: none; }
  .f1 { top: 15%; left: 3%; } .f2 { top: 15%; right: 3%; }
  .f4 { bottom: 7%; right: 3%; }
}
@media (max-width: 1020px) {
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .ind-wrap { grid-template-columns: 1fr; }
  .ind-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; scroll-snap-type: x mandatory; }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab { flex: none; scroll-snap-align: start; background: rgba(255,255,255,.45); }
  .ind-tab:hover { transform: none; }
  .ind-tab.other { margin-top: 0; }
  .ind-panel { position: relative; top: 0; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .calc-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid > div:first-child { position: static; }
  .f1, .f3 { left: 2%; } .f2, .f4 { right: 2%; }
}
@media (max-width: 860px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .mobile-menu { display: flex; visibility: hidden; }
  .mobile-menu.open { visibility: visible; }
  .cases { grid-template-columns: 1fr; }
  .hero-float .f2, .hero-float .f3 { display: none; }
  .f1 { top: auto; bottom: 12%; left: 4%; transform: scale(.88); transform-origin: left bottom; }
  .f4 { bottom: 4%; right: 4%; transform: scale(.85); transform-origin: right bottom; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sol-grid, .stats-grid, .steps { grid-template-columns: 1fr; }
  .ind-list { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; } .calc-out div:last-child { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: span 2; }
  .hero { padding-top: 110px; padding-bottom: 170px; }
  .hero-trust { gap: 8px 16px; }
  .hero-float .f4 { display: none; }
  .f1 { bottom: 5%; left: 16px; right: 16px; width: fit-content; margin: 0 auto; transform: none; }
  .day-card { padding: 22px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal-up, .js .reveal-card { opacity: 1; }
  .js [data-split] .wd > span { transform: none; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) { .nav .burger { margin-left: auto; } }
