@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&family=Unbounded:wght@700;800;900&display=swap');

/* Light interface: white base, red brand accents, green "growth" accents. Loaded after page-specific styles. */
:root {
    --primary-red: #ef233c;
    --primary-red-glow: rgba(239, 35, 60, .35);
    --accent: #ef233c;
    --red: #ef233c;
    --red-deep: #b91c1c;
    --red-soft: #fee2e2;
    --accent-2: #16a34a;
    --accent-deep: #15803d;
    --ink: #12141a;
    --ink-soft: #3a3d47;
    --dark-bg: #fbfbf8;
    --card-bg: #ffffff;
    --text-main: #12141a;
    --text-muted: rgba(18, 20, 26, .6);
    --glass-border: rgba(18, 20, 26, .08);
    --line: rgba(18, 20, 26, .08);
    --gradient-red: linear-gradient(135deg, #ff5a6b 0%, #dc1c35 100%);
    --gradient-green: linear-gradient(135deg, #86efac 0%, #16a34a 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff, #dcfce7);
    --shadow: 0 18px 50px rgba(20, 24, 40, .08), 0 2px 6px rgba(18, 20, 26, .04);
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Unbounded', 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 78px; color-scheme: light; background: var(--dark-bg); }
body {
    background: var(--dark-bg);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 85% -10%, rgba(239, 35, 60, .16), transparent 60%),
        radial-gradient(ellipse 45% 35% at 5% 25%, rgba(134, 239, 172, .32), transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 110%, rgba(34, 197, 94, .18), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fbfbf8 40%, #f3f4ee 100%);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
    background-image: radial-gradient(rgba(18, 20, 26, .07) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.bg-glow { display: none; }
.container, .hero, section, footer { position: relative; z-index: 1; }
.modal { position: fixed; z-index: 2000; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #ef233c; outline-offset: 3px; }
::selection { background: #86efac; color: #12141a; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3, h4 { color: var(--ink); }
p { color: inherit; }

/* Typography */
.text-red { color: var(--red); }
.text-white { color: var(--ink) !important; }
.text-gradient {
    background: linear-gradient(100deg, #b91c1c, #ef233c 55%, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    border: 1px solid transparent;
    border-radius: 14px;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4;
    gap: 10px;
    transition: transform .18s, filter .18s, box-shadow .22s, background .22s, border-color .22s, color .22s;
}
.btn-primary, .btn-youtube {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 30px rgba(239, 35, 60, .28);
    border: 0;
}
.btn-primary:hover, .btn-youtube:hover {
    color: #fff;
    background: var(--red-deep);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(239, 35, 60, .38);
}
.btn-outline {
    background: #fff;
    border: 1.5px solid rgba(18, 20, 26, .14);
    color: var(--ink);
    box-shadow: none;
}
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 13px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 11px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Nav */
.navbar {
    background: rgba(251, 251, 248, .82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}
.navbar.is-scrolled { background: rgba(251, 251, 248, .94) !important; box-shadow: 0 10px 30px rgba(20, 24, 40, .08) !important; }
.nav-container { min-height: 66px; gap: 20px; }
.logo { font-family: var(--font-display); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0; gap: 10px; color: var(--ink); }
.logo img { height: 34px !important; width: 34px !important; object-fit: cover; border-radius: 10px; box-shadow: 0 6px 18px rgba(239, 35, 60, .35); background: var(--gradient-red); }
.logo .text-white { color: var(--red) !important; }
.nav-links { gap: 4px; margin-left: auto; }
.nav-links a { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; padding: 9px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: rgba(18, 20, 26, .06); }
.nav-auth, .auth-buttons { gap: 10px; flex-shrink: 0; }
.nav-auth .btn-outline { letter-spacing: .1em; }
.nav-auth .btn-primary { letter-spacing: .1em; }
.user-name { color: var(--ink); }
.lang-switcher-inner { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 4px; }
.lang-btn { border-radius: 9px; padding: 7px 10px; min-height: 28px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--ink-soft); }
.lang-btn.active { background: var(--ink); color: #fff; box-shadow: none; }
.menu-toggle { display: none; color: var(--ink); border: 1px solid var(--line); background: #fff; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 20px; }

/* Hero — split layout */
.hero {
    min-height: auto;
    padding: 150px 0 70px;
    overflow: visible;
    text-align: left;
    background: none !important;
    display: block;
}
.hero::before { display: none; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-kicker, .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: 9px 14px;
    border-radius: 100px;
    margin: 0 0 26px;
    box-shadow: var(--shadow);
}
.badge i { color: var(--red); display: inline; }
.hero-title, .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.2vw, 72px);
    line-height: 1;
    letter-spacing: -.04em;
    margin: 0 0 22px;
    font-weight: 900;
    color: var(--ink);
}
.hero-title .text-gradient { position: relative; display: inline-block; }
.hero-title mark { background: linear-gradient(transparent 55%, #86efac 55%, #86efac 92%, transparent 92%); color: inherit; }
.hero-subtext { max-width: 520px; margin: 0; font-size: 17px; line-height: 1.7; font-weight: 300; color: var(--text-muted); }
.hero-subtext .text-white { color: var(--ink) !important; }
.hero-cta { margin-top: 30px; display: flex; flex-direction: row; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-stats, .hero-statbar { display: none; }
.hero-proof { list-style: none; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, auto); gap: 24px; justify-content: start; }
.hero-proof b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.hero-proof b em { font-style: normal; color: var(--accent-2); font-size: .7em; }
.hero-proof span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.hero-widget { position: relative; padding: 24px 24px 0 0; }
.hero-widget .serp { position: relative; z-index: 1; }
.hero-widget::before {
    content: "";
    position: absolute;
    inset: 0 0 -20px 40px;
    border-radius: 32px;
    background: var(--gradient-green);
    transform: rotate(-3deg);
    opacity: .9;
    z-index: 0;
}
.hero-sticker {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 18px 40px rgba(18, 20, 26, .25);
    animation: float 5s ease-in-out infinite;
}
.hero-sticker b { font-family: var(--font-display); font-size: 22px; color: #86efac; line-height: 1; }
.hero-sticker span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-sticker { top: -6px; right: -10px; }
.hero-sticker.two { top: auto; right: auto; bottom: -18px; left: -26px; background: #fff; color: var(--ink); animation-delay: 1.2s; }
.hero-sticker.two b { color: var(--ink); font-size: 18px; }
.hero-sticker.two i { color: var(--red); }
.hero-sticker.two span { color: var(--text-muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ticker {
    overflow: hidden;
    position: relative;
    z-index: 3;
    border-block: 1px solid rgba(18, 20, 26, .12);
    background: var(--ink);
    padding: 13px 0;
    white-space: nowrap;
    transform: rotate(-1deg) scale(1.02);
    margin: 10px 0 20px;
}
.ticker-track { display: inline-flex; gap: 36px; animation: ticker 28s linear infinite; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.ticker-track span { display: inline-flex; align-items: center; gap: 36px; }
.ticker-track i { font-size: 8px; color: #ff5a6b; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.text-center { text-align: center; }
.launch-preview {
    position: relative;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: left;
    overflow: hidden;
}
.preview-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #f0fdf4; border-bottom: 1px solid var(--line); }
.preview-brand { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.preview-brand i { color: #dc2626; }
.preview-label { font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(18, 20, 26, .15); padding: 4px 8px; border-radius: 100px; background: #fff; }
.preview-art {
    height: 200px;
    border-radius: 0;
    background:
        linear-gradient(rgba(18, 20, 26, .06) 1px, transparent 1px) 0 0 / 100% 40px,
        linear-gradient(90deg, rgba(18, 20, 26, .06) 1px, transparent 1px) 0 0 / 40px 100%,
        linear-gradient(180deg, #fff, #dcfce7);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 24px;
}
.preview-art svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.preview-play { border: 0; color: #fff; cursor: pointer; flex-shrink: 0; width: 52px; height: 52px; background: var(--gradient-red); border-radius: 16px; display: grid; place-items: center; font-size: 19px; box-shadow: 0 8px 30px rgba(239, 35, 60, .4); z-index: 1; }
.preview-play:hover { filter: brightness(1.06); }
.preview-art .growth-line { stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; stroke: #16a34a !important; }
.preview-art.is-animated .growth-line { animation: growth-draw 4.5s cubic-bezier(.25,.1,.25,1) both; }
.preview-art.is-animated .growth-area { animation: growth-reveal 4.5s ease-out both; }
.preview-art.is-animated .preview-play { animation: growth-pulse 2.25s ease-out 2 both; }
@keyframes growth-draw { 0%, 8% { stroke-dashoffset: 1; } 85%, 100% { stroke-dashoffset: 0; } }
@keyframes growth-reveal { 0%, 8% { clip-path: inset(0 100% 0 0); opacity: 0; } 85%, 100% { clip-path: inset(0); opacity: 1; } }
@keyframes growth-pulse { 0%, 100% { box-shadow: 0 0 0 0 #16a34a00; } 35% { box-shadow: 0 0 0 10px #16a34a30; } 80% { box-shadow: 0 0 0 18px #16a34a00; } }
.launch-preview h2 { margin: 22px 22px 6px; font-size: 20px; letter-spacing: -.4px; }
.preview-description { font-size: 13px; color: var(--text-muted); padding: 0 22px; }
.launch-steps { list-style: none; margin: 18px 22px; display: grid; gap: 12px; }
.launch-steps li { display: flex; align-items: center; gap: 13px; font-size: 13px; color: var(--ink-soft); }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: #dcfce7; border: 1px solid rgba(22, 163, 74, .35); color: var(--accent-deep); font-size: 11px; font-family: var(--font-mono); }
.launch-steps li:first-child .step-number { background: var(--red); border-color: var(--red); color: #fff; }
.preview-footer { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.preview-footer a { color: var(--red); text-decoration: none; padding: 8px 0 8px 12px; font-weight: 600; }

/* Sections */
section { padding: 88px 0; }
.about-section, .features-section, .req-section, .pricing-section { border-top: 1px solid var(--line); background: transparent; }
.section-header { margin-bottom: 44px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; font-weight: 800; color: var(--ink); }
.section-header p { font-size: 15px; color: var(--text-muted); }
.line { width: 72px; height: 3px; margin: 16px auto 0; background: var(--gradient-red); border: 0; border-radius: 3px; }
.stat-big { color: var(--ink); }
.stat-big .number { background: linear-gradient(180deg, #15803d, #16a34a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-small .num { color: var(--ink); }
.about-content h3 { color: var(--ink); }
.about-content p, .about-list li, .about-list { color: var(--ink-soft); }
.about-list i { color: var(--accent-2); }

.glass, .glass-panel, .feature-card, .pricing-card, .stat-card, .dashboard-top-block,
.campaign-card, .seo-checker-card, .action-card, .service-card, .order-card, .info-card, .req-box {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: none;
    color: var(--ink);
}
.feature-card:hover, .pricing-card:hover, .stat-card:hover, .dashboard-top-block:hover, .action-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 35, 60, .4);
    box-shadow: 0 24px 60px rgba(239, 35, 60, .14);
}
.features-grid, .pricing-grid { gap: 16px; }
.feature-card { padding: 28px; }
.feature-card p, .pricing-card p, .req-item p, .info-card p { color: var(--text-muted); }
.icon-box, .stat-icon { background: var(--red-soft); border: 1px solid rgba(239, 35, 60, .25); border-radius: 14px; color: var(--red); }
.pricing-card { padding: 32px 26px; }
.pricing-card.popular, .pricing-card.featured { border-color: var(--red); background: linear-gradient(180deg, #fff5f5, #ffffff 55%); box-shadow: 0 24px 60px rgba(239, 35, 60, .16); }
.popular-badge { background: var(--red); color: #fff; border-radius: 100px; white-space: nowrap; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; }
.plan-name { color: var(--red); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.price { letter-spacing: -.05em; font-size: 44px; font-weight: 800; color: var(--ink); }
.plan-features li { font-size: 13px; color: var(--ink-soft); }
.plan-features .fa-check { color: var(--accent-2); }
.req-box { padding: 40px; }
.req-item i { color: var(--red); }
.req-item h4 { color: var(--ink); }

.dashboard-main { padding-top: 110px; }
.dashboard-main section { padding-block: 24px; }
.dashboard-header { margin-bottom: 20px; }
.dashboard-header h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; flex-wrap: wrap; color: var(--ink); }
.dashboard-subtitle { font-size: 15px; color: var(--text-muted); }
.dashboard-tabs { gap: 6px !important; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tab-link { min-height: 44px; padding: 10px 14px; font-size: 11px; letter-spacing: .08em; background: transparent; border-color: transparent; border-radius: 10px; color: var(--ink-soft); }
.tab-link.active { background: var(--red); color: #fff !important; border-color: transparent; box-shadow: none; }
.balance-block { background: linear-gradient(135deg, #bbf7d0, #ffffff); border-color: rgba(22, 163, 74, .4); }
.form-group label, label { color: var(--ink-soft); }
.form-group input, .form-group select, .form-control, .promocode-input, textarea {
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(18, 20, 26, .14);
    border-radius: 12px;
    min-height: 46px;
}
.form-group input::placeholder, textarea::placeholder { color: rgba(18, 20, 26, .38); }
.form-group input:focus, .form-group select:focus, .form-control:focus, .promocode-input:focus { border-color: #12141a; box-shadow: 0 0 0 3px rgba(18, 20, 26, .12); }
/* Crypto currency dropdown (payment method) — light theme */
.crypto-dd-btn { background: #fff; color: var(--ink); border: 1px solid rgba(18, 20, 26, .14); border-radius: 12px; min-height: 46px; }
.crypto-dd-btn .crypto-dd-btn-text { color: var(--ink); }
.crypto-dd-btn .fa-chevron-down { color: var(--ink-soft); }
.crypto-dd-menu { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(18, 20, 26, .18); backdrop-filter: none; }
.crypto-dd-search { border-bottom: 1px solid var(--line); }
.crypto-dd-search input { background: #fff; color: var(--ink); border: 1px solid rgba(18, 20, 26, .14); }
.crypto-dd-search input::placeholder { color: rgba(18, 20, 26, .38); }
.crypto-dd-item { color: var(--ink); border-bottom: 1px solid var(--line); }
.crypto-dd-item .crypto-dd-item-text { color: var(--ink); }
.crypto-dd-item:hover { background: rgba(22, 163, 74, .12); }

/* SMM service cards: details values were white-on-white */
.service-feature span { color: var(--ink); }
.service-feature strong { color: var(--text-muted); }
.service-type-card { color: var(--ink); }
.service-type-card h3 { color: var(--ink); }
.service-type-card p { color: var(--text-muted); }
.service-type-card > div:first-child i { color: inherit; }

.modal { padding: 20px; backdrop-filter: blur(8px); background: rgba(18, 20, 26, .45); }
.modal-content { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 30px 100px rgba(18, 20, 26, .3); }
.modal-content h2 { color: var(--ink); }
.modal-content p, .modal-content a { color: var(--ink-soft); }
.modal-content a { color: var(--red); }
.close-modal { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 0; background: var(--red-soft); color: var(--red); }

footer { border-top: 1px solid var(--line); background: var(--ink); color: rgba(255,255,255,.7); }
footer h4, footer .logo { color: #fff; }
footer p { color: rgba(255,255,255,.6); }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: #86efac; }
.footer-bottom { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.5); }
.trust-badges { opacity: .85; margin-top: 28px; gap: 14px; }
footer .btn-primary { background: var(--red); color: #fff; }
footer .btn-primary:hover { background: #fff; color: var(--ink); }

/* ============================================================
   Motion system
   ============================================================ */
#ct-preloader { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: #fbfbf8; transition: opacity .45s ease, visibility 0s linear .45s; }
#ct-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
#ct-preloader .pl-word { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: .02em; color: var(--ink); }
#ct-preloader .pl-word::after { content: "."; color: #ef233c; }
#ct-preloader .pl-bar { width: 140px; height: 3px; margin: 18px auto 12px; background: rgba(18, 20, 26, .1); position: relative; overflow: hidden; border-radius: 3px; }
#ct-preloader .pl-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #ef233c, #16a34a); }
#ct-preloader .pl-pct { text-align: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--text-muted); }
html.ct-anim [data-rv] { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
html.ct-anim [data-rv][data-rv-delay="1"] { transition-delay: .12s; }
html.ct-anim [data-rv][data-rv-delay="2"] { transition-delay: .24s; }
html.ct-anim [data-rv].is-in { opacity: 1; transform: none; }
.hero-wordmark .ch { display: inline-block; }
html.ct-anim .hero-title { animation: title-in 1s cubic-bezier(.16,1,.3,1) both .1s; }
html.ct-anim .hero-kicker { animation: title-in .8s cubic-bezier(.16,1,.3,1) both; }
html.ct-anim .hero-subtext { animation: title-in 1s cubic-bezier(.16,1,.3,1) both .25s; }
html.ct-anim .hero-cta { animation: title-in 1s cubic-bezier(.16,1,.3,1) both .38s; }
html.ct-anim .hero-proof { animation: title-in 1s cubic-bezier(.16,1,.3,1) both .5s; }
@keyframes title-in { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .25s ease-out, box-shadow .4s; }
.tilt.is-tilting { transition: transform .06s linear; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(18, 20, 26, .05), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 0; }
.tilt:hover::before { opacity: 1; }
.tilt > * { position: relative; z-index: 1; }
.btn-primary.is-mag { transition: transform .12s ease-out, filter .18s, box-shadow .22s, background .22s, color .22s; }

/* Kicker & headings */
.section-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .24em; color: var(--red); text-transform: uppercase; }
.section-kicker.left { justify-content: flex-start; }
.kline { flex: 0 0 40px; height: 3px; border-radius: 3px; background: var(--gradient-red); }
.kline.r { background: var(--gradient-red); }
.cases-section, .trust-section, .steps-section { border-top: 1px solid var(--line); }
.cases-section .section-header h2, .trust-section h2, .steps-section .section-header h2 { font-size: clamp(24px, 3vw, 38px); text-transform: uppercase; font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.cases-section .section-header p, .trust-sub, .steps-section .section-header p { max-width: 560px; margin: 12px auto 0; font-size: 14px; line-height: 1.85; font-weight: 300; color: var(--text-muted); }
.split-header { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end; text-align: left; }
.split-header p { margin: 0 !important; }

/* Cases */
.cases-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card { position: relative; border-radius: 24px; border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.case-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.25fr; }
.case-screen {
    position: relative;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(74, 222, 128, .35), transparent 60%),
        radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 80% 20%, #fff6, transparent),
        radial-gradient(1px 1px at 65% 70%, #fff5, transparent), radial-gradient(1px 1px at 30% 80%, #fff4, transparent),
        #12141a;
}
.case-brand { font-family: var(--font-display); font-size: 11px; font-weight: 900; letter-spacing: .1em; color: #fff; }
.case-brand span { color: #ff5a6b; }
.case-status { margin-top: 4px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.case-status .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #86efac; margin-right: 4px; animation: dot-pulse 1.6s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 4px #86efac; opacity: .7; } 50% { box-shadow: 0 0 14px #86efac; opacity: 1; } }
.case-thumb { position: relative; width: 180px; height: 100px; margin: 28px auto 14px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 20px 50px #00000080, 0 0 40px rgba(74, 222, 128, .2); }
.case-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, #0000008c); }
.thumb-a { background: linear-gradient(120deg, #2563eb, #f59e0b 60%, #eab308); }
.thumb-b { background: linear-gradient(120deg, #7c3aed, #16a34a 55%, #f43f5e); }
.thumb-c { background: linear-gradient(120deg, #ea580c, #16a34a 55%, #0ea5e9); }
.case-thumb .rank-slot { position: relative; z-index: 2; }
.rank-slot { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 900; font-size: 42px; line-height: 1; color: #fff; text-shadow: 0 6px 24px #0009; }
.rank-slot .rank-hash { color: #86efac; font-size: .7em; margin-right: 2px; }
.rank-slot .rank-val { display: inline-block; min-width: 1.2ch; text-align: left; }
.rank-slot .rank-val.is-swap { animation: slot-swap .55s cubic-bezier(.16,1,.3,1); }
@keyframes slot-swap { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-110%); opacity: 0; } 50% { transform: translateY(110%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.rank-slot.big { font-size: clamp(56px, 6vw, 72px); color: var(--ink); text-shadow: none; }
.rank-slot.big .rank-hash { color: var(--accent-2); }
.rank-slot.mini { margin-left: auto; font-size: 26px; color: var(--ink); text-shadow: none; padding: 8px 12px; border-radius: 12px; background: #dcfce7; }
.rank-slot.mini .rank-hash { color: var(--accent-deep); }
.case-video-title { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-video-sub { margin-top: 2px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .2em; color: rgba(255,255,255,.5); }
.case-progress { margin: 12px auto 6px; width: 180px; height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.case-body .case-progress { width: 100%; margin: 0 0 16px; background: rgba(18, 20, 26, .08); }
.case-progress i, .step-bar i, .src-bars b { display: block; height: 100%; width: 0; background: var(--gradient-green); border-radius: inherit; transition: width 1.6s cubic-bezier(.16,1,.3,1); }
.is-in .case-progress i, .is-in .step-bar i, .is-in .src-bars b { width: var(--w, 0%); }
.case-progress-lbl { font-family: var(--font-mono); font-size: 7px; letter-spacing: .2em; color: rgba(255,255,255,.5); }
.case-body { padding: 24px; display: flex; flex-direction: column; }
.case-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.case-ico { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: #fff; font-size: 15px; }
.case-head h3 { margin: 0; font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.case-head p { margin: 3px 0 0; font-family: var(--font-mono); font-size: 8px; letter-spacing: .16em; color: var(--text-muted); }
.case-stats { display: grid; grid-template-columns: 1fr 1fr 68px; gap: 8px; margin-bottom: 14px; }
.cs { padding: 12px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fbfbf8; display: flex; flex-direction: column; gap: 6px; }
.cs b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cs span { font-family: var(--font-mono); font-size: 7px; letter-spacing: .18em; color: var(--text-muted); }
.cs.ring { position: relative; align-items: center; justify-content: center; text-align: center; gap: 0; padding: 8px 4px; }
.cs.ring svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(18, 20, 26, .08); stroke-width: 3; }
.ring-fg { fill: none; stroke: #16a34a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset 1.8s cubic-bezier(.16,1,.3,1); }
.is-in .ring-fg { stroke-dashoffset: var(--off, 113.1); }
.cs.ring b { font-size: 12px; }
.case-keys { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 6px; }
.case-keys li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.case-keys b { font-family: var(--font-mono); font-size: 10px; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 100px; }
.case-more { grid-column: span 2; position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; }
.case-more i { font-size: 22px; color: #ff5a6b; }
.case-more b { margin-left: auto; font-size: 20px; color: #86efac; transition: transform .3s; }
.case-more:hover b { transform: translateX(6px); }
.case-more::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(239, 35, 60, .3), transparent 55%); }

/* Trust */
.trust-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.trust-intro { position: sticky; top: 100px; }
.trust-intro .section-kicker { margin-bottom: 14px; }
.trust-sub { margin: 14px 0 28px !important; max-width: 460px !important; }
.chart-card { padding: 22px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.chart-card-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.chart-card-head i { color: var(--red); margin-right: 4px; }
.chart-card-head b { padding: 5px 10px; border-radius: 100px; background: var(--red); color: #fff; font-size: 10px; }
.chart-desc { margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: var(--text-muted); }
.trust-list { display: grid; gap: 14px; }
.trust-row { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; padding: 24px 26px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.trust-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--red-soft); color: var(--red); font-size: 18px; }
.trust-row h3 { margin: 4px 0 8px; font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.trust-text > p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-muted); font-weight: 300; }
.trust-text > .geo-tags, .trust-text > .src-bars, .trust-text > .timeline { margin-top: 18px; }
.trust-side { text-align: right; min-width: 90px; }
.big-num { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.big-num em { font-style: normal; color: var(--accent-2); font-size: .6em; }
.trust-side span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.trust-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--text-muted); }
.trust-foot b { color: var(--accent-deep); }

.serp { padding: 18px; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 80px rgba(20, 24, 40, .16); }
.serp-search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fbfbf8; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.serp-search .fa-magnifying-glass { color: var(--text-muted); font-size: 11px; }
.serp-host { color: var(--text-muted); }
.caret { display: inline-block; width: 6px; height: 14px; background: #ef233c; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.serp-list { display: grid; gap: 8px; margin-top: 14px; }
.serp-row { display: grid; grid-template-columns: 28px 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid transparent; }
.serp-n { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.serp-thumb { height: 32px; border-radius: 6px; background: #ebece8; display: grid; place-items: center; color: #fff; font-size: 11px; }
.serp-meta { display: grid; gap: 6px; }
.serp-meta b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: #fff; }
.serp-meta small { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.6); }
.sk { display: block; height: 6px; border-radius: 3px; background: #e4e5e0; }
.sk.w70 { width: 70%; } .sk.w40 { width: 40%; }
.serp-views { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.serp-row.mine { border-color: var(--ink); background: var(--ink); box-shadow: 0 16px 40px rgba(18, 20, 26, .25); position: relative; z-index: 2; }
.serp-row.mine .serp-n { color: #86efac; }
.serp-row.mine .serp-thumb { background: var(--red); color: #fff; }
.serp-up { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 100px; background: #86efac; color: var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 700; animation: badge-pulse 2.2s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(134, 239, 172, .6); } 50% { box-shadow: 0 0 0 8px rgba(134, 239, 172, 0); } }
html.ct-anim .is-in .serp-row.mine { animation: climb 6s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes climb {
    0% { transform: translateY(calc(300% + 24px)); opacity: .55; }
    12% { transform: translateY(calc(300% + 24px)); opacity: 1; }
    40% { transform: translateY(calc(100% + 8px)); }
    62%, 90% { transform: translateY(0); }
    100% { transform: translateY(0); opacity: 1; }
}
.serp-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--text-muted); }
.serp-foot b { color: var(--accent-deep); }
.chart { position: relative; height: 170px; margin-top: 18px; }
.chart svg { width: 100%; height: 150px; overflow: visible; }
.chart .grid { stroke: rgba(18, 20, 26, .08); stroke-width: 1; }
.chart-line { fill: none; stroke: url(#chart-stroke); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-area { opacity: 0; transition: opacity 1s ease 1.4s; }
.chart-dot { fill: #fff; stroke: #16a34a; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.chart-dot.end { fill: var(--ink); stroke: var(--ink); }
.chart-pulse { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-in .chart-line { animation: draw 2.4s cubic-bezier(.4,0,.2,1) forwards; }
.is-in .chart-area { opacity: 1; }
.is-in .chart-dot { animation: pop .5s cubic-bezier(.16,1,.3,1) forwards; }
.is-in .chart-dot.d1 { animation-delay: .1s; } .is-in .chart-dot.d2 { animation-delay: .9s; } .is-in .chart-dot.d3 { animation-delay: 1.5s; } .is-in .chart-dot.d4 { animation-delay: 2s; } .is-in .chart-dot.end { animation-delay: 2.4s; }
.is-in .chart-pulse { animation: ring-pulse 1.8s ease-out 2.6s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ring-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.chart-lbl { position: absolute; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 13px; opacity: 0; transition: opacity .5s; }
.chart-lbl.start { left: 22px; bottom: 26px; color: var(--red); transition-delay: .4s; }
.chart-lbl.end { right: 0; top: -8px; transition-delay: 2.5s; }
.is-in .chart-lbl { opacity: 1; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 2px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.geo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.geo { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fbfbf8; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-soft); }
.geo.hot { background: var(--red); border-color: transparent; color: #fff; }
.src-bars { display: grid; gap: 12px; }
.src { display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-soft); }
.src i { display: block; height: 6px; border-radius: 3px; background: rgba(18, 20, 26, .08); overflow: hidden; }
.src em { font-style: normal; text-align: right; font-family: var(--font-mono); font-size: 11px; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 5px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, #ef233c, #16a34a); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1.8s ease .3s; }
.is-in .timeline::before { background-size: 100% 100%; }
.timeline li { text-align: center; }
.timeline i { display: block; width: 12px; height: 12px; margin: 0 auto 10px; border-radius: 50%; border: 2px solid #16a34a; background: #fff; animation: tl-scan 4s ease-in-out infinite; }
.timeline li:nth-child(2) i { animation-delay: 1s; } .timeline li:nth-child(3) i { animation-delay: 2s; } .timeline li:nth-child(4) i { animation-delay: 3s; }
@keyframes tl-scan { 0%, 40%, 100% { background: #fff; box-shadow: none; } 15% { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(134, 239, 172, .6); } }
.timeline b { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.timeline span { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 7px; letter-spacing: .16em; color: var(--text-muted); }

/* Steps — vertical line + sticky preview */
.steps-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.steps-line { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 22px; }
.steps-line::before { content: ""; position: absolute; left: 7px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, #ef233c, #16a34a 60%, rgba(22, 163, 74, .1)); }
.step-card { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 6px 20px; padding: 26px 26px 26px 24px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: visible; }
.step-card::after { content: ""; position: absolute; left: -30px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #16a34a; box-shadow: 0 0 0 4px #fbfbf8; }
.step-card:nth-child(1)::after { border-color: var(--red); }
.step-card:nth-child(2)::after { border-color: var(--ink); }
.step-n { display: flex; flex-direction: column; gap: 6px; }
.step-n b { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1; color: var(--ink); }
.step-n span { font-family: var(--font-mono); font-size: 8px; letter-spacing: .24em; color: var(--red); }
.step-main h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.step-main p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-muted); font-weight: 300; }
.step-widget { grid-column: 2; margin-top: 14px; padding: 18px; border-radius: 16px; background: #fbfbf8; border: 1px solid var(--line); }
.step-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.step-input .fa-youtube { color: #dc2626; }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.step-chips span { padding: 8px 12px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--ink-soft); }
.step-chips .more { background: var(--red); border-color: transparent; color: #fff; }
.step-rank { color: var(--ink); }
.step-rank-lbl { margin: 6px 0 14px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .24em; color: var(--text-muted); }
.step-bar { height: 5px; border-radius: 3px; background: rgba(18, 20, 26, .08); overflow: hidden; }
.step-geo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.step-geo span { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.step-geo b { color: var(--ink); }
.step-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 80px; }
.step-days i { display: block; height: 100%; border-radius: 6px 6px 3px 3px; background: var(--gradient-green); transform-origin: bottom; transform: scaleY(.2); opacity: .5; }
.is-in .step-days i { animation: bar-pulse 2.2s ease-in-out infinite; opacity: 1; }
.step-days i:nth-child(2) { animation-delay: .15s; } .step-days i:nth-child(3) { animation-delay: .3s; } .step-days i:nth-child(4) { animation-delay: .45s; } .step-days i:nth-child(5) { animation-delay: .6s; } .step-days i:nth-child(6) { animation-delay: .75s; } .step-days i:nth-child(7) { animation-delay: .9s; }
@keyframes bar-pulse { 0%, 100% { transform: scaleY(1); filter: brightness(1); } 50% { transform: scaleY(.65); filter: brightness(1.1); } }
.step-days-lbl { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 8px; text-align: center; font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.steps-side { position: sticky; top: 100px; }

@media (max-width: 1000px) {
    .hero-split { grid-template-columns: 1fr; gap: 48px; }
    .hero-copy { max-width: 100%; }
    .hero-widget { padding: 20px 20px 0 0; max-width: 620px; }
    .hero-sticker.two { left: 0; }
    .trust-layout, .steps-layout { grid-template-columns: 1fr; }
    .trust-intro, .steps-side { position: static; }
    .split-header { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 680px) {
    .hero-proof { grid-template-columns: 1fr 1fr; }
    .hero-widget { padding: 12px 12px 0 0; }
    .hero-sticker { right: 0; }
    .hero-sticker.two { display: none; }
    .cases-layout { grid-template-columns: 1fr; }
    .case-card.featured, .case-more { grid-column: auto; }
    .case-card.featured { grid-template-columns: 1fr; }
    .serp-row { grid-template-columns: 24px 44px 1fr auto; gap: 8px; padding: 10px; }
    .serp-search { font-size: 10px; }
    .trust-row { grid-template-columns: 44px 1fr; }
    .trust-side { grid-column: 2; text-align: left; margin-top: 12px; }
    .src { grid-template-columns: 90px 1fr 44px; }
    .timeline span { font-size: 6px; }
    .steps-line { padding-left: 22px; }
    .step-card { grid-template-columns: 1fr; padding: 22px; }
    .step-card::after { left: -22px; }
    .step-widget { grid-column: 1; }
    .step-n { flex-direction: row; align-items: baseline; }
}

/* ============================================================
   Dashboard app shell
   ============================================================ */
.app-body { padding: 0; }
.app-body::after { display: none; }
.app { position: relative; z-index: 1; min-height: 100vh; }
/* Top navigation block: centered, two rows (menu + tools) */
.app-side {
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 16px auto 0;
    width: calc(100% - 48px);
    max-width: 1192px;
    padding: 10px 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 50;
}
.side-row { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.side-row-tools { flex-wrap: wrap; gap: 12px 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.side-logo { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-red); box-shadow: 0 8px 20px rgba(239, 35, 60, .3); }
.side-logo img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.side-nav { display: flex; flex-direction: row; align-items: center; gap: 4px; flex: 0 1 auto; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.side-nav::-webkit-scrollbar { display: none; }
/* auto margins keep items centered when they fit, but never clip the first item when they overflow */
.side-nav > :first-child { margin-left: auto; }
.side-nav > :last-child { margin-right: auto; }
.side-item {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 100px;
    color: var(--ink-soft);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.side-item i { font-size: 14px; }
.side-item span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.side-item:hover { background: rgba(18, 20, 26, .05); color: var(--ink); }
.side-item.is-active { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(239, 35, 60, .32); }
.side-exit { color: var(--ink); }
.app-main { margin: 0 auto; padding: 12px 24px 40px; max-width: 1240px; }
/* Tools row inside the top block */
.top-balance { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.top-balance i { color: var(--red); }
.top-balance b { color: var(--ink); font-size: 13px; }
.top-plus { width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 10px; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .15s; }
.top-plus:hover { background: #16a34a; transform: scale(1.08); }
.top-create { min-height: 40px; padding: 10px 18px; border-radius: 100px; }
.top-right { display: contents; }
.side-row-tools .lang-switcher { order: 0; width: auto; margin: 0; }
.side-row-tools .lang-switcher-inner { border-radius: 100px; }
.side-row-tools .user-menu { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #86efac; font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.side-row-tools .user-name { font-size: 13px; font-weight: 600; color: var(--ink); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-row-tools .btn-sm { border-radius: 100px; }
.app-content { padding-top: 14px; }
.app-view { display: none; }
.app-view.is-active { display: block; animation: view-in .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.app-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink); }
.app-title span { color: var(--red); }
.app-hello { margin: 0 0 22px; font-size: 14px; color: var(--text-muted); }
.app-hello b { color: var(--ink); }
.app-lead { margin: 0 0 24px; font-size: 14px; color: var(--text-muted); max-width: 640px; }
.app-sub { font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 34px 0 14px; color: var(--ink); }
.view-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.view-head .app-lead { margin-bottom: 16px; }
.view-head-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero-card { position: relative; padding: 30px 30px 26px; border-radius: 24px; background: var(--ink); color: #fff; overflow: hidden; box-shadow: 0 30px 60px rgba(18, 20, 26, .22); }
.hero-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(239, 35, 60, .35), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(22, 163, 74, .3), transparent 60%); pointer-events: none; }
.hero-card > * { position: relative; }
.hero-card-kicker { margin: 0 0 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-card h2 { margin: 0 0 22px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.02em; color: #fff; }
.path-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.path-step { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.path-step b { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 12px; font-weight: 800; }
.path-step:nth-child(5) b { background: #16a34a; }
.path-step h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #fff; }
.path-step p { margin: 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.62); }
.path-arrow { align-self: center; color: rgba(255,255,255,.35); font-size: 16px; }
.hero-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-card-actions .btn-outline { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.hero-card-actions .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 100px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.8); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.tg-strip { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.tg-strip:hover { transform: translateY(-2px); border-color: rgba(239, 35, 60, .4); }
.tg-strip .tg-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #e8f4fd; color: #229ed9; font-size: 18px; }
.tg-strip b { display: block; font-size: 14px; }
.tg-strip small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.tg-strip > .fa-arrow-up-right-from-square { margin-left: auto; color: var(--text-muted); font-size: 12px; }

.stats-row { grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; max-width: none; }
.stat-card { padding: 20px; border-radius: 18px; gap: 16px; }
.stat-card .stat-icon { width: 46px; height: 46px; font-size: 18px; border-radius: 12px; }
.stat-card .stat-icon .text-red { color: var(--red) !important; }
.stat-card.is-green { border-color: rgba(22, 163, 74, .35); background: linear-gradient(180deg, #f0fdf4, #fff 60%); }
.stat-card.is-green .stat-icon { background: #dcfce7; border-color: rgba(22, 163, 74, .3); color: #15803d; }
.stat-info h3 { color: var(--ink); font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.stat-info p { color: var(--text-muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.actions-grid { gap: 14px; }
.action-card { padding: 24px; border-radius: 18px; text-decoration: none; color: var(--ink); }
.action-card i { color: var(--red); font-size: 26px; margin-bottom: 12px; }
.action-card h3 { font-size: 16px; color: var(--ink); }
.action-card p { color: var(--text-muted); font-size: 13px; }
.action-card:hover { border-color: rgba(239, 35, 60, .4); box-shadow: 0 20px 50px rgba(239, 35, 60, .12); }

.empty-state { padding: 40px 28px; border-radius: 20px; }
.empty-state i { display: none; }
.empty-state p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.campaigns-list, .payment-history-list, .seo-history-list { gap: 14px; }
.campaign-card, .payment-history-item, .seo-history-item { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.campaign-card:hover, .payment-history-item:hover, .seo-history-item:hover { border-color: rgba(239, 35, 60, .35); box-shadow: 0 20px 50px rgba(20, 24, 40, .1); }
.seo-history-header h4, .payment-history-header h4, .seo-history-metric .metric-value, .payment-history-metric .metric-value, .seo-header h3, .metric-value, .seo-tags-section h4, .tag-name, .campaign-card h3, .campaign-card h4 { color: var(--ink); }
.seo-history-header, .payment-history-header { border-color: var(--line); }
.seo-history-url { background: #f0fdf4; border-color: rgba(22, 163, 74, .2); }
.seo-history-url .video-link { color: #15803d; }
.tag-item { background: #fbfbf8; border-color: var(--line); }
.tag-item:hover { background: #fff; border-color: rgba(22, 163, 74, .4); }
.seo-region-score { background: #fbfbf8; border-color: var(--line); color: var(--ink); }
#seo-score { color: #15803d; }
#quota-remaining { color: #15803d; }
.quota-text i { color: var(--red); }
.seo-quota-info { padding: 8px 12px; border-radius: 100px; background: #fff; border: 1px solid var(--line); }
.oauth-status { background: #f0fdf4; border-color: rgba(22, 163, 74, .4); color: #15803d; }
.error-message { background: #fff1f2; border-color: rgba(239, 35, 60, .4); color: #b91c1c; }
.seo-checker-card { padding: 26px; border-radius: 22px; }
.seo-form .form-group { margin-bottom: 12px; }
.field-label { display: block; margin: 0 0 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.seo-form input#video-url { width: 100%; }
.btn-full { width: 100%; justify-content: center; }
.seo-results { border-color: var(--line); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.panel { padding: 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 14px; }
.panel-head { display: flex; gap: 14px; align-items: flex-start; }
.panel-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 17px; }
.panel-ico.green { background: #dcfce7; color: #15803d; }
.panel-ico.tg { background: #e8f4fd; color: #229ed9; }
.panel-head h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.panel-head h3 small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.panel-head p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.panel .btn { margin-top: auto; }
.panel .form-control { width: 100%; }
.price-line { font-size: 14px; color: var(--text-muted); }
.price-line strong { color: var(--ink); font-size: 18px; }
.total-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-muted); }
.total-line strong { color: #15803d; font-size: 20px; }
.copy-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fbfbf8; border: 1px solid var(--line); }
.copy-row input, .copy-row code { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-row input { min-height: auto; padding: 0; }
.copy-row .btn-sm { padding: 6px 10px; min-height: 32px; }
.link-status { margin-top: 8px; font-size: 12px; color: var(--text-muted); }

.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.dashboard-top-block { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.dashboard-top-block:hover { transform: none; box-shadow: var(--shadow); }
.balance-block { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff; }
.balance-block .block-label { color: rgba(255,255,255,.6); font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.balance-block .block-value { color: #86efac; font-family: var(--font-display); font-size: 38px; font-weight: 900; }
.rewards-block { flex: auto !important; min-width: 0 !important; grid-column: span 2; }
.block-title h3 { color: var(--ink); }
.block-title i { font-size: 20px; }
.block-description { color: var(--text-muted); }
.block-button { border-radius: 12px; }
.promocode-input { background: #fff; border: 1px solid rgba(18, 20, 26, .14); color: var(--ink); border-radius: 12px; min-height: 42px; }
.promocode-input::placeholder { color: rgba(18, 20, 26, .4); }
.promocode-input:focus { background: #fff; border-color: var(--ink); }
.promocode-activate-btn { padding: 8px 14px; border-radius: 12px; min-height: 42px; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--red-soft); color: var(--red); font-size: 28px; }
.info-list { padding: 6px 18px; border-radius: 14px; background: #fbfbf8; border: 1px solid var(--line); box-shadow: none; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-row:last-child { border-bottom: 0; }
.info-label { color: var(--text-muted); }
.info-value { font-weight: 600; color: var(--ink); }
footer.app-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 46px; padding: 18px 0 0; background: transparent; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-muted); }
footer.app-foot p { color: var(--text-muted); margin: 0; }
footer.app-foot a { color: var(--ink-soft); text-decoration: none; margin-left: 14px; }
.app-foot a:hover { color: var(--red); }

@media (max-width: 1100px) {
    .stats-row { grid-template-columns: 1fr 1fr; }
    .path-steps { grid-template-columns: 1fr; }
    .path-arrow { display: none; }
}
@media (max-width: 860px) {
    .app-side { position: relative; top: auto; margin: 10px auto 0; width: calc(100% - 20px); padding: 8px; border-radius: 22px; gap: 6px; }
    .side-logo { display: none; }
    .side-nav { gap: 2px; }
    .side-item { padding: 9px 11px; gap: 6px; }
    .side-row-tools { gap: 8px 12px; padding-top: 6px; }
    .app-main { padding: 10px 14px 40px; }
    .two-col, .wallet-grid { grid-template-columns: 1fr; }
    .rewards-block { grid-column: auto; }
    .view-head { flex-direction: column; }
}
@media (max-width: 600px) {
    .stats-row { grid-template-columns: 1fr; }
    .hero-card { padding: 22px 18px; }
    .side-row-tools .user-name { display: none; }
}

@media (max-width: 1100px) {
    .nav-container { gap: 12px; flex-wrap: wrap; }
    .menu-toggle { display: block; margin-left: auto; }
    .nav-links { order: 5; width: 100%; margin: 0; padding: 0 0 16px; gap: 8px; flex-wrap: wrap; }
    .nav-links a { padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
    .navbar.menu-ready .nav-links { display: none; }
    .navbar.menu-ready.menu-open .nav-links { display: flex; }
}
@media (max-width: 968px) {
    .hero { padding-top: 130px; }
    .auth-buttons { flex-direction: row; }
}
@media (max-width: 600px) {
    .container { padding-inline: 18px; }
    .nav-container { gap: 8px; min-height: 64px; padding-block: 10px; }
    .logo { font-size: 12px; }
    .hero { padding: 120px 0 40px; }
    .hero-title { font-size: clamp(34px, 10vw, 48px); }
    .hero-subtext { font-size: 15px; }
    .hero-cta > .btn { width: 100%; }
    .ticker { transform: none; margin: 0; }
    section { padding: 56px 0; }
    .pricing-grid, .features-grid, .req-list { grid-template-columns: minmax(0, 1fr); }
    .dashboard-main { padding-top: 140px; }
    .dashboard-tabs { width: 100%; }
    .tab-link { flex: 1 1 auto; justify-content: center; }
    .modal-content { padding: 28px 20px; }
    html { scroll-padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ticker-track { animation: none; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
