/* =========================================================
   PROCONNEXPRO — Template 3 : SaaS premium
   Blanc / encre / accent or — typographie serrée, UI produit
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --soft: #FAFAF8;
  --ink: #0B0B0C;
  --ink-2: #3F3F46;
  --muted: #71717A;
  --line: #ECECEA;
  --line-2: #E2E2DF;
  --gold: #FFC400;
  --amber: #F5A300;
  --orange: #F29800;
  --grad: linear-gradient(100deg, #F29800 0%, #FFB800 40%, #FFC400 60%, #F29800 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 20px;
  --shadow: 0 1px 2px rgba(16,16,20,.04), 0 8px 24px -8px rgba(16,16,20,.08);
  --shadow-lg: 0 2px 4px rgba(16,16,20,.04), 0 30px 80px -20px rgba(16,16,20,.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: rgba(255,196,0,.35); }

h1, h2, h3 { font-family: 'Inter Tight', sans-serif; letter-spacing: -.035em; line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.1rem; letter-spacing: -.015em; line-height: 1.3; font-weight: 600; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 6s ease-in-out infinite; }
@keyframes gradMove { 50% { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 44px; padding: 0 1.15rem; border-radius: 12px; font-weight: 600; font-size: .93rem; letter-spacing: -.01em; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 1rem; font-size: .88rem; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 1.5rem; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 20px -6px rgba(0,0,0,.45); }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 12px 28px -8px rgba(0,0,0,.5); }
.btn-soft { background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.btn-soft:hover { border-color: #cfcfcb; transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #FFD23F, #FFB800); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 24px -8px rgba(242,152,0,.7); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 32px -8px rgba(242,152,0,.8); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; gap: 1.6rem; width: min(1180px, 100%); padding: .55rem .55rem .55rem 1rem; border-radius: 18px; border: 1px solid transparent; transition: width .5s var(--ease), background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.scrolled .nav-pill { width: min(940px, 100%); background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-color: rgba(0,0,0,.06); box-shadow: 0 10px 40px -12px rgba(0,0,0,.15); }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.08rem 'Inter Tight', sans-serif; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; object-position: 50% 18%; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.links a { position: relative; padding: .45rem .8rem; border-radius: 9px; font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.links a:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.links a.active { color: var(--ink); }
.links a.active::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); }
.links-cta { display: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger.open span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger.open span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; overflow: hidden; text-align: center; }
.mesh { position: absolute; inset: -10% -10% auto; height: 820px; pointer-events: none; filter: blur(70px); opacity: .55; z-index: 0; }
.mesh i { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.mesh i:nth-child(1) { width: 520px; height: 520px; left: 18%; top: 4%; background: #FFD54A; animation: m1 16s ease-in-out infinite; }
.mesh i:nth-child(2) { width: 460px; height: 460px; right: 16%; top: 0; background: #FFB347; animation: m2 18s ease-in-out infinite; }
.mesh i:nth-child(3) { width: 380px; height: 380px; left: 42%; top: 26%; background: #FFE9A6; animation: m3 14s ease-in-out infinite; }
.mesh i:nth-child(4) { width: 300px; height: 300px; left: 8%; top: 40%; background: #FFF1C9; animation: m2 20s ease-in-out infinite reverse; }
@keyframes m1 { 50% { transform: translate(120px, 60px) scale(1.15); } }
@keyframes m2 { 50% { transform: translate(-100px, 80px) scale(.9); } }
@keyframes m3 { 50% { transform: translate(60px, -60px) scale(1.2); } }
.hero-grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .55;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000, transparent 75%); }
.hero > .container { position: relative; z-index: 1; }

.announce { display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .8rem .3rem .3rem; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-size: .86rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow); transition: border-color .25s, transform .3s var(--ease); }
.announce:hover { border-color: #d2d2ce; transform: translateY(-1px); }
.announce svg { width: 15px; height: 15px; color: var(--muted); transition: transform .3s var(--ease); }
.announce:hover svg { transform: translateX(2px); }
.announce-tag { padding: .18rem .55rem; border-radius: 999px; background: var(--ink); color: var(--gold); font-size: .74rem; font-weight: 600; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; margin: 1.6rem auto 1.1rem; max-width: 900px; line-height: 1; }
.motto { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .65rem; font: 600 .98rem 'Inter Tight', sans-serif; color: var(--ink-2); }
.motto i { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.hero-lead { max-width: 640px; margin: 1.2rem auto 2.2rem; font-size: 1.12rem; color: var(--muted); }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }

/* Product shot */
.shot-wrap { margin-top: 4.5rem; perspective: 1800px; }
.shot { position: relative; max-width: 1000px; margin-inline: auto; transform: rotateX(var(--rx, 18deg)) scale(var(--sc, .94)); transform-origin: 50% 0; will-change: transform; }
.win { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,.5); overflow: hidden; text-align: left; }
.win::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, rgba(255,196,0,.6), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.win-bar { display: flex; align-items: center; justify-content: center; position: relative; height: 42px; border-bottom: 1px solid var(--line); background: var(--soft); }
.dots { position: absolute; left: 14px; display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #E5E5E2; }
.url { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .9rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.url svg { width: 12px; height: 12px; }
.win-body { display: grid; grid-template-columns: 64px 1fr; min-height: 420px; }
.app-side { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1rem 0; border-right: 1px solid var(--line); background: var(--soft); }
.app-side img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; object-position: 50% 18%; margin-bottom: .5rem; }
.app-side span { width: 30px; height: 30px; border-radius: 9px; background: #EFEFEC; }
.app-side span.on { background: var(--ink); box-shadow: inset 0 0 0 9px var(--ink), inset 0 0 0 30px var(--gold); }
.app-main { padding: 0 1.4rem 1.4rem; }
.app-cover { height: 96px; margin: 0 -1.4rem; background: linear-gradient(120deg, #0B0B0C 0%, #2a2108 55%, #F29800 120%); position: relative; overflow: hidden; }
.app-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(255,196,0,.55), transparent 45%); }
.app-profile { display: flex; align-items: flex-end; gap: 1rem; margin-top: -24px; position: relative; flex-wrap: wrap; }
.app-av { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 4px solid #fff; box-shadow: 0 6px 20px -6px rgba(0,0,0,.25); font: 700 1.3rem 'Inter Tight', sans-serif; background-image: linear-gradient(135deg, #FFE27A, #FFB800); }
.app-id b { display: block; font: 700 1.1rem 'Inter Tight', sans-serif; letter-spacing: -.02em; }
.app-id small { color: var(--muted); font-size: .82rem; }
.otw { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; background: #E9F9EF; color: #0F8A46; font-size: .76rem; font-weight: 600; border: 1px solid #C8EFD6; }
.otw i { width: 7px; height: 7px; border-radius: 50%; background: #16B25B; animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22,178,91,.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(22,178,91,0); } }
.app-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; margin-top: 1.3rem; }
.app-card { padding: 1rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.app-card-h { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; margin-bottom: .8rem; }
.pill-ok { font-style: normal; font-size: .7rem; padding: .15rem .5rem; border-radius: 999px; background: #E9F9EF; color: #0F8A46; }
.app-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.app-gallery i { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(150deg, #FFE7A0, #F29800); position: relative; overflow: hidden; }
.app-gallery i:nth-child(2), .app-gallery i:nth-child(6) { background: linear-gradient(150deg, #3a3a3d, #0B0B0C); }
.app-gallery i:nth-child(4) { background: linear-gradient(150deg, #FFF1C9, #FFC400); }
.app-gallery i::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 14%; height: 36%; background: rgba(255,255,255,.35); clip-path: polygon(0 100%, 30% 25%, 50% 60%, 72% 30%, 100% 100%); }
.app-days { font-size: .8rem; color: var(--muted); }
.app-days b { font: 700 1.6rem 'Inter Tight', sans-serif; color: var(--ink); letter-spacing: -.03em; margin-right: .2rem; }
.app-bar { height: 6px; border-radius: 6px; background: #F0F0EE; margin: .6rem 0 .9rem; overflow: hidden; }
.app-bar span { display: block; height: 100%; width: 68%; border-radius: inherit; background: var(--grad); }
.app-socials { display: flex; flex-wrap: wrap; gap: .3rem; }
.app-socials span { font-size: .68rem; padding: .2rem .5rem; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.app-cv { margin-top: .8rem; padding: .55rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; text-align: center; }

.toast { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .7rem; border-radius: 14px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: left; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.toast b { display: block; font-size: .86rem; font-weight: 600; }
.toast small { font-size: .74rem; color: var(--muted); }
.t-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #FFF6D6; color: var(--orange); }
.t-ico.ok { background: #E9F9EF; color: #16B25B; }
.t-ico svg { width: 17px; height: 17px; stroke-width: 2.2; }
.t1 { top: 62%; left: -70px; }
.t2 { top: 48%; right: -80px; animation-delay: -2s; }
.t3 { bottom: -22px; left: 18%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2.6rem; margin-top: 4.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pf { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.pf:hover { color: var(--ink); }
.pf svg { width: 20px; height: 20px; }

/* ---------- Stats ---------- */
.stats { padding: 3rem 0 1rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1rem 1.6rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1.05 'Inter Tight', sans-serif; letter-spacing: -.05em; }
.stat > span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 3.8rem; }
.head.center { text-align: center; margin-inline: auto; }
.head p { margin-top: 1.1rem; font-size: 1.08rem; color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 1.1rem; font-size: .82rem; font-weight: 600; color: var(--orange); letter-spacing: .01em; }

/* Spotlight cards */
.card, .feat, .price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.spot::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(242,152,0,.9), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,196,0,.08), transparent 60%); }
.spot-group:hover .spot::before, .spot:hover::after { opacity: 1; }
.card:hover, .feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { padding: 1.7rem; }
.card p { margin-top: .45rem; color: var(--muted); font-size: .94rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.6rem; background: linear-gradient(180deg, #fff, #FAFAF8); border: 1px solid var(--line-2); box-shadow: var(--shadow); color: var(--ink); transition: color .3s, transform .4s var(--ease); }
.ico svg { width: 21px; height: 21px; }
.card:hover .ico { color: var(--orange); transform: translateY(-2px); }
.ico-sm { width: 40px; height: 40px; margin: 0; flex-shrink: 0; }

/* ---------- Scroll story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.story-visual { position: sticky; top: 120px; }
.form-card { padding: 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.fc-head { display: flex; align-items: center; gap: .85rem; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.fc-head b { display: block; font: 600 1rem 'Inter Tight', sans-serif; }
.fc-head small { font-size: .8rem; color: var(--muted); }
.fc-lock { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.fc-lock svg { width: 19px; height: 19px; }
.fc-steps { margin-left: auto; display: flex; gap: 5px; }
.fc-steps i { width: 22px; height: 5px; border-radius: 5px; background: #EDEDEA; transition: background .4s; }
.form-card[data-step="1"] .fc-steps i:nth-child(-n+1),
.form-card[data-step="2"] .fc-steps i:nth-child(-n+2),
.form-card[data-step="3"] .fc-steps i { background: var(--orange); }
.fc-block { opacity: .3; filter: grayscale(1); transform: scale(.98); transition: opacity .5s var(--ease), filter .5s, transform .5s var(--ease); margin-bottom: 1rem; }
.form-card[data-step="1"] .b1, .form-card[data-step="2"] .b1, .form-card[data-step="3"] .b1,
.form-card[data-step="2"] .b2, .form-card[data-step="3"] .b2,
.form-card[data-step="3"] .b3 { opacity: 1; filter: none; transform: none; }
.fc-block label { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); margin-bottom: .35rem; }
.fc-input { height: 42px; padding: 0 .9rem; display: flex; align-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--soft); font-size: .9rem; margin-bottom: .8rem; }
.form-card[data-step="1"] .b1 > .fc-input { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,196,0,.18); }
.fc-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: .7rem; }
.fc-mail { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; background: #F2FBF5; border: 1px solid #CDEFD9; font-size: .9rem; font-weight: 500; }
.fc-mail > svg { width: 19px; height: 19px; color: #16B25B; }
.fc-check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #16B25B; color: #fff; transform: scale(0); transition: transform .5s cubic-bezier(.34,1.7,.64,1) .2s; }
.fc-check svg { width: 13px; height: 13px; stroke-width: 3; }
.form-card[data-step="2"] .fc-check, .form-card[data-step="3"] .fc-check { transform: scale(1); }
.fc-strength { height: 5px; border-radius: 5px; background: #EDEDEA; overflow: hidden; margin: -.3rem 0 1rem; }
.fc-strength span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF6B4A, var(--gold), #16B25B); transition: width 1.2s var(--ease) .1s; }
.form-card[data-step="3"] .fc-strength span { width: 100%; }
.fc-code { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.fc-code small { color: var(--muted); font-size: .82rem; }
.fc-code b { font: 700 1.1rem 'Inter Tight', monospace; letter-spacing: .12em; }

.story-steps { list-style: none; padding: 2rem 0 3rem; }
.sstep { padding: 2rem 0 2rem 1.8rem; min-height: clamp(240px, 38vh, 380px); border-left: 2px solid var(--line); position: relative; opacity: .35; transition: opacity .5s var(--ease); }
.sstep::before { content: ''; position: absolute; left: -2px; top: 2rem; width: 2px; height: 0; background: var(--orange); transition: height .6s var(--ease); }
.sstep.active { opacity: 1; }
.sstep.active::before { height: 5rem; }
.sstep-n { font: 600 .85rem 'Inter Tight', sans-serif; color: var(--orange); }
.sstep h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; margin: .5rem 0 .6rem; }
.sstep p { color: var(--muted); font-size: 1.05rem; max-width: 420px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat { overflow: hidden; display: flex; flex-direction: column; }
.feat-wide { grid-column: span 2; }
.feat-ui { position: relative; height: 210px; border-bottom: 1px solid var(--line); background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.feat-ui::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#E3E3DF 1px, transparent 1px); background-size: 16px 16px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.feat-txt { padding: 1.5rem 1.6rem 1.7rem; }
.feat-txt p { color: var(--muted); margin-top: .4rem; font-size: .94rem; }

.ui-gallery { display: flex; gap: .7rem; padding: 0 1rem; }
.ui-gallery i { position: relative; flex-shrink: 0; width: 120px; height: 140px; border-radius: 14px; background: linear-gradient(150deg, #FFE7A0, #F29800); box-shadow: var(--shadow); animation: gal 18s linear infinite; }
.ui-gallery i:nth-child(even) { background: linear-gradient(150deg, #3a3a3d, #0B0B0C); height: 120px; }
.ui-gallery i:nth-child(3n) { background: linear-gradient(150deg, #FFF1C9, #FFC400); }
.ui-gallery i::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 12%; height: 36%; background: rgba(255,255,255,.35); clip-path: polygon(0 100%, 30% 25%, 50% 60%, 72% 30%, 100% 100%); }
@keyframes gal { to { transform: translateX(calc(-127px * 4)); } }

.ui-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 1.5rem; position: relative; }
.ui-socials span { padding: .55rem .95rem; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .86rem; font-weight: 600; transition: transform .35s var(--ease), border-color .25s; }
.ui-socials span:nth-child(odd) { transform: rotate(-3deg); }
.ui-socials span:nth-child(even) { transform: rotate(3deg) translateY(6px); }
.feat:hover .ui-socials span { transform: none; border-color: var(--orange); }

.ui-cv { display: grid; gap: .7rem; position: relative; width: 78%; }
.cv-row { display: flex; align-items: center; gap: .7rem; padding: .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cv-av { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font: 700 .85rem 'Inter Tight', sans-serif; background: linear-gradient(135deg, #FFE27A, #FFB800); }
.cv-row b { display: block; font-size: .86rem; }
.cv-row small { font-size: .74rem; color: var(--muted); }
.cv-file { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; transition: transform .35s var(--ease); }
.cv-file svg { width: 16px; height: 16px; }
.feat:hover .cv-file { transform: translateY(-3px); }

.ui-otw { background: radial-gradient(circle at 50% 50%, #EAF9F0, var(--soft) 60%); }
.otw-big { position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; background: #fff; border: 1px solid #C8EFD6; color: #0F8A46; font: 700 1.15rem 'Inter Tight', sans-serif; box-shadow: 0 10px 40px -10px rgba(22,178,91,.45); }
.otw-big i { width: 11px; height: 11px; border-radius: 50%; background: #16B25B; animation: ping 1.8s infinite; }
.otw-big::before, .otw-big::after { content: ''; position: absolute; inset: -14px; border-radius: 999px; border: 1px solid rgba(22,178,91,.25); animation: halo 2.6s var(--ease) infinite; }
.otw-big::after { animation-delay: 1.3s; }
@keyframes halo { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* ---------- Command palette (dark section) ---------- */
.section-dark { background: #0B0B0C; color: #fff; overflow: hidden; }
.section-dark .head p { color: #A1A1AA; }
.eyebrow-dark { color: var(--gold); }
.dark-glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 520px; translate: -50% -50%; background: radial-gradient(ellipse, rgba(255,180,0,.22), transparent 65%); filter: blur(30px); pointer-events: none; }
.section-dark .container { position: relative; }
.palette { max-width: 720px; margin-inline: auto; border-radius: 18px; background: rgba(24,24,27,.85); border: 1px solid #27272A; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset; backdrop-filter: blur(16px); overflow: hidden; }
.pal-input { display: flex; align-items: center; gap: .8rem; padding: 1.15rem 1.3rem; border-bottom: 1px solid #27272A; font-size: 1.05rem; }
.pal-input > svg { width: 20px; height: 20px; color: #A1A1AA; flex-shrink: 0; }
.caret { width: 2px; height: 1.2em; background: var(--gold); margin-left: -.7rem; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
kbd { margin-left: auto; font: 500 .72rem 'Inter', sans-serif; padding: .2rem .5rem; border-radius: 6px; border: 1px solid #3F3F46; color: #A1A1AA; background: #18181B; white-space: nowrap; }
.pal-filters { display: flex; flex-wrap: wrap; gap: .4rem; padding: .8rem 1.3rem; border-bottom: 1px solid #27272A; }
.pal-filters span { padding: .3rem .7rem; border-radius: 8px; font-size: .78rem; color: #A1A1AA; background: #18181B; border: 1px solid #27272A; }
.pal-filters .on { color: #0B0B0C; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.pal-list { padding: .5rem; }
.pal-item { display: flex; align-items: center; gap: 1rem; padding: .95rem 1rem; border-radius: 12px; transition: background .25s; cursor: default; }
.pal-item.active { background: rgba(255,196,0,.08); box-shadow: inset 0 0 0 1px rgba(255,196,0,.22); }
.pal-item b { display: block; font-weight: 600; font-size: .96rem; }
.pal-item small { display: block; color: #A1A1AA; font-size: .86rem; line-height: 1.5; margin-top: .15rem; }
.pal-item kbd { opacity: 0; transition: opacity .2s; }
.pal-item.active kbd { opacity: 1; }
.pal-ico { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #18181B; border: 1px solid #27272A; color: var(--gold); }
.pal-ico svg { width: 18px; height: 18px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.price { padding: 1.8rem 1.5rem; display: flex; flex-direction: column; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-period { font: 700 2.4rem/1 'Inter Tight', sans-serif; letter-spacing: -.05em; }
.price h3 { margin: .7rem 0 .4rem; font-size: 1.05rem; }
.price > p { color: var(--muted); font-size: .9rem; min-height: 5em; margin-bottom: 1.4rem; }
.price ul { list-style: none; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .65rem; }
.price li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-2); }
.price li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: #FFF6D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F29800' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.price-best { background: #0B0B0C; color: #fff; border-color: #0B0B0C; box-shadow: 0 30px 70px -25px rgba(0,0,0,.55); }
.price-best::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--ang, 0deg), transparent 0 65%, var(--gold) 80%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 5s linear infinite; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rot { to { --ang: 360deg; } }
.price-best > p { color: #A1A1AA; }
.price-best ul { border-top-color: #27272A; }
.price-best li { color: #E4E4E7; }
.price-best li::before { background-color: rgba(255,196,0,.15); }
.price-best .price-period { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-tag { position: absolute; top: 1.2rem; right: 1.2rem; padding: .22rem .6rem; border-radius: 999px; background: rgba(255,196,0,.14); color: var(--gold); font-size: .72rem; font-weight: 600; border: 1px solid rgba(255,196,0,.3); }

.dash { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; margin-top: 1rem; padding: 2.4rem; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.dash-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; }
.dash-copy p { color: var(--muted); margin-top: .8rem; }
.dash-ui { display: flex; align-items: center; gap: 1.8rem; padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ring { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { stroke: #F0F0EE; stroke-width: 9; }
.ring-fg { stroke: url(#g); stroke-width: 9; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2s var(--ease) .3s; }
.dash.in .ring-fg { stroke-dashoffset: 106; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label b { font: 700 2rem/1 'Inter Tight', sans-serif; letter-spacing: -.04em; }
.ring-label small { font-size: .74rem; color: var(--muted); }
.dash-list { list-style: none; flex: 1; display: grid; gap: .5rem; }
.dash-list li { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: 10px; border: 1px solid var(--line); font-size: .87rem; font-weight: 500; }
.dash-list em { margin-left: auto; font-style: normal; font-size: .72rem; padding: .12rem .5rem; border-radius: 999px; background: #F4F4F2; color: var(--muted); }
.dash-list em.ok { background: #E9F9EF; color: #0F8A46; }
.dash-list em.warn { background: #FFF6D6; color: #A86300; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #C9C9C5; }
.dot.ok { background: #16B25B; }
.dot.warn { background: var(--orange); }

/* ---------- Payments orbit ---------- */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.pay-lead { margin-top: 1.1rem; font-size: 1.08rem; color: var(--muted); }
.zones { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.6rem 0 2rem; }
.zones span { padding: .35rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.pay-list { display: grid; gap: .8rem; }
.pay-item { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pay-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.pay-item h3 { font-size: 1rem; }
.pay-item p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }

.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; translate: -50% -50%; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px -15px rgba(242,152,0,.55), 0 0 0 8px #fff, 0 0 0 9px var(--line); z-index: 2; }
.orbit-core img { width: 100%; height: 100%; object-fit: cover; transform-origin: 54% 27%; transform: scale(1.9); }
.ring-o { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed #D9D9D4; translate: -50% -50%; animation: spin 40s linear infinite; }
.r1 { width: 62%; height: 62%; }
.r2 { width: 98%; height: 98%; animation-duration: 60s; animation-direction: reverse; }
.ring-o span { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }
.ring-o b { pointer-events: auto; position: absolute; left: 50%; top: 0; translate: -50% -50%; transform: rotate(calc(var(--a) * -1)); display: block; white-space: nowrap; padding: .5rem .85rem; border-radius: 11px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; animation: spin 40s linear infinite reverse; }
.r2 b { animation-duration: 60s; animation-direction: normal; }
.ring-o b:hover { border-color: var(--orange); }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- CTA ---------- */
.cta-sec { padding: 40px 0 120px; }
.cta { position: relative; border-radius: 32px; background: #0B0B0C; color: #fff; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 1.5rem; text-align: center; isolation: isolate; }
.mesh-dark { inset: -30% -10% auto; height: 140%; opacity: .5; filter: blur(80px); z-index: -1; }
.mesh-dark i { mix-blend-mode: screen; }
.mesh-dark i:nth-child(1) { background: #F29800; left: 0; top: 40%; }
.mesh-dark i:nth-child(2) { background: #FFC400; right: 0; top: 10%; opacity: .7; }
.mesh-dark i:nth-child(3) { background: #7a4a00; }
.cta-in { position: relative; max-width: 720px; margin-inline: auto; }
.cta-logo { width: 96px; height: 64px; margin: 0 auto 1.8rem; border-radius: 16px; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px -10px rgba(255,180,0,.5); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.045em; }
.cta p { color: #A1A1AA; font-size: 1.08rem; margin: 1.2rem auto 2.2rem; max-width: 560px; }
.cta .btn { max-width: 100%; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2rem 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-motto { font: 600 .9rem 'Inter Tight', sans-serif; color: var(--ink-2); }
.footer-copy { font-size: .85rem; color: var(--muted); }

/* ---------- Reveal (blur-in) ---------- */
[data-r] { opacity: 0; transform: translateY(22px); filter: blur(8px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
[data-r].in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .pricing { grid-template-columns: repeat(2, 1fr); }
  .t1 { left: -10px; } .t2 { right: -10px; }
  .pay { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .links { position: fixed; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: .2rem; padding: .6rem; border-radius: 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .35s var(--ease); }
  .links.open { opacity: 1; visibility: visible; transform: none; }
  .links a { padding: .85rem 1rem; font-size: 1rem; }
  .links a.active::after { display: none; }
  .links .links-cta { display: block; margin-top: .3rem; text-align: center; background: var(--ink); color: #fff; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .nav-pill { background: rgba(255,255,255,.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: rgba(0,0,0,.06); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .stat:nth-child(3) { border-left: none; }
  .story { grid-template-columns: 1fr; gap: 2rem; }
  .story-visual { top: 84px; z-index: 2; }
  .story-steps { padding: 1rem 0 0; }
  .sstep { min-height: clamp(220px, 40vh, 360px); }
  .features { grid-template-columns: 1fr 1fr; }
  .feat-wide { grid-column: span 2; }
  .dash { grid-template-columns: 1fr; }
  .app-cols { grid-template-columns: 1fr; }
  .toast { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 84px 0; }
  .hero { padding-top: 120px; }
  .grid-4, .pricing, .features { grid-template-columns: 1fr; }
  .feat-wide { grid-column: auto; }
  .win-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .otw { margin-left: 0; }
  .story-visual { position: relative; top: 0; }
  .sstep { min-height: 0; opacity: 1; }
  .dash { padding: 1.4rem; }
  .dash-ui { flex-direction: column; align-items: stretch; }
  .ring { margin-inline: auto; }
  .orbit b { font-size: .7rem; padding: .35rem .55rem; }
  .pal-item small { display: none; }
  .footer-in { flex-direction: column; text-align: center; }
  .cta .btn { white-space: normal; height: auto; padding: .9rem 1.2rem; overflow-wrap: anywhere; }
}

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