@font-face { font-family: "Yekan Bakh"; src: url("../fonts/YekanBakhFaNum-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yekan Bakh"; src: url("../fonts/YekanBakhFaNum-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Yekan Bakh"; src: url("../fonts/YekanBakhFaNum-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Yekan Bakh"; src: url("../fonts/YekanBakhFaNum-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
    --ink: #0f172a;
    --ink-muted: #475569;
    --ink-subtle: #64748b;
    --line: #e2e8f0;
    --canvas: #ffffff;
    --tint: #f5f7fb;
    --primary: #1e3a5f;
    --primary-hover: #17304f;
    --accent: #2563eb;
    --accent-soft: #e8f0fe;
    --success: #047857;
    --success-soft: #ecfdf5;
    --danger: #b91c1c;
    --danger-soft: #fef2f2;
    --warning: #92400e;
    --warning-soft: #fffbeb;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.18);
    --shadow-lg: 0 30px 80px -30px rgba(15, 35, 70, 0.35);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: "Yekan Bakh", Tahoma, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.45; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

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

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; transition: top .2s; }
.skip:focus { top: 16px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent;
    font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(30, 58, 95, .8); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .7); }
.btn-ghost:hover { border-color: #cbd5e1; background: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #eef3fb; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

/* Nav */

.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--primary); color: #fff; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-sm .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.brand-sm .brand-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-muted); }
.nav-links a:hover, .link:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.link { color: var(--ink-muted); font-weight: 600; }

/* Hero */

.hero { position: relative; padding: 150px 0 110px; overflow: hidden; isolation: isolate; }
.hero-bg, .tint-bg, .cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-1 { width: 560px; height: 560px; top: -180px; left: -120px; background: radial-gradient(circle, #bcd4ff, transparent 70%); }
.orb-2 { width: 460px; height: 460px; bottom: -200px; right: -80px; background: radial-gradient(circle, #c9f0e0, transparent 70%); }
.orb-3 { width: 520px; height: 520px; top: 10%; left: -200px; background: radial-gradient(circle, #dbe7ff, transparent 70%); }
.orb-4 { width: 520px; height: 520px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(96, 150, 255, .55), transparent 70%); opacity: .8; }
.orb-5 { width: 420px; height: 420px; bottom: -220px; left: -80px; background: radial-gradient(circle, rgba(45, 190, 150, .4), transparent 70%); opacity: .8; }
.grid-lines {
    position: absolute; inset: -20% 0 0; will-change: transform;
    background-image: linear-gradient(rgba(30, 58, 95, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 95, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.hero h1 { margin-top: 22px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.35; }
.mark { background: linear-gradient(120deg, var(--accent), #0ea5a4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 18px; color: var(--ink-muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-subtle); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23047857'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 11px no-repeat; }

.hero-visual { position: relative; min-height: 460px; }
.window { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; will-change: transform; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.window-bar strong { margin-inline-start: auto; font-size: 14px; color: var(--ink-muted); }
.window-body { padding: 18px; display: grid; gap: 12px; }
.task { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.task p { font-size: 15px; font-weight: 700; line-height: 1.6; }
.task small { color: var(--ink-subtle); font-size: 13px; }
.chip { flex-shrink: 0; margin-top: 2px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.chip-red { background: var(--danger-soft); color: var(--danger); }
.chip-amber { background: var(--warning-soft); color: var(--warning); }
.chip-blue { background: var(--accent-soft); color: var(--accent); }
.task-actions { display: flex; gap: 8px; padding-top: 4px; }
.fake-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.fake-btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); will-change: transform; }
.float-card strong { display: block; font-size: 14px; }
.float-card small { display: block; color: var(--ink-subtle); font-size: 12px; }
.float-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.float-icon.ok { background: var(--success-soft); color: var(--success); }
.float-approve { bottom: -28px; right: -36px; }
.float-chart { top: -36px; left: -34px; flex-direction: column; align-items: stretch; width: 220px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #60a5fa, var(--accent)); }

/* Strip */

.strip { border-block: 1px solid var(--line); background: #fbfcfe; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; padding: 22px 0; color: var(--ink-subtle); font-size: 15px; }
.strip-inner strong { color: var(--ink-muted); font-weight: 700; }

/* Sections */

.section { position: relative; padding: 110px 0; isolation: isolate; }
.section-tint { background: var(--tint); overflow: hidden; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.kicker { color: var(--accent); font-weight: 700; font-size: 15px; }
.section-head h2 { margin-top: 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.section-head > p:last-child:not(.kicker) { margin-top: 14px; color: var(--ink-muted); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; inset-inline: 16% 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); z-index: -1; }
.step { padding: 0 8px; text-align: center; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 22px; font-weight: 800; color: var(--primary); }
.step h3 { font-size: 20px; font-weight: 800; }
.step p { margin-top: 10px; color: var(--ink-muted); font-size: 15.5px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3deee; }
.feature-wide { grid-column: span 2; background: linear-gradient(135deg, #fff 55%, var(--accent-soft)); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-top: 18px; font-size: 19px; font-weight: 800; }
.feature p { margin-top: 8px; color: var(--ink-muted); font-size: 15.5px; }

.safety-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.safety-copy h2 { margin-top: 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.checks li { position: relative; padding-inline-start: 40px; color: var(--ink-muted); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23047857'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 15px no-repeat; }

.safety-visual { position: relative; min-height: 340px; display: grid; place-items: center; }
.diff { width: min(100%, 440px); padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); will-change: transform; }
.diff-label { color: var(--ink-subtle); font-size: 13px; font-weight: 700; }
.diff-old, .diff-new { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.diff-old { background: var(--danger-soft); color: #7f1d1d; text-decoration: line-through; text-decoration-color: rgba(185, 28, 28, .4); }
.diff-new { background: var(--success-soft); color: #064e3b; }
.diff-old span, .diff-new span { display: inline-block; margin-inline-end: 10px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; text-decoration: none; }
.diff-actions { display: flex; gap: 8px; margin-top: 18px; }
.undo { position: absolute; bottom: 6px; left: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); will-change: transform; }
.undo strong { display: block; font-size: 14px; }
.undo small { display: block; color: var(--ink-subtle); font-size: 12px; }

.pricing .section-head { margin-bottom: 40px; }
.price-card { max-width: 760px; margin: 0 auto; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); text-align: center; }
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.term { padding: 12px 18px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); font-weight: 700; }
.op { color: var(--ink-subtle); font-size: 22px; font-weight: 800; }
.price-points { display: grid; gap: 10px; margin: 30px auto 32px; padding: 0; list-style: none; max-width: 520px; color: var(--ink-muted); text-align: start; }
.price-points li { position: relative; padding-inline-start: 28px; }
.price-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #d3deee; box-shadow: var(--shadow); }
.faq summary { position: relative; padding: 20px 24px; padding-inline-end: 56px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 10px; height: 10px; border-inline-end: 2px solid var(--ink-subtle); border-bottom: 2px solid var(--ink-subtle); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-muted); }

.cta { position: relative; padding: 100px 0; background: var(--primary); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .75); font-size: 18px; }
.cta .hero-cta { justify-content: center; }

.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--ink-subtle); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); font-size: 16px; }

/* Reveal */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */

@media (max-width: 980px) {
    .nav-links { display: none; }
    .hero { padding: 120px 0 80px; }
    .hero-inner, .safety-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .hero-visual { min-height: 0; margin-inline: 24px; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .safety-visual { order: 2; }
}

@media (max-width: 680px) {
    .container { width: min(1160px, 100% - 32px); }
    .nav-actions .link { display: none; }
    .lead { font-size: 16.5px; }
    .steps, .features { grid-template-columns: minmax(0, 1fr); }
    .steps::before { display: none; }
    .feature-wide { grid-column: auto; }
    .section { padding: 80px 0; }
    .float-chart { left: -12px; width: 180px; }
    .float-approve { right: -12px; }
    .hero-visual { margin-inline: 8px; }
    .price-card { padding: 28px 20px; }
    .footer-inner { justify-content: center; text-align: center; }
}

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