/* ==========================================================================
   All Yono Lite - Frontend Design System
   Modern app-directory aesthetic: gradients, soft shadows, rounded corners
   ========================================================================== */

:root {
    /* Brand */
    --c-primary: #5A48F5;
    --c-primary-2: #8B5CF6;
    --c-primary-dark: #4335D6;
    --c-accent: #FF7A45;
    --c-accent-2: #FF9A62;
    --c-success: #16A34A;
    --c-warning: #D97706;
    --c-danger: #DC2626;
    --c-info: #0284C7;
    --c-gold: #B45309;

    /* Neutrals */
    --c-bg: #F5F6FB;
    --c-surface: #FFFFFF;
    --c-text: #191C30;
    --c-muted: #646B85;
    --c-border: #E5E7F2;
    --c-dark: #14162B;
    --c-dark-2: #1D2040;

    /* Effects */
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 22px;
    --sh-sm: 0 2px 8px rgba(24, 27, 56, .06);
    --sh: 0 8px 28px rgba(24, 27, 56, .09);
    --sh-lg: 0 18px 50px rgba(24, 27, 56, .14);
    --grad-primary: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    --grad-accent: linear-gradient(135deg, #FF6A3D, #FF9A3D);
    --header-bg: #FFFFFF;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --container: 1200px;
}

/* ---------------------------- Reset & base ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + 1.2vw, 1.85rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button { font-family: inherit; cursor: pointer; }
.icon { vertical-align: -0.16em; flex-shrink: 0; }
.text-muted { color: var(--c-muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 1200px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-dark); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 12px; border: 1px solid transparent;
    font-size: .925rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 18px rgba(90, 72, 245, .32); }
.btn-primary:hover { color: #fff; box-shadow: 0 9px 24px rgba(90, 72, 245, .42); transform: translateY(-1px); }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 122, 69, .35); }
.btn-accent:hover { color: #fff; box-shadow: 0 9px 26px rgba(255, 122, 69, .45); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--c-primary); border-color: #D8D4FA; }
.btn-outline:hover { background: #F4F2FF; border-color: var(--c-primary); }
.btn-soft { background: #F1F1FA; color: var(--c-text); }
.btn-soft:hover { background: #E7E7F5; color: var(--c-primary-dark); }
.btn-sm { padding: 8px 14px; font-size: .82rem; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-disabled { background: #E5E7F2; color: var(--c-muted); cursor: not-allowed; }
.btn-pulse { animation: pulse 1.2s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,122,69,.4); } 50% { box-shadow: 0 0 0 12px rgba(255,122,69,0); } }

/* ---------------------------- Header ---------------------------- */
.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--c-border);
    position: relative;
    z-index: 100;
}
.site-header.is-sticky { position: sticky; top: 0; box-shadow: var(--sh-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--c-text); }
.brand:hover { color: var(--c-primary-dark); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand-text strong { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.brand-text small { display: block; font-size: .7rem; color: var(--c-muted); line-height: 1.2; }

.main-nav { margin-left: 6px; flex: 1; }
.nav-list { display: flex; align-items: center; justify-content: end; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
    display: flex; align-items: center; gap: 5px;
    padding: 9px 13px; border-radius: 10px;
    color: var(--c-text); font-weight: 600; font-size: .92rem;
}
.nav-item > a:hover { background: #F1F1FA; color: var(--c-primary-dark); }
.nav-item > a[aria-current="page"] { color: var(--c-primary); background: #F0EEFE; }
.nav-caret { transition: transform .18s ease; opacity: .6; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
    background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
    box-shadow: var(--sh); padding: 8px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all .18s ease;
}
.nav-item.has-dropdown:hover .dropdown, .nav-item.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--c-text); font-size: .89rem; font-weight: 500; }
.dropdown a:hover { background: #F4F2FF; color: var(--c-primary-dark); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px; border: none;
    background: transparent; color: var(--c-text);
    transition: background .16s ease, color .16s ease;
}
.icon-btn:hover { background: #F1F1FA; color: var(--c-primary); }
.nav-burger { display: none; }
.nav-burger .icon-close { display: none; }
.nav-burger.open .icon-menu { display: none; }
.nav-burger.open .icon-close { display: block; }

/* Search panel */
.search-panel { border-top: 1px solid var(--c-border); background: #FAFAFE; }
.search-panel[hidden] { display: none; }
.search-panel .container { padding-top: 16px; padding-bottom: 16px; position: relative; }
.search-form { display: flex; align-items: center; gap: 10px; position: relative; }
.search-form-icon { position: absolute; left: 16px; color: var(--c-muted); display: inline-flex; }
.search-form input[type="search"] {
    flex: 1; padding: 13px 16px 13px 46px; font-size: 1rem;
    border: 1.5px solid var(--c-border); border-radius: 14px; outline: none; background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.search-form input[type="search"]:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(90, 72, 245, .12); }
.search-suggest {
    position: absolute; left: 20px; right: 20px; top: calc(100% - 4px);
    background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
    box-shadow: var(--sh-lg); max-height: 380px; overflow-y: auto; z-index: 60;
}
.suggest-group { padding: 10px 6px 6px; }
.suggest-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); padding: 6px 12px; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--c-text); }
.suggest-item:hover { background: #F4F2FF; }
.suggest-item img { width: 38px; height: 38px; border-radius: 9px; }
.suggest-item .s-name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.suggest-item .s-meta { font-size: .78rem; color: var(--c-muted); }
.suggest-empty { padding: 14px 16px; color: var(--c-muted); font-size: .9rem; }

/* --------------------- App page highlights accordion + system requirements --------------------- */
/* The highlights card reuses the FAQ accordion (details/summary) pattern. */
.app-accordion { display: flex; flex-direction: column; gap: 12px; }
.app-acc-item summary { padding: 14px 18px; font-size: .98rem; }
.app-acc-q { display: inline-flex; align-items: center; gap: 9px; }
.app-acc-q .icon { color: var(--c-primary); }
.app-acc-a { padding: 0 18px 18px; }
.app-tab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.app-tab-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-text); font-size: .95rem; line-height: 1.55; }
.app-tab-list li .icon { color: var(--c-primary); flex-shrink: 0; margin-top: 3px; }
.sysreq-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.sysreq-table th, .sysreq-table td { padding: 12px 14px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.sysreq-table tr:last-child th, .sysreq-table tr:last-child td { border-bottom: none; }
.sysreq-table th { width: 38%; color: var(--c-muted); font-weight: 600; }
.sysreq-table td { color: var(--c-text); }

/* ---------------------------- Hero ---------------------------- */
.section-hero {
    --hero-bg: linear-gradient(140deg, #4534E0 0%, #6D3FE8 48%, #9333EA 100%);
    background: var(--hero-bg);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 78px 0 88px;
}
.section-hero::after {
    content: "";
    position: absolute; inset: auto -10% -60% -10%; height: 70%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,.14), transparent 65%);
    pointer-events: none;
}
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(0,0,0,.55), transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(0,0,0,.55), transparent 70%);
    pointer-events: none;
}
.hero-deco span { position: absolute; border-radius: 50%; opacity: .5; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.32), rgba(255,255,255,.06)); animation: heroFloat 9s ease-in-out infinite; }
.hero-deco span:nth-child(1) { width: 380px; height: 380px; top: -140px; right: -100px; }
.hero-deco span:nth-child(2) { width: 240px; height: 240px; bottom: -100px; left: -60px; animation-delay: -3s; }
.hero-deco span:nth-child(3) { width: 140px; height: 140px; top: 44px; left: 38%; animation-delay: -6s; }
.hero-deco span:nth-child(4) { width: 90px; height: 90px; bottom: 60px; right: 16%; animation-delay: -4.5s; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; text-align: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    padding: 7px 16px; border-radius: 999px;
    font-size: .82rem; font-weight: 700; letter-spacing: .02em;
    color: rgba(255,255,255,.95); margin-bottom: 22px;
    backdrop-filter: blur(4px);
}
.hero-inner h1 { color: #fff; margin-bottom: 14px; text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.88); max-width: 640px; margin: 0 auto 30px; }
.hero-search {
    display: flex; align-items: center; gap: 10px; position: relative;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
    border-radius: 18px; padding: 8px; backdrop-filter: blur(6px);
    max-width: 620px; margin: 0 auto;
    box-shadow: 0 14px 40px rgba(20, 12, 80, .35);
    transition: box-shadow .2s ease, background .2s ease;
}
.hero-search:focus-within { background: rgba(255,255,255,.22); box-shadow: 0 16px 48px rgba(20, 12, 80, .45); }
.hero-search-plain { background: #fff; border: 1.5px solid var(--c-border); padding: 8px; max-width: 620px; margin: 18px auto 0; box-shadow: none; }
.hero-search input[type="search"] {
    flex: 1; border: none; outline: none; background: transparent; color: #fff;
    padding: 10px 14px 10px 44px; font-size: 1.02rem; min-width: 0;
}
.hero-search-plain input[type="search"] { color: var(--c-text); }
.hero-search input::placeholder { color: rgba(255,255,255,.65); }
.hero-search-plain input::placeholder { color: var(--c-muted); }
.hero-search-icon { position: absolute; left: 16px; color: rgba(255,255,255,.7); display: inline-flex; }
.hero-search-plain .hero-search-icon { color: var(--c-muted); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-hero-ghost {
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff;
    backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.24); color: #fff; transform: translateY(-1px); }
.hero-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
    padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.92);
}

/* Hero with promoted app card: content moves left, card floats right */
.hero-inner.has-promo {
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: center;
    text-align: left;
}
.hero-inner.has-promo .hero-copy { text-align: left; }
.hero-inner.has-promo .hero-sub { margin-left: 0; }
.hero-inner.has-promo .hero-search { margin-left: 0; }
.hero-inner.has-promo .hero-actions { justify-content: flex-start; }
.hero-inner.has-promo .hero-chips { justify-content: flex-start; }
.hero-promo {
    position: relative;
    background: rgba(255,255,255,.96);
    border-radius: 22px;
    padding: 28px 24px 24px;
    box-shadow: 0 26px 60px rgba(18, 10, 70, .4);
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    animation: promoFloat 7s ease-in-out infinite;
}
@keyframes promoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-promo-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, .45);
    white-space: nowrap;
}
.hero-promo-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--sh-sm); border: 1px solid var(--c-border); }
.hero-promo-title { margin: 2px 0 0; font-size: 1.18rem; line-height: 1.3; }
.hero-promo-title a { color: var(--c-text); }
.hero-promo-title a:hover { color: var(--c-primary); }
.hero-promo-desc { color: var(--c-muted); font-size: .88rem; line-height: 1.5; margin: 0; }
/* Promoted app card: 2x2 fact grid (Signup Bonus / Min. Withdrawal / Version / Developer) */
.hero-promo-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    width: 100%; margin: 4px 0 2px;
}
.hero-promo-stat {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: #F8F8FD; border: 1px solid var(--c-border); border-radius: 12px;
    padding: 9px 6px 8px; min-width: 0;
}
.hps-label {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .7rem; font-weight: 700; color: var(--c-muted);
    text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.hps-label .icon { color: var(--c-primary); }
.hps-value { font-size: .95rem; font-weight: 800; color: var(--c-text); line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hps-value.hps-gold { color: var(--c-gold); }
.hero-promo-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ---------------------------- Sections ---------------------------- */
.section { padding: 64px 0; }
.section-compact { padding: 44px 0; }
.section-tinted { background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head-center { justify-content: center; text-align: center; }
.section-desc { color: var(--c-muted); font-size: .98rem; margin: 4px 0 0; max-width: 640px; }
.h2-plain { margin: 26px 0 18px; }

/* ---------------------------- App cards (row) ---------------------------- */
/* Numbered list: every .app-list restarts at 1, each card counts up.
   The number renders in the circle on the icon's top-left corner. */
.app-list { display: flex; flex-direction: column; gap: 16px; counter-reset: appnum; }
.app-card-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--r-lg); padding: 20px 24px;
    box-shadow: var(--sh-sm); position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.app-card-row::before {
    content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px;
    border-radius: 0 4px 4px 0; background: var(--grad-primary);
    opacity: 0; transition: opacity .18s ease;
}
.app-card-row:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: #D8D4FA; }
.app-card-row:hover::before { opacity: 1; }
.app-card-row-icon { position: relative; }
.app-card-row-icon img { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--sh-sm); border: 1px solid var(--c-border); }
/* Numbered-list counter badge - a circle on the app icon's top-left corner.
   The number comes from the CSS counter (1, 2, 3 ...) like an ordered
   list - it is the card's position, not the download count; 3-digit
   numbers stretch the circle into a pill. */
.app-icon-count {
    position: absolute; top: -8px; left: -10px; z-index: 2;
    min-width: 32px; height: 32px; padding: 0 9px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-primary); color: #fff;
    font-size: .78rem; font-weight: 700; letter-spacing: .02em; line-height: 1;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .35);
}
.app-icon-count::before { content: counter(appnum); counter-increment: appnum; }
.app-card-row-body { min-width: 0; }
.app-card-row-head { min-width: 0; }
.app-title { font-size: 1.14rem; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.app-title a { color: var(--c-text); }
.app-title a:hover { color: var(--c-primary); }
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #F3F4FB; color: var(--c-muted);
    padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
    line-height: 1.35; white-space: nowrap;
}
.chip .icon { flex-shrink: 0; opacity: .85; }
.chip-gold { background: #FEF3E2; color: var(--c-gold); }
.chip-cash { background: #E8F7EF; color: #15803D; }
.chip-link { background: #F0EEFE; color: var(--c-primary-dark); }
.chip-link:hover { background: #E5E1FC; color: var(--c-primary-dark); }
.chip-active { background: var(--c-primary); color: #fff; }
.app-card-row-actions { display: flex; flex-direction: column; gap: 9px; min-width: 150px; }
.app-card-row-actions .btn { width: 100%; }

/* ---------------------------- Category cards ---------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-grid-lg { grid-template-columns: repeat(4, 1fr); }
.category-card {
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r);
    padding: 26px 16px 22px; text-align: center; box-shadow: var(--sh-sm); color: var(--c-text);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative; overflow: hidden;
}
.category-card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-primary); opacity: 0; transition: opacity .18s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: #D8D4FA; color: var(--c-primary-dark); }
.category-card:hover::after { opacity: 1; }
.category-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; border-radius: 18px; color: #fff;
    margin-bottom: 14px; box-shadow: 0 8px 18px rgba(90,72,245,.25);
    background: var(--grad-primary);
    transition: transform .18s ease;
}
.category-card:hover .category-card-icon { transform: scale(1.06) rotate(-3deg); }
/* 8 accent palettes cycled per category for a lively grid */
.ci-1 { background: linear-gradient(135deg, #5A48F5, #8B5CF6); box-shadow: 0 8px 18px rgba(90,72,245,.28); }
.ci-2 { background: linear-gradient(135deg, #E11D48, #FB7185); box-shadow: 0 8px 18px rgba(225,29,72,.24); }
.ci-3 { background: linear-gradient(135deg, #F59E0B, #FBBF24); box-shadow: 0 8px 18px rgba(245,158,11,.26); }
.ci-4 { background: linear-gradient(135deg, #10B981, #34D399); box-shadow: 0 8px 18px rgba(16,185,129,.24); }
.ci-5 { background: linear-gradient(135deg, #0EA5E9, #38BDF8); box-shadow: 0 8px 18px rgba(14,165,233,.24); }
.ci-6 { background: linear-gradient(135deg, #8B5CF6, #EC4899); box-shadow: 0 8px 18px rgba(139,92,246,.26); }
.ci-7 { background: linear-gradient(135deg, #EF4444, #F97316); box-shadow: 0 8px 18px rgba(239,68,68,.24); }
.ci-8 { background: linear-gradient(135deg, #14B8A6, #2DD4BF); box-shadow: 0 8px 18px rgba(20,184,166,.24); }
.category-card-name { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 5px; }
.category-card-count { display: inline-flex; align-items: center; gap: 5px; color: var(--c-muted); font-size: .78rem; font-weight: 600; }
.cc-arrow { opacity: 0; transform: translateX(-4px); transition: all .18s ease; }
.category-card:hover .cc-arrow { opacity: 1; transform: translateX(0); }

/* ---------------------------- Feature cards ---------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r);
    padding: 26px 22px; box-shadow: var(--sh-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 14px; background: #F0EEFE; color: var(--c-primary); margin-bottom: 14px;
}
.feature-card h3 { font-size: 1.02rem; }
.feature-card p { color: var(--c-muted); font-size: .88rem; margin: 0; }

/* ---------------------------- Blog cards ---------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r);
    overflow: hidden; box-shadow: var(--sh-sm); transition: transform .18s ease, box-shadow .18s ease;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.blog-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-image-blank {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #EEECFE, #FDF0E8);
}
.blog-card-blank { color: #A79DFA; }
.blog-card-image { display: block; }
.blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat {
    display: inline-block; align-self: flex-start;
    background: #F0EEFE; color: var(--c-primary-dark);
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.04rem; margin: 0 0 8px; flex: 1; }
.blog-card h3 a { color: var(--c-text); }
.blog-card h3 a:hover { color: var(--c-primary); }
.blog-card p { color: var(--c-muted); font-size: .88rem; margin: 0 0 14px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--c-muted); font-size: .8rem; }
.blog-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.read-more { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .82rem; }

/* ---------------------------- CTA ---------------------------- */
.section-cta {
    --cta-bg: linear-gradient(135deg, #1D2040, #4335D6);
    background: var(--cta-bg); color: #fff; padding: 64px 0; text-align: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 24px; }

/* ---------------------------- Page hero (inner pages) ---------------------------- */
.page-hero { background: #fff; border-bottom: 1px solid var(--c-border); padding: 34px 0 30px; }
.page-hero h1 { margin-bottom: 6px; }
.page-hero p { color: var(--c-muted); margin: 0; padding-top: 10px; }
.page-updated { font-size: .85rem; }
.page-hero-desc { font-size: .95rem; line-height: 1.55; max-width: 780px; }
.cat-hero { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.cat-hero-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 62px; height: 62px; border-radius: 18px; background: var(--grad-primary); color: #fff; flex-shrink: 0;
}
.sort-box { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .86rem; color: var(--c-muted); font-weight: 600; }
.sort-box a { padding: 6px 14px; border-radius: 999px; background: #F3F4FB; color: var(--c-muted); }
.sort-box a.active, .sort-box a:hover { background: var(--grad-primary); color: #fff; }

/* App hero on detail page */
.page-hero-app { padding-bottom: 26px; }
.page-hero-app .breadcrumb ol { justify-content: center; text-align: center; }
.dl-page .breadcrumb ol { justify-content: center; text-align: center; }
.app-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 6px; }
.app-hero-icon { width: 110px; height: 110px; border-radius: 26px; box-shadow: var(--sh); border: 1px solid var(--c-border); }
.app-hero-info h1 { margin-bottom: 8px; }
.app-hero-desc { color: var(--c-muted); font-size: 1rem; margin: 0 0 14px; max-width: 560px; }
.app-hero .app-meta {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    width: max-content;
    max-width: 100%;
}
.app-hero-actions { text-align: center; }
.app-hero-buttons { display: flex; flex-direction: column; gap: 10px; min-width: 210px; }
.app-hero-note { font-size: .78rem; color: var(--c-muted); margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.btn-telegram { background: linear-gradient(135deg, #229ED9, #2AA5E0); color: #fff; box-shadow: 0 4px 12px rgba(34,158,217,.3); }
.btn-telegram:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(34,158,217,.42); }
.app-hero .app-meta .chip {
    min-height: 42px;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid var(--c-border);
    box-shadow: var(--sh-sm);
    font-size: .9rem;
    font-weight: 700;
}
.app-hero .app-meta .chip .icon { width: 18px; height: 18px; opacity: 1; }
.app-hero .app-meta .chip-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* Centered byline UNDER the page-hero band: Last Updated | Review By */
.byline-band { display: flex; justify-content: center; padding-top: 18px; }
.hero-byline {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 7px; margin: 0; padding: 10px 20px;
    font-size: .84rem; color: var(--c-muted);
    background: #FFFFFF; border: 1px dashed var(--c-border); border-radius: 999px;
    box-shadow: var(--sh-sm);
    width: fit-content; max-width: 100%;
}
.hero-byline .icon { color: var(--c-primary); }
.hero-byline strong { color: var(--c-text); font-weight: 700; }
/* Reviewer name in the byline is its own link (About Us page) - separate
   from the reviewer link inside the review box further down the page */
.hero-byline a { color: var(--c-primary); text-decoration: none; }
.hero-byline a:hover { text-decoration: underline; }
.hero-byline a strong { color: var(--c-primary); }
.byline-sep { color: #C9CBE0; margin: 0 4px; }

/* ---------------------------- Detail layout ---------------------------- */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding-top: 30px; padding-bottom: 40px; align-items: start; }
.page-layout-single { grid-template-columns: 1fr; max-width: 920px; }
.page-layout-app { grid-template-columns: 1fr; }
.page-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.card {
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
    padding: 26px 28px; box-shadow: var(--sh-sm);
}
.card h2 { font-size: 1.3rem; padding-bottom: 12px; border-bottom: 2px solid #F1F1FA; margin-bottom: 18px; }
.card .card-heading-2 { margin-top: 30px; }
.card-tight { padding: 20px 24px; }
.side-card h3 { font-size: 1.02rem; margin-bottom: 14px; }
.prose { color: var(--c-text); }
.prose h2, .prose h3, .prose h4 { margin-top: 0.3em; }
.prose img { border-radius: var(--r-sm); margin: 1em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid var(--c-primary); margin: 1em 0; padding: 10px 18px; background: #F7F7FE; border-radius: 0 10px 10px 0; color: var(--c-muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose table th, .prose table td { border: 1px solid var(--c-border); padding: 9px 12px; text-align: left; }
.prose table th { background: #F7F7FE; }
.prose pre, .prose code { background: #F3F4FB; border-radius: 8px; }
.prose pre { padding: 14px; overflow-x: auto; }
.prose code { padding: 2px 6px; font-size: .88em; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 11px 14px; border-bottom: 1px solid #F1F1FA; text-align: left; font-size: .92rem; }
.info-table th { color: var(--c-muted); font-weight: 600; width: 40%; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 10px;
    background: #F8F8FD; border-radius: 12px; padding: 12px 14px;
    font-size: .92rem; font-weight: 500;
}
.feature-list .icon { color: var(--c-success); margin-top: 2px; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros, .cons { border-radius: 14px; padding: 16px 18px; }
.pros { background: #F0FDF4; }
.cons { background: #FEF2F2; }
.pros h3 { color: var(--c-success); display: flex; align-items: center; gap: 8px; }
.cons h3 { color: var(--c-danger); display: flex; align-items: center; gap: 8px; }
.pros ul, .cons ul { margin: 0; padding-left: 18px; font-size: .9rem; }

.screenshot-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.screenshot-strip img { height: 340px; width: auto; border-radius: 16px; border: 1px solid var(--c-border); box-shadow: var(--sh-sm); }

/* Page block: apps from a selected category (reference category-page layout) */
.page-apps-section { padding: 10px 0 30px; }
.page-apps-count { color: var(--c-muted); font-size: .95rem; margin: 6px 0 0; }
.page-apps-count strong { color: var(--c-text); }

/* Review / EEAT box (redesigned editorial card) */
.review-box {
    background: linear-gradient(150deg, #F7F6FF 0%, #FDF7F1 100%);
    border: 1px solid #E8E3FA; border-radius: var(--r-lg);
    padding: 26px 28px; position: relative; overflow: hidden;
}
.review-box::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.review-box-head {
    display: flex; align-items: center; gap: 16px; margin: 4px 0 18px;
    background: rgba(255,255,255,.75); border: 1px solid rgba(232,227,250,.9);
    border-radius: 16px; padding: 14px 18px;
}
.review-photo {
    width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
    border: 3px solid #fff; box-shadow: 0 4px 14px rgba(24, 27, 56, .14);
}
.review-photo-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--grad-primary); color: #fff; }
.review-box-id { min-width: 0; }
.review-kicker {
    font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    color: var(--c-primary); margin: 0; display: inline-flex; align-items: center; gap: 6px;
}
.review-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--c-primary); opacity: .55; }
.review-name { font-weight: 800; margin: 2px 0 0; font-size: 1.14rem; line-height: 1.3; }
.review-name a { color: var(--c-text); }
.review-name a:hover { color: var(--c-primary); }
.review-verified {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 5px;
    font-size: .72rem; font-weight: 700; color: var(--c-success);
    background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 999px; padding: 3px 10px;
}
.review-methodology { background: rgba(255,255,255,.82); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.review-methodology h4 { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 8px; color: var(--c-text); }
.review-methodology p { font-size: .9rem; color: var(--c-muted); margin: 0; }
.review-date { font-size: .84rem; color: var(--c-muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.review-date strong { color: var(--c-text); }

/* Editorial Team review box (pages) - collapsible card */
.av-team { margin-top: 26px; }
.av-team__heading { font-size: 1.3rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #F1F1FA; }
.av-team-card {
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
    box-shadow: var(--sh-sm); overflow: hidden;
}
.av-team-card__summary {
    list-style: none; cursor: pointer; user-select: none;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px; background: #F8F8FD;
}
.av-team-card__summary::-webkit-details-marker { display: none; }
.av-team-card__title { font-weight: 700; font-size: .96rem; line-height: 1.4; }
.av-team-card__chevron { display: inline-flex; color: var(--c-muted); transition: transform .18s ease; flex-shrink: 0; }
.av-team-card[open] .av-team-card__chevron { transform: rotate(180deg); }
.av-team-card__body { padding: 20px; }
.av-team-card__profile { display: flex; align-items: center; gap: 14px; }
.av-team-card__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--sh-sm); }
.av-team-card__avatar--fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--grad-primary); color: #fff; }
.av-team-card__name { font-weight: 800; font-size: 1rem; }
.av-team-card__contact {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
    font-size: .84rem; color: var(--c-primary); text-decoration: none;
    word-break: break-all;
}
.av-team-card__contact:hover { text-decoration: underline; }
.av-team-card__about-title { margin: 18px 0 8px; font-size: 1rem; }
.av-team-card__about-text { color: var(--c-muted); font-size: .92rem; line-height: 1.65; }
.av-review__text p { margin: 0 0 10px; }
.av-review__text p:last-child { margin-bottom: 0; }

.disclaimer { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 14px; padding: 16px 20px; font-size: .88rem; color: #92400E; }
.disclaimer strong { display: inline-flex; align-items: center; gap: 7px; }

/* Sidebar */
.page-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.side-facts { list-style: none; margin: 0; padding: 0; }
.side-facts li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed #EDEDF6; font-size: .88rem; }
.side-facts li:last-child { border-bottom: none; }
.side-facts span { color: var(--c-muted); }
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--c-text); }
.related-item:hover { background: #F7F7FE; }
.related-item img { width: 44px; height: 44px; border-radius: 11px; }
.related-item strong { display: block; font-size: .88rem; line-height: 1.3; }
.related-item small { color: var(--c-muted); font-size: .76rem; display: inline-flex; align-items: center; gap: 4px; }
.related-posts { display: flex; flex-direction: column; gap: 12px; }
.related-post { display: flex; gap: 12px; align-items: center; color: var(--c-text); }
.related-post:hover strong { color: var(--c-primary); }
.related-post img { width: 80px; height: 56px; object-fit: cover; border-radius: 10px; }
.related-post strong { font-size: .85rem; line-height: 1.35; }

/* ---------------------------- Badges & alerts ---------------------------- */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.badge-success { background: #DCFCE7; color: #15803D; }
.badge-info { background: #E0F2FE; color: #0369A1; }
.badge-warning { background: #FEF3C7; color: #B45309; }
.badge-danger { background: #FEE2E2; color: #B91C1C; }
.badge-muted { background: #F1F1FA; color: var(--c-muted); }

.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 16px; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------------------------- Breadcrumb ---------------------------- */
.breadcrumb { margin: 0 0 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0; padding: 0; font-size: .83rem; }
.breadcrumb a { color: var(--c-muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.breadcrumb a:hover { color: var(--c-primary); }
.bc-sep { color: #C6C9DC; display: inline-flex; }
.bc-current { color: var(--c-text); font-weight: 700; }
.breadcrumb-light a, .breadcrumb-light .bc-current { color: rgba(255,255,255,.9); }
.breadcrumb-light .bc-sep { color: rgba(255,255,255,.4); }
.breadcrumb-light a:hover { color: #fff; }

/* ---------------------------- Pagination ---------------------------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: 11px; background: #fff; border: 1px solid var(--c-border);
    color: var(--c-text); font-weight: 600; font-size: .89rem;
    transition: all .15s ease;
}
.page-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.page-btn.active { background: var(--grad-primary); color: #fff; border-color: transparent; }
.page-btn.disabled { opacity: .45; pointer-events: none; }
.page-dots { display: inline-flex; align-items: center; color: var(--c-muted); padding: 0 2px; }

/* ---------------------------- FAQ accordion ---------------------------- */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #FAFAFE; border: 1px solid var(--c-border); border-radius: 14px;
    overflow: hidden; transition: border-color .15s ease;
}
.faq-item[open] { border-color: #D8D4FA; background: #fff; }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 18px; font-weight: 700; font-size: .97rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { color: var(--c-muted); transition: transform .2s ease; display: inline-flex; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); color: var(--c-primary); }
.faq-a { padding: 0 18px 18px; color: var(--c-muted); font-size: .93rem; }

/* ---------------------------- Share buttons ---------------------------- */
.share-buttons { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.share-label { font-size: .84rem; font-weight: 700; color: var(--c-muted); margin-right: 2px; }
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--c-border);
    background: #fff; color: var(--c-muted); transition: all .15s ease;
}
.share-btn:hover { background: var(--grad-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ---------------------------- Empty state & misc ---------------------------- */
.empty-state { text-align: center; padding: 56px 20px; color: var(--c-muted); }
.empty-state .icon { color: #C6C9DC; margin-bottom: 12px; }
.empty-state h2 { color: var(--c-text); }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }

/* ---------------------------- Post page ---------------------------- */
.page-hero-post { padding-bottom: 26px; }
.post-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--c-muted); font-size: .85rem; margin-top: 14px; }
.post-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-image { margin: 0; }
.post-image img { border-radius: var(--r-lg); box-shadow: var(--sh); width: 100%; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------- Contact ---------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.contact-facts { border-top: 1px solid var(--c-border); padding-top: 16px; margin-top: 16px; }
.contact-facts p { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: .92rem; }
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

/* ---------------------------- Forms ---------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: .87rem; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: 12px;
    font-size: .95rem; font-family: inherit; outline: none; background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(90, 72, 245, .12);
}
.field-error { color: var(--c-danger); font-size: .78rem; margin-top: 5px; display: block; }

/* ---------------------------- Download page ---------------------------- */
.download-card { padding: 34px; }
.download-head { display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--c-border); padding-bottom: 20px; margin-bottom: 22px; }
.download-head img { width: 72px; height: 72px; border-radius: 18px; }
.download-head h1 { font-size: 1.4rem; margin-bottom: 4px; }
.download-head p { color: var(--c-muted); margin: 0; font-size: .9rem; }
.download-progress { text-align: center; margin-bottom: 22px; }
.dl-page { padding: 30px 0 64px; }
.download-card { max-width: 680px; margin: 0 auto; }
.dl-progress-track {
    height: 12px; border-radius: 999px; background: #EDEDF6; overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(24, 27, 56, .08);
}
.dl-progress-bar { height: 100%; width: 0%; border-radius: 999px; background: var(--grad-primary); transition: width .3s ease; }
.dl-status { color: var(--c-muted); font-size: .95rem; margin: 18px 0 2px; }
.dl-percent {
    font-size: 1.7rem; font-weight: 800; margin: 0; line-height: 1.25;
    background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.download-links[hidden] { display: none; }
.download-countdown { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.download-countdown span { position: absolute; font-weight: 800; font-size: 1.3rem; color: var(--c-primary); }
.ring-bg { fill: none; stroke: #EDEDF6; stroke-width: 4; }
.ring { fill: none; stroke: var(--c-primary); stroke-width: 4; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1s linear; }
.dl-note { color: var(--c-muted); font-size: .92rem; margin: 10px 0 0; }
.dl-target { text-align: center; color: var(--c-muted); font-size: .8rem; margin: 14px 0 0; }
.download-instructions { background: #FAFAFE; border-radius: 14px; padding: 20px 22px; margin-top: 24px; }
.download-instructions h2 { font-size: 1.05rem; border: none; padding: 0; margin-bottom: 10px; }
.download-instructions ol { padding-left: 20px; color: var(--c-muted); font-size: .9rem; }
.dl-safety { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--c-muted); margin: 12px 0 0; }
.download-links { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r); padding: 22px; box-shadow: var(--sh-sm); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step-card h3 { font-size: .98rem; }
.step-card p { color: var(--c-muted); font-size: .87rem; margin: 0; }

/* ---------------------------- Skeleton loading ---------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.tab-btn {
    padding: 9px 18px; border-radius: 999px; border: 1px solid var(--c-border);
    background: #fff; color: var(--c-muted); font-weight: 600; font-size: .88rem;
    transition: all .15s ease;
}
.tab-btn:hover { color: var(--c-primary); border-color: #D8D4FA; }
.tab-btn.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 5px 14px rgba(90,72,245,.3); }
.tabs-panel { position: relative; min-height: 240px; }
/* Loading state mirrors the .app-card-row list: one skeleton row per app,
   not a grid of cards (icon + two text lines + pill button). */
.tabs-loading { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; }
.tabs-loading[hidden] { display: none; }
.skeleton { background: linear-gradient(100deg, #ECECF5 40%, #F8F8FC 50%, #ECECF5 60%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.skeleton-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--sh-sm);
}
.skeleton-row .sk-icon { width: 84px; height: 84px; border-radius: 20px; }
.sk-lines { min-width: 0; display: flex; flex-direction: column; gap: 11px; }
.sk-line { height: 14px; border-radius: 999px; }
.sk-line.w60 { width: 58%; }
.sk-line.w40 { width: 38%; }
.sk-btn { width: 150px; height: 42px; border-radius: 999px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------- Ads ---------------------------- */
.ad-container { margin: 18px auto; }
.ad-slot { text-align: center; overflow: hidden; max-width: 100%; }
.ad-slot img { max-width: 100%; height: auto; }
.d-none-mobile { display: block; }
.d-none-desktop { display: none; }

/* ---------------------------- 404 / Maintenance ---------------------------- */
.notfound-hero { text-align: center; padding: 60px 0 50px; }
.notfound-code { font-size: 5.4rem; font-weight: 800; margin: 0; line-height: 1; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.maintenance-page { padding: 90px 0; }
.maintenance-icon { color: #C6C9DC; margin-bottom: 18px; display: inline-block; }

/* ---------------------------- Footer ---------------------------- */
.site-footer {
    background: linear-gradient(180deg, #171A33 0%, var(--c-dark) 30%, #101226 100%);
    color: #B9BCD0; margin-top: 0; position: relative;
}
.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, #5A48F5, #8B5CF6, #EC4899, #FF7A45);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 54px 0 40px; }
.brand-footer { color: #fff; align-items: center; }
.brand-footer img { border-radius: 12px; }
.brand-footer strong { font-size: 1.18rem; }
.brand-footer small { color: #8F93AE; }
.footer-brand p { font-size: .9rem; color: #9BA0BC; margin: 16px 0 18px; max-width: 330px; line-height: 1.7; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); color: #C9CCDE;
    transition: all .16s ease;
}
.footer-social a:hover { background: var(--grad-primary); color: #fff; transform: translateY(-2px); }
.footer-col h3 {
    color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer-col h3::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px;
    border-radius: 3px; background: var(--grad-primary);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
    color: #9BA0BC; font-size: .89rem; display: inline-flex; align-items: center;
    transition: color .14s ease, transform .14s ease;
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-html { color: #9BA0BC; font-size: .89rem; }
.footer-trust {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0 22px;
}
.footer-trust span {
    display: inline-flex; align-items: center; gap: 7px;
    color: #8F93AE; font-size: .8rem; font-weight: 600;
}
.footer-trust .icon { color: #7C8CFF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; background: rgba(0,0,0,.18); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .82rem; color: #8F93AE; }
.footer-legal { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer-legal a { color: #8F93AE; font-size: .8rem; }
.footer-legal a:hover { color: #fff; }

/* ---------------------------- Back to top ---------------------------- */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px;
    border-radius: 14px; border: none; background: var(--grad-primary); color: #fff;
    box-shadow: var(--sh); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .22s ease; z-index: 90;
    display: inline-flex; align-items: center; justify-content: center;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 1024px) {
    .category-grid, .category-grid-lg { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .page-layout { grid-template-columns: 1fr; }
    .page-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .page-side .card { flex: 1 1 300px; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: #fff; margin: 0; padding: 20px;
        transform: translateX(100%); transition: transform .25s ease;
        overflow-y: auto; z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; justify-content: start; gap: 4px; }
    .nav-item > a { padding: 13px 14px; font-size: 1rem; justify-content: space-between; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; display: none; }
    .nav-item.has-dropdown:hover .dropdown { display: none; }
    .nav-item.has-dropdown.open .dropdown { display: block; }
    .nav-burger { display: inline-flex; }
    .header-actions { gap: 2px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    /* App page hero: stacked and centered on tablets/phones */
    .app-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .app-hero-icon { width: 84px; height: 84px; border-radius: 20px; }
    .app-hero-info h1 { text-align: center; }
    .app-hero-desc { margin-left: auto; margin-right: auto; }
    .app-hero .app-meta { justify-content: center; }
    .app-hero .app-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
    .app-hero .app-meta .chip {
        min-width: 0;
        min-height: 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 5px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        font-size: .78rem;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }
    .app-hero .app-meta .chip-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        color: var(--c-primary);
        background: #F0EEFE;
    }
    .app-hero .app-meta .chip-icon .icon { width: 18px; height: 18px; }
    .app-hero .app-meta .chip.chip-gold .chip-icon { color: #B45309; background: #FEF3E2; }
    .app-hero .app-meta .chip.chip-cash .chip-icon { color: #15803D; background: #E8F7EF; }
    .app-hero .app-meta .chip-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        padding: 7px 4px;
        border: 1px solid var(--c-border);
        border-radius: 12px;
        background: #F3F4FB;
        box-shadow: var(--sh-sm);
        text-align: center;
    }
    .app-hero .app-meta .chip.chip-gold .chip-label { background: #FEF3E2; }
    .app-hero .app-meta .chip.chip-cash .chip-label { background: #E8F7EF; }
    .app-hero .app-meta .chip-icon .icon {
        width: 18px;
        height: 18px;
        opacity: 1;
    }
    .app-hero-actions { width: 100%; }
    .app-hero-buttons { flex-direction: row; max-width: 440px; margin: 0 auto; width: 100%; }
    .app-hero-buttons .btn { flex: 1; }
    .btn-lg { padding: 12px 20px; font-size: .8rem; border-radius: 10px; }
    .page-hero p { text-align: center; }
    /* App cards keep the desktop 3-column layout on mobile: icon left,
       title + bonus chips in the middle, Download button on the right. */
    .app-card-row { grid-template-columns: auto 1fr auto; gap: 14px; padding: 16px; }
    .app-card-row-icon img { width: 60px; height: 60px; border-radius: 15px; }
    .app-icon-count { min-width: 27px; height: 27px; font-size: .62rem; top: -6px; left: -7px; padding: 0 6px; }
    .app-card-row-actions { min-width: 118px; }
    .app-card-row-actions .btn { padding: 9px 12px; font-size: .84rem; }
    .app-title { font-size: 1.02rem; }
    .chip { padding: 4px 10px; font-size: .73rem; }
    .screenshot-strip img { height: 260px; }
    .d-none-desktop { display: block; }
    .d-none-mobile { display: none; }
    .hero-inner.has-promo { grid-template-columns: 1fr; gap: 30px; }
    .hero-promo { max-width: 330px; margin: 0 auto; width: 100%; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { padding: 0 15px; }
    .section { padding: 44px 0; }
    .category-grid, .category-grid-lg { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-search { flex-wrap: wrap; }
    .hero-search input[type="search"] { width: 100%; }
    .hero-search .btn { width: 100%; }
    /* Icon floats over the wrapped button when the form stacks - hide it */
    .hero-search-icon { display: none; }
    .hero-search input[type="search"] { padding-left: 14px; }
    .section-hero { padding: 56px 0 64px; }
    /* Hero action buttons: two per line, compact */
    .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
    .hero-actions .btn { padding: 10px 10px; font-size: .8rem; gap: 5px; white-space: normal; line-height: 1.15; }
    /* Hero trust chips: smaller */
    .hero-chips { gap: 6px; margin-top: 18px; }
    .hero-chip { padding: 5px 10px; font-size: .7rem; gap: 5px; }
    .form-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .download-card { padding: 24px 18px; }
    .info-table th { width: 44%; }
    /* Skeleton rows keep the app-list shape on phones */
    .skeleton-row { gap: 14px; padding: 16px; }
    .skeleton-row .sk-icon { width: 60px; height: 60px; border-radius: 15px; }
    .sk-btn { width: 96px; height: 36px; }
    .header-inner { height: 64px; gap: 12px; }
    .main-nav { top: 64px; }
    .brand-text small { display: none; }
    .section-head .btn { width: 100%; justify-content: center; }
    /* Card stays 3-column even on phones; tighten spacing only */
    .app-card-row { gap: 8px; padding: 10px; border-radius: 16px; }
    .app-card-row-icon img { width: 52px; height: 52px; border-radius: 13px; }
    .app-icon-count { min-width: 25px; height: 25px; font-size: .58rem; top: -5px; left: -6px; padding: 0 5px; }
    .app-card-row-actions { min-width: 96px; }
    .app-card-row-actions .btn { padding: 6px 8px; font-size: .7rem; border-radius: 7px; gap: 4px; }
    .app-card-row-actions .btn svg { width: 13px; height: 13px; }
    .app-title { font-size: .98rem; }
    .app-meta { gap: 6px; margin-top: 9px; }
    .chip { padding: 4px 5px; font-size: .6rem; }
    .app-hero .app-meta .chip {
        min-width: 0;
        min-height: 0;
        padding: 0;
        font-size: .78rem;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }
    .app-hero .app-meta .chip-label { min-height: 50px; padding: 7px 3px; }
    /* Single app page: centered meta, tighter cards and byline */
    .card { padding: 20px 20px; }
    .review-box { padding: 15px 15px; }
    .review-box-head { padding: 12px 14px; gap: 12px; }
    .hero-byline { gap: 2px; margin: 0; padding: 6px 6px; font-size: .64rem; }
    /* App page highlights accordion + system requirements tighten on phones */
    .app-acc-item summary { padding: 12px 14px; font-size: .9rem; gap: 10px; }
    .app-acc-a { padding: 0 14px 14px; }
    .app-tab-list li { font-size: .88rem; gap: 8px; }
    .sysreq-table th, .sysreq-table td { padding: 10px 10px; font-size: .88rem; }
    /* Breathing room above and below the byline band on phones */
    .byline-band { padding-top: 12px; padding-bottom: 14px; }
    /* Search panel: input may shrink below its intrinsic width so the
       Search button stays fully inside the screen (no overflow/overlay) */
    .search-form input[type="search"] { min-width: 0; flex: 1 1 auto; padding: 12px 14px 12px 42px; }
    .search-form .btn { flex-shrink: 0; padding: 12px 14px; font-size: .85rem; }
    .footer-trust { justify-content: flex-start; }
}

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

/* Print safety */
@media print {
    .site-header, .site-footer, .back-to-top, .ad-container, .share-buttons { display: none !important; }
}

/* Blog post cover image */
.post-cover { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--c-border); box-shadow: var(--sh-sm); }
