/* =====================================================================
   INKABIT — main stylesheet
   ===================================================================== */

:root {
    --bg-0: #0b0e14;
    --bg-1: #0f1117;
    --bg-2: #141922;
    --bg-3: #1a202c;
    --surface-2: #1f2633;
    --fg: #e8ecf4;
    --fg-dim: #9aa3b5;
    --fg-mute: #6b7489;

    --gold: #f5c674;
    --gold-deep: #d1a35b;
    --blue: #4a8fd4;
    --blue-deep: #2d6aad;
    --purple: #7b6bff;
    --purple-deep: #5a49cf;
    --emerald: #00d084;
    --cyan: #1dd1ff;
    --mint: #42f5c8;

    --grad-primary: linear-gradient(135deg, #00d084 0%, #1dd1ff 55%, #42f5c8 100%);
    --grad-soft: linear-gradient(135deg, rgba(0,208,132,0.14) 0%, rgba(29,209,255,0.10) 50%, rgba(66,245,200,0.08) 100%);
    --grad-border: linear-gradient(135deg, rgba(0,208,132,0.45), rgba(29,209,255,0.35), rgba(66,245,200,0.4));

    --glass: rgba(255, 255, 255, 0.035);
    --glass-strong: rgba(255, 255, 255, 0.06);
    --glass-brd: rgba(255, 255, 255, 0.08);
    --glass-brd-strong: rgba(255, 255, 255, 0.14);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.55);

    --header-h: 72px;
    --container-max: 1200px;

    --ease: cubic-bezier(0.22, 0.7, 0.36, 1);
    --success: #00d084;
    --danger: #ff6b7a;
    --warning: #ffc564;
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
    --orb-opacity: 0.12;
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg-0);
    background-image:
        radial-gradient(1200px 700px at 85% -10%, rgba(0,208,132,0.08), transparent 65%),
        radial-gradient(900px 600px at -10% 15%, rgba(29,209,255,0.06), transparent 60%),
        radial-gradient(800px 500px at 50% 110%, rgba(66,245,200,0.04), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
}

.global-orb-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    width: clamp(260px, 28vw, 460px);
    height: clamp(260px, 28vw, 460px);
    border-radius: 999px;
    filter: blur(90px);
    opacity: var(--orb-opacity);
    will-change: transform;
    animation: orbFloat 34s ease-in-out infinite alternate;
}

.orb-1 {
    top: 7%;
    left: -140px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.42), transparent 67%);
}
.orb-2 {
    top: 32%;
    right: -160px;
    background: radial-gradient(circle, rgba(29, 209, 255, 0.32), transparent 68%);
    animation-duration: 42s;
}
.orb-3 {
    top: 61%;
    left: 8%;
    background: radial-gradient(circle, rgba(66, 245, 200, 0.28), transparent 66%);
    animation-duration: 38s;
}
.orb-4 {
    bottom: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(29, 209, 255, 0.24), transparent 66%);
    animation-duration: 46s;
}
.orb-5 {
    bottom: -170px;
    left: 35%;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.22), transparent 68%);
    animation-duration: 40s;
}

@keyframes orbFloat {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(10px, -10px, 0) scale(1.03); }
    100% { transform: translate3d(-8px, 12px, 0) scale(0.98); }
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    line-height: 1.2;
    margin: 0 0 0.6em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.muted { color: var(--fg-dim); }
.small { font-size: 0.85rem; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--blue);
    color: #000;
    padding: 8px 14px;
    z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ---------- Site header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid var(--glass-brd);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(7, 8, 13, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: background 0.25s var(--ease), backdrop-filter 0.25s var(--ease), -webkit-backdrop-filter 0.25s var(--ease);
}

.site-header.is-scrolled .site-header__bg {
    background: rgba(7, 8, 13, 0.88);
}

.site-header.is-scrolled {
    border-bottom-color: var(--glass-brd-strong);
}

.site-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: var(--fg);
}
.brand--wordmark {
    gap: 0;
    font-size: 0;
    line-height: 0;
}
.brand:hover { color: var(--fg); }
.brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 34px;
    max-width: min(220px, 46vw);
}
.site-header .brand__logo {
    height: 35px;
    max-width: min(188px, 42vw);
}
.brand__logo-img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}
.brand--footer .brand__logo {
    height: 30px;
    max-width: min(200px, 70vw);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}
.primary-nav__inner {
    display: contents;
}
.primary-nav__head { display: none; }
.primary-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.primary-nav a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--fg-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
    position: relative;
}
.primary-nav a:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.primary-nav a.is-active {
    color: var(--fg);
    background: rgba(255,255,255,0.05);
}
.primary-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--glass-brd);
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg);
    cursor: pointer;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-search svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-search:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-brd-strong);
}

.nav-close {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--glass-brd);
    background: rgba(255,255,255,0.04);
    color: var(--fg);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.nav-close:hover { background: rgba(255,255,255,0.08); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 7, 0.55);
    backdrop-filter: blur(4px);
    z-index: 80;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}
.nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open { overflow: hidden; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-brd);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
.lang-switch a {
    color: var(--fg-dim);
    padding: 4px 10px;
    border-radius: 999px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
    letter-spacing: 0.06em;
}
.lang-switch a.is-active {
    color: #0b0d14;
    background: var(--grad-primary);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--glass-brd);
    background: var(--glass);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }

    .primary-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        background: rgba(7, 8, 13, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 120;
        padding: 0;
        gap: 0;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
        overflow: hidden;
        display: block;
    }
    .primary-nav.is-open {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
    .primary-nav__inner {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-y: auto;
        padding: 20px 20px max(28px, env(safe-area-inset-bottom)) 20px;
        gap: 12px;
    }
    .primary-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--header-h);
        padding: 4px 0 12px;
        border-bottom: 1px solid var(--glass-brd);
        margin-bottom: 12px;
    }
    .brand--nav { font-size: 1.05rem; }
    .nav-close { display: inline-flex; }

    .primary-nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        margin-top: 8px;
    }
    .primary-nav ul li a {
        display: flex;
        font-size: 1.15rem;
        padding: 16px 18px;
        border-radius: 14px;
        width: 100%;
    }
    .primary-nav a.is-active::after { display: none; }
    .primary-nav a.is-active {
        background: rgba(160, 107, 255, 0.12);
        border: 1px solid rgba(160, 107, 255, 0.3);
    }

    .nav-actions {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--glass-brd);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .nav-actions .nav-search { align-self: center; }
    .nav-actions .lang-switch { align-self: center; }
    .nav-actions .btn { width: 100%; justify-content: center; }
}

/* Desktop: nav backdrop and close button stay hidden even outside the media query. */
@media (min-width: 961px) {
    .nav-backdrop { display: none !important; }
    .primary-nav__head { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
    white-space: nowrap;
}
.btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--lg { padding: 18px 30px; font-size: 1.02rem; }

.btn--primary {
    background: var(--grad-primary);
    color: #0b0d14;
    box-shadow: 0 12px 32px rgba(160, 107, 255, 0.25);
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(160, 107, 255, 0.35);
    color: #0b0d14;
}

/* Small primary buttons (newsletter, inline CTAs) need stronger contrast on the
 * brand gradient — pure black text stays readable at small sizes. */
.btn--primary.btn--sm,
.btn--primary.btn--sm:hover,
.btn--primary.btn--sm:focus,
.btn--primary.btn--sm:active {
    color: #000;
    font-weight: 700;
    background:
        linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)),
        var(--grad-primary);
    -webkit-text-fill-color: #000;
    text-shadow: none;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--glass-brd-strong);
    color: var(--fg);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--fg);
}

.btn--gold {
    background: linear-gradient(135deg, #f5c674, #d1a35b);
    color: #1a1205;
}
.btn--instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}
.btn--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
}
.btn--disabled, .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.3);
    pointer-events: none;
}
.btn--disabled .btn__badge, .btn[disabled] .btn__badge {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- Sections & cards ---------- */

.section {
    padding: 96px 0;
    position: relative;
}
.section--tight { padding: 64px 0; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.section__title { margin-bottom: 14px; }
.section__lead { color: var(--fg-dim); font-size: 1.05rem; }

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
}
.glass-card:hover {
    border-color: var(--glass-brd-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.glass-card:hover::before { opacity: 0.8; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 960px) {
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
}

/* ---------- Hero / Slider ---------- */

.hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slider {
    position: relative;
    overflow: hidden;
    height: calc(100vh - var(--header-h));
    min-height: 560px;
    background: var(--bg-1);
}

/* Use the newer viewport units where supported for reliable mobile sizing. */
@supports (height: 100dvh) {
    .slider { height: calc(100dvh - var(--header-h)); }
}
@supports (height: 100svh) {
    .slider { min-height: calc(100svh - var(--header-h)); }
}

.slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.8s var(--ease);
    will-change: transform;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide--gradient {
    background:
        radial-gradient(1200px 700px at 80% 10%, rgba(160,107,255,0.35), transparent 60%),
        radial-gradient(900px 600px at -10% 20%, rgba(106,164,255,0.28), transparent 65%),
        radial-gradient(900px 600px at 50% 110%, rgba(245,198,116,0.18), transparent 60%),
        linear-gradient(180deg, #0a0c14 0%, #0d1018 100%);
}

.slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(7,8,13,0.88) 0%, rgba(7,8,13,0.62) 55%, rgba(7,8,13,0.25) 100%),
        linear-gradient(180deg, rgba(7,8,13,0.1) 0%, rgba(7,8,13,0.75) 100%);
    pointer-events: none;
}
.slide--gradient .slide__overlay {
    background: linear-gradient(180deg, rgba(7,8,13,0.15) 0%, rgba(7,8,13,0.55) 100%);
}

.slide__body {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: clamp(96px, 14vh, 160px) 20px clamp(96px, 14vh, 160px);
    width: 100%;
}

.slide__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(245, 198, 116, 0.1);
    border: 1px solid rgba(245, 198, 116, 0.3);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

.slide__title {
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e8ecf4 40%, #f5c674 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 22px;
    max-width: 18ch;
    text-wrap: balance;
}

.slide__sub {
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.55;
    color: #cfd5e4;
    max-width: 620px;
    margin: 0 0 36px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.slide__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.slider__dots {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}
.slider__dot {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.25);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.slider__dot:hover { background: rgba(255,255,255,0.4); }
.slider__dot.is-active {
    background: var(--gold);
    transform: scaleX(1.2);
}

.slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(11, 13, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--fg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    font-size: 1.4rem;
    font-weight: 300;
    backdrop-filter: blur(10px);
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.slider__nav:hover {
    background: rgba(11, 13, 20, 0.85);
    border-color: rgba(245, 198, 116, 0.5);
    transform: translateY(-50%) scale(1.05);
}
.slider__nav--prev { left: 24px; }
.slider__nav--next { right: 24px; }

.slider__scroll {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
    z-index: 3;
    transition: border-color 0.3s var(--ease);
}
.slider__scroll:hover { border-color: var(--gold); }
.slider__scroll span {
    display: block;
    width: 3px;
    height: 8px;
    border-radius: 3px;
    background: rgba(255,255,255,0.8);
    animation: scrollBlink 1.8s ease-in-out infinite;
}
@keyframes scrollBlink {
    0%   { transform: translateY(0); opacity: 1; }
    60%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 960px) {
    .slider__nav { display: none; }
    .slider__scroll { bottom: 58px; }
}
@media (max-width: 720px) {
    .slider { min-height: 100svh; min-height: 100dvh; height: calc(100dvh - var(--header-h)); }
    .slide__body { padding: 100px 20px 120px; }
    .slide__cta .btn { flex: 1 1 auto; min-width: 180px; justify-content: center; }
    .slider__scroll { display: none; }
}

/* ---------- Hero secondary CTAs band ---------- */
.hero-ctas-band {
    padding: 28px 0 0;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
@media (min-width: 961px) {
    /* On desktop the CTAs already live inside the hero slide; hide the secondary band. */
    .hero-ctas-band { display: none; }
}

/* ---------- Stats band ---------- */
.stats {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 60%);
    border-top: 1px solid var(--glass-brd);
    border-bottom: 1px solid var(--glass-brd);
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat { text-align: center; }
.stat__value {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    font-family: "Space Grotesk", sans-serif;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}
.stat__label { color: var(--fg-dim); font-size: 0.9rem; letter-spacing: 0.02em; }

@media (max-width: 720px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ---------- Post card ---------- */
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    color: var(--fg);
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-brd-strong);
    box-shadow: var(--shadow);
    color: var(--fg);
}
.post-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
    overflow: hidden;
}
.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.post-card:hover .post-card__image img { transform: scale(1.06); }
.post-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--grad-soft);
    color: var(--gold);
    letter-spacing: 0.05em;
}
.post-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 13, 20, 0.7);
    border: 1px solid var(--glass-brd-strong);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}
.post-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--fg-mute);
    font-size: 0.82rem;
}
.post-card__title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0;
}
.post-card__excerpt {
    color: var(--fg-dim);
    font-size: 0.95rem;
    margin: 0;
}
.post-card__cta {
    margin-top: auto;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--glass-strong);
    border: 1px solid var(--glass-brd-strong);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0.6;
    pointer-events: none;
}
.newsletter > * { position: relative; z-index: 1; }

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 540px;
    margin: 0 auto;
}
.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    flex: 1 1 200px;
}
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-form--footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
}
.newsletter-form--footer input,
.newsletter-form--footer button { width: 100%; }

.form-status { margin: 0; font-size: 0.85rem; color: var(--fg-dim); }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 14px; margin-bottom: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
input, textarea, select {
    width: 100%;
    background: rgba(7, 9, 15, 0.6);
    border: 1px solid var(--glass-brd-strong);
    border-radius: 12px;
    color: var(--fg);
    padding: 13px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--fg-mute); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(106, 164, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(106, 164, 255, 0.14);
}
textarea { resize: vertical; min-height: 140px; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--glass-brd);
    background: linear-gradient(180deg, rgba(7,8,13,0) 0%, rgba(0,0,0,0.45) 100%);
    margin-top: 80px;
    padding-top: 56px;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}
.site-footer__col h4 {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer__links a { color: var(--fg-dim); }
.site-footer__links a:hover { color: var(--fg); }

.site-footer__social-icons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-brd);
    background: rgba(255, 255, 255, 0.04);
}

.social-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-icon svg path[data-fill],
.social-icon--solid svg {
    fill: currentColor;
    stroke: none;
}

.site-footer__bottom {
    margin-top: 40px;
    padding: 20px 20px 28px;
    border-top: 1px solid var(--glass-brd);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Flash ---------- */
.flash-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100vw - 48px);
}
.flash {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--glass-brd-strong);
    background: rgba(11, 13, 20, 0.95);
    color: var(--fg);
    box-shadow: var(--shadow);
    animation: flashIn 0.3s var(--ease);
}
.flash--success { border-color: rgba(61, 220, 151, 0.4); }
.flash--error { border-color: rgba(255, 107, 122, 0.4); }
@keyframes flashIn { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Article page ---------- */
.article-hero {
    padding: 80px 0 40px;
    position: relative;
}
.article-hero__tag { color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; font-weight: 600; margin-bottom: 12px; }
.article-hero__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 16px; }
.article-hero__meta { display: flex; gap: 12px; color: var(--fg-mute); font-size: 0.9rem; flex-wrap: wrap; }

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px 80px;
    line-height: 1.8;
    font-size: 1.03rem;
    color: var(--fg);
}
.article-body h2, .article-body h3 { margin-top: 1.5em; }
.article-body blockquote {
    margin: 1.4em 0;
    padding: 18px 22px;
    border-left: 3px solid var(--gold);
    background: var(--glass);
    border-radius: 0 12px 12px 0;
    color: var(--fg-dim);
}
.article-body img {
    border-radius: var(--radius);
    margin: 1.5em 0;
}
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(245, 198, 116, 0.4); }

.article-cover {
    max-width: 1060px;
    margin: 0 auto 30px;
    padding: 0 20px;
}
.article-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-brd-strong);
    box-shadow: var(--shadow);
}

/* ---------- Listing page ---------- */
.listing-hero {
    padding: 80px 0 40px;
    text-align: center;
}
.listing-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    border-radius: var(--radius);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.listing-filter form {
    display: flex;
    flex: 1;
    gap: 10px;
    min-width: 260px;
}
.listing-filter input { flex: 1; }

.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    color: var(--fg-dim);
    font-size: 0.9rem;
    font-weight: 600;
}
.pagination a:hover { color: var(--fg); border-color: var(--glass-brd-strong); }
.pagination .is-current {
    background: var(--grad-primary);
    color: #0b0d14;
    border-color: transparent;
}
.pagination .is-disabled { opacity: 0.4; pointer-events: none; }

/* ---------- About page ---------- */
.about-hero {
    padding: 90px 0 40px;
    text-align: center;
}
.about-hero__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: var(--grad-primary);
    padding: 3px;
}
.about-hero__avatar > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-1) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
}

.about-sections {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}
.about-section { padding: 32px; }
.about-section h2 { font-size: 1.4rem; margin-bottom: 12px; }

/* ---------- Premium (Abonohu) ---------- */
.premium-hero {
    padding: 90px 0 30px;
    text-align: center;
}
.premium-hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
}
.premium-price {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 36px;
    border-radius: 18px;
    background: var(--glass);
    border: 1px solid var(--glass-brd-strong);
    margin: 20px 0 32px;
}
.premium-price__label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-dim);
}
.premium-price__value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 2px;
}

.premium-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 20px;
}

.premium-section { padding: 36px; }
.premium-sections { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
.premium-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.premium-grid .premium-section { padding: 28px; }
@media (max-width: 820px) {
    .premium-grid { grid-template-columns: 1fr; }
}

.disclaimer-box {
    max-width: 900px;
    margin: 36px auto 0;
    padding: 22px 26px;
    border: 1px solid rgba(245, 198, 116, 0.25);
    background: rgba(245, 198, 116, 0.05);
    border-radius: var(--radius);
    color: var(--fg-dim);
    font-size: 0.92rem;
}

/* ---------- About short section (home) ---------- */
.about-short {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    overflow: hidden;
    position: relative;
}
.about-short::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0.5;
    pointer-events: none;
}
.about-short > * { position: relative; z-index: 1; }
.about-short__avatar {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1/1;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--grad-primary);
    padding: 4px;
}
.about-short__avatar > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-1) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
}
@media (max-width: 820px) {
    .about-short { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
    .about-short__avatar { max-width: 200px; }
}

/* ---------- Premium CTA band (home) ---------- */
.cta-band {
    background: var(--grad-primary);
    color: #0b0d14;
    padding: 56px 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-lg);
}
.cta-band__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #0b0d14;
    margin-bottom: 6px;
}
.cta-band__sub { color: #1f1e2e; margin: 0; max-width: 560px; }
.cta-band .btn--ghost {
    background: #0b0d14;
    color: #f5c674;
    border-color: #0b0d14;
}
.cta-band .btn--ghost:hover { background: #191f2e; color: #fff; }
@media (max-width: 820px) {
    .cta-band { flex-direction: column; text-align: center; padding: 40px 24px; }
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.contact-channel {
    display: flex;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--glass-brd);
    background: var(--glass);
    border-radius: var(--radius);
    align-items: center;
    margin-bottom: 14px;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
    color: var(--fg);
}
.contact-channel:hover { border-color: var(--glass-brd-strong); transform: translateY(-2px); color: var(--fg); }
.contact-channel__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--grad-soft);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: var(--gold);
    font-family: "Space Grotesk", sans-serif;
    flex: none;
}
.contact-channel__title { font-weight: 600; }
.contact-channel__desc { color: var(--fg-dim); font-size: 0.9rem; }

@media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Empty state ---------- */
.empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--fg-dim);
    background: var(--glass);
    border: 1px dashed var(--glass-brd-strong);
    border-radius: var(--radius);
}

/* ---------- Error page ---------- */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.error-page h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

/* ========================================================================
   INKABIT 2026 Light Premium Redesign (client-facing overrides)
   ======================================================================== */

:root {
    --bg: #fbf8f1;
    --surface: #ffffff;
    --surface-alt: #f7f3ea;
    --text: #1f2432;
    --muted: #626b7f;
    --primary: #2d3954;
    --accent: #7d77f2;
    --gold: #d9b36a;
    --blue-soft: #8fafe8;
    --border: #e8e3d7;
    --shadow: 0 12px 38px rgba(35, 34, 58, 0.08);
    --shadow-soft: 0 10px 24px rgba(35, 34, 58, 0.05);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body { overflow-x: clip; }
body {
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 6% -5%, rgba(217, 179, 106, 0.15), transparent 55%),
        radial-gradient(1000px 600px at 92% 0%, rgba(125, 119, 242, 0.12), transparent 60%),
        linear-gradient(180deg, #fffdf8 0%, var(--bg) 45%, #f8f4ea 100%);
}
body::before { display: none; }

a { color: var(--primary); }
a:hover { color: var(--accent); }
.muted { color: var(--muted); }

.container {
    width: min(1180px, 100% - 2.2rem);
}

.section { padding: clamp(58px, 8vw, 92px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section__eyebrow {
    color: var(--accent);
    background: #f3efff;
    border: 1px solid #e7e1ff;
    letter-spacing: 0.1em;
}
.section__title,
.section h2 {
    color: var(--text);
    letter-spacing: -0.02em;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}
.section__lead { color: var(--muted); }

/* ---------- Header / nav ---------- */
.site-header {
    background: transparent;
    border-bottom: 1px solid rgba(232, 227, 215, 0.8);
}
.site-header__bg {
    background: rgba(255, 253, 248, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 28px rgba(39, 44, 58, 0.08);
}
.site-header.is-scrolled .site-header__bg {
    background: rgba(255, 252, 246, 0.95);
}
.brand { color: var(--text); }
.primary-nav a {
    color: #4a5164;
    border-radius: 999px;
    padding: 9px 14px;
}
.primary-nav a:hover {
    color: var(--primary);
    background: #f4f0e8;
}
.primary-nav a.is-active {
    color: var(--primary);
    background: #f3efe4;
}
.primary-nav a.is-active::after { display: none; }
.lang-switch {
    background: #fff;
    border: 1px solid var(--border);
}
.lang-switch a { color: #666f84; }
.lang-switch a.is-active {
    background: linear-gradient(120deg, #f8e6be, #dce9ff);
    color: #1f2532;
}
.nav-toggle {
    border-color: var(--border);
    background: #fff;
}
.nav-toggle span { background: #353a4b; }

.nav-backdrop {
    background: rgba(27, 30, 42, 0.22);
    backdrop-filter: blur(2px);
}
body.nav-open { overflow: hidden; }

@media (max-width: 960px) {
    .primary-nav {
        background: rgba(255, 251, 244, 0.97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .primary-nav__head { border-bottom-color: var(--border); }
    .nav-close {
        border-color: var(--border);
        background: #fff;
        color: var(--text);
    }
    .primary-nav ul li a {
        color: #3f4759;
        background: #fff;
        border: 1px solid #eee8da;
    }
    .primary-nav a.is-active {
        background: #f4efe4;
        border-color: #e8d8b5;
    }
    .nav-actions {
        border-top-color: var(--border);
    }
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

.btn--primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #3f4e71 0%, #2d3954 100%);
    box-shadow: 0 10px 24px rgba(45, 57, 84, 0.24);
}
.btn--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #4b5c82 0%, #303f60 100%);
    box-shadow: 0 14px 26px rgba(45, 57, 84, 0.28);
    transform: translateY(-2px);
}
.btn--primary.btn--sm,
.btn--primary.btn--sm:hover,
.btn--primary.btn--sm:focus,
.btn--primary.btn--sm:active {
    color: #fff;
}

.btn--ghost {
    color: var(--primary);
    background: #fff;
    border-color: #ddd5c6;
}
.btn--ghost:hover {
    color: var(--primary);
    background: #f7f2e8;
    border-color: #d8cdb8;
}

.btn--gold {
    color: #2b2416;
    background: linear-gradient(135deg, #f6e2b7 0%, #e4bf7d 100%);
    border-color: #e1bb77;
}
.btn--gold:hover { color: #241f14; background: linear-gradient(135deg, #f8e7c3 0%, #dfb56f 100%); }

.btn--instagram,
.btn--whatsapp {
    box-shadow: var(--shadow-soft);
}

/* ---------- Cards / surfaces ---------- */
.glass-card,
.post-card,
.newsletter,
.stat,
.listing-filter,
.contact-channel,
.disclaimer-box,
.empty,
.article-body,
.article-cover img,
.premium-price {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.grid { gap: clamp(16px, 2.6vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--3 { grid-template-columns: 1fr; } }

/* ---------- Home hero ---------- */
.hero { padding-top: 0; }
.slider {
    height: min(88vh, 860px);
    min-height: 620px;
    border-bottom: 1px solid var(--border);
    background: transparent;
}
.slide {
    background-color: #fefbf4;
}
.slide--gradient {
    background:
        radial-gradient(700px 400px at 20% 15%, rgba(217, 179, 106, 0.2), transparent 65%),
        radial-gradient(650px 420px at 80% 20%, rgba(125, 119, 242, 0.16), transparent 65%),
        radial-gradient(700px 470px at 65% 80%, rgba(143, 175, 232, 0.19), transparent 60%),
        linear-gradient(180deg, #fffdfa 0%, #faf5ec 100%);
}
.slide__overlay {
    background: linear-gradient(100deg, rgba(255, 251, 241, 0.96) 0%, rgba(255, 251, 241, 0.74) 48%, rgba(255, 251, 241, 0.2) 100%);
}
.slide__body {
    max-width: 760px;
    padding: clamp(110px, 14vh, 160px) 20px 120px;
}
.slide__eyebrow {
    background: #f7f0e2;
    border-color: #ead7b2;
    color: #8b6f33;
}
.slide__title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.2rem, 5.7vw, 4.8rem);
    line-height: 1.02;
    margin-bottom: 18px;
    color: #23293a;
    background: none;
    -webkit-text-fill-color: initial;
}
.slide__sub {
    color: #5e6780;
    max-width: 650px;
    font-size: clamp(1.02rem, 1.4vw, 1.24rem);
}
.slide__cta {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px;
    margin: 0 0 18px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e6decd;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 8px 12px;
    color: #49526a;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(42, 46, 65, 0.06);
}
.slider__nav {
    background: #fff;
    color: #394156;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}
.slider__nav:hover {
    background: #fff7ea;
    border-color: #dfc38d;
}
.slider__dot {
    width: 22px;
    height: 6px;
    border-radius: 99px;
    background: #ded8cc;
}
.slider__dot.is-active { background: linear-gradient(120deg, #e2c179, #8eaee9); }
.slider__scroll {
    border-color: #d8d1c2;
}
.slider__scroll span { background: #6c7386; }

.hero-ctas-band { padding-top: 20px; }
.hero-ctas .btn { min-width: 168px; }

/* ---------- Trust stats ---------- */
.stats { padding: 20px 0 8px; }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.stat {
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
}
.stat__value {
    font-family: "Space Grotesk", sans-serif;
    color: #2b3551;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
}
.stat__label { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 920px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats__grid { grid-template-columns: 1fr; } }

/* ---------- Post cards ---------- */
.post-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.28s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s var(--ease);
    text-decoration: none;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(42, 46, 68, 0.12);
    border-color: #dfd4c1;
}
.post-card__image {
    aspect-ratio: 16/10;
    background: linear-gradient(130deg, #f8e7c3, #ecf2ff 70%, #f1ebff);
}
.post-card__image--placeholder {
    color: #4c5063;
    font-weight: 700;
}
.post-card__tag {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e6dece;
    color: #5e6377;
}
.post-card__body { padding: 18px 18px 20px; }
.post-card__meta { color: #7a8298; }
.post-card__title { color: #272d3f; }
.post-card__excerpt { color: #606980; }
.post-card__cta { color: #3b4666; font-weight: 700; }

.magazine-feature .post-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-bottom: 16px;
}
.magazine-feature .post-card__image {
    aspect-ratio: auto;
    min-height: 250px;
    height: 100%;
}
.magazine-feature .post-card__body {
    padding: clamp(20px, 3vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.magazine-feature .post-card__title {
    font-size: clamp(1.3rem, 2.3vw, 1.95rem);
}
.magazine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Listing ---------- */
.listing-hero {
    padding: clamp(90px, 18vh, 110px) 0 clamp(20px, 6vw, 30px);
    text-align: center;
    background:
        radial-gradient(700px 360px at 8% 5%, rgba(217, 179, 106, 0.15), transparent 65%),
        radial-gradient(680px 380px at 92% 8%, rgba(125, 119, 242, 0.11), transparent 65%);
}
.listing-filter {
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.listing-filter form { display: flex; gap: 12px; width: 100%; }
.listing-filter input[type="search"] { max-width: 440px; }
.pagination {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0 14px;
    color: #46506a;
    background: #fff;
}
.pagination .is-current {
    color: #fff;
    border-color: #384560;
    background: #384560;
}
.pagination .is-disabled { opacity: 0.44; }

/* ---------- Home about / CTA band / newsletter ---------- */
.about-short {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: var(--shadow-soft);
}
.about-short__avatar > div {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    font-weight: 700;
    color: #2a3042;
    background: linear-gradient(135deg, #f8e6c0, #e0eafe);
    border: 1px solid #e6d8bb;
}
.cta-band {
    background: linear-gradient(130deg, #fff 0%, #f8f4ea 65%, #f0ebff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 36px);
    box-shadow: var(--shadow-soft);
}
.cta-band__title { color: #2d3245; }
.cta-band__sub { color: #5b647b; }
.newsletter {
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 38px);
}
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    flex: 1 1 220px;
}
.newsletter-form .btn { flex: 0 0 auto; }

/* ---------- Form controls ---------- */
label {
    display: inline-block;
    margin-bottom: 8px;
    color: #4f5770;
    font-weight: 600;
    font-size: 0.92rem;
}
input, textarea, select {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #ddd5c8;
    background: #fff;
    color: var(--text);
    font-size: 1rem;
    padding: 12px 14px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus {
    border-color: #9eb6ea;
    box-shadow: 0 0 0 4px rgba(143, 175, 232, 0.2);
    outline: none;
}

/* ---------- Article ---------- */
.article-hero {
    padding: clamp(116px, 16vh, 168px) 0 30px;
    text-align: center;
}
.article-hero__tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f4efe2;
    border: 1px solid #e4d9c5;
    color: #6a5f45;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.73rem;
}
.article-hero__toplink {
    margin-bottom: 12px;
}
.article-hero__title {
    font-size: clamp(2rem, 4.8vw, 3.6rem);
    margin: 16px auto 12px;
    max-width: 18ch;
    color: #252b3b;
}
.article-hero__meta { color: #677089; }

.article-cover {
    width: min(1120px, 100% - 2.2rem);
    margin: 12px auto 0;
}
.article-cover img {
    width: 100%;
    border-radius: 22px;
    max-height: 560px;
    object-fit: cover;
}

.article-body {
    width: min(820px, 100% - 2.2rem);
    margin: 30px auto 0;
    border-radius: 22px;
    padding: clamp(24px, 5vw, 42px);
    color: #2d3448;
    line-height: 1.76;
    font-size: 1.05rem;
}
.article-body h2,
.article-body h3,
.article-body h4 {
    color: #252c3d;
    margin-top: 1.5em;
}
.article-body p { margin: 0 0 1.1em; }
.article-body ul,
.article-body ol {
    padding-left: 1.2em;
    margin: 0 0 1.1em;
}
.article-body blockquote {
    margin: 1.3em 0;
    padding: 1em 1.2em;
    border-left: 4px solid #d6b572;
    background: #fbf6ea;
    border-radius: 10px;
    color: #4c556d;
}

/* ---------- About ---------- */
.about-hero {
    padding: clamp(110px, 16vh, 170px) 0 42px;
    text-align: center;
}
.about-hero__avatar {
    width: 122px;
    height: 122px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(140deg, #f8e8c4 0%, #e5eeff 100%);
    border: 1px solid #e5dac7;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
}
.about-hero__avatar > div {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.55rem;
    color: #2d3449;
}
.about-sections {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.about-section {
    border-radius: var(--radius);
    padding: 24px;
}
.about-section--intro {
    max-width: 920px;
    margin: 0 auto 18px;
}
.about-section h2 { margin-bottom: 10px; }
.about-section p { color: #59627a; }
.about-follow { max-width: 920px; }
.about-follow__ctas { justify-content: center; }
@media (max-width: 900px) { .about-sections { grid-template-columns: 1fr; } }

/* ---------- Premium page ---------- */
.premium-hero {
    padding: clamp(112px, 15vh, 164px) 0 40px;
    text-align: center;
}
.premium-hero h1 {
    font-size: clamp(2rem, 4.9vw, 3.9rem);
    margin: 12px auto 16px;
    max-width: 20ch;
    color: #252b3d;
}
.eyebrow {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f4efe2;
    color: #75694b;
    border: 1px solid #e5d9c3;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.premium-price {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 22px;
    padding: 18px 24px;
    margin: 16px 0 20px;
}
.premium-price__label {
    color: #7b849a;
    font-size: 0.9rem;
}
.premium-price__value {
    color: #2f3b59;
    font-size: clamp(1.6rem, 4vw, 2.7rem);
    font-family: "Space Grotesk", sans-serif;
}
.premium-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.premium-ctas--center { justify-content: center; margin-top: 18px; }
.premium-sections { max-width: 980px; }
.premium-section {
    border-radius: 20px;
    padding: 24px;
}
.premium-section--center { text-align: center; }
.premium-section h2,
.premium-section h3 { color: #293148; }
.premium-section p,
.premium-section li { color: #59627a; }
.premium-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 860px) { .premium-grid { grid-template-columns: 1fr; } }

.disclaimer-box {
    border-radius: 16px;
    padding: 18px 20px;
    border-left: 4px solid #d4b06b;
    background: #fcf8ef;
}
.disclaimer-box strong { color: #4a556f; }
.disclaimer-box p { color: #5f6881; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
}
.contact-form-card { padding: 36px; }
.contact-alert {
    position: static;
    margin-bottom: 14px;
}
.contact-alert--error { margin-bottom: 10px; }
.contact-channel {
    display: flex;
    gap: 14px;
    align-items: center;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-channel:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.contact-channel__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f8f2e5;
    border: 1px solid #e8dcc7;
    color: #5f6780;
    font-weight: 700;
}
.contact-channel__title { color: #2f364a; font-weight: 700; }
.contact-channel__desc { color: #647088; font-size: 0.92rem; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .contact-form-card { padding: 24px; } }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: clamp(46px, 9vw, 84px);
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, #f9f4e9 0%, #f4ecdd 100%);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 20px;
    padding: clamp(34px, 5vw, 52px) 0;
}
.site-footer h4 { margin-bottom: 10px; color: #30374c; }
.site-footer__links a {
    color: #57607a;
    padding: 2px 0;
}
.site-footer__links a:hover { color: #2d3954; }
.site-footer .newsletter-form input {
    min-height: 44px;
    background: #fff;
}
.site-footer__bottom {
    border-top: 1px solid #e4dbc8;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 22px;
}
.small { font-size: 0.85rem; }
@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Feedback / states ---------- */
.flash-stack { z-index: 1300; }
.flash {
    border-radius: 14px;
    border: 1px solid var(--border);
    color: #354059;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.flash--success { border-left: 4px solid #49b270; }
.flash--error { border-left: 4px solid #d56666; }

.form-status {
    margin-top: 6px;
    font-size: 0.9rem;
}
.form-status.is-success { color: #2e8b56; }
.form-status.is-error { color: #b25252; }

.empty {
    border-style: solid;
    color: #6a738b;
    background: #fff;
}
.error-page {
    color: #40475d;
}
.error-page h1 {
    color: #2f3850;
    background: none;
    -webkit-text-fill-color: initial;
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px) scale(0.995);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 760px) {
    .slider {
        height: min(84svh, 760px);
        min-height: 580px;
    }
    .slide__body {
        padding: 98px 20px 92px;
    }
    .slide__cta .btn {
        width: 100%;
    }
    .hero-pill-grid {
        grid-template-columns: 1fr;
    }
    .about-short {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .listing-filter {
        align-items: stretch;
        flex-direction: column;
    }
    .listing-filter form {
        flex-direction: column;
    }
    .listing-filter input[type="search"] {
        max-width: none;
    }
    .magazine-feature .post-card {
        grid-template-columns: 1fr;
    }
    .magazine-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   INKABIT Homepage Premium Dark (scoped to index only)
   ======================================================================== */

body.home-premium .container {
    width: min(1560px, 100% - clamp(2.5rem, 6vw, 7rem));
    max-width: 1560px;
}

body.home-premium {
    --orb-opacity: 0.14;
    --hp-bg: #0b0e14;
    --hp-bg-soft: #0f1117;
    --hp-bg-card: rgba(20, 25, 34, 0.72);
    --hp-border: rgba(66, 245, 200, 0.14);
    --hp-text: #eef2f8;
    --hp-text-dim: #9aa8bc;
    --hp-accent: #00d084;
    --hp-cyan: #1dd1ff;
    --hp-purple: #42f5c8;
    background:
        radial-gradient(900px 540px at 92% 10%, rgba(0, 208, 132, 0.10), transparent 70%),
        radial-gradient(760px 460px at 10% 18%, rgba(29, 209, 255, 0.08), transparent 70%),
        radial-gradient(600px 360px at 84% 76%, rgba(66, 245, 200, 0.06), transparent 70%),
        linear-gradient(180deg, #0b0e14 0%, #0f1117 35%, #141922 100%);
    color: var(--hp-text);
}

body.home-premium .section__eyebrow {
    background: rgba(0, 208, 132, 0.10);
    border: 1px solid rgba(66, 245, 200, 0.28);
    color: #42f5c8;
}

body.home-premium .section__title,
body.home-premium .section h2 {
    color: var(--hp-text);
}

body.home-premium .section__lead,
body.home-premium .muted {
    color: var(--hp-text-dim);
}

body.home-premium .site-header {
    border-bottom-color: transparent;
}

body.home-premium .site-header__bg {
    background: rgba(5, 9, 18, 0.24);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

body.home-premium .site-header.is-scrolled {
    border-bottom: 1px solid rgba(132, 166, 255, 0.2);
    box-shadow: 0 18px 46px rgba(2, 8, 20, 0.5);
}

body.home-premium .site-header.is-scrolled .site-header__bg {
    background: rgba(7, 13, 26, 0.74);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
}

body.home-premium .brand,
body.home-premium .brand:hover {
    color: var(--hp-text);
}

body.home-premium .primary-nav a {
    color: #bdcbed;
}

body.home-premium .primary-nav a:hover,
body.home-premium .primary-nav a.is-active {
    color: #ffffff;
    background: rgba(122, 168, 255, 0.12);
}

body.home-premium .nav-toggle {
    background: rgba(19, 31, 58, 0.58);
    border-color: rgba(137, 173, 244, 0.3);
}

body.home-premium .nav-toggle span {
    background: #eef5ff;
}

body.home-premium .nav-search {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(151, 183, 255, 0.32);
    background: rgba(16, 28, 54, 0.5);
    color: #dce8ff;
    cursor: pointer;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

body.home-premium .nav-search svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.home-premium .nav-search:hover {
    background: rgba(26, 44, 80, 0.65);
    border-color: rgba(134, 188, 255, 0.6);
    transform: translateY(-1px);
}

body.home-premium .lang-switch {
    background: rgba(18, 31, 57, 0.58);
    border-color: rgba(140, 176, 255, 0.32);
}

body.home-premium .lang-switch a {
    color: #bdd0f4;
}

body.home-premium .lang-switch a.is-active {
    background: linear-gradient(135deg, #6fa6ff 0%, #66d9ff 100%);
    color: #071327;
}

body.home-premium .btn--primary {
    color: #041018;
    background: linear-gradient(130deg, #00d084 0%, #1dd1ff 52%, #42f5c8 100%);
    box-shadow: 0 16px 36px rgba(0, 208, 132, 0.22);
}

body.home-premium .btn--primary:hover {
    color: #030f14;
    box-shadow: 0 22px 48px rgba(0, 208, 132, 0.32);
}

body.home-premium .btn--ghost {
    color: #e9f4f0;
    background: rgba(20, 25, 34, 0.58);
    border-color: rgba(66, 245, 200, 0.24);
}

body.home-premium .btn--ghost:hover {
    background: rgba(31, 38, 51, 0.75);
    border-color: rgba(29, 209, 255, 0.42);
}

body.home-premium .hp-hero {
    position: relative;
    min-height: clamp(680px, 88vh, 820px);
    overflow: hidden;
    padding-top: 112px;
    padding-bottom: 64px;
    display: flex;
    align-items: center;
}

body.home-premium .hp-hero__layout {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: clamp(40px, 4.5vw, 72px);
    align-items: stretch;
    width: 100%;
}

body.home-premium .hp-hero__preview {
    display: flex;
    min-height: 100%;
}

body.home-premium .hp-hero__preview .hp-terminal {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: clamp(420px, 58vh, 560px);
}

body.home-premium .hp-hero__preview .hp-terminal__body {
    flex: 1;
}

body.home-premium .hp-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
}

body.home-premium .hp-hero__content {
    max-width: 660px;
    padding-top: 0;
    align-self: center;
}

body.home-premium .hp-badge {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #42f5c8;
    background: rgba(0, 208, 132, 0.10);
    border: 1px solid rgba(66, 245, 200, 0.28);
    border-radius: 999px;
    padding: 9px 14px;
    margin-bottom: 24px;
}

body.home-premium .hp-hero h1 {
    font-size: clamp(2.4rem, 3.4vw, 3.9rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 20px;
    max-width: 18ch;
    text-wrap: balance;
}

body.home-premium .hp-hero p {
    color: #b8c4d4;
    font-size: clamp(1.02rem, 1.2vw, 1.22rem);
    max-width: 600px;
    margin-bottom: 34px;
}

body.home-premium .hp-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

body.home-premium .hp-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

body.home-premium .hp-glow--tl {
    width: 340px;
    height: 340px;
    top: 60px;
    left: -80px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.28) 0%, rgba(0, 208, 132, 0) 70%);
}

body.home-premium .hp-glow--tr {
    width: 420px;
    height: 420px;
    top: -90px;
    right: -80px;
    background: radial-gradient(circle, rgba(29, 209, 255, 0.22) 0%, rgba(29, 209, 255, 0) 68%);
}

body.home-premium .hp-hero__preview {
    position: relative;
    z-index: 2;
    display: flex;
    align-self: stretch;
}

body.home-premium .hp-hero__preview .hp-terminal {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: clamp(520px, 56vh, 600px);
}

body.home-premium .hp-hero__preview .hp-terminal__body {
    flex: 1;
    align-items: stretch;
}

body.home-premium .hp-hero__preview .hp-terminal__watchlist,
body.home-premium .hp-hero__preview .hp-terminal__insights {
    display: flex;
    flex-direction: column;
}

body.home-premium .hp-hero__preview .hp-terminal__chart {
    display: flex;
    flex-direction: column;
}

body.home-premium .hp-hero__preview .hp-chart-canvas {
    position: relative;
    flex: 1;
    min-height: 200px;
    overflow: hidden;
}

body.home-premium .hp-hero__preview .hp-chart-grid {
    height: 100%;
}

body.home-premium .hp-hero__preview .hp-chart-line {
    top: auto;
    bottom: 0;
    height: 72%;
}

body.home-premium .hp-hero__preview .hp-terminal__watchlist ul {
    gap: 6px;
    align-content: start;
}

body.home-premium .hp-hero__preview .hp-terminal__watchlist li {
    padding: 6px 10px;
}

body.home-premium .hp-wl__sym {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    font-weight: 600;
    color: #e6edf6;
}

body.home-premium .hp-wl__sym em {
    font-style: normal;
    font-size: 0.72rem;
    color: var(--hp-text-dim);
    letter-spacing: 0.04em;
}

body.home-premium .hp-chart-ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

body.home-premium .hp-ticker-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    color: var(--hp-text-dim);
    border: 1px solid rgba(66, 245, 200, 0.12);
    background: rgba(15, 17, 23, 0.6);
}

body.home-premium .hp-ticker-chip b {
    color: #e6edf6;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.74rem;
}

body.home-premium .hp-ticker-chip.is-up { color: var(--success); }
body.home-premium .hp-ticker-chip.is-down { color: var(--danger); }
body.home-premium .hp-ticker-chip.is-neutral { color: var(--hp-cyan); }

body.home-premium .hp-hero__preview .hp-terminal__insights article {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.home-premium .hp-dashboard {
    margin-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 3;
}

body.home-premium .hp-terminal,
body.page-premium {
    --hp-bg: #0b0e14;
    --hp-bg-soft: #0f1117;
    --hp-bg-card: rgba(20, 25, 34, 0.72);
    --hp-border: rgba(66, 245, 200, 0.14);
    --hp-text: #eef2f8;
    --hp-text-dim: #9aa8bc;
    --hp-accent: #00d084;
    --hp-cyan: #1dd1ff;
    --hp-purple: #42f5c8;
}

body.page-premium .hp-terminal {
    border: 1px solid var(--hp-border);
    background: linear-gradient(160deg, rgba(15, 17, 23, 0.92), rgba(20, 25, 34, 0.84));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 38px 95px rgba(2, 7, 18, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.home-premium .hp-terminal__top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(66, 245, 200, 0.12);
    background: rgba(15, 17, 23, 0.88);
}

body.home-premium .hp-terminal__top p {
    margin: 0;
    font-size: 0.9rem;
    color: #d6e4ff;
}

body.home-premium .hp-terminal__dots {
    display: inline-flex;
    gap: 6px;
}

body.home-premium .hp-terminal__dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

body.home-premium .hp-terminal__badge {
    margin-left: auto;
    font-size: 0.72rem;
    padding: 5px 10px;
    border-radius: 999px;
    color: #041018;
    background: linear-gradient(135deg, #00d084, #1dd1ff);
    font-weight: 700;
}

body.home-premium .hp-terminal__body {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 16px;
    padding: 18px;
}

body.home-premium .hp-terminal__watchlist,
body.home-premium .hp-terminal__insights {
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 16px;
    background: rgba(26, 32, 44, 0.55);
    padding: 16px;
}

body.home-premium .hp-terminal__watchlist h3,
body.home-premium .hp-terminal__insights h3,
body.home-premium .hp-terminal__chart h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #f1f6ff;
}

body.home-premium .hp-terminal__watchlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

body.home-premium .hp-terminal__watchlist li {
    display: flex;
    justify-content: space-between;
    border: 1px solid rgba(66, 245, 200, 0.10);
    border-radius: 12px;
    padding: 9px 10px;
    color: #b8c4d4;
    background: rgba(15, 17, 23, 0.62);
}

body.home-premium .hp-terminal__watchlist strong {
    color: var(--success);
    font-weight: 600;
}

body.home-premium .hp-terminal__watchlist strong.is-down {
    color: var(--danger);
}

body.home-premium .hp-terminal__watchlist strong.is-neutral {
    color: var(--hp-cyan);
}

body.home-premium .hp-terminal__chart {
    position: relative;
    border: 1px solid rgba(130, 160, 228, 0.22);
    border-radius: 16px;
    background: rgba(12, 22, 43, 0.52);
    padding: 16px;
    overflow: hidden;
}

body.home-premium .hp-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

body.home-premium .hp-chart-header span {
    font-size: 0.77rem;
    color: #98b4e6;
}

body.home-premium .hp-chart-grid {
    height: 220px;
    border-radius: 12px;
    background:
        linear-gradient(rgba(111, 160, 255, 0.16) 1px, transparent 1px) 0 0/100% 24px,
        linear-gradient(90deg, rgba(111, 160, 255, 0.14) 1px, transparent 1px) 0 0/26px 100%;
}

body.home-premium .hp-chart-line {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 94px;
    height: 130px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(89, 211, 255, 0.32), rgba(89, 211, 255, 0.02));
    clip-path: polygon(0% 80%, 8% 70%, 16% 74%, 24% 54%, 36% 58%, 46% 38%, 58% 48%, 68% 26%, 76% 36%, 88% 24%, 100% 4%, 100% 100%, 0% 100%);
}

body.home-premium .hp-terminal__insights article {
    border: 1px solid rgba(124, 160, 231, 0.2);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(9, 18, 36, 0.5);
}

body.home-premium .hp-terminal__insights article:last-child {
    margin-bottom: 0;
}

body.home-premium .hp-terminal__insights h4 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: #eef5ff;
}

body.home-premium .hp-terminal__insights p {
    margin: 0;
    font-size: 0.88rem;
    color: #afc2e6;
}

body.home-premium .hp-categories {
    margin-top: 20px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.home-premium .hp-categories div {
    text-align: center;
    padding: 12px;
    border: 1px solid rgba(137, 173, 246, 0.22);
    border-radius: 12px;
    background: rgba(15, 26, 47, 0.55);
    color: #bfd3f7;
    font-weight: 600;
}

body.home-premium .hp-section {
    position: relative;
}

body.home-premium .hp-card,
body.home-premium .hp-case {
    background: var(--hp-bg-card);
    border: 1px solid rgba(133, 170, 247, 0.24);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 42px rgba(2, 9, 20, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.home-premium .hp-card:hover,
body.home-premium .hp-case:hover {
    transform: translateY(-6px);
    border-color: rgba(150, 203, 255, 0.5);
    box-shadow: 0 28px 56px rgba(3, 11, 23, 0.45);
}

body.home-premium .hp-card h3,
body.home-premium .hp-case h3 {
    font-size: 1.18rem;
    color: #f4f8ff;
    margin-bottom: 10px;
}

body.home-premium .hp-card p,
body.home-premium .hp-case p {
    margin: 0;
    color: #b8c8e5;
}

body.home-premium .hp-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid rgba(138, 178, 255, 0.36);
    color: #7fdcff;
    background: rgba(20, 37, 68, 0.65);
}

body.home-premium .hp-platform__layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}

body.home-premium .hp-platform__tabs {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(137, 173, 246, 0.25);
    border-radius: 18px;
    background: rgba(12, 21, 41, 0.55);
}

body.home-premium .hp-platform__tabs button {
    width: 100%;
    text-align: left;
    background: rgba(16, 29, 55, 0.6);
    border: 1px solid rgba(129, 162, 232, 0.2);
    color: #c4d3f2;
    border-radius: 12px;
    padding: 12px 13px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

body.home-premium .hp-platform__tabs button:hover,
body.home-premium .hp-platform__tabs button.is-active {
    border-color: rgba(148, 204, 255, 0.55);
    color: #f3f7ff;
    background: rgba(27, 46, 83, 0.9);
}

body.home-premium .hp-platform__content {
    border: 1px solid rgba(140, 175, 246, 0.24);
    border-radius: 20px;
    background: rgba(13, 22, 43, 0.62);
    padding: 26px;
}

body.home-premium .hp-platform__panel {
    display: none;
}

body.home-premium .hp-platform__panel.is-active {
    display: block;
}

body.home-premium .hp-platform__panel ul {
    margin: 18px 0 0;
    padding-left: 18px;
    color: #bad0f5;
}

body.home-premium .hp-platform__panel li {
    margin-bottom: 8px;
}

body.home-premium .hp-case__label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94c3ff;
    border: 1px solid rgba(148, 193, 255, 0.4);
    border-radius: 999px;
    background: rgba(24, 42, 77, 0.72);
}

body.home-premium .hp-ai__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

body.home-premium .hp-bullets,
body.page-premium .hp-bullets {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

body.home-premium .hp-bullets li,
body.page-premium .hp-bullets li {
    padding-left: 18px;
    position: relative;
    color: #bbcae8;
}

body.home-premium .hp-bullets li::before,
body.page-premium .hp-bullets li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #77a7ff, #62e0ff);
    position: absolute;
    left: 0;
    top: 9px;
}

body.home-premium .hp-ai-card {
    border-radius: 18px;
    border: 1px solid rgba(142, 176, 246, 0.24);
    background: linear-gradient(160deg, rgba(11, 21, 40, 0.86), rgba(11, 16, 30, 0.76));
    padding: 18px;
    box-shadow: 0 20px 50px rgba(2, 8, 20, 0.45);
}

body.home-premium .hp-ai-card__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

body.home-premium .hp-ai-card__title h3 {
    margin: 0;
}

body.home-premium .hp-ai-card__title span {
    font-size: 0.76rem;
    border-radius: 999px;
    border: 1px solid rgba(132, 173, 250, 0.35);
    background: rgba(23, 41, 75, 0.8);
    color: #9fc4ff;
    padding: 5px 9px;
}

body.home-premium .hp-ai-card__chat {
    display: grid;
    gap: 10px;
}

body.home-premium .hp-ai-card__chat p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(133, 169, 242, 0.22);
    background: rgba(16, 30, 56, 0.55);
    color: #cad8f7;
}

body.home-premium .hp-api-card {
    border-radius: 18px;
    border: 1px solid rgba(137, 174, 245, 0.24);
    background: linear-gradient(170deg, rgba(10, 20, 40, 0.85), rgba(8, 14, 28, 0.85));
    overflow: hidden;
}

body.home-premium .hp-api-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(133, 166, 231, 0.2);
}

body.home-premium .hp-api-card__head p {
    margin: 0 0 0 6px;
    font-size: 0.88rem;
    color: #b6c8eb;
}

body.home-premium .hp-api-card .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

body.home-premium .hp-api-card__body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

body.home-premium .hp-api-card__body > div {
    padding: 22px;
    border-right: 1px solid rgba(126, 158, 224, 0.2);
}

body.home-premium .hp-api-card__body > div:last-child {
    border-right: 0;
}

body.home-premium .hp-api-card__body h3 {
    margin-bottom: 8px;
}

body.home-premium .hp-api-card__body p {
    margin: 0;
    color: #b6c7e6;
}

body.home-premium .hp-final-cta {
    padding-top: 20px;
    padding-bottom: 30px;
}

body.home-premium .hp-final-cta__card {
    border-radius: 24px;
    padding: 38px;
    border: 1px solid rgba(66, 245, 200, 0.22);
    background:
        radial-gradient(460px 240px at 90% 15%, rgba(0, 208, 132, 0.14), transparent 70%),
        radial-gradient(420px 260px at 4% 90%, rgba(29, 209, 255, 0.10), transparent 72%),
        rgba(20, 25, 34, 0.78);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    box-shadow: 0 26px 62px rgba(2, 9, 24, 0.5);
}

body.home-premium .hp-final-cta__card h2 {
    margin-bottom: 8px;
}

body.home-premium .hp-final-cta__card p {
    margin: 0;
    color: #bcd0ef;
    max-width: 660px;
}

body.home-premium .hp-final-cta__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- New homepage sections --- */

body.home-premium .hp-about {
    padding-top: 20px;
}

body.home-premium .hp-about__layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
}

body.home-premium .hp-about__photo {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.16);
    background: rgba(26, 32, 44, 0.72);
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
}

body.home-premium .hp-about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home-premium .hp-about__photo-placeholder {
    color: var(--hp-text-dim);
    font-size: 0.9rem;
    padding: 24px;
    text-align: center;
}

body.home-premium .hp-about__content h2 {
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

body.home-premium .hp-about__content p {
    color: var(--hp-text-dim);
    margin: 0 0 14px;
}

body.home-premium .hp-analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.home-premium .hp-analysis-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 18px;
    padding: 22px;
    background: var(--hp-bg-card);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.home-premium .hp-analysis-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 209, 255, 0.32);
}

body.home-premium .hp-analysis-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.home-premium .hp-analysis-card__asset {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--hp-cyan);
}

body.home-premium .hp-analysis-card__badge {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(245, 198, 116, 0.35);
    color: var(--gold);
    background: rgba(245, 198, 116, 0.08);
}

body.home-premium .hp-analysis-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    color: var(--hp-text);
}

body.home-premium .hp-analysis-card__meta {
    font-size: 0.82rem;
    color: var(--hp-text-dim);
    margin-bottom: 10px;
}

body.home-premium .hp-analysis-card p {
    margin: 0 0 16px;
    color: var(--hp-text-dim);
    font-size: 0.92rem;
    flex: 1;
}

body.home-premium .hp-recap-card {
    border: 1px solid rgba(66, 245, 200, 0.16);
    border-radius: 20px;
    padding: 28px;
    background: var(--hp-bg-card);
}

body.home-premium .hp-recap-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

body.home-premium .hp-recap-card__head h3 {
    margin: 0;
    flex: 1;
}

body.home-premium .hp-sentiment {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.home-premium .hp-sentiment--bullish {
    color: var(--success);
    background: rgba(0, 208, 132, 0.12);
    border: 1px solid rgba(0, 208, 132, 0.28);
}

body.home-premium .hp-sentiment--bearish {
    color: var(--danger);
    background: rgba(255, 107, 122, 0.10);
    border: 1px solid rgba(255, 107, 122, 0.28);
}

body.home-premium .hp-sentiment--neutral {
    color: var(--hp-cyan);
    background: rgba(29, 209, 255, 0.10);
    border: 1px solid rgba(29, 209, 255, 0.24);
}

body.home-premium .hp-recap-levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

body.home-premium .hp-recap-level {
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 14px;
    padding: 14px;
    background: rgba(15, 17, 23, 0.55);
}

body.home-premium .hp-recap-level__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-text-dim);
    margin-bottom: 6px;
}

body.home-premium .hp-recap-level__value {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: var(--hp-text);
}

body.home-premium .hp-benefit-grid,
body.page-premium .hp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.home-premium .hp-benefit-card,
body.page-premium .hp-benefit-card {
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 16px;
    padding: 22px;
    background: var(--hp-bg-card);
}

body.home-premium .hp-benefit-card__icon,
body.page-premium .hp-benefit-card__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-bottom: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--hp-accent, var(--emerald));
    border: 1px solid rgba(0, 208, 132, 0.24);
    background: rgba(0, 208, 132, 0.08);
}

body.home-premium .hp-benefit-card h3,
body.page-premium .hp-benefit-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

body.home-premium .hp-benefit-card p,
body.page-premium .hp-benefit-card p {
    margin: 0;
    color: var(--hp-text-dim, var(--fg-dim));
    font-size: 0.92rem;
}

body.home-premium .hp-dash-preview__features {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

body.home-premium .hp-dash-preview__feature {
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    border: 1px solid rgba(66, 245, 200, 0.12);
    background: rgba(15, 17, 23, 0.55);
    color: var(--hp-text-dim);
    font-size: 0.82rem;
    font-weight: 600;
}

body.home-premium .hp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.home-premium .hp-empty {
    border: 1px dashed rgba(66, 245, 200, 0.18);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    color: var(--hp-text-dim);
}

body.home-premium .hp-section-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

body.home-premium .site-footer {
    margin-top: 40px;
    background: linear-gradient(180deg, rgba(6, 12, 24, 0.2) 0%, rgba(3, 8, 16, 0.92) 100%);
    border-top: 1px solid rgba(121, 156, 227, 0.24);
}

body.home-premium .site-footer h4,
body.home-premium .site-footer .brand,
body.home-premium .site-footer .brand:hover {
    color: #eef4ff;
}

body.home-premium .site-footer__links a,
body.home-premium .site-footer .muted,
body.home-premium .site-footer .small {
    color: #a8badf;
}

body.home-premium .site-footer__links a:hover {
    color: #ffffff;
}

body.home-premium .site-footer input {
    background: rgba(13, 25, 46, 0.72);
    border-color: rgba(131, 167, 235, 0.28);
    color: #eaf2ff;
}

body.home-premium .site-footer .site-footer__bottom {
    border-top-color: rgba(120, 156, 224, 0.24);
}

@media (max-width: 1100px) {
    body.home-premium .hp-hero {
        display: block;
        min-height: 0;
        padding-top: 116px;
    }

    body.home-premium .hp-hero__layout {
        grid-template-columns: 1fr;
    }

    body.home-premium .hp-hero__preview .hp-terminal {
        min-height: 0;
    }

    body.home-premium .hp-terminal__body {
        grid-template-columns: 1fr;
    }

    body.home-premium .hp-about__layout {
        grid-template-columns: 1fr;
    }

    body.home-premium .hp-about__photo {
        max-width: 320px;
    }
}

@media (max-width: 960px) {
    body.home-premium .primary-nav {
        background: rgba(7, 12, 24, 0.96);
    }

    body.home-premium .primary-nav__head,
    body.home-premium .nav-actions {
        border-color: rgba(118, 154, 221, 0.24);
    }

    body.home-premium .primary-nav ul li a {
        background: rgba(17, 30, 56, 0.66);
        border-color: rgba(133, 170, 241, 0.24);
        color: #c6d4f0;
    }

    body.home-premium .nav-close {
        background: rgba(18, 32, 60, 0.72);
        border-color: rgba(136, 171, 241, 0.35);
        color: #e6efff;
    }
}

@media (max-width: 900px) {
    body.home-premium .hp-analysis-grid,
    body.home-premium .hp-benefit-grid,
    body.home-premium .hp-news-grid,
    body.home-premium .hp-recap-levels {
        grid-template-columns: 1fr;
    }

    body.home-premium .hp-dash-preview__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home-premium .hp-platform__layout,
    body.home-premium .hp-ai__layout,
    body.home-premium .hp-api-card__body {
        grid-template-columns: 1fr;
    }

    body.home-premium .hp-api-card__body > div {
        border-right: 0;
        border-bottom: 1px solid rgba(126, 158, 224, 0.2);
    }

    body.home-premium .hp-api-card__body > div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    body.home-premium .hp-hero {
        min-height: auto;
        padding-top: 20px;
    }

    body.home-premium .hp-dashboard {
        margin-top: 0;
    }

    body.home-premium .hp-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home-premium .hp-final-cta__card {
        padding: 28px 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    body.home-premium .hp-hero__actions .btn,
    body.home-premium .hp-final-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================================================
   Premium Dark Theme (all non-home pages)
   ======================================================================== */

body.theme-dark {
    --orb-opacity: 0.12;
    --td-bg: #0b0e14;
    --td-surface: rgba(20, 25, 34, 0.72);
    --td-surface-2: #1f2633;
    --td-border: rgba(66, 245, 200, 0.14);
    --td-border-strong: rgba(29, 209, 255, 0.32);
    --td-text: #eef2f8;
    --td-muted: #9aa8bc;
    --td-accent: #00d084;
    --td-cyan: #1dd1ff;
    --td-mint: #42f5c8;
    background:
        radial-gradient(900px 540px at 92% 10%, rgba(0, 208, 132, 0.10), transparent 70%),
        radial-gradient(760px 460px at 10% 18%, rgba(29, 209, 255, 0.08), transparent 70%),
        radial-gradient(600px 360px at 84% 76%, rgba(66, 245, 200, 0.06), transparent 70%),
        linear-gradient(180deg, #0b0e14 0%, #0f1117 35%, #141922 100%);
    color: var(--td-text);
}

body.theme-dark .container {
    width: min(1560px, 100% - clamp(2.5rem, 6vw, 7rem));
    max-width: 1560px;
}

body.theme-dark .site-header {
    background: transparent;
    border-bottom: 1px solid rgba(126, 158, 226, 0.2);
}

body.theme-dark .site-header__bg {
    background: rgba(8, 13, 24, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.theme-dark .site-header.is-scrolled {
    border-bottom-color: rgba(145, 175, 243, 0.26);
    box-shadow: 0 16px 44px rgba(2, 8, 20, 0.5);
}

body.theme-dark .site-header.is-scrolled .site-header__bg {
    background: rgba(8, 14, 28, 0.88);
}

body.theme-dark .brand,
body.theme-dark .brand:hover,
body.theme-dark .primary-nav a:hover,
body.theme-dark .primary-nav a.is-active,
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4 {
    color: #f4f8ff;
}

body.theme-dark .lang-switch,
body.theme-dark .nav-search,
body.theme-dark .nav-toggle {
    background: rgba(19, 31, 58, 0.58);
    border-color: rgba(137, 173, 244, 0.3);
}

body.theme-dark .nav-toggle span {
    background: #eef5ff;
}

body.theme-dark .primary-nav a,
body.theme-dark .section__lead,
body.theme-dark .muted,
body.theme-dark .small {
    color: var(--td-muted);
}

body.theme-dark .section__eyebrow {
    background: rgba(0, 208, 132, 0.10);
    border-color: rgba(66, 245, 200, 0.28);
    color: #42f5c8;
}

body.theme-dark .btn--ghost {
    background: rgba(20, 25, 34, 0.58);
    border-color: rgba(66, 245, 200, 0.24);
    color: #e9f4f0;
}

body.theme-dark .btn--ghost:hover {
    background: rgba(31, 38, 51, 0.78);
    border-color: rgba(29, 209, 255, 0.42);
    color: #fff;
}

body.theme-dark .glass-card,
body.theme-dark .post-card,
body.theme-dark .listing-filter,
body.theme-dark .newsletter,
body.theme-dark .about-short,
body.theme-dark .cta-band,
body.theme-dark .article-body,
body.theme-dark .contact-channel,
body.theme-dark .disclaimer-box,
body.theme-dark .empty,
body.theme-dark .premium-price,
body.theme-dark .stat,
body.theme-dark .pagination a,
body.theme-dark .pagination span {
    background: var(--td-surface);
    border-color: var(--td-border);
    color: var(--td-text);
}

body.theme-dark .listing-hero {
    background:
        radial-gradient(620px 340px at 8% 8%, rgba(0, 208, 132, 0.14), transparent 66%),
        radial-gradient(620px 340px at 93% 8%, rgba(29, 209, 255, 0.12), transparent 70%);
}

body.theme-dark input,
body.theme-dark textarea,
body.theme-dark select {
    background: rgba(15, 17, 23, 0.7);
    border-color: rgba(66, 245, 200, 0.22);
    color: #edf4ff;
}

body.theme-dark input:focus,
body.theme-dark textarea:focus,
body.theme-dark select:focus {
    border-color: rgba(0, 208, 132, 0.5);
    outline: none;
}

body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder {
    color: #7c8aa0;
}

body.theme-dark .post-card:hover,
body.theme-dark .glass-card:hover,
body.theme-dark .contact-channel:hover {
    border-color: rgba(29, 209, 255, 0.4);
}

body.theme-dark .post-card__tag {
    background: rgba(15, 17, 23, 0.82);
    border-color: rgba(66, 245, 200, 0.28);
    color: #42f5c8;
}

body.theme-dark .post-card__meta,
body.theme-dark .post-card__excerpt,
body.theme-dark .article-hero__meta,
body.theme-dark .post-card__cta {
    color: #aebfe0;
}

body.theme-dark .post-card.is-locked .post-card__image img {
    filter: saturate(0.7) brightness(0.7);
}

body.theme-dark .post-card__lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, rgba(6, 12, 23, 0.3), rgba(6, 12, 23, 0.84));
    color: #e7f1ff;
    text-align: center;
    padding: 14px;
}

body.theme-dark .post-card__lock p {
    margin: 0;
    font-size: 0.86rem;
}

body.theme-dark .post-card__lock-badge {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #041018;
    border: 1px solid rgba(66, 245, 200, 0.5);
    background: linear-gradient(135deg, #00d084, #1dd1ff);
}

body.theme-dark .article-hero__tag {
    background: rgba(0, 208, 132, 0.10);
    border-color: rgba(66, 245, 200, 0.28);
    color: #42f5c8;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.reading-progress__bar {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, #00d084, #42f5c8 50%, #1dd1ff);
    box-shadow: 0 0 14px rgba(0, 208, 132, 0.6);
    transition: transform 0.08s linear;
}

body.theme-dark .article-hero__title {
    color: #f4f8ff;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    max-width: 20ch;
}

body.theme-dark .article-body {
    width: min(880px, 100% - 2.2rem);
    background: rgba(20, 25, 34, 0.62);
}

body.page-buy-premium .buy-premium-grid {
    align-items: start;
}

body.page-buy-premium .buy-premium-price {
    position: relative;
    border-color: rgba(66, 245, 200, 0.3);
    background:
        radial-gradient(420px 220px at 88% 0%, rgba(0, 208, 132, 0.14), transparent 70%),
        var(--td-surface);
}

body.page-buy-premium .premium-price__value {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 10px 0 6px;
    background: linear-gradient(120deg, #00d084, #42f5c8 55%, #1dd1ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.page-buy-premium .buy-premium-benefits {
    color: var(--td-muted);
    margin: 6px 0 18px;
}

body.page-buy-premium .buy-premium-benefits :is(ul, ol) {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

body.theme-dark .article-cover img,
body.theme-dark .about-hero__avatar {
    border-color: var(--td-border);
}

body.theme-dark .locked-content-panel {
    margin-top: 18px;
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(66, 245, 200, 0.26);
    background:
        radial-gradient(420px 200px at 90% 0%, rgba(0, 208, 132, 0.12), transparent 70%),
        rgba(15, 17, 23, 0.8);
}

body.theme-dark .locked-content-panel h3 {
    margin-bottom: 8px;
}

body.theme-dark .locked-content-panel p {
    color: var(--td-muted);
}

body.theme-dark .locked-content-panel__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

body.theme-dark .auth-section {
    padding-top: 120px;
}

body.theme-dark .auth-shell {
    max-width: 1080px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 44px);
    align-items: stretch;
}

body.theme-dark .auth-card {
    border: 1px solid var(--td-border);
    border-radius: 22px;
    padding: clamp(28px, 3vw, 40px);
    background:
        radial-gradient(420px 220px at 90% 0%, rgba(0, 208, 132, 0.08), transparent 70%),
        linear-gradient(160deg, rgba(20, 25, 34, 0.9), rgba(15, 17, 23, 0.84));
    box-shadow: 0 28px 60px rgba(2, 8, 20, 0.48);
    align-self: center;
    width: 100%;
}

body.theme-dark .auth-brand {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.2);
    border-radius: 22px;
    padding: clamp(30px, 3.4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(540px 320px at 12% 8%, rgba(0, 208, 132, 0.16), transparent 70%),
        radial-gradient(480px 320px at 100% 100%, rgba(29, 209, 255, 0.12), transparent 72%),
        linear-gradient(160deg, rgba(20, 25, 34, 0.92), rgba(15, 17, 23, 0.88));
    box-shadow: 0 28px 60px rgba(2, 8, 20, 0.48);
}

body.theme-dark .auth-brand h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    line-height: 1.12;
    margin: 14px 0 14px;
}

body.theme-dark .auth-brand__lead {
    color: var(--td-muted);
    margin-bottom: 22px;
    max-width: 38ch;
}

body.theme-dark .auth-brand__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

body.theme-dark .auth-brand__list li {
    position: relative;
    padding-left: 30px;
    color: var(--td-text);
    font-size: 0.96rem;
}

body.theme-dark .auth-brand__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, #00d084, #1dd1ff);
    box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.14);
}

@media (max-width: 880px) {
    body.theme-dark .auth-shell {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
    body.theme-dark .auth-brand {
        display: none;
    }
}

body.theme-dark .auth-links {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

body.theme-dark .auth-links a {
    color: #42f5c8;
}

body.theme-dark .auth-resend {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

body.theme-dark .auth-resend p {
    margin: 0;
}

body.theme-dark .dashboard-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-dark .dashboard-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-dark .dashboard-welcome {
    grid-column: 1 / -1;
}

body.theme-dark .dash-list,
body.theme-dark .dash-checklist {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

body.theme-dark .dash-list li,
body.theme-dark .dash-checklist li {
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 10px;
    background: rgba(15, 17, 23, 0.6);
    padding: 10px 12px;
    display: grid;
    gap: 4px;
}

body.theme-dark .dash-list li span {
    color: var(--td-muted);
    font-size: 0.82rem;
}

body.theme-dark .dashboard-locked {
    max-width: 760px;
}

body.theme-dark .premium-ctas--single {
    justify-content: center;
}

body.theme-dark .premium-ctas--single .btn {
    min-width: 220px;
}

body.theme-dark .about-video-card {
    margin-top: 26px;
    border: 1px solid rgba(137, 173, 246, 0.28);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(11, 20, 40, 0.72);
    box-shadow: 0 22px 52px rgba(2, 8, 20, 0.45);
}

body.theme-dark .about-video-card iframe,
body.theme-dark .about-video-card video {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
    background: #02050d;
}

body.theme-dark .about-video-placeholder {
    min-height: 340px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    color: #bad0f4;
}

body.theme-dark .play-icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    border: 1px solid rgba(138, 176, 246, 0.4);
    background: rgba(24, 42, 77, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #8ed1ff;
}

body.theme-dark .about-timeline {
    display: grid;
    gap: 14px;
}

body.theme-dark .about-timeline__item {
    position: relative;
    padding-left: 26px;
}

body.theme-dark .about-timeline__item::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, rgba(106, 167, 255, 0.7), rgba(91, 220, 255, 0.2));
}

body.theme-dark .about-timeline__item::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #67a8ff;
    box-shadow: 0 0 0 3px rgba(103, 168, 255, 0.2);
}

body.theme-dark .about-mission {
    text-align: center;
}

body.theme-dark .terminal-page {
    padding: 0 14px 28px;
}

body.page-dashboard .orb {
    opacity: calc(var(--orb-opacity) * 0.75);
}

body.theme-dark .terminal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 14px;
    max-width: 1560px;
    margin: 0 auto;
}

body.theme-dark .terminal-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border: 1px solid rgba(130, 160, 220, 0.16);
    border-radius: 12px;
    background: #111722;
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.34);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.theme-dark .terminal-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(130, 160, 220, 0.16);
    font-weight: 700;
    color: #eef5ff;
}

body.theme-dark .terminal-logo {
    width: 100%;
    max-width: 168px;
    height: auto;
    max-height: 36px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    object-position: left center;
}

body.theme-dark .terminal-sidebar__nav {
    display: grid;
    gap: 2px;
    padding: 10px;
    overflow-y: auto;
}

body.theme-dark .terminal-sidebar__nav a {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 0.86rem;
    color: #b8c8e7;
    border: 1px solid transparent;
}

body.theme-dark .terminal-sidebar__nav a:hover {
    color: #f4f8ff;
    background: rgba(0, 208, 132, 0.12);
}

body.theme-dark .terminal-sidebar__nav a.is-active {
    color: #f4f8ff;
    border-color: rgba(66, 245, 200, 0.42);
    background: rgba(0, 208, 132, 0.18);
}

body.theme-dark .terminal-sidebar__label-short {
    display: none;
}

body.theme-dark .terminal-main {
    min-width: 0;
}

body.theme-dark .terminal-topbar {
    position: static;
    top: auto;
    z-index: 8;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(130, 160, 220, 0.16);
    border-radius: 12px;
    background: #141b28;
    padding: 10px;
    margin-bottom: 12px;
}

body.theme-dark .terminal-search {
    flex: 1;
    min-width: 0;
    max-width: none;
}

body.theme-dark .terminal-ai-btn {
    flex-shrink: 0;
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 10px;
}

body.theme-dark .terminal-menu-toggle {
    display: none;
    flex-shrink: 0;
}

body.theme-dark .terminal-search input {
    width: 100%;
    min-height: 38px;
    border-radius: 10px;
    font-size: 0.9rem;
}

body.theme-dark .terminal-topbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

body.theme-dark .premium-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(66, 245, 200, 0.42);
    background: rgba(0, 208, 132, 0.18);
    color: #9bf3d4;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.theme-dark .premium-badge--muted {
    opacity: 0.65;
    border-color: rgba(130, 160, 220, 0.22);
    background: rgba(40, 52, 76, 0.45);
    color: #9fb2d8;
}

body.theme-dark .terminal-positive {
    color: #00d084;
}

body.theme-dark .terminal-negative {
    color: #ff6f86;
}

body.theme-dark .terminal-panel--welcome {
    grid-column: span 12;
}

body.theme-dark .terminal-welcome-tagline {
    margin: 0 0 4px;
    font-size: 0.88rem;
    color: #9fb4dc;
    letter-spacing: 0.01em;
}

body.theme-dark .terminal-panel--highlight {
    border-color: rgba(66, 245, 200, 0.42);
    box-shadow: 0 0 0 1px rgba(0, 208, 132, 0.14);
}

body.theme-dark .terminal-chip-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

body.theme-dark .terminal-chip {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(130, 160, 220, 0.22);
    font-size: 0.78rem;
    color: #c8daf8;
}

body.theme-dark .terminal-chip.is-active {
    border-color: rgba(66, 245, 200, 0.55);
    background: rgba(0, 208, 132, 0.2);
    color: #f4f8ff;
}

body.theme-dark .terminal-material-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

body.theme-dark .terminal-material-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

body.theme-dark .terminal-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

body.theme-dark .terminal-locked-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

body.theme-dark .terminal-flash {
    margin-bottom: 10px;
    position: relative;
}

body.theme-dark .terminal-meeting-cards {
    display: grid;
    gap: 10px;
}

body.theme-dark .terminal-card--meeting {
    border: 1px solid rgba(130, 160, 220, 0.14);
    border-radius: 10px;
    padding: 12px;
    background: rgba(20, 27, 40, 0.65);
}

/* ---------- Zoom meetings (dashboard) ---------- */
body.theme-dark.page-dashboard-meetings .zoom-dash {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

body.theme-dark .zoom-page-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.theme-dark .zoom-page-head__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f4f8ff;
}

body.theme-dark .zoom-page-head__sub {
    margin: 0;
    max-width: 52ch;
    font-size: 0.92rem;
}

body.theme-dark .zoom-stats-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-dark .zoom-stat-card {
    border: 1px solid rgba(130, 160, 220, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    background: linear-gradient(165deg, rgba(24, 34, 52, 0.95), rgba(14, 20, 32, 0.88));
    box-shadow: 0 0 0 1px rgba(90, 140, 255, 0.06) inset;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-dark .zoom-stat-card:hover {
    border-color: rgba(118, 173, 255, 0.42);
    box-shadow: 0 0 24px rgba(80, 132, 223, 0.15);
}

body.theme-dark .zoom-stat-card span {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8fa6cf;
    margin-bottom: 6px;
}

body.theme-dark .zoom-stat-card strong {
    font-size: 1.05rem;
    color: #f4f8ff;
    font-weight: 700;
}

body.theme-dark .zoom-stat-card__compact {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
}

body.theme-dark .terminal-panel--zoom-featured {
    padding: 0;
    overflow: hidden;
    border-color: rgba(66, 245, 200, 0.32);
}

body.theme-dark .terminal-panel--zoom-featured:hover {
    border-color: rgba(29, 209, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 208, 132, 0.18);
}

body.theme-dark .zoom-featured__layout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 20px;
    align-items: start;
}

body.theme-dark .zoom-featured__title {
    margin: 8px 0 10px;
    font-size: 1.15rem;
    color: #f4f8ff;
}

body.theme-dark .zoom-featured__desc {
    margin: 0 0 10px;
    line-height: 1.5;
}

body.theme-dark .zoom-featured__countdown {
    margin: 0 0 14px;
    font-size: 0.88rem;
}

body.theme-dark .zoom-featured__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body.theme-dark .zoom-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(106, 164, 255, 0.35);
}

body.theme-dark .zoom-date-badge--large {
    min-width: 82px;
    padding: 14px 16px;
    border-radius: 14px;
}

body.theme-dark .zoom-date-badge--muted {
    opacity: 0.75;
    border-color: rgba(130, 160, 220, 0.22);
}

body.theme-dark .zoom-date-badge__month {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8faad8;
}

body.theme-dark .zoom-date-badge__day {
    font-size: 1.45rem;
    font-weight: 700;
    color: #f4f8ff;
    line-height: 1.1;
}

body.theme-dark .zoom-date-badge--large .zoom-date-badge__day {
    font-size: 1.85rem;
}

body.theme-dark .zoom-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(130, 160, 220, 0.28);
    color: #c8daf8;
}

body.theme-dark .zoom-status-badge--upcoming {
    border-color: rgba(106, 164, 255, 0.45);
    background: rgba(70, 120, 220, 0.18);
    color: #dce8ff;
}

body.theme-dark .zoom-status-badge--done {
    border-color: rgba(65, 210, 143, 0.35);
    color: #8cf0c0;
    background: rgba(65, 210, 143, 0.08);
}

body.theme-dark .zoom-status-badge--muted {
    opacity: 0.85;
}

body.theme-dark .zoom-status-badge--cancelled {
    border-color: rgba(255, 120, 140, 0.25);
    color: #f0a8b4;
    background: rgba(255, 100, 120, 0.06);
}

body.theme-dark .zoom-section__title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: #e8f0ff;
    letter-spacing: 0.02em;
}

body.theme-dark .zoom-section__title--subtle {
    font-size: 0.82rem;
    color: #8fa6cf;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body.theme-dark .zoom-card-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

body.theme-dark .zoom-meeting-card.terminal-panel {
    padding: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.theme-dark .zoom-meeting-card.terminal-panel:hover {
    border-color: rgba(118, 173, 255, 0.4);
    box-shadow: 0 12px 36px rgba(4, 12, 28, 0.35);
    transform: translateY(-2px);
}

body.theme-dark .zoom-meeting-card__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

body.theme-dark .zoom-meeting-card__head {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

body.theme-dark .zoom-meeting-card__title {
    margin: 0 0 8px;
    font-size: 0.98rem;
    color: #f4f8ff;
}

body.theme-dark .zoom-meeting-card__desc {
    margin: 0 0 10px;
    font-size: 0.84rem;
    line-height: 1.45;
}

body.theme-dark .zoom-meeting-card__cd {
    margin: 0 0 10px;
    font-size: 0.82rem;
}

body.theme-dark .zoom-meeting-card__actions {
    margin-top: 4px;
}

body.theme-dark .zoom-replay-na {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7a889e;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px dashed rgba(130, 160, 220, 0.22);
    display: inline-block;
}

body.theme-dark .zoom-empty {
    padding: 28px 20px;
    text-align: center;
}

body.theme-dark .zoom-empty--featured {
    padding: 36px 24px;
}

body.theme-dark .zoom-empty__title {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #e8f0ff;
}

body.theme-dark .zoom-empty__hint {
    margin: 0;
    font-size: 0.88rem;
}

body.theme-dark .zoom-cancelled-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 0.86rem;
}

body.theme-dark .zoom-section--cancelled {
    opacity: 0.92;
}

@media (max-width: 960px) {
    body.theme-dark .zoom-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.theme-dark .zoom-featured__layout {
        grid-template-columns: 1fr;
    }

    body.theme-dark .zoom-date-badge--large {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        width: fit-content;
    }
}

/* ---------- Profile dashboard ---------- */
body.theme-dark .profile-dash__grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.theme-dark .profile-hero {
    padding: 16px 18px;
}

body.theme-dark .profile-hero__main {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

body.theme-dark .profile-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f4f8ff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 164, 255, 0.45);
    box-shadow: 0 0 28px rgba(70, 120, 220, 0.16);
    flex-shrink: 0;
}

body.theme-dark .profile-hero__name {
    margin: 0 0 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f4f8ff;
}

body.theme-dark .profile-hero__email,
body.theme-dark .profile-hero__phone {
    margin: 0;
    font-size: 0.88rem;
}

body.theme-dark .profile-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
}

body.theme-dark .profile-chip {
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(130, 160, 220, 0.2);
}

body.theme-dark .profile-dash__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.theme-dark .profile-overview-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-dark .profile-mini-stat {
    padding: 14px;
}

body.theme-dark .profile-mini-stat__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

body.theme-dark .profile-mini-stat strong {
    font-size: 1.05rem;
    color: #f4f8ff;
}

body.theme-dark .profile-mini-stat__small {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
}

body.theme-dark .profile-card header h3 {
    margin: 0;
}

body.theme-dark .profile-form .input-readonly {
    opacity: 0.85;
    cursor: not-allowed;
    background: rgba(20, 27, 40, 0.75);
}

body.theme-dark .profile-prefs {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-dark .profile-prefs__block .terminal-subhead {
    margin: 0 0 6px;
    font-size: 0.82rem;
}

body.theme-dark .profile-lang-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

body.theme-dark .profile-lang-switch .btn.is-active {
    border-color: rgba(118, 173, 255, 0.55);
    background: rgba(80, 132, 223, 0.22);
    color: #f4f8ff;
}

@media (max-width: 960px) {
    body.theme-dark .profile-dash__columns,
    body.theme-dark .profile-overview-grid,
    body.theme-dark .profile-prefs {
        grid-template-columns: 1fr;
    }

    body.theme-dark .profile-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    body.theme-dark .profile-overview-grid {
        grid-template-columns: 1fr;
    }
}

body.theme-dark .terminal-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

body.theme-dark .terminal-filters__row input,
body.theme-dark .terminal-filters__row select {
    min-height: 38px;
    border-radius: 10px;
}

body.theme-dark .terminal-lesson-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

body.theme-dark .terminal-lesson-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(130, 160, 220, 0.12);
}

body.theme-dark .terminal-lesson-list li.is-done {
    opacity: 0.75;
}

body.theme-dark .terminal-badge--type {
    font-size: 0.68rem;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(130, 160, 220, 0.25);
    color: #9fb4dc;
}

body.theme-dark .terminal-badge--sentiment {
    margin-left: 8px;
}

body.theme-dark .terminal-badge--bullish {
    color: #41d28f;
    border-color: rgba(65, 210, 143, 0.35);
}

body.theme-dark .terminal-badge--bearish {
    color: #ff6f86;
    border-color: rgba(255, 111, 134, 0.35);
}

body.theme-dark .terminal-badge--neutral {
    color: #9fb3d8;
}

body.theme-dark .terminal-search-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(130, 160, 220, 0.12);
}

body.theme-dark .terminal-search-section h4 {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #9fb4dc;
}

body.theme-dark .terminal-search-list {
    margin: 0;
    padding-left: 18px;
    color: #d5e3ff;
}

body.theme-dark .account-menu--terminal .account-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    max-width: none;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 999px;
}

body.theme-dark .account-menu--terminal .account-menu__avatar--initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #e8f0ff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(106, 164, 255, 0.42);
    box-shadow: 0 0 0 1px rgba(8, 14, 28, 0.4) inset;
}

body.theme-dark .account-menu--terminal .account-menu__toggle:hover .account-menu__avatar--initials {
    border-color: rgba(130, 190, 255, 0.65);
    box-shadow: 0 0 18px rgba(90, 140, 255, 0.22);
}

body.theme-dark .account-menu--terminal .account-menu__name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    body.theme-dark .account-menu--terminal .account-menu__name {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.theme-dark .terminal-user-chip {
    border-radius: 999px;
    border: 1px solid rgba(130, 160, 220, 0.2);
    padding: 5px 9px;
    color: #d8e5ff;
    font-size: 0.84rem;
}

body.theme-dark .terminal-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

body.theme-dark .terminal-panel {
    border: 1px solid rgba(130, 160, 220, 0.16);
    border-radius: 12px;
    background: #111722;
    box-shadow: 0 10px 26px rgba(2, 8, 20, 0.28);
    padding: 12px;
    min-width: 0;
}

body.theme-dark .terminal-panel header {
    margin: -12px -12px 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(130, 160, 220, 0.14);
    background: #141b28;
    border-radius: 12px 12px 0 0;
}

body.theme-dark .terminal-panel header h3 {
    margin: 0;
    font-size: 0.92rem;
    color: #eef4ff;
    letter-spacing: 0.01em;
}

body.theme-dark .terminal-panel:hover {
    border-color: rgba(66, 245, 200, 0.34);
}

body.theme-dark .terminal-panel--market {
    grid-column: span 8;
}

body.theme-dark .terminal-market-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 10px;
}

body.theme-dark .terminal-market-panel__head h3 {
    margin: 0;
}

body.theme-dark .terminal-market-panel__sub {
    margin: 0;
    font-size: 0.75rem;
}

body.theme-dark .stat-card--crypto .js-price {
    font-variant-numeric: tabular-nums;
}

body.theme-dark .terminal-stats--crypto.is-error .js-price {
    opacity: 0.45;
}

body.theme-dark .terminal-panel--analysis {
    grid-column: span 8;
}

body.theme-dark .terminal-grid > .terminal-panel:nth-child(3),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(4),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(5),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(6),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(7),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(8),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(9),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(10),
body.theme-dark .terminal-grid > .terminal-panel:nth-child(11) {
    grid-column: span 4;
}

body.theme-dark .terminal-stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.theme-dark .stat-card {
    border: 1px solid rgba(130, 160, 220, 0.16);
    background: #141b28;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    gap: 4px;
}

body.theme-dark .stat-card span {
    font-size: 0.74rem;
    color: #9fb3d8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.theme-dark .stat-card strong {
    font-size: 1.05rem;
    color: #f4f8ff;
}

body.theme-dark .stat-card em {
    font-style: normal;
    font-size: 0.78rem;
}

body.theme-dark .market-positive {
    color: #41d28f;
}

body.theme-dark .market-negative {
    color: #ff6f86;
}

body.theme-dark .terminal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

body.theme-dark .terminal-table th,
body.theme-dark .terminal-table td {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(130, 160, 220, 0.12);
    color: #d5e3ff;
}

body.theme-dark .terminal-table th {
    font-size: 0.73rem;
    color: #9ab2da;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.theme-dark .terminal-table td a {
    color: #9ac8ff;
}

body.theme-dark .terminal-progress {
    display: grid;
    gap: 8px;
}

body.theme-dark .terminal-progress div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    align-items: center;
}

body.theme-dark .terminal-recap-list .terminal-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

body.theme-dark .terminal-progress--single div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    align-items: center;
}

body.theme-dark .terminal-progress span {
    color: #cad9f5;
    font-size: 0.84rem;
}

body.theme-dark .terminal-progress b {
    color: #9ac4ff;
    font-size: 0.8rem;
}

body.theme-dark .terminal-progress i {
    grid-column: 1 / -1;
    height: 6px;
    border-radius: 999px;
    background: rgba(130, 160, 220, 0.16);
    position: relative;
    overflow: hidden;
}

body.theme-dark .terminal-progress i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--p, 20%);
    background: linear-gradient(90deg, #6aa6ff, #59ddff);
}

body.theme-dark .terminal-ai {
    display: grid;
    gap: 10px;
}

body.theme-dark .terminal-ai input {
    min-height: 40px;
}

body.theme-dark ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
body.theme-dark ::-webkit-scrollbar-track {
    background: rgba(16, 27, 47, 0.75);
}
body.theme-dark ::-webkit-scrollbar-thumb {
    background: rgba(94, 138, 214, 0.6);
    border-radius: 999px;
}

@media (max-width: 1280px) {
    body.theme-dark .terminal-panel--market,
    body.theme-dark .terminal-panel--analysis {
        grid-column: span 12;
    }
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(3),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(4),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(5),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(6),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(7),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(8),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(9),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(10),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(11) {
        grid-column: span 6;
    }
}

@media (max-width: 960px) {
    body.theme-dark .terminal-layout {
        grid-template-columns: 1fr;
        padding-bottom: 16px;
    }

    body.theme-dark .terminal-sidebar {
        position: fixed;
        top: 10px;
        bottom: auto;
        left: 0;
        width: min(292px, calc(100vw - 20px));
        max-height: calc(100vh - 20px);
        height: auto;
        z-index: 46;
        transform: translateX(calc(-100% - 16px));
        transition: transform 0.28s ease;
        border-radius: 12px;
    }

    body.theme-dark .terminal-sidebar.is-open {
        transform: translateX(10px);
    }

    body.theme-dark .terminal-sidebar__brand {
        display: flex;
    }

    body.theme-dark .terminal-sidebar__nav {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: unset;
        overflow-y: auto;
        max-height: min(520px, calc(100vh - 100px));
        padding: 10px;
    }

    body.theme-dark .terminal-sidebar__nav a {
        text-align: left;
        font-size: 0.82rem;
        padding: 10px 10px;
        white-space: normal;
    }

    body.theme-dark .terminal-sidebar__label-short {
        display: none;
    }

    body.theme-dark .terminal-sidebar__label-full {
        display: inline;
    }

    body.theme-dark .terminal-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 44;
        margin: 0;
        padding: 0;
        border: 0;
        background: rgba(4, 12, 26, 0.55);
        backdrop-filter: blur(4px);
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    body.theme-dark .terminal-drawer-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    body.theme-dark .terminal-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid rgba(130, 160, 220, 0.22);
        background: rgba(20, 27, 40, 0.95);
        color: #dbe7ff;
        cursor: pointer;
    }

    body.theme-dark .terminal-menu-toggle__icon {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
    }

    body.theme-dark .terminal-topbar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    body.theme-dark .terminal-menu-toggle {
        order: 1;
        flex: 0 0 auto;
    }

    body.theme-dark .terminal-ai-btn {
        order: 2;
        flex: 0 0 auto;
    }

    body.theme-dark .terminal-topbar__right {
        order: 3;
        flex: 1 1 auto;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: 0;
    }

    body.theme-dark .terminal-search {
        order: 4;
        flex: 1 1 100%;
        min-width: 100%;
    }

    body.theme-dark .terminal-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.theme-dark .terminal-grid > .terminal-panel:nth-child(3),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(4),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(5),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(6),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(7),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(8),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(9),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(10),
    body.theme-dark .terminal-grid > .terminal-panel:nth-child(11) {
        grid-column: span 12;
    }

    body.theme-dark .terminal-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .orb {
        filter: blur(70px);
    }
}

body.theme-dark .premium-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

body.theme-dark .premium-status.is-active {
    background: rgba(73, 220, 160, 0.18);
    color: #7ef1c0;
    border: 1px solid rgba(86, 218, 166, 0.38);
}

body.theme-dark .premium-status.is-inactive {
    background: rgba(95, 133, 215, 0.2);
    color: #9ec3ff;
    border: 1px solid rgba(129, 164, 232, 0.38);
}

body.theme-dark .site-footer {
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.08), rgba(4, 9, 18, 0.92));
    border-top: 1px solid rgba(119, 154, 222, 0.25);
}

body.theme-dark .site-footer .brand,
body.theme-dark .site-footer h4 {
    color: #eef5ff;
}

body.theme-dark .site-footer__links a,
body.theme-dark .site-footer .muted {
    color: #a8bce0;
}

body.theme-dark .site-footer__links a:hover {
    color: #fff;
}

body.theme-dark .site-footer .newsletter-form input {
    background: rgba(11, 20, 38, 0.8);
}

@media (max-width: 960px) {
    body.theme-dark .primary-nav {
        background: rgba(7, 12, 24, 0.97);
    }
    body.theme-dark .primary-nav ul li a {
        background: rgba(15, 28, 54, 0.7);
        border-color: rgba(136, 171, 242, 0.28);
    }
}

@media (max-width: 760px) {
    body.theme-dark .auth-card {
        padding: 26px 20px;
    }
    body.theme-dark .dashboard-grid {
        grid-template-columns: 1fr;
    }
    body.theme-dark .about-video-card iframe,
    body.theme-dark .about-video-card video {
        min-height: 260px;
    }
    body.theme-dark .locked-content-panel__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1101px) {
    .site-footer__grid {
        grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) and (min-width: 781px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ========================================================================
   Global Header Fixes
   ======================================================================== */

.site-header {
    z-index: 1200;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
}

.primary-nav {
    justify-content: center;
    min-width: 0;
}

.primary-nav ul {
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 42px;
}

.mobile-nav-actions {
    display: none;
}

.primary-nav a {
    border-radius: 10px;
    padding: 9px 13px;
}

.primary-nav a.is-active {
    background: rgba(120, 166, 255, 0.12);
}

.primary-nav a.is-active::after {
    height: 2px;
    left: 10px;
    right: 10px;
    bottom: 3px;
    background: linear-gradient(90deg, #6da8ff, #58ddff);
}

.nav-actions .btn,
.nav-actions .nav-search,
.header-actions .btn,
.header-actions .nav-search {
    height: 40px;
}

.nav-actions .btn--sm {
    padding: 0 16px;
    font-size: 0.88rem;
}

.header-actions .btn--sm {
    padding: 0 16px;
    font-size: 0.88rem;
}

.header-actions .nav-toggle {
    display: none;
}

.account-menu {
    position: relative;
}

.account-menu__toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(140, 176, 247, 0.35);
    background: rgba(18, 31, 58, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e8f2ff;
    cursor: pointer;
    padding: 0;
}

.account-menu__toggle:hover {
    border-color: rgba(152, 207, 255, 0.62);
}

.account-menu__avatar {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.account-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    border-radius: 12px;
    border: 1px solid rgba(137, 173, 246, 0.34);
    background: rgba(10, 19, 38, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px;
    box-shadow: 0 18px 48px rgba(1, 6, 16, 0.54);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 40;
}

.account-menu.is-open .account-menu__dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.account-menu__dropdown a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: #c8d8f6;
    font-size: 0.88rem;
}

.account-menu__dropdown a:hover {
    color: #fff;
    background: rgba(115, 158, 241, 0.18);
}

.mobile-account-links {
    display: none;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open.nav-locked {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-lock-top, 0);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior: none;
}

html.nav-open {
    overflow-x: hidden;
}

@media (max-width: 960px) {
    .site-header__inner {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: var(--header-h);
    }

    .site-header .brand__logo {
        height: 32px;
        max-width: min(176px, 44vw);
    }

    .header-actions {
        margin-left: auto;
        gap: 8px;
        min-width: 0;
    }

    /* Hide search + language in the top bar; keep Login / account visible. */
    .header-actions > .nav-search,
    body.home-premium .header-actions > .nav-search,
    body.theme-dark .header-actions > .nav-search,
    .header-actions > .lang-switch {
        display: none;
    }

    .header-actions > .header-auth,
    .header-actions > .header-login,
    .header-actions > .account-menu {
        display: inline-flex;
    }

    /* Match Login to the hamburger control. */
    .header-actions .header-login {
        width: auto;
        height: 42px;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 10px;
        border: 1px solid var(--glass-brd);
        background: var(--glass);
        color: var(--fg);
        font-size: 0.84rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        box-shadow: none;
        flex-shrink: 0;
    }

    .header-actions .header-login:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--glass-brd-strong);
        color: var(--fg);
    }

    body.theme-dark .header-actions .header-login,
    body.home-premium .header-actions .header-login {
        background: rgba(19, 31, 58, 0.58);
        border-color: rgba(137, 173, 244, 0.3);
        color: #eef5ff;
    }

    body.theme-dark .header-actions .header-login:hover,
    body.home-premium .header-actions .header-login:hover {
        background: rgba(26, 44, 80, 0.65);
        border-color: rgba(152, 207, 255, 0.55);
        color: #fff;
    }

    .header-actions .account-menu__toggle {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .header-actions .nav-toggle {
        display: inline-flex;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .primary-nav__inner {
        padding: 14px 18px 24px;
    }

    .primary-nav ul {
        margin-top: 10px;
    }

    .primary-nav ul li a {
        font-size: 1.08rem;
    }

    .primary-nav a.is-active {
        border: 1px solid rgba(133, 171, 243, 0.38);
        background: rgba(75, 124, 224, 0.18);
    }

    .mobile-nav-actions {
        display: grid;
        gap: 10px;
        margin-top: auto;
        padding-top: 14px;
        border-top: 1px solid rgba(134, 170, 242, 0.22);
    }

    .mobile-nav-actions__row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-nav-actions .lang-switch {
        margin-left: 0;
    }

    .mobile-nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-actions {
        margin-top: auto;
    }
}

@media (max-width: 1260px) and (min-width: 961px) {
    .site-header__inner {
        gap: 20px;
    }
    .primary-nav ul {
        gap: 4px;
    }
    .primary-nav a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    .header-actions {
        gap: 8px;
    }
    .header-actions .btn--sm {
        padding: 0 12px;
    }
}

/* ========================================================================
   About page — premium personal brand (body.theme-dark.page-about)
   ======================================================================== */

body.page-about .ab-hero {
    position: relative;
    padding-top: clamp(120px, 16vh, 168px);
    padding-bottom: clamp(40px, 6vw, 64px);
    overflow: hidden;
}

body.page-about .ab-hero__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    pointer-events: none;
    z-index: 0;
}

body.page-about .ab-hero__glow--l {
    width: 360px;
    height: 360px;
    top: 40px;
    left: -90px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.26) 0%, rgba(0, 208, 132, 0) 70%);
}

body.page-about .ab-hero__glow--r {
    width: 420px;
    height: 420px;
    top: -60px;
    right: -100px;
    background: radial-gradient(circle, rgba(29, 209, 255, 0.20) 0%, rgba(29, 209, 255, 0) 68%);
}

body.page-about .ab-hero__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 4.5vw, 72px);
    align-items: center;
}

body.page-about .ab-hero__content {
    text-align: left;
    max-width: 640px;
}

body.page-about .ab-hero__content h1 {
    font-size: clamp(2.4rem, 3.6vw, 3.9rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin: 16px 0 18px;
    text-wrap: balance;
}

body.page-about .ab-hero__sub {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: var(--td-text);
    font-weight: 500;
    margin: 0 0 16px;
}

body.page-about .ab-hero__intro {
    color: var(--td-muted);
    max-width: 560px;
    margin: 0 0 28px;
}

body.page-about .ab-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

body.page-about .ab-hero__visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.18);
    background:
        radial-gradient(420px 300px at 80% 0%, rgba(0, 208, 132, 0.14), transparent 70%),
        linear-gradient(160deg, rgba(20, 25, 34, 0.92), rgba(15, 17, 23, 0.86));
    box-shadow: 0 38px 95px rgba(2, 7, 18, 0.55);
    min-height: clamp(420px, 50vh, 540px);
    display: flex;
    align-items: flex-end;
}

body.page-about .ab-hero__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

body.page-about .ab-hero__badge {
    position: relative;
    z-index: 1;
    margin: 18px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(66, 245, 200, 0.2);
    background: rgba(11, 14, 20, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.page-about .ab-hero__badge strong {
    display: block;
    font-size: 1.05rem;
    color: #fff;
}

body.page-about .ab-hero__badge span {
    font-size: 0.85rem;
    color: var(--td-mint);
}

/* Video */
body.page-about .ab-video__player {
    max-width: 1000px;
    margin: 26px auto 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.18);
    box-shadow: 0 34px 90px rgba(2, 7, 18, 0.55);
    background: #000;
    aspect-ratio: 16 / 9;
}

body.page-about .ab-video__player iframe,
body.page-about .ab-video__player video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

body.page-about .ab-video__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--td-muted);
    gap: 10px;
}

body.page-about .ab-video__placeholder span {
    font-size: 2rem;
    color: var(--td-accent);
}

/* Story alternating blocks */
body.page-about .ab-story {
    display: grid;
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

body.page-about .ab-story__item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    padding: 26px 28px;
}

body.page-about .ab-story__num {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--td-accent);
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(0, 208, 132, 0.26);
    background: rgba(0, 208, 132, 0.08);
}

body.page-about .ab-story__item h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

body.page-about .ab-story__item :is(p, ul, li) {
    color: var(--td-muted);
}

/* Expertise cards */
body.page-about .ab-expertise {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.page-about .ab-exp-card {
    padding: 24px;
    border-radius: 18px;
}

body.page-about .ab-exp-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-bottom: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--td-accent);
    border: 1px solid rgba(0, 208, 132, 0.24);
    background: rgba(0, 208, 132, 0.08);
}

body.page-about .ab-exp-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

body.page-about .ab-exp-card p {
    margin: 0;
    color: var(--td-muted);
    font-size: 0.94rem;
}

/* Journey timeline */
body.page-about .ab-timeline {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    padding-left: 28px;
}

body.page-about .ab-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--td-accent), rgba(29, 209, 255, 0.2));
}

body.page-about .ab-tl-item {
    position: relative;
    padding: 18px 22px;
    border-radius: 16px;
}

body.page-about .ab-tl-item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--td-accent);
    box-shadow: 0 0 0 4px rgba(0, 208, 132, 0.18);
}

body.page-about .ab-tl-item__year {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--td-cyan);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

body.page-about .ab-tl-item h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
}

body.page-about .ab-tl-item p {
    margin: 0;
    color: var(--td-muted);
    font-size: 0.92rem;
}

/* Media & reach */
body.page-about .ab-media {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

body.page-about .ab-media-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.page-about a.ab-media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 209, 255, 0.4);
}

body.page-about .ab-media-card__label {
    font-weight: 700;
    color: var(--td-text);
}

body.page-about .ab-media-card__stat {
    color: var(--td-mint);
    font-size: 0.9rem;
    font-family: "Space Grotesk", sans-serif;
}

/* Mission */
body.page-about .ab-mission__card {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(34px, 5vw, 56px);
    border-radius: 24px;
    border: 1px solid rgba(66, 245, 200, 0.2);
    background:
        radial-gradient(520px 280px at 50% 0%, rgba(0, 208, 132, 0.12), transparent 70%),
        rgba(20, 25, 34, 0.78);
}

body.page-about .ab-mission__card h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: 0 0 16px;
}

body.page-about .ab-mission__card p {
    color: var(--td-muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
}

/* CTA band */
body.page-about .ab-cta__card {
    border-radius: 24px;
    padding: clamp(30px, 4vw, 44px);
    border: 1px solid rgba(66, 245, 200, 0.22);
    background:
        radial-gradient(460px 240px at 90% 15%, rgba(0, 208, 132, 0.16), transparent 70%),
        radial-gradient(420px 260px at 4% 90%, rgba(29, 209, 255, 0.12), transparent 72%),
        rgba(20, 25, 34, 0.82);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 26px 62px rgba(2, 9, 24, 0.5);
}

body.page-about .ab-cta__card h2 {
    margin: 0 0 6px;
}

body.page-about .ab-cta__card p {
    margin: 0;
    color: var(--td-muted);
    max-width: 620px;
}

@media (max-width: 1000px) {
    body.page-about .ab-hero__layout {
        grid-template-columns: 1fr;
    }
    body.page-about .ab-hero__content {
        max-width: none;
    }
    body.page-about .ab-expertise {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.page-about .ab-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.page-about .ab-expertise,
    body.page-about .ab-media {
        grid-template-columns: 1fr;
    }
    body.page-about .ab-story__item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    body.page-about .ab-cta__card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   Membership plans (abonohu.php) + payment page (payment.php)
   ============================================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px 26px;
    height: 100%;
}
.plan-card--featured {
    border-color: rgba(66, 245, 200, 0.45);
    box-shadow: 0 0 0 1px rgba(66, 245, 200, 0.25), 0 24px 70px rgba(0, 0, 0, 0.45);
    transform: translateY(-6px);
}
.plan-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d084, #1dd1ff);
    color: #04140f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-card__head { display: flex; flex-direction: column; gap: 6px; }
.plan-card__name { margin: 0; font-size: 1.5rem; }
.plan-card__tagline { margin: 0; color: var(--muted, #9aa6b2); font-size: 0.95rem; }
.plan-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.plan-card__price-value { font-size: 2.1rem; font-weight: 700; line-height: 1; }
.plan-card__price-period { color: var(--muted, #9aa6b2); font-size: 0.95rem; }
.plan-card__desc { margin: 0; color: var(--muted, #9aa6b2); }
.plan-card__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-card__features li {
    position: relative;
    padding-left: 26px;
    line-height: 1.4;
}
.plan-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 208, 132, 0.15);
    box-shadow: inset 0 0 0 1.5px rgba(0, 208, 132, 0.7);
}
.plan-card__features li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 7px;
    width: 4px;
    height: 8px;
    border: solid #00d084;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.plan-card__reqs {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 16px;
}
.plan-card__reqs h3 { margin: 0 0 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted, #9aa6b2); }
.plan-card__reqs ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.plan-card__cta { margin-top: auto; }
.plan-card__cta .btn { width: 100%; justify-content: center; }
.plans-disclaimer { margin-top: 32px; text-align: center; }

.payment-wrap { max-width: 1040px; margin: 0 auto; }
.payment-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
}
.payment-facts, .payment-bank { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.payment-facts > div, .payment-bank > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.payment-facts dt, .payment-bank dt { color: var(--muted, #9aa6b2); font-size: 0.9rem; }
.payment-facts dd, .payment-bank dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.payment-ref, .payment-bank code {
    font-family: "JetBrains Mono", monospace;
    background: rgba(0, 208, 132, 0.12);
    border: 1px solid rgba(0, 208, 132, 0.35);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 1rem;
    cursor: pointer;
    user-select: all;
}
.payment-desc { margin-bottom: 22px; line-height: 1.6; color: var(--muted, #cdd6df); }
.payment-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 980px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .plan-card--featured { transform: none; }
    .payment-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Maintenance / pre-launch page
   ===================================================================== */

body.page-maintenance {
    --orb-opacity: 0.14;
    --hp-bg: #0b0e14;
    --hp-text: #eef2f8;
    --hp-text-dim: #9aa8bc;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--hp-text);
    background:
        radial-gradient(900px 540px at 92% 10%, rgba(0, 208, 132, 0.10), transparent 70%),
        radial-gradient(760px 460px at 10% 18%, rgba(29, 209, 255, 0.08), transparent 70%),
        radial-gradient(600px 360px at 84% 76%, rgba(66, 245, 200, 0.06), transparent 70%),
        linear-gradient(180deg, #0b0e14 0%, #0f1117 35%, #141922 100%);
}

body.page-maintenance main {
    margin: 0;
}

body.page-maintenance .muted {
    color: var(--hp-text-dim);
}

body.page-maintenance .maint__lead {
    color: var(--hp-text-dim);
}

body.page-maintenance .maint__panel {
    background: rgba(20, 25, 34, 0.72);
    border-color: rgba(66, 245, 200, 0.14);
}

body.page-maintenance .maint__panel h1 {
    color: #fff;
}

body.page-maintenance label {
    color: var(--hp-text);
}

body.page-maintenance input {
    background: rgba(7, 9, 15, 0.72);
    border-color: rgba(66, 245, 200, 0.18);
    color: var(--hp-text);
}

body.page-maintenance input:focus {
    border-color: rgba(29, 209, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(29, 209, 255, 0.14);
}

.maint {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: clamp(32px, 6vw, 72px) 0;
    overflow: hidden;
}

.maint__glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(8px);
}

.maint__glow--a {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: -80px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.28) 0%, transparent 70%);
    animation: orbFloat 28s ease-in-out infinite alternate;
}

.maint__glow--b {
    width: min(480px, 75vw);
    height: min(480px, 75vw);
    right: -120px;
    bottom: -60px;
    background: radial-gradient(circle, rgba(29, 209, 255, 0.22) 0%, transparent 68%);
    animation: orbFloat 36s ease-in-out infinite alternate-reverse;
}

.maint__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.maint__brand {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(28px, 5vw, 44px);
    animation: maintRise 0.7s var(--ease) both;
}

.maint__brand .brand__logo-img {
    height: clamp(36px, 6vw, 48px);
    width: auto;
}

.maint__panel {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--glass-brd);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: var(--shadow);
    text-align: left;
    animation: maintRise 0.85s var(--ease) 0.08s both;
}

.maint__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #42f5c8;
    background: rgba(0, 208, 132, 0.10);
    border: 1px solid rgba(66, 245, 200, 0.28);
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 20px;
}

.maint__panel h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
    text-wrap: balance;
}

.maint__lead {
    color: var(--fg-dim);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 42ch;
}

.maint-form__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    margin-bottom: 18px;
    background: rgba(7, 9, 15, 0.55);
    border: 1px solid var(--glass-brd);
    border-radius: 999px;
}

.maint-form__tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--fg-dim);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.maint-form__tab.is-active {
    color: #0b0d14;
    background: var(--grad-primary);
    box-shadow: 0 8px 22px rgba(0, 208, 132, 0.22);
}

.maint-form__tab:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.maint-form__field {
    margin-bottom: 16px;
}

.maint-form__field[hidden] {
    display: none !important;
}

.maint-form__submit {
    width: 100%;
    margin-top: 4px;
}

.maint-form .form-status {
    min-height: 1.35em;
    margin-top: 14px;
    text-align: center;
}

.maint-form__hint {
    margin: 14px 0 0;
    text-align: center;
    line-height: 1.5;
}

.maint__social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 28px;
    animation: maintRise 0.9s var(--ease) 0.16s both;
}

.maint__social-link {
    color: var(--fg-dim);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.maint__social-link:hover {
    color: var(--mint);
    border-color: rgba(66, 245, 200, 0.45);
}

.maint__foot {
    margin: 28px 0 0;
    text-align: center;
    animation: maintRise 1s var(--ease) 0.22s both;
}

@keyframes maintRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 520px) {
    .maint {
        align-items: flex-start;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .maint__panel {
        padding: 24px 18px;
    }

    .maint__lead {
        max-width: none;
    }

    .maint-form__tab {
        padding: 11px 10px;
        font-size: 0.88rem;
    }

    .maint-form__submit {
        white-space: normal;
        line-height: 1.25;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maint__brand,
    .maint__panel,
    .maint__social,
    .maint__foot,
    .maint__glow--a,
    .maint__glow--b {
        animation: none !important;
    }
}

/* =====================================================================
   Homepage — Journey / Services / About INKABIT / FAQ / Modals
   ===================================================================== */

body.home-premium .hp-journey__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    position: relative;
}

body.home-premium .hp-journey__card {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 18px;
    padding: 22px 20px;
    text-align: left;
}

body.home-premium .hp-journey__year {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #42f5c8;
    margin-bottom: 10px;
}

body.home-premium .hp-journey__card h3 {
    color: #fff;
    font-size: 1.12rem;
    margin: 0 0 8px;
}

body.home-premium .hp-journey__card p {
    color: #9aa8bc;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

body.home-premium .hp-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body.home-premium .hp-service-card {
    appearance: none;
    text-align: left;
    cursor: pointer;
    width: 100%;
    font: inherit;
    color: inherit;
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.16);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

body.home-premium .hp-service-card:hover,
body.home-premium .hp-service-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(29, 209, 255, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    outline: none;
}

body.home-premium .hp-service-card__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #42f5c8;
    margin-bottom: 14px;
}

body.home-premium .hp-service-card h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.35rem;
}

body.home-premium .hp-service-card p {
    color: #9aa8bc;
    margin: 0 0 18px;
    line-height: 1.55;
}

body.home-premium .hp-service-card__price {
    display: inline-block;
    font-weight: 700;
    color: #eef2f8;
    font-size: 1.05rem;
}

body.home-premium .hp-about-inkabit__layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

body.home-premium .hp-about-inkabit__points {
    display: grid;
    gap: 16px;
}

body.home-premium .hp-about-inkabit__points article {
    background: rgba(20, 25, 34, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 18px 20px;
}

body.home-premium .hp-about-inkabit__points h3 {
    color: #fff;
    margin: 0 0 6px;
    font-size: 1.05rem;
}

body.home-premium .hp-about-inkabit__points p {
    color: #9aa8bc;
    margin: 0;
    font-size: 0.95rem;
}

body.home-premium .hp-faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

body.home-premium .hp-faq__item {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
}

body.home-premium .hp-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: #fff;
    position: relative;
}

body.home-premium .hp-faq__item summary::-webkit-details-marker { display: none; }

body.home-premium .hp-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #42f5c8;
    font-size: 1.25rem;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), color 0.3s var(--ease);
}

body.home-premium .hp-faq__item[open] summary::after {
    content: "–";
}

body.home-premium .hp-faq__answer {
    padding: 0 22px 18px;
    color: #9aa8bc;
    line-height: 1.65;
}

body.home-premium .hp-faq__answer p { margin: 0; }

.hp-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hp-modal[hidden] { display: none !important; }

.hp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 14, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hp-modal__panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    background: #141922;
    border: 1px solid rgba(66, 245, 200, 0.2);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    animation: hpModalIn 0.28s var(--ease);
}

@keyframes hpModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.hp-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    appearance: none;
    border: 0;
    background: transparent;
    color: #9aa8bc;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 6px 10px;
}

.hp-modal__close:hover { color: #fff; }

.hp-modal__panel h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.6rem;
    padding-right: 28px;
}

.hp-modal__price {
    color: #42f5c8;
    font-weight: 700;
    margin: 0 0 16px;
}

.hp-modal__body {
    color: #b8c4d4;
    line-height: 1.65;
    margin-bottom: 24px;
}

body.hp-modal-open { overflow: hidden; }

@media (max-width: 980px) {
    body.home-premium .hp-services__grid,
    body.home-premium .hp-about-inkabit__layout {
        grid-template-columns: 1fr;
    }
}

/* Plans page unification */
body.page-plans .plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

body.page-plans .plan-card {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

body.page-plans .plan-card--featured {
    border-color: rgba(0, 208, 132, 0.45);
    box-shadow: 0 24px 60px rgba(0, 208, 132, 0.12);
    transform: translateY(-6px);
}

body.page-plans .plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 8px;
    color: #b8c4d4;
    flex: 1;
}

body.page-plans .plan-card__features li::before {
    content: "✓ ";
    color: #00d084;
}

body.page-plans .academy-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

@media (max-width: 980px) {
    body.page-plans .plans-grid,
    body.page-plans .academy-plans {
        grid-template-columns: 1fr;
    }
    body.page-plans .plan-card--featured { transform: none; }
}

/* About INKABIT company page */
body.page-about-company .about-co-hero {
    padding: 120px 0 48px;
    text-align: center;
}

body.page-about-company .about-co-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

body.page-about-company .about-co-card {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 18px;
    padding: 26px 24px;
}

body.page-about-company .about-co-card h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.25rem;
}

body.page-about-company .about-co-card p {
    color: #9aa8bc;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 760px) {
    body.page-about-company .about-co-grid { grid-template-columns: 1fr; }
}

/* Privacy page */
body.page-privacy .privacy-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 100px 0 64px;
}

body.page-privacy .privacy-body {
    color: #b8c4d4;
    line-height: 1.75;
}

body.page-privacy .privacy-body h2 {
    color: #fff;
    margin: 28px 0 10px;
    font-size: 1.2rem;
}

/* =====================================================================
   UX Polish v8 — Hero, Analysis cards, Testimonials, Services, About
   ===================================================================== */

body.home-premium .hp-hero__content--minimal .hp-hero__title,
body.home-premium .hp-hero__content--minimal h1 {
    max-width: 14ch;
    margin-bottom: 36px;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1.05;
}

body.home-premium .hp-hero__content--minimal > p {
    display: none;
}

/* Technical analysis — featured + side */
body.home-premium .hp-ta-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 22px;
    align-items: stretch;
}

body.home-premium .hp-ta-side {
    display: grid;
    gap: 22px;
}

body.home-premium .hp-ta-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

body.home-premium .hp-ta-card:hover {
    transform: translateY(-6px);
    border-color: rgba(29, 209, 255, 0.45);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(66, 245, 200, 0.12);
}

body.home-premium .hp-ta-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.12), rgba(29, 209, 255, 0.08));
}

body.home-premium .hp-ta-card--featured .hp-ta-card__media {
    aspect-ratio: 16 / 10;
    min-height: 280px;
}

body.home-premium .hp-ta-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

body.home-premium .hp-ta-card:hover .hp-ta-card__media img {
    transform: scale(1.06);
}

body.home-premium .hp-ta-card__placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(0, 208, 132, 0.22), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(29, 209, 255, 0.18), transparent 45%),
        #12161f;
}

body.home-premium .hp-ta-card__badges {
    position: absolute;
    left: 14px;
    top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

body.home-premium .hp-ta-card__coin,
body.home-premium .hp-ta-card__cat,
body.home-premium .hp-ta-card__premium {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.home-premium .hp-ta-card__coin {
    color: #04281c;
    background: #42f5c8;
    font-weight: 700;
}

body.home-premium .hp-ta-card__cat {
    color: #eef2f8;
    background: rgba(8, 12, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body.home-premium .hp-ta-card__premium {
    color: #ffd28a;
    background: rgba(80, 50, 10, 0.7);
    border: 1px solid rgba(255, 210, 138, 0.35);
}

body.home-premium .hp-ta-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.home-premium .hp-ta-card__date {
    color: #7f8fa3;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

body.home-premium .hp-ta-card h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.3;
}

body.home-premium .hp-ta-card--featured h3 {
    font-size: clamp(1.4rem, 2vw, 1.85rem);
}

body.home-premium .hp-ta-card p {
    color: #9aa8bc;
    margin: 0 0 18px;
    line-height: 1.6;
    flex: 1;
}

body.home-premium .hp-ta-card__more {
    color: #42f5c8;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Testimonials */
body.home-premium .hp-testimonials__intro {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    margin-bottom: clamp(36px, 5vw, 56px);
}

body.home-premium .hp-testimonials__video-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.18);
    background: #0f131b;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 10;
}

body.home-premium .hp-testimonials__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.home-premium .hp-testimonials__video-ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #7f8fa3;
    background:
        radial-gradient(circle at 40% 40%, rgba(0, 208, 132, 0.16), transparent 50%),
        #12161f;
    padding: 24px;
    text-align: center;
}

body.home-premium .hp-testimonials__body {
    color: #9aa8bc;
    line-height: 1.7;
    max-width: 46ch;
    margin: 0;
}

body.home-premium .hp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.home-premium .hp-tcard {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 20px;
    padding: 22px 20px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

body.home-premium .hp-tcard:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 209, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

body.home-premium .hp-tcard__top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

body.home-premium .hp-tcard__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(66, 245, 200, 0.12);
    border: 1px solid rgba(66, 245, 200, 0.25);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #42f5c8;
    font-weight: 700;
}

body.home-premium .hp-tcard__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home-premium .hp-tcard h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.05rem;
}

body.home-premium .hp-tcard__stars {
    color: #ffd28a;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

body.home-premium .hp-tcard p {
    color: #b8c4d4;
    line-height: 1.6;
    margin: 0 0 12px;
}

body.home-premium .hp-tcard__date {
    color: #7f8fa3;
    font-size: 0.8rem;
}

/* Services premium cards */
body.home-premium .hp-service-card {
    position: relative;
    overflow: hidden;
    padding: 30px 26px 26px;
    min-height: 100%;
}

body.home-premium .hp-service-card__glow {
    position: absolute;
    inset: auto -20% -40% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 245, 200, 0.22), transparent 70%);
    pointer-events: none;
}

body.home-premium .hp-service-card--premium .hp-service-card__glow {
    background: radial-gradient(circle, rgba(0, 208, 132, 0.28), transparent 70%);
}

body.home-premium .hp-service-card--signals .hp-service-card__glow {
    background: radial-gradient(circle, rgba(29, 209, 255, 0.28), transparent 70%);
}

body.home-premium .hp-service-card--academy .hp-service-card__glow {
    background: radial-gradient(circle, rgba(180, 140, 255, 0.22), transparent 70%);
}

body.home-premium .hp-service-card__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 16px;
    color: #42f5c8;
    background: rgba(66, 245, 200, 0.1);
    border: 1px solid rgba(66, 245, 200, 0.22);
    font-size: 1.1rem;
}

body.home-premium .hp-service-card__meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

body.home-premium .hp-service-card__dur,
body.home-premium .hp-service-card__alt {
    color: #7f8fa3;
    font-size: 0.88rem;
}

body.home-premium .hp-service-card__feats {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px;
    display: grid;
    gap: 8px;
    color: #b8c4d4;
    font-size: 0.92rem;
}

body.home-premium .hp-service-card__feats li::before {
    content: "✓ ";
    color: #00d084;
}

body.home-premium .hp-service-card__cta {
    color: #42f5c8;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Premium service modal */
.hp-modal__panel--xl {
    width: min(920px, 100%);
    max-height: min(90vh, 860px);
    padding: 0;
    background: rgba(16, 20, 28, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(66, 245, 200, 0.22);
    display: flex;
    flex-direction: column;
}

.hp-modal__panel--xl .hp-modal__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.hp-modal__hero {
    position: relative;
    min-height: 180px;
    padding: 28px 28px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 208, 132, 0.18), transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(29, 209, 255, 0.12), transparent 40%),
        #12161f;
}

.hp-modal__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hp-modal__hero-ph {
    position: absolute;
    inset: 0;
}

.hp-modal__hero-meta {
    position: relative;
    z-index: 1;
}

.hp-modal__hero-meta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    padding-right: 40px;
}

.hp-modal__price {
    color: #42f5c8;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
}

.hp-modal__price span,
.hp-modal__price-alt {
    color: #9aa8bc;
    font-weight: 500;
    font-size: 0.95rem;
}

.hp-modal__price-alt { margin: 6px 0 0; }

.hp-modal__scroll {
    overflow: auto;
    padding: 22px 28px;
    flex: 1;
}

.hp-modal__block {
    margin-bottom: 22px;
}

.hp-modal__block h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hp-modal__desc {
    color: #b8c4d4;
    line-height: 1.7;
    margin: 0;
}

.hp-modal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: #c5d0de;
}

.hp-modal__list li::before {
    content: "✓ ";
    color: #00d084;
}

.hp-modal__list--muted li::before { color: #7f8fa3; }

.hp-modal__faq {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
}

.hp-modal__faq summary {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
}

.hp-modal__faq p {
    color: #9aa8bc;
    margin: 10px 0 0;
    line-height: 1.6;
}

.hp-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 28px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 12, 18, 0.55);
}

.hp-modal__panel--xl .hp-modal__close {
    z-index: 3;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

/* About company page */
body.page-about-company .about-hero {
    position: relative;
    padding: 120px 0 56px;
    overflow: hidden;
}

body.page-about-company .about-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

body.page-about-company .about-hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0 0 18px;
}

body.page-about-company .about-hero__visual {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.16);
    min-height: 320px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

body.page-about-company .about-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

body.page-about-company .about-hero__ph {
    min-height: 320px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 208, 132, 0.25), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(29, 209, 255, 0.18), transparent 45%),
        #12161f;
    color: #42f5c8;
    font-size: 1.4rem;
    letter-spacing: 0.28em;
    font-weight: 700;
}

body.page-about-company .about-feature-card {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 44px);
    margin-bottom: 20px;
}

body.page-about-company .about-feature-card h2 {
    color: #fff;
    margin: 8px 0 14px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

body.page-about-company .about-feature-card p {
    color: #b8c4d4;
    font-size: 1.08rem;
    line-height: 1.75;
    margin: 0;
    max-width: 62ch;
}

body.page-about-company .about-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.page-about-company .about-why-card,
body.page-about-company .about-choose-card {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 22px 20px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.page-about-company .about-why-card:hover,
body.page-about-company .about-choose-card:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 245, 200, 0.28);
}

body.page-about-company .about-why-card h3,
body.page-about-company .about-choose-card h3 {
    color: #fff;
    margin: 0 0 8px;
}

body.page-about-company .about-why-card p,
body.page-about-company .about-choose-card p {
    color: #9aa8bc;
    margin: 0;
    line-height: 1.6;
}

body.page-about-company .about-philosophy {
    text-align: center;
}

body.page-about-company .about-philosophy__text {
    color: #eef2f8;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.5;
    max-width: 28ch;
    margin: 0 auto;
    font-weight: 500;
}

body.page-about-company .about-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.page-about-company .about-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

body.page-about-company .about-timeline__item {
    background: rgba(20, 25, 34, 0.65);
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 16px;
    padding: 18px 16px;
}

body.page-about-company .about-timeline__year {
    display: inline-block;
    color: #42f5c8;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

body.page-about-company .about-timeline__item h3 {
    color: #fff;
    margin: 0 0 6px;
    font-size: 1.05rem;
}

body.page-about-company .about-timeline__item p {
    color: #9aa8bc;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

body.page-about-company .about-cta__panel {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 208, 132, 0.18), transparent 55%),
        rgba(20, 25, 34, 0.85);
    border: 1px solid rgba(66, 245, 200, 0.2);
    border-radius: 28px;
    padding: clamp(40px, 6vw, 72px) 28px;
}

body.page-about-company .about-cta__panel h2 {
    color: #fff;
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

body.page-about-company .about-cta__panel p {
    color: #9aa8bc;
    margin: 0 0 24px;
}

@media (max-width: 980px) {
    body.home-premium .hp-ta-layout,
    body.home-premium .hp-testimonials__intro,
    body.page-about-company .about-hero__grid,
    body.page-about-company .about-why-grid,
    body.page-about-company .about-choose-grid {
        grid-template-columns: 1fr;
    }
    body.page-about-company .about-timeline {
        grid-template-columns: 1fr 1fr;
    }
    body.home-premium .hp-testimonials__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.page-about-company .about-timeline {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   UX Polish v9 — Hero stack, compact TA, Success Story, Modal fix
   ===================================================================== */

body.home-premium .hp-hero__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0 0 36px;
    max-width: none;
}

body.home-premium .hp-hero__line {
    display: block;
    color: #fff;
    margin: 0;
}

body.home-premium .hp-hero__line--small {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 500;
    color: #9aa8bc;
    letter-spacing: 0.01em;
    line-height: 1.35;
    max-width: 28ch;
}

body.home-premium .hp-hero__line--focus {
    font-size: clamp(3.2rem, 6.5vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    background: linear-gradient(120deg, #ffffff 10%, #42f5c8 55%, #1dd1ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-transform: uppercase;
    /* iOS Safari: prevent gradient text from being clipped/vanishing */
    padding: 0.06em 0.02em;
    margin: -0.06em -0.02em;
    display: inline-block;
    max-width: 100%;
    overflow: visible;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.home-premium .hp-hero__line--focus {
        color: #42f5c8;
        -webkit-text-fill-color: #42f5c8;
        background: none;
    }
}

body.home-premium .hp-hero__line--sub {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #eef2f8;
    margin-top: 0.35rem;
}

/* Compact analysis row */
body.home-premium .hp-ta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.home-premium .hp-ta-row .hp-ta-card {
    height: 340px;
    max-height: 360px;
}

body.home-premium .hp-ta-row .hp-ta-card__media {
    aspect-ratio: auto;
    height: 140px;
    min-height: 140px;
    flex-shrink: 0;
}

body.home-premium .hp-ta-row .hp-ta-card__body {
    padding: 14px 16px 16px;
    min-height: 0;
}

body.home-premium .hp-ta-row .hp-ta-card h3 {
    font-size: 1.02rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.home-premium .hp-ta-row .hp-ta-card p {
    font-size: 0.88rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

body.home-premium .hp-ta-layout,
body.home-premium .hp-ta-side,
body.home-premium .hp-ta-card--featured {
    /* legacy featured layout unused */
}

/* Success story */
body.home-premium .hp-success__intro {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
    margin-bottom: clamp(32px, 4vw, 48px);
}

body.home-premium .hp-success__video-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(66, 245, 200, 0.18);
    background: #0f131b;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 10;
}

body.home-premium .hp-success__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.home-premium .hp-success__video-ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #7f8fa3;
    background:
        radial-gradient(circle at 40% 40%, rgba(0, 208, 132, 0.16), transparent 50%),
        #12161f;
    padding: 24px;
    text-align: center;
}

body.home-premium .hp-success__timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

body.home-premium .hp-success__card {
    background: rgba(20, 25, 34, 0.72);
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 18px;
    padding: 18px 16px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.home-premium .hp-success__card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 209, 255, 0.35);
}

body.home-premium .hp-success__year {
    display: inline-block;
    color: #42f5c8;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

body.home-premium .hp-success__card h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.05rem;
}

body.home-premium .hp-success__card p {
    color: #9aa8bc;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

body.home-premium .hp-success__future {
    background: rgba(20, 25, 34, 0.55);
    border: 1px solid rgba(66, 245, 200, 0.14);
    border-radius: 20px;
    padding: 26px 28px;
}

body.home-premium .hp-success__future h3 {
    color: #fff;
    margin: 0 0 8px;
}

body.home-premium .hp-success__future p {
    color: #9aa8bc;
    margin: 0;
    line-height: 1.65;
    max-width: 70ch;
}

/* Modal: fix [hidden] overridden by display:flex */
.hp-modal__content[hidden],
.hp-modal__content[aria-hidden="true"]:not(.is-active) {
    display: none !important;
}

.hp-modal__content.is-active {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.hp-modal__eyebrow {
    color: #42f5c8;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.hp-modal__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0 8px;
}

.hp-modal__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #eef2f8;
    border: 1px solid rgba(66, 245, 200, 0.28);
    background: rgba(66, 245, 200, 0.1);
}

.hp-modal__feat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hp-modal__feat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    color: #c5d0de;
    font-size: 0.95rem;
    line-height: 1.45;
}

.hp-modal__hero-meta .hp-modal__desc {
    margin-top: 14px;
    max-width: 58ch;
}

@media (max-width: 980px) {
    body.home-premium .hp-ta-row {
        grid-template-columns: 1fr;
    }
    body.home-premium .hp-ta-row .hp-ta-card {
        height: auto;
        max-height: none;
        min-height: 300px;
    }
    body.home-premium .hp-success__intro {
        grid-template-columns: 1fr;
    }
    body.home-premium .hp-success__timeline {
        grid-template-columns: 1fr 1fr;
    }
    .hp-modal__feat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.home-premium .hp-success__timeline {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   UX Polish v10 — Dashboard preview, footer, legal, cookies
   ===================================================================== */

body.home-premium .hp-terminal.hp-dash-preview,
body.home-premium .hp-dash-preview {
    border: 1px solid rgba(66, 245, 200, 0.16);
    background:
        linear-gradient(165deg, rgba(18, 24, 34, 0.94), rgba(10, 14, 22, 0.88));
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 38px 95px rgba(2, 7, 18, 0.62),
        0 0 0 1px rgba(66, 245, 200, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    width: 100%;
    min-height: clamp(480px, 54vh, 580px);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

body.home-premium .hp-dash-preview:hover {
    border-color: rgba(29, 209, 255, 0.28);
    box-shadow:
        0 42px 110px rgba(2, 7, 18, 0.7),
        0 0 40px rgba(0, 208, 132, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.home-premium .hp-dash-preview__body.hp-terminal__body,
body.home-premium .hp-dash-preview__body {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 14px;
    padding: 16px;
    flex: 1;
    align-items: stretch;
}

body.home-premium .hp-dash-preview__main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

body.home-premium .hp-dash-preview__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body.home-premium .hp-dash-stat {
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 14px;
    background: rgba(20, 26, 36, 0.72);
    padding: 12px 12px 11px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

body.home-premium .hp-dash-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(29, 209, 255, 0.35);
    background: rgba(24, 32, 44, 0.88);
}

body.home-premium .hp-dash-stat__label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fa0b8;
    margin-bottom: 6px;
}

body.home-premium .hp-dash-stat__value {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    color: #f2f6fc;
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.home-premium .hp-dash-stat__meta {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.74rem;
    font-style: normal;
    color: #9aa8bc;
}

body.home-premium .hp-dash-stat__meta.is-up,
body.home-premium .hp-wl__chg.is-up { color: #00d084; }
body.home-premium .hp-dash-stat__meta.is-down,
body.home-premium .hp-wl__chg.is-down { color: #ff5c7a; }
body.home-premium .hp-wl__chg.is-neutral { color: #1dd1ff; }

body.home-premium .hp-dash-preview__watchlist {
    flex: 1;
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 16px;
    background: rgba(16, 21, 30, 0.7);
    padding: 14px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

body.home-premium .hp-dash-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

body.home-premium .hp-dash-panel__head h3 {
    margin: 0;
    font-size: 0.92rem;
    color: #f1f6ff;
    font-weight: 600;
}

body.home-premium .hp-dash-panel__hint {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7f91a9;
}

body.home-premium .hp-dash-panel__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #00d084;
    box-shadow: 0 0 10px rgba(0, 208, 132, 0.65);
}

body.home-premium .hp-dash-preview__watchlist ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

body.home-premium .hp-dash-preview__watchlist li {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    border: 1px solid rgba(66, 245, 200, 0.08);
    background: rgba(10, 13, 20, 0.55);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

body.home-premium .hp-dash-preview__watchlist li:hover {
    border-color: rgba(29, 209, 255, 0.28);
    background: rgba(18, 24, 34, 0.85);
    transform: translateX(2px);
}

body.home-premium .hp-dash-preview__watchlist .hp-wl__sym {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 650;
    font-size: 0.88rem;
    color: #e8eef8;
}

body.home-premium .hp-wl__price {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    color: #c5d0de;
    text-align: right;
}

body.home-premium .hp-wl__chg {
    font-size: 0.78rem;
    font-weight: 650;
    font-family: "Space Grotesk", sans-serif;
    min-width: 4.2em;
    text-align: right;
}

body.home-premium .hp-dash-preview__side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

body.home-premium .hp-dash-widget {
    border: 1px solid rgba(66, 245, 200, 0.12);
    border-radius: 16px;
    background: rgba(16, 21, 30, 0.7);
    padding: 14px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

body.home-premium .hp-dash-widget:hover {
    transform: translateY(-2px);
    border-color: rgba(66, 245, 200, 0.28);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

body.home-premium .hp-dash-widget__title {
    margin: 0 0 4px;
    color: #eef4ff;
    font-size: 0.95rem;
    font-weight: 600;
}

body.home-premium .hp-dash-widget__meta {
    margin: 0;
    color: #8fa0b8;
    font-size: 0.8rem;
}

body.home-premium .hp-dash-widget__tag {
    display: inline-flex;
    margin-top: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #041018;
    background: linear-gradient(135deg, #00d084, #1dd1ff);
}

body.home-premium .hp-dash-progress {
    margin-top: 12px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

body.home-premium .hp-dash-progress span {
    display: block;
    height: 100%;
    width: var(--hp-progress, 68%);
    border-radius: inherit;
    background: linear-gradient(90deg, #00d084, #1dd1ff);
    box-shadow: 0 0 12px rgba(0, 208, 132, 0.45);
}

body.home-premium .hp-dash-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

body.home-premium .hp-dash-notif-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(66, 245, 200, 0.08);
}

body.home-premium .hp-dash-notif-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

body.home-premium .hp-dash-notif-list strong {
    color: #dce6f4;
    font-size: 0.8rem;
    font-weight: 550;
}

body.home-premium .hp-dash-notif-list span {
    color: #7f91a9;
    font-size: 0.72rem;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    body.home-premium .hp-dash-preview__body.hp-terminal__body,
    body.home-premium .hp-dash-preview__body {
        grid-template-columns: 1.35fr 0.9fr;
    }
    body.home-premium .hp-dash-preview__side {
        display: flex;
        flex-direction: column;
    }
}

/* Keep the same dashboard composition on mobile — scale to save height */
body.home-premium .hp-dash-preview-frame {
    width: 100%;
}

@media (max-width: 900px) {
    body.home-premium .hp-hero__preview {
        max-width: 100%;
    }

    body.home-premium .hp-dash-preview-frame {
        zoom: 0.82;
    }

    body.home-premium .hp-dash-preview-frame .hp-dash-preview {
        min-height: 0;
        width: 100%;
    }

    body.home-premium .hp-dash-preview__body.hp-terminal__body,
    body.home-premium .hp-dash-preview__body {
        grid-template-columns: 1.35fr 0.9fr;
        gap: 10px;
        padding: 12px;
    }

    body.home-premium .hp-dash-preview__side {
        display: flex;
        flex-direction: column;
    }

    body.home-premium .hp-dash-stat,
    body.home-premium .hp-dash-widget,
    body.home-premium .hp-dash-preview__watchlist {
        padding: 10px;
    }

    body.home-premium .hp-dash-preview__watchlist li {
        padding: 7px 9px;
    }

    body.home-premium .hp-dash-stat__value {
        font-size: 0.95rem;
    }
}

@media (max-width: 720px) {
    body.home-premium .hp-dash-preview-frame {
        zoom: 0.68;
    }

    body.home-premium .hp-dash-preview__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.home-premium .hp-dash-preview__watchlist li {
        grid-template-columns: 44px 1fr auto;
        gap: 6px;
    }

    body.home-premium .hp-dash-notif-list li:nth-child(n+3) {
        display: none;
    }
}

@media (max-width: 420px) {
    body.home-premium .hp-dash-preview-frame {
        zoom: 0.58;
    }
}

/* Firefox fallback (no zoom): scale while preserving layout footprint */
@supports not (zoom: 1) {
    @media (max-width: 900px) {
        body.home-premium .hp-dash-preview-frame {
            --hp-dash-scale: 0.82;
            overflow: hidden;
            height: calc(540px * var(--hp-dash-scale));
        }
        body.home-premium .hp-dash-preview-frame .hp-dash-preview {
            width: calc(100% / var(--hp-dash-scale));
            transform: scale(var(--hp-dash-scale));
            transform-origin: top left;
        }
    }
    @media (max-width: 720px) {
        body.home-premium .hp-dash-preview-frame {
            --hp-dash-scale: 0.68;
            height: calc(520px * var(--hp-dash-scale));
        }
    }
    @media (max-width: 420px) {
        body.home-premium .hp-dash-preview-frame {
            --hp-dash-scale: 0.58;
            height: calc(510px * var(--hp-dash-scale));
        }
    }
}

/* Footer redesign */
.site-footer__grid--4 {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
}

.site-footer--premium .site-footer__disclaimer {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    max-width: 36ch;
}

.site-footer--premium .site-footer__disclaimer p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.65;
}

.site-footer--premium .site-footer__col h4 {
    color: #42f5c8;
    letter-spacing: 0.16em;
}

body.home-premium .site-footer--premium,
body.theme-dark .site-footer--premium {
    margin-top: 56px;
    padding-top: 64px;
    background:
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(0, 208, 132, 0.08), transparent 60%),
        linear-gradient(180deg, rgba(6, 12, 24, 0.15) 0%, rgba(3, 8, 16, 0.95) 100%);
    border-top: 1px solid rgba(66, 245, 200, 0.14);
}

body.home-premium .site-footer--premium .site-footer__bottom {
    margin-top: 36px;
    justify-content: center;
    text-align: center;
}

@media (max-width: 900px) {
    .site-footer__grid--4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-footer__grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Legal pages */
body.page-legal .privacy-wrap,
body.page-legal .legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(96px, 14vh, 120px) 20px 72px;
}

body.page-legal .privacy-wrap h1,
body.page-legal .legal-wrap h1 {
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    margin: 10px 0 14px;
    letter-spacing: -0.02em;
}

body.page-legal .legal-body,
body.page-privacy .privacy-body {
    margin-top: 28px;
    padding: 28px 28px 8px;
    border-radius: 20px;
    border: 1px solid rgba(66, 245, 200, 0.12);
    background: rgba(16, 21, 30, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.page-privacy .privacy-body h2,
body.page-legal .legal-body h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.15rem;
}

body.page-privacy .privacy-body p,
body.page-legal .legal-body p {
    color: #b8c4d4;
    line-height: 1.75;
    margin: 0 0 22px;
}

@media (max-width: 640px) {
    body.page-legal .legal-body,
    body.page-privacy .privacy-body {
        padding: 20px 18px 4px;
        border-radius: 16px;
    }
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: 16px;
    pointer-events: none;
}

.cookie-consent__card {
    pointer-events: auto;
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid rgba(66, 245, 200, 0.18);
    background: rgba(12, 16, 24, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.cookie-consent.is-visible .cookie-consent__card {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent.is-leaving .cookie-consent__card {
    transform: translateY(18px);
    opacity: 0;
}

.cookie-consent__copy {
    min-width: 0;
    flex: 1;
}

.cookie-consent__copy h2 {
    margin: 0 0 8px;
    color: #f2f6fc;
    font-size: 1.05rem;
}

.cookie-consent__copy p {
    margin: 0;
    color: #9aa8bc;
    font-size: 0.9rem;
    line-height: 1.55;
}

.cookie-consent__links {
    margin-top: 10px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem !important;
}

.cookie-consent__links a {
    color: #42f5c8;
    text-decoration: none;
}

.cookie-consent__links a:hover {
    color: #fff;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 20px;
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 14, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cookie-modal__panel {
    position: relative;
    width: min(480px, 100%);
    border-radius: 20px;
    border: 1px solid rgba(66, 245, 200, 0.18);
    background: rgba(14, 18, 26, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.cookie-modal.is-open .cookie-modal__panel {
    transform: none;
    opacity: 1;
}

.cookie-modal__head,
.cookie-modal__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
}

.cookie-modal__head {
    border-bottom: 1px solid rgba(66, 245, 200, 0.1);
}

.cookie-modal__foot {
    border-top: 1px solid rgba(66, 245, 200, 0.1);
    justify-content: flex-end;
}

.cookie-modal__head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #f2f6fc;
}

.cookie-modal__close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(66, 245, 200, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #c5d0de;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.cookie-modal__body {
    padding: 8px 18px 16px;
    display: grid;
    gap: 10px;
}

.cookie-pref {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(66, 245, 200, 0.1);
    background: rgba(20, 26, 36, 0.7);
    cursor: pointer;
}

.cookie-pref__text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.cookie-pref__text strong {
    color: #eef4ff;
    font-size: 0.92rem;
}

.cookie-pref__text em {
    font-style: normal;
    color: #8fa0b8;
    font-size: 0.8rem;
    line-height: 1.45;
}

.cookie-pref input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #00d084;
    flex-shrink: 0;
}

@media (max-width: 760px) {
    .cookie-consent__card {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-consent__actions {
        justify-content: stretch;
    }
    .cookie-consent__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
