/* ═══════════════════════════════════
   ADSENSE AD UNITS
═══════════════════════════════════ */

/* Label above every ad unit */
.ad-unit {
    position: relative;
}

.ad-unit::before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    color: var(--tx3);
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4px;
    opacity: .5;
}

/* AD 1 — Top Leaderboard (below nav, above hero) */
/* Highest CTR placement on the whole page */
.ad-leaderboard {
    margin: 16px 0;
    text-align: center;
    min-height: 90px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 8px;
    overflow: hidden;
}

.ad-leaderboard ins {
    display: block !important;
    width: 100%;
}

/* AD 2 — In-feed / native (between app card and inbox) */
/* Blends with content, very high viewability */
.ad-infeed {
    margin: 10px 0;
    text-align: center;
    min-height: 280px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 8px;
    overflow: hidden;
}

.ad-infeed ins {
    display: block !important;
}

/* AD 3 — Sticky sidebar (desktop only, 300×600 half-page) */
/* Best RPM of all placements */
.ad-sidebar-sticky {
    position: sticky;
    top: 72px;
    text-align: center;
    min-height: 600px;
    width: 316px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 8px;
    overflow: hidden;
}

.ad-sidebar-sticky ins {
    display: block !important;
}

/* AD 4 — Mid-content horizontal (between sections) */
/* Catches users scrolling through content */
.ad-midcontent {
    margin: 32px 0;
    text-align: center;
    min-height: 90px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 8px;
    overflow: hidden;
}

.ad-midcontent ins {
    display: block !important;
}

/* AD 5 — In-article (inside FAQ section) */
/* Targets engaged readers, premium CPM */
.ad-inarticle {
    margin: 20px 0;
    text-align: center;
    min-height: 250px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 8px;
    overflow: hidden;
}

.ad-inarticle ins {
    display: block !important;
}

/* AD 6 — Pre-footer multiplex (related content style) */
/* Low intrusion, catches exit intent, fills space nicely */
.ad-multiplex {
    margin: 32px 0 16px;
    text-align: center;
    min-height: 200px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 8px;
    overflow: hidden;
}

.ad-multiplex ins {
    display: block !important;
}

/* ═══════════════════════════════════
   TOKENS
═══════════════════════════════════ */
:root {
    --bg0: #070810;
    --bg1: #0e0f1c;
    --bg2: #161728;
    --bg3: #1e2035;
    --line: rgba(255, 255, 255, 0.06);
    --line2: rgba(255, 255, 255, 0.11);
    --tx: #eeeef8;
    --tx2: #8888aa;
    --tx3: #55556a;
    --cyan: #38e8cc;
    --blue: #4a8fff;
    --violet: #9b72ff;
    --red: #ff5a72;
    --yellow: #ffc94d;
    --cyan-glow: rgba(56, 232, 204, 0.15);
    --blue-glow: rgba(74, 143, 255, 0.15);
    --r: 8px;
    --r2: 14px;
    --sh: 0 8px 32px rgba(0, 0, 0, 0.5);
    --fh: 'Bricolage Grotesque', sans-serif;
    --fm: 'Inconsolata', monospace;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

[data-theme="light"] {
    --bg0: #f0f0f8;
    --bg1: #ffffff;
    --bg2: #f5f5fc;
    --bg3: #eaeaf5;
    --line: rgba(0, 0, 0, 0.07);
    --line2: rgba(0, 0, 0, 0.13);
    --tx: #0d0e1f;
    --tx2: #666688;
    --tx3: #9999bb;
    --cyan-glow: rgba(56, 232, 204, 0.08);
    --blue-glow: rgba(74, 143, 255, 0.08);
    --sh: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════
   BASE
═══════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fm);
    background: var(--bg0);
    color: var(--tx);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* Background grid */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient glow */
.amb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    opacity: .5;
}

.amb1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(74, 143, 255, 0.2), transparent 70%);
}

.amb2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    right: -80px;
    background: radial-gradient(circle, rgba(56, 232, 204, 0.12), transparent 70%);
}

/* ═══════════════════════════════════
   NAV
═══════════════════════════════════ */
nav {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 8, 16, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: background var(--transition);
}

[data-theme="light"] nav {
    background: rgba(240, 240, 248, 0.88);
}

.nav-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-family: var(--fh);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 0 18px var(--blue-glow);
}

.logo-text em {
    font-style: normal;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--tx2);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    background: var(--bg2);
    color: var(--tx);
}

.nav-links a.active {
    color: var(--cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-btn {
    width: 34px;
    height: 34px;
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 15px;
    transition: all var(--transition);
    color: var(--tx2);
}

.nav-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

/* ── Language selector ── */
.lang-wrap {
    position: relative;
}

.lang-trigger {
    height: 34px;
    padding: 0 10px;
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: var(--fm);
    font-size: 12px;
    color: var(--tx2);
    transition: all var(--transition);
    white-space: nowrap;
    user-select: none;
}

.lang-trigger:hover {
    border-color: var(--cyan);
    color: var(--tx);
}

.lang-trigger.open {
    border-color: var(--cyan);
    color: var(--tx);
    box-shadow: 0 0 12px var(--cyan-glow);
}

.lang-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    background: var(--bg3);
}

.lang-code {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

.lang-chevron {
    font-size: 8px;
    opacity: .5;
    transition: transform var(--transition);
}

.lang-trigger.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg1);
    border: 1px solid var(--line2);
    border-radius: 12px;
    padding: 6px;
    width: 220px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 143, 255, 0.08);
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 500;
    animation: dropIn .18s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.lang-dropdown.open {
    display: flex;
}

.lang-search-wrap {
    padding: 4px 2px 6px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
}

.lang-search {
    width: 100%;
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 7px;
    padding: 7px 10px;
    font-family: var(--fm);
    font-size: 12px;
    color: var(--tx);
    outline: none;
    transition: border var(--transition);
}

.lang-search:focus {
    border-color: var(--blue);
}

.lang-search::placeholder {
    color: var(--tx3);
}

.lang-list {
    overflow-y: auto;
    max-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.lang-list::-webkit-scrollbar {
    width: 3px;
}

.lang-list::-webkit-scrollbar-thumb {
    background: var(--bg3);
    border-radius: 3px;
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--transition);
    border: 1px solid transparent;
}

.lang-opt:hover {
    background: var(--bg2);
}

.lang-opt.active {
    background: var(--bg2);
    border-color: rgba(56, 232, 204, 0.2);
}

.lang-opt-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg3);
    display: grid;
    place-items: center;
    font-size: 14px;
}

.lang-opt-names {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.lang-opt-native {
    font-size: 13px;
    color: var(--tx);
    font-weight: 500;
    line-height: 1.2;
}

.lang-opt-en {
    font-size: 10px;
    color: var(--tx3);
    line-height: 1.2;
}

.lang-opt-check {
    font-size: 12px;
    color: var(--cyan);
    opacity: 0;
}

.lang-opt.active .lang-opt-check {
    opacity: 1;
}

.lang-opt-rtl {
    font-size: 9px;
    color: var(--tx3);
    background: var(--bg3);
    border-radius: 4px;
    padding: 1px 5px;
    flex-shrink: 0;
}

/* Mobile menu */
.hamburger {
    display: none;
    width: 34px;
    height: 34px;
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 8px;
    place-items: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--tx2);
}

@media(max-width:640px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg1);
        border-bottom: 1px solid var(--line);
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        z-index: 300;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 14px;
    }

    .hamburger {
        display: grid;
    }
}

/* ═══════════════════════════════════
   PAGE CONTENT
═══════════════════════════════════ */
.page {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════
   TOP AD
═══════════════════════════════════ */
.ad-strip {
    margin: 16px 0;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--tx3);
    position: relative;
    overflow: hidden;
    letter-spacing: .08em;
}

.ad-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, 0.012) 12px, rgba(255, 255, 255, 0.012) 24px);
}

.ad-tag {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 9px;
    color: var(--tx3);
    opacity: .5;
    letter-spacing: .1em;
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
    padding: 36px 0 24px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg2);
    border: 1px solid rgba(56, 232, 204, 0.2);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 18px;
    animation: fadeDown .5s ease both;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: blink 1.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px var(--cyan)
    }

    50% {
        opacity: .3;
        box-shadow: none
    }
}

.hero h1 {
    font-family: var(--fh);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 12px;
    animation: fadeDown .5s .08s ease both;
}

.hero h1 .grad {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .grad2 {
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--tx2);
    max-width: 540px;
    margin: 0 auto 28px;
    animation: fadeDown .5s .15s ease both;
    line-height: 1.7;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ═══════════════════════════════════
   MAIN APP CARD
═══════════════════════════════════ */
.app-card {
    background: var(--bg1);
    border: 1px solid var(--line2);
    border-radius: var(--r2);
    overflow: hidden;
    box-shadow: var(--sh), 0 0 0 1px rgba(74, 143, 255, 0.06);
    animation: fadeUp .5s .2s ease both;
    margin-bottom: 16px;
}

.app-header {
    padding: 18px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

.app-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label {
    font-family: var(--fh);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(56, 232, 204, 0.1);
    border: 1px solid rgba(56, 232, 204, 0.2);
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 10px;
    color: var(--cyan);
}

.app-body {
    padding: 20px;
}

/* Email field */
.email-field {
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: var(--r2);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    transition: border var(--transition), box-shadow var(--transition);
}

.email-field:hover {
    border-color: rgba(74, 143, 255, 0.3);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.email-field::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.ef-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.ef-addr {
    font-family: var(--fm);
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    letter-spacing: .3px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--tx);
    word-break: break-all;
}

.ef-domain {
    color: var(--tx2);
}

.copy-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--fm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--blue-glow);
}

.copy-btn:active {
    transform: none;
}

/* Domain row */
.config-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--tx2);
}

.sel {
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 6px;
    color: var(--tx);
    font-family: var(--fm);
    font-size: 12px;
    padding: 6px 10px;
    cursor: pointer;
    outline: none;
    transition: border var(--transition);
}

.sel:focus {
    border-color: var(--blue);
}

.prefix-input {
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 6px;
    color: var(--tx);
    font-family: var(--fm);
    font-size: 12px;
    padding: 6px 10px;
    outline: none;
    width: 110px;
    transition: border var(--transition);
}

.prefix-input:focus {
    border-color: var(--blue);
}

.prefix-input::placeholder {
    color: var(--tx3);
}

/* Action buttons */
.action-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.act {
    flex: 1;
    min-width: 75px;
    padding: 9px 10px;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--tx2);
    font-family: var(--fm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.act:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-glow);
}

.act.act-del:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(255, 90, 114, 0.08);
}

/* Timer */
.timer-val {
    color: var(--cyan);
    font-weight: 600;
    font-family: var(--fm);
}

.pbar {
    flex: 1;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    margin: 0 12px;
    overflow: hidden;
}

.pfill {
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    border-radius: 2px;
    transition: width 1s linear;
}

/* Layout fixes for timer bar */
.timer-bar {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--tx3);
}

/* ═══════════════════════════════════
   LAYOUT (main + side ad)
═══════════════════════════════════ */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media(min-width:780px) {
    .main-grid {
        grid-template-columns: 1fr 320px;
    }

    .side-ad {
        position: sticky;
        top: 72px;
    }
}

.ad-side-box {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tx3);
    font-size: 11px;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.ad-side-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.01) 10px, rgba(255, 255, 255, 0.01) 20px);
}

/* ═══════════════════════════════════
   INBOX
═══════════════════════════════════ */
.inbox-card {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    overflow: hidden;
    animation: fadeUp .5s .25s ease both;
}

.inbox-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inbox-title {
    font-family: var(--fh);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 10px;
    font-family: var(--fm);
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 20px;
}

.ref-btn {
    padding: 6px 12px;
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 7px;
    color: var(--tx2);
    font-family: var(--fm);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ref-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* Inbox table */
.inbox-table {
    width: 100%;
    border-collapse: collapse;
}

.inbox-table thead tr {
    border-bottom: 1px solid var(--line);
}

.inbox-table th {
    padding: 8px 16px;
    text-align: left;
    font-size: 10px;
    color: var(--tx3);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
}

.inbox-table tbody tr {
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: background var(--transition);
}

.inbox-table tbody tr:hover {
    background: var(--bg2);
}

.inbox-table tbody tr.unread td:nth-child(2) {
    color: var(--tx);
}

.inbox-table tbody tr.unread {
    border-left: 2px solid var(--blue);
}

.inbox-table td {
    padding: 12px 16px;
    font-size: 12px;
    color: var(--tx2);
}

.td-from {
    font-weight: 500;
    white-space: nowrap;
}

.td-subject {
    display: flex;
    align-items: center;
    gap: 7px;
}

.new-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

.td-time {
    white-space: nowrap;
    color: var(--tx3);
    font-size: 11px;
}

.empty-state {
    padding: 48px 20px;
    text-align: center;
    color: var(--tx2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-icon {
    font-size: 32px;
    opacity: .3;
    margin-bottom: 10px;
}

.empty-state h3 {
    font-family: var(--fh);
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--tx2);
}

.empty-state p {
    font-size: 12px;
    color: var(--tx3);
}

/* Mail detail */
.mail-detail {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    overflow: hidden;
    margin-bottom: 10px;
    animation: fadeUp .3s ease both;
}

.md-head {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.md-subject {
    font-family: var(--fh);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.md-meta {
    font-size: 11px;
    color: var(--tx3);
}

.md-close {
    width: 28px;
    height: 28px;
    background: var(--bg2);
    border: 1px solid var(--line2);
    border-radius: 6px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--tx2);
    flex-shrink: 0;
    transition: all var(--transition);
}

.md-close:hover {
    border-color: var(--red);
    color: var(--red);
}

.md-body {
    padding: 20px;
    font-size: 13px;
    line-height: 1.85;
    min-height: 100px;
}

.md-body a {
    color: var(--blue);
}

/* ═══════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════ */
.section {
    margin: 40px 0;
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sec-title {
    font-family: var(--fh);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.sec-sub {
    font-size: 16px;
    color: var(--tx2);
    max-width: 520px;
    line-height: 1.7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.step-card {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 20px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0;
    transition: opacity var(--transition);
}

.step-card:hover {
    border-color: var(--line2);
    transform: translateY(-2px);
    box-shadow: var(--sh);
}

.step-card:hover::before {
    opacity: 1;
}

.step-num {
    font-family: var(--fh);
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.step-title {
    font-family: var(--fh);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 14px;
    color: var(--tx2);
    line-height: 1.7;
}

/* Problems grid */
.prob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.prob-card {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 18px;
    transition: all var(--transition);
}

.prob-card:hover {
    border-color: var(--line2);
    transform: translateY(-1px);
}

.prob-q {
    font-size: 12px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prob-a {
    font-size: 15px;
    color: var(--tx2);
    line-height: 1.7;
}

.prob-a strong {
    color: var(--cyan);
    font-weight: 500;
}

/* Features */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.feat-card {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 16px;
    transition: all var(--transition);
}

.feat-card:hover {
    border-color: rgba(74, 143, 255, 0.25);
    background: var(--bg2);
}

.feat-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.feat-title {
    font-family: var(--fh);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feat-desc {
    font-size: 13px;
    color: var(--tx2);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    overflow: hidden;
}

.faq-q {
    padding: 18px 20px;
    font-family: var(--fh);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background var(--transition);
    user-select: none;
    line-height: 1.4;
}

.faq-q:hover {
    background: var(--bg2);
}

.faq-arrow {
    font-size: 12px;
    color: var(--tx2);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    padding: 0 20px;
    font-size: 15px;
    color: var(--tx2);
    line-height: 1.8;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 20px 20px;
}

.faq-a strong {
    color: var(--tx);
    font-weight: 600;
}

.faq-a a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.srv-card {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 18px;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.srv-card:hover {
    border-color: rgba(74, 143, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--sh);
}

.srv-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.srv-title {
    font-family: var(--fh);
    font-size: 15px;
    font-weight: 700;
}

.srv-time {
    font-size: 13px;
    color: var(--cyan);
}

.srv-desc {
    font-size: 13px;
    color: var(--tx2);
}

/* Quick tips */
.tips-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.tip {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px 16px;
    font-size: 14px;
    color: var(--tx2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition);
}

.tip:hover {
    border-color: var(--line2);
    color: var(--tx);
}

.tip-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Stats strip */
.stats-strip {
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-n {
    font-family: var(--fh);
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-l {
    font-size: 11px;
    color: var(--tx3);
    margin-top: 2px;
}

/* Footer adjustments (moved from styles.css if needed, but they are here for now) */
footer {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    padding: 32px 0 24px;
}

.foot-grid {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 32px;
    margin-bottom: 28px;
}

.foot-brand p {
    font-size: 14px;
    color: var(--tx2);
    margin-top: 8px;
    line-height: 1.75;
}

.foot-url {
    font-size: 13px;
    color: var(--tx3);
    margin-top: 6px;
}

.foot-col-title {
    font-family: var(--fh);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--tx);
}

.foot-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foot-links a {
    font-size: 14px;
    color: var(--tx2);
    transition: color var(--transition);
}

.foot-links a:hover {
    color: var(--cyan);
}

.foot-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    font-size: 14px;
    color: var(--tx2);
    display: flex;
    align-items: center;
    gap: 7px;
}

.stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.sd-green {
    background: var(--cyan);
}

.sd-blue {
    background: var(--blue);
}

.foot-bottom {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--tx3);
}

.foot-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
}

/* ═══════════════════════════════════
   TOAST
═══════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(70px);
    background: var(--cyan);
    color: #0a0a10;
    padding: 9px 20px;
    border-radius: 24px;
    font-family: var(--fm);
    font-size: 12px;
    font-weight: 600;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 999;
    white-space: nowrap;
    box-shadow: 0 4px 20px var(--cyan-glow);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════
   UTILITY
═══════════════════════════════════ */
.divider {
    height: 1px;
    background: var(--line);
    margin: 8px 0;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bg3);
    border-radius: 4px;
}

.hidden {
    display: none !important;
}

@media(max-width:520px) {
    .hero {
        padding: 24px 0 16px;
    }

    .ef-addr {
        font-size: 13px;
    }

    .copy-btn span {
        display: none;
    }

    .action-row {
        gap: 5px;
    }
}

/* ═══════════════════════════════════
   MODAL (Glassmorphism)
   ═══════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(10, 10, 16, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    width: 100%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

.card-glass {
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-header h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    background: var(--grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-close {
    background: var(--bg3);
    border: none;
    color: var(--tx1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
    line-height: 1;
}

.btn-close:hover {
    background: var(--red);
    color: white;
    transform: rotate(90deg);
}

.qr-container {
    background: white;
    padding: 16px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-container img {
    display: block;
    max-width: 100%;
}

.modal-desc {
    color: var(--tx3);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════
   LEGAL PAGES & ABOUT
   ═══════════════════════════════════ */
.legal-section {
    max-width: 1150px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg1);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--sh);
}

.legal-section section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-family: var(--fh);
    color: var(--tx);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section p {
    color: var(--tx2);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.privacy-list,
.terms-list,
.disclaimer-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.privacy-list li,
.terms-list li,
.disclaimer-list li {
    background: var(--bg2);
    border: 1px solid var(--line);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--tx2);
    line-height: 1.6;
    transition: all var(--transition);
}

.privacy-list li:hover,
.terms-list li:hover,
.disclaimer-list li:hover {
    border-color: var(--line2);
    background: var(--bg3);
    color: var(--tx);
}

/* removed markers */

/* Feature Grid Simple (About Page) */
.feature-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature-item-simple {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: all var(--transition);
}

.feature-item-simple:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    background: var(--bg3);
}

.feature-item-simple i {
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--cyan);
}

.lead-text {
    font-size: 18px;
    color: var(--tx);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 24px;
        margin: 20px 10px;
        border-radius: 18px;
    }

    .feature-grid-simple {
        grid-template-columns: 1fr;
    }
}