/* ═══════════════════════════════════════════
   AI Workflows — "Ink & Electric" design system
   ═══════════════════════════════════════════ */
:root {
    --bg: #ffffff;
    --soft: #f6f6f9;
    --ink: #0b0b0f;
    --ink-2: #1c1c24;
    --text: #33333f;
    --muted: #6b6b7b;
    --line: #ececf1;
    --line-2: #e2e2ea;

    --brand: #5b4bff;
    --brand-2: #8b5cff;
    --lime: #d4ff3f;
    --lime-ink: #1a2400;
    --wa: #25d366;
    --grad: linear-gradient(120deg, #5b4bff, #8b5cff);

    --r-xl: 28px;
    --r-lg: 22px;
    --r: 16px;
    --shadow-sm: 0 1px 2px rgba(11, 11, 15, .05);
    --shadow: 0 1px 2px rgba(11, 11, 15, .04), 0 12px 30px -12px rgba(11, 11, 15, .14);
    --shadow-lg: 0 2px 4px rgba(11, 11, 15, .04), 0 40px 80px -30px rgba(40, 30, 120, .35);

    --font-head: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--font-body); font-size: 16px; line-height: 1.8;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 400; }
.muted-2 { color: #a0a0ae; }

/* marker highlight */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::before {
    content: ""; position: absolute; z-index: -1; inset: 58% -6px 4% -6px;
    background: var(--lime); border-radius: 6px; transform: skewX(-8deg);
    transform-origin: right; animation: mark 1s .5s var(--ease) both;
}
.hl--dark::before { opacity: .95; }
@keyframes mark { from { transform: skewX(-8deg) scaleX(0); } }

.kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--brand);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* ───── Buttons ───── */
.btn {
    --h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h); padding-inline: 22px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 500; font-size: 15px; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover > svg:last-child:not(:first-child) { transform: translateX(-4px); }
.btn--sm { --h: 40px; padding-inline: 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding-inline: 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 11, 15, .5), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn--dark:hover { background: #22222c; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn--light:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light > svg:first-child { color: var(--wa); }
.btn--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 30px -10px rgba(212, 255, 63, .7); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(212, 255, 63, .85); }
.btn--glass { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.btn--glass:hover { background: rgba(255, 255, 255, .12); }
.btn--glass > svg:first-child { color: var(--wa); }
.btn[disabled] { opacity: .75; pointer-events: none; }

.link-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--ink); padding: 6px 0; border-bottom: 1.5px solid var(--ink); }
.link-btn svg { transition: transform .25s var(--ease); }
.link-btn:hover svg { transform: translateX(-4px); }
.link-btn--lime { color: var(--lime); border-color: var(--lime); }

/* ───── Nav (floating pill) ───── */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; padding-inline: 16px; pointer-events: none; }
.nav {
    pointer-events: auto;
    width: min(1180px, 100%); margin-inline: auto; height: 64px; padding: 0 10px 0 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    border-radius: 999px; border: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav-wrap.is-scrolled .nav {
    background: rgba(255, 255, 255, .78); border-color: var(--line);
    backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 10px 30px -16px rgba(11, 11, 15, .2);
}
.logo { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.logo span { font-family: var(--font-head); font-size: 19px; font-weight: 400; color: var(--ink); letter-spacing: -.02em; }
.logo b { font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-family: var(--font-head); font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--soft); }
.nav__cta-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; }

/* ───── Hero ───── */
.hero { position: relative; padding: 170px 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
    position: absolute; top: -260px; left: 50%; width: 1100px; height: 700px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(139, 92, 255, .22), rgba(91, 75, 255, .08) 55%, transparent 75%);
}
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 20%, #000 10%, transparent 70%);
}
.hero__head { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero__title { font-size: clamp(34px, 6.2vw, 76px); font-weight: 700; line-height: 1.25; margin: 0 0 22px; letter-spacing: -.035em; text-wrap: balance; }
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 660px; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero__trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero__trust svg { color: var(--brand); }

/* Showcase */
.showcase { position: relative; margin-top: 70px; padding-bottom: 40px; }
.board {
    position: relative; border-radius: var(--r-xl); overflow: hidden;
    background: #0e0e14; border: 1px solid #1f1f2a;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(11, 11, 15, .03);
    margin-left: 250px;
}
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #1f1f2a; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a36; }
.board__title { font-family: "Readex Pro", sans-serif; font-size: 13px; color: #b9b9c8; }
.board__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--lime); background: rgba(212, 255, 63, .08); border: 1px solid rgba(212, 255, 63, .2); padding: 2px 10px; border-radius: 999px; }
.board__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(212, 255, 63, .6); } 100% { box-shadow: 0 0 0 8px rgba(212, 255, 63, 0); } }

.board__canvas {
    position: relative; aspect-ratio: 16 / 7;
    background-image: radial-gradient(#23232e 1.2px, transparent 1.2px); background-size: 20px 20px;
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: #6c5cff; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 6 7; animation: flow 1.1s linear infinite; filter: drop-shadow(0 0 4px rgba(108, 92, 255, .8)); }
@keyframes flow { to { stroke-dashoffset: -26; } }
.n { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.n__tile {
    display: grid; place-items: center; width: clamp(48px, 7vw, 76px); aspect-ratio: 1; border-radius: 18px;
    background: #16161f; border: 1px solid #2c2c3a; color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -10px rgba(0, 0, 0, .8);
    animation: nodeIn .7s var(--ease) both;
}
.n__tile--hook { color: #7dd3fc; border-radius: 30px 18px 18px 30px; }
.n__tile--set { color: #a5b4fc; animation-delay: .1s; }
.n__tile--ai { background: var(--grad); border-color: transparent; box-shadow: 0 0 40px -6px rgba(108, 92, 255, .9); animation-delay: .2s; }
.n__tile--wa { color: var(--wa); animation-delay: .3s; }
.n__tile--bell { color: var(--lime); animation-delay: .4s; }
.n__label { position: absolute; top: calc(100% + 10px); white-space: nowrap; font-family: "Readex Pro", sans-serif; font-size: clamp(10px, 1vw, 12.5px); color: #8a8a9c; }
@keyframes nodeIn { from { opacity: 0; transform: scale(.85); } }
.board__run { position: absolute; top: 16px; right: 18px; display: inline-flex; align-items: center; gap: 6px; font-family: "Readex Pro", sans-serif; font-size: 12px; color: #c9c9d6; background: #16161f; border: 1px solid #2c2c3a; padding: 5px 12px; border-radius: 999px; }
.board__run svg { color: var(--ink); background: var(--lime); border-radius: 50%; padding: 2px; width: 16px; height: 16px; stroke-width: 3; }

/* Phone */
.phone {
    position: absolute; left: 0; bottom: 0; width: 290px; z-index: 2;
    border-radius: 42px; padding: 10px; background: #0b0b0f;
    box-shadow: 0 40px 80px -20px rgba(11, 11, 15, .5), inset 0 0 0 1px #2a2a36;
    animation: bob 7s ease-in-out infinite;
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 999px; background: #000; z-index: 3; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 46px 16px 12px; background: #075e54; color: #fff; border-radius: 32px 32px 0 0; }
.phone__head b { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.phone__head small { font-size: 11px; opacity: .8; }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.phone__chat {
    min-height: 330px; padding: 16px 12px 18px; border-radius: 0 0 32px 32px;
    background-color: #efeae2;
    background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px;
    display: flex; flex-direction: column; gap: 8px;
}
.bubble { position: relative; max-width: 92%; padding: 8px 12px 20px; border-radius: 12px; font-size: 13px; line-height: 1.65; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble b { font-weight: 600; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; animation: pop .5s var(--ease) both; }
.bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.bubble__time { position: absolute; bottom: 4px; left: 10px; font-size: 10px; color: #667781; direction: ltr; }
.bubble--in .bubble__time { color: #53bdeb; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ───── Tools ───── */
.tools { padding: 40px 0 20px; text-align: center; }
.tools p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tool { font-family: "Readex Pro", sans-serif; font-size: 20px; font-weight: 600; color: #b4b4c2; letter-spacing: -.02em; transition: color .2s; }
.tool:hover { color: var(--ink); }

/* ───── Sections ───── */
.section { padding: 120px 0; }
.section--soft { background: var(--soft); }
.head { max-width: 640px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; }
.head h2, .demo h2, .cta h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; margin-top: 14px; }
.lead { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
    position: relative; grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
    padding: 28px; border-radius: var(--r-xl); background: var(--soft); border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card--xl { grid-column: span 4; background: #fff; }
.card--xl::after {
    content: ""; position: absolute; top: -120px; left: -120px; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(139, 92, 255, .18), transparent); pointer-events: none;
}
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card__body { position: relative; z-index: 1; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 18px; }
.card__icon--lime { background: var(--lime); color: var(--lime-ink); }
.card__tag { position: absolute; top: 8px; left: 0; font-family: var(--font-head); font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.card--xl h3 { font-size: 28px; }
.card--xl p { max-width: 520px; font-size: 16px; }
.card--dark { background: var(--ink); border-color: var(--ink); }
.card--dark h3 { color: #fff; }
.card--dark p { color: #a1a1b2; }

.flow { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 0; padding: 18px; border-radius: 20px; background: var(--soft); border: 1px dashed var(--line-2); }
.flow__chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); font-family: "Readex Pro", sans-serif; font-size: 13px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); white-space: nowrap; }
.flow__chip--brand { background: var(--grad); color: #fff; border-color: transparent; }
.flow__chip--wa svg { color: var(--wa); }
.flow__line { flex: 1; min-width: 18px; height: 2px; background: repeating-linear-gradient(90deg, #b9b3ff 0 6px, transparent 6px 11px); animation: dash 1s linear infinite; background-size: 22px 2px; }
@keyframes dash { to { background-position: 22px 0; } }

.browser { border-radius: 14px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow-sm); }
.browser__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); direction: ltr; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser__bar span { flex: 1; height: 14px; margin-inline-start: 10px; border-radius: 6px; background: var(--soft); }
.browser__body { padding: 16px; display: grid; gap: 8px; }
.sk { display: block; height: 10px; border-radius: 6px; background: var(--line); }
.sk--h { height: 16px; width: 70%; background: var(--ink); }
.sk--p { width: 90%; } .sk--p2 { width: 60%; }
.sk--btn { width: 80px; height: 22px; border-radius: 999px; background: var(--lime); margin-top: 4px; }

.mini-plan { display: grid; gap: 10px; }
.mini-plan__pill { display: inline-flex; width: max-content; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.mini-plan__pill i { font-style: normal; font-family: var(--font-head); font-size: 13px; padding: 5px 16px; border-radius: 999px; color: var(--muted); }
.mini-plan__pill i.on { background: var(--ink); color: #fff; }
.mini-plan__row { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); font-family: "Readex Pro", sans-serif; font-size: 14px; color: var(--ink); direction: ltr; justify-content: flex-start; }
.mini-plan__row svg { color: var(--brand); }
.mini-plan__row em { margin-left: auto; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #ecfdf3; color: #067647; }

.uptime { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); }
.uptime__bars { display: flex; gap: 3px; height: 34px; direction: ltr; }
.uptime__bars i { flex: 1; border-radius: 3px; background: #22c55e; opacity: .85; }
.uptime__bars i:nth-child(9) { background: #facc15; }
.uptime__label { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.uptime__label i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }

/* Demo */
.demo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-family: var(--font-head); font-size: 14px; color: var(--muted); transition: all .2s; }
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.demo__steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.demo__steps span { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); font-family: var(--font-head); font-size: 13px; color: var(--ink); }
.demo__phone { display: flex; justify-content: center; position: relative; }
.demo__phone::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 255, .25), transparent); filter: blur(10px); }
.phone--lg { position: relative; width: 340px; animation: none; }
.phone--lg .phone__chat { min-height: 420px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; }
.step:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 22px; left: 24px; font-family: "Readex Pro", sans-serif; font-size: 40px; font-weight: 700; line-height: 1; color: var(--soft); -webkit-text-stroke: 1px var(--line-2); direction: ltr; }
.step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--ink); margin-bottom: 40px; transition: background .3s, color .3s; }
.step:hover .step__icon { background: var(--lime); color: var(--lime-ink); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* Billing */
.billing { position: relative; display: flex; width: max-content; margin: -24px auto 48px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.billing__opt { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 26px; border-radius: 999px; font-family: var(--font-head); font-size: 15px; color: var(--muted); transition: color .3s; }
.billing__opt.is-active { color: #fff; }
.billing__save { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.billing__thumb { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: left .4s var(--ease), width .4s var(--ease); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--soft); color: var(--ink); margin-bottom: 20px; }
.plan h3 { font-size: 21px; font-weight: 600; }
.plan__desc { color: var(--muted); font-size: 15px; margin: 6px 0 20px; min-height: 54px; }
.plan__price { min-height: 92px; display: flex; flex-direction: column; justify-content: center; margin-bottom: 20px; }
.plan__amount { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.03em; }
.plan__amount small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-inline-start: 4px; }
.plan__price > small { color: var(--muted); font-size: 13px; margin-top: 4px; }
.plan__price.is-quote .plan__amount, .plan__price--static .plan__amount { font-size: 28px; }
.plan .checklist { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan--featured { background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .plan__amount { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price > small, .plan--featured .plan__amount small { color: #a1a1b2; }
.plan--featured .plan__icon { background: rgba(255, 255, 255, .08); color: var(--lime); }
.plan--featured .checklist { border-color: #26262f; }
.plan--featured .checklist li { color: #e4e4ec; }
.plan--featured .checklist svg { background: rgba(212, 255, 63, .12); color: var(--lime); }
.plan__badge { position: absolute; top: 26px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-family: var(--font-head); font-size: 12.5px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--soft); color: var(--ink); stroke-width: 2.8; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .head { position: sticky; top: 120px; margin: 0; }
.faq-wrap .head .btn { margin-top: 28px; }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 20px; background: var(--soft); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.faq__item[open] { background: #fff; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); transition: background .3s, transform .3s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.8px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta-wrap { padding: 0 0 120px; }
.cta { position: relative; overflow: hidden; text-align: center; padding: 96px 30px; border-radius: 36px; background: var(--ink); color: #a1a1b2; }
.cta__glow { position: absolute; bottom: -260px; left: 50%; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(108, 92, 255, .55), transparent); pointer-events: none; }
.cta__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); }
.cta h2 { position: relative; color: #fff; max-width: 780px; margin: 0 auto 16px; }
.cta .hl { color: var(--lime); }
.cta .hl::before { display: none; }
.cta p { position: relative; font-size: 18px; margin-bottom: 36px; }
.cta__actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { padding: 70px 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 360px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__word {
    margin: 60px 0 -0.18em; text-align: center; white-space: nowrap;
    font-family: "Readex Pro", sans-serif; font-weight: 700; letter-spacing: -.06em; line-height: 1;
    font-size: clamp(48px, 13vw, 180px);
    background: linear-gradient(180deg, var(--ink) 20%, rgba(11, 11, 15, .05) 95%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { position: relative; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; background: #fff; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ───── Modal / Order form ───── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 15, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s ease; }
.modal__panel { position: relative; width: min(620px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: #fff; border-radius: 30px; padding: 36px; box-shadow: 0 40px 100px -20px rgba(11, 11, 15, .45); animation: popIn .4s var(--ease); }
.modal__close { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--muted); transition: background .2s, color .2s; }
.modal__close:hover { background: var(--line); color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }

.order__head { margin-bottom: 26px; }
.order__head h2 { font-size: 28px; font-weight: 700; }
.order__head p { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 4px; }
.order__head p svg { color: var(--wa); }
.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field__label { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; padding: 0; }
.field__error { display: block; color: #dc2626; font-size: 13px; margin-top: 6px; }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.input::placeholder { color: #a3a3b1; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 11, 15, .06); }
.field.has-error .input { border-color: #f87171; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: #a3a3b1; pointer-events: none; }
.input-icon .input { padding-right: 46px; }
.input-icon .input[dir="ltr"] { text-align: left; }

.svc-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc-opt input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt__box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; height: 92px; padding: 10px 6px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; font-family: var(--font-head); font-size: 13px; color: var(--muted); line-height: 1.4; cursor: pointer; transition: all .2s var(--ease); }
.svc-opt__box:hover { border-color: #b8b8c6; color: var(--ink); }
.svc-opt input:checked + .svc-opt__box { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 11, 15, .6); }
.svc-opt input:checked + .svc-opt__box svg { color: var(--lime); }
.svc-opt input:focus-visible + .svc-opt__box, .seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; border: 1.5px solid var(--line-2); font-family: var(--font-head); font-size: 15px; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg em { font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); }
.seg input:checked + span { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 15, .06); }

.phone-wrap .iti { width: 100%; display: block; }
.phone-wrap .input { direction: ltr; text-align: left; }
.iti__country-container { padding: 3px; }
.iti__selected-country { border-radius: 11px 0 0 11px; }
.iti__selected-dial-code { font-weight: 600; color: var(--ink); }
.iti__dropdown-content { border-radius: 14px; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); overflow: hidden; }
.iti__search-input { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-size: 14px; }
.iti__search-input:focus { outline: none; }
.iti__country { padding: 8px 12px; font-size: 14px; }
.iti--container { z-index: 300; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 16px; border-radius: 12px; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; font-size: 14px; margin-bottom: 16px; }
.order__privacy { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; margin-top: 14px; }
.spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .btn__label { display: none; }
.btn.is-loading .spinner { display: block; }
.btn__label { display: inline-flex; align-items: center; gap: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 20px 0 6px; }
.success__icon { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); animation: popIn .5s var(--ease); }
.success__icon svg { stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.success p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.success__wa { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #f0fdf4; color: #15803d; font-family: var(--font-head); font-size: 14px; margin-bottom: 26px; }
.success .btn { display: flex; margin: 0 auto; min-width: 160px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ───── Responsive ───── */
@media (max-width: 1024px) {
    .showcase { padding-bottom: 0; }
    .board { margin-left: 0; }
    .board__run { display: none; }
    .showcase > .phone { position: relative; margin: -70px auto 0; width: 280px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card, .card--xl { grid-column: span 1; }
    .card--xl { grid-column: span 2; }
    .demo { grid-template-columns: 1fr; gap: 50px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
    .faq-wrap .head { position: static; }
}

@media (max-width: 860px) {
    .nav { background: rgba(255, 255, 255, .85); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .nav__links {
        position: fixed; top: 92px; right: 16px; left: 16px; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
        opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
    }
    .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .nav__links a { padding: 12px 16px; border-radius: 14px; }
    .nav__cta-mobile { display: inline-flex; margin-top: 6px; }
    .menu-toggle { display: inline-flex; }
    .nav__actions .btn { display: none; }
}

@media (max-width: 720px) {
    .section { padding: 84px 0; }
    .hero { padding: 130px 0 20px; }
    .hero__title { font-size: 8.4vw; }
    .hero__actions .btn { flex: 1 1 100%; }
    .showcase { margin-top: 50px; }
    .board__canvas { aspect-ratio: 4 / 3; }
    .board__title { display: none; }
    .showcase > .phone { margin-top: -60px; width: 270px; }
    .bento { grid-template-columns: 1fr; }
    .card--xl { grid-column: span 1; }
    .flow { gap: 8px; }
    .flow__line { display: none; }
    .steps { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 30px; }
    .modal { padding: 0; place-items: end center; }
    .modal__panel { border-radius: 28px 28px 0 0; padding: 28px 20px 24px; max-height: 94dvh; animation: slideUp .4s var(--ease); }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .svc-picker { grid-template-columns: repeat(2, 1fr); }
    .svc-opt__box { height: 72px; flex-direction: row; gap: 10px; }
    .wa-float { width: 52px; height: 52px; bottom: 18px; left: 18px; }
    .cta { padding: 64px 22px; border-radius: 28px; }
    .phone--lg { width: 300px; }
}
@keyframes slideUp { from { transform: translateY(100%); } }

@media (max-width: 420px) {
    .logo span { font-size: 17px; }
    .billing__opt { padding: 9px 20px; }
}

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