/* Hyperstone public landing theme */

:root {
    /* Landing palette */
    --hs-lp-bg: #0D0E12;
    --hs-lp-bg2: #08090a;
    --hs-lp-surface: rgba(27, 29, 37, 0.55);
    --hs-lp-surface2: #1B1D25;
    --hs-lp-border: rgba(76, 103, 255, 0.15);
    --hs-lp-border2: rgba(76, 103, 255, 0.28);
    --hs-lp-text: #ffffff;
    --hs-lp-muted: #8b919e;
    --hs-lp-blue: #4c67ff;
    --hs-lp-blue2: #2b4afc;
    --hs-lp-blue-light: #6980ff;
    --hs-lp-blue-dark: #253071;
    --hs-lp-glow-color: #7467ff;
    --hs-lp-green: #079417;
    --hs-lp-gradient: linear-gradient(90deg, #4c67ff, #2b4afc);
    --hs-lp-gradient-soft: linear-gradient(90deg, rgba(105, 128, 255, 0.4), rgba(43, 74, 252, 0.4));
    --hs-lp-glow: 0 0 24px rgba(116, 103, 255, 0.5);
    --hs-lp-radius: 16px;
    --hs-lp-radius-lg: 22px;
    --hs-lp-nav-h: 72px;
    --hs-lp-scene-bg: url('../images/background.png');
    --hs-lp-scene-bg-inner: url('../images/background2.jpg');
}

/* Landing — background.png */
.hs-lp-bg {
    background-color: var(--hs-lp-bg);
    background-image:
        linear-gradient(180deg, rgba(13, 14, 18, 0.02) 0%, rgba(13, 14, 18, 0.25) 40%, rgba(13, 14, 18, 0.75) 75%, #0D0E12 100%),
        radial-gradient(ellipse 85% 55% at 50% -5%, rgba(76, 103, 255, 0.32) 0%, transparent 58%),
        radial-gradient(ellipse 45% 35% at 88% 12%, rgba(43, 74, 252, 0.18) 0%, transparent 50%),
        var(--hs-lp-scene-bg);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dashboard, auth, panel — background image */
body.hs-page::before,
body.hs-auth::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-color: var(--hs-lp-bg);
    background-image: var(--hs-lp-scene-bg-inner);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dark blur overlay on inner pages */
body.hs-page::after,
body.hs-auth::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(13, 14, 18, 0.42) 0%, rgba(13, 14, 18, 0.58) 42%, rgba(13, 14, 18, 0.86) 100%),
        radial-gradient(ellipse 85% 55% at 50% -5%, rgba(76, 103, 255, 0.18) 0%, transparent 58%),
        radial-gradient(ellipse 45% 35% at 88% 12%, rgba(43, 74, 252, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(10px) saturate(1.08);
    -webkit-backdrop-filter: blur(10px) saturate(1.08);
}

/* Landing keeps image + gradients on .hs-lp-bg only */

/* ── Landing page ── */

body.hs-lp-landing {
    margin: 0;
    min-height: 100vh;
    background: var(--hs-lp-bg);
    color: var(--hs-lp-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

.hs-lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hs-lp-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.hs-lp-page {
    position: relative;
    z-index: 1;
}

.hs-lp-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* Nav — Transparent at top, floating pill on scroll */
.hs-lp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
        top 0.3s ease,
        width 0.3s ease,
        max-width 0.3s ease,
        height 0.3s ease,
        border-radius 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease,
        border-color 0.3s ease;
}

.hs-lp-nav.is-scrolled {
    top: 12px;
    width: min(1240px, calc(100% - 2rem));
    max-width: min(1240px, calc(100% - 2rem));
    height: 64px;
    border-radius: 20px;
    background: #0d0e12;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.hs-lp-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 12px 12px 12px 20px;
    box-sizing: border-box;
}

.hs-lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--hs-lp-text);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    z-index: 2;
}

.hs-lp-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.hs-lp-logo span {
    background: var(--hs-lp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hs-lp-nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    margin: 0;
    padding: 0;
}

.hs-lp-nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    height: 100%;
    padding: 0 12px;
    border-radius: 24px;
    border: 1px solid transparent;
    color: #7d7f8f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hs-lp-nav-links a:hover {
    color: #ffffff;
}

.hs-lp-nav-links a.is-active {
    color: #ffffff;
    background: rgba(76, 103, 255, 0.15);
    border-color: rgba(76, 103, 255, 0.25);
}

.hs-lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 2;
}

.hs-lp-btn-nav {
    padding: 6px 14px;
    font-size: 14px;
    min-height: 30px;
}

.hs-lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.hs-lp-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.hs-lp-btn-primary {
    background: var(--hs-lp-gradient);
    color: #fff;
    box-shadow: var(--hs-lp-glow);
}

.hs-lp-btn-ghost {
    background: transparent;
    color: var(--hs-lp-text);
    border: 1px solid var(--hs-lp-border2);
}

.hs-lp-btn-ghost:hover {
    background: var(--hs-lp-surface2);
}

.hs-lp-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--hs-lp-text);
    padding: 8px;
    cursor: pointer;
}

.hs-lp-mobile-menu {
    display: none;
    position: fixed;
    inset: 76px 16px auto;
    z-index: 999;
    background: rgba(13, 14, 18, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 19px;
    padding: 24px 20px;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.19);
}

.hs-lp-mobile-menu.is-open {
    display: flex;
}

.hs-lp-mobile-menu a {
    color: var(--hs-lp-text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

/* Hero */
.hs-lp-hero {
    padding: calc(64px + 64px) 0 80px;
    text-align: center;
}

.hs-lp-hero--dash {
    padding-top: calc(64px + 32px);
    padding-bottom: 40px;
    text-align: left;
}

.hs-lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(76, 103, 255, 0.12);
    border: 1px solid rgba(76, 103, 255, 0.35);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hs-lp-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hs-lp-green);
    box-shadow: 0 0 8px var(--hs-lp-green);
}

.hs-lp-title {
    margin: 0 0 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hs-lp-gradient {
    background: var(--hs-lp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hs-lp-subtitle {
    margin: 0 auto 36px;
    max-width: 560px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.6;
}

.hs-lp-hero--dash .hs-lp-subtitle {
    margin-left: 0;
}

.hs-lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.hs-lp-hero--dash .hs-lp-hero-actions {
    justify-content: flex-start;
    margin-bottom: 0;
}

.hs-lp-scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--hs-lp-muted);
    font-size: 12px;
    text-decoration: none;
    animation: hs-lp-bounce 2s ease infinite;
}

@keyframes hs-lp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Sections */
.hs-lp-section {
    padding: 64px 0;
}

.hs-lp-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.hs-lp-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.hs-lp-section-head p {
    margin: 0;
    color: var(--hs-lp-muted);
    font-size: 15px;
}

/* Feature cards */
.hs-lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hs-lp-feature {
    background: linear-gradient(180deg, var(--hs-lp-surface2), var(--hs-lp-surface));
    border: 1px solid var(--hs-lp-border);
    border-radius: var(--hs-lp-radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.hs-lp-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hs-lp-gradient);
    opacity: 0.7;
}

.hs-lp-feature--green::before {
    background: linear-gradient(90deg, var(--hs-lp-blue-light), var(--hs-lp-blue));
}

.hs-lp-feature--violet::before {
    background: linear-gradient(90deg, var(--hs-lp-blue), var(--hs-lp-blue2));
}

.hs-lp-feature h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.hs-lp-feature > p {
    margin: 0 0 20px;
    color: var(--hs-lp-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hs-lp-mock {
    display: grid;
    gap: 8px;
}

.hs-lp-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--hs-lp-border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--hs-lp-muted);
}

.hs-lp-mock-row span:first-child {
    color: var(--hs-lp-text);
    font-weight: 500;
}

.hs-lp-toggle {
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0;
}

.hs-lp-toggle.on {
    background: rgba(76, 103, 255, 0.5);
}

.hs-lp-toggle.on::after {
    transform: translateX(16px);
    background: var(--hs-lp-blue);
}

.hs-lp-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: transform 0.2s;
}

/* Stats */
.hs-lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.hs-lp-stat {
    text-align: center;
    padding: 28px 20px;
    background: var(--hs-lp-surface);
    border: 1px solid var(--hs-lp-border);
    border-radius: var(--hs-lp-radius);
}

.hs-lp-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--hs-lp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.hs-lp-stat-label {
    color: var(--hs-lp-muted);
    font-size: 14px;
}

/* Products */
.hs-lp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.hs-lp-product {
    position: relative;
    background: #1B1D25;
    border: 1px solid rgba(76, 103, 255, 0.12);
    border-radius: var(--hs-lp-radius-lg);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.hs-lp-product::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(76, 103, 255, 0) 5%, rgba(76, 103, 255, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hs-lp-product:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 103, 255, 0.45);
    box-shadow: var(--hs-lp-glow);
}

.hs-lp-product:hover::after {
    opacity: 1;
}

.hs-lp-product-img {
    height: 180px;
    background: linear-gradient(135deg, #253071, #0D1024);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hs-lp-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hs-lp-product-img--altv {
    background: linear-gradient(135deg, rgba(76, 103, 255, 0.35), rgba(43, 74, 252, 0.25));
}

.hs-lp-product-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hs-lp-product-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: var(--hs-lp-green);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.hs-lp-product h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
}

.hs-lp-product-sub {
    color: var(--hs-lp-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hs-lp-product-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--hs-lp-blue-light);
}

.hs-lp-product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--hs-lp-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Promo blocks */
.hs-lp-promo {
    display: grid;
    grid-template-columns: 1fr      1fr;
    gap: 24px;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(76, 103, 255, 0.1), rgba(43, 74, 252, 0.06));
    border: 1px solid var(--hs-lp-border);
    border-radius: var(--hs-lp-radius-lg);
}

.hs-lp-promo h2 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 700;
}

.hs-lp-promo p {
    margin: 0;
    color: var(--hs-lp-muted);
    line-height: 1.6;
}

.hs-lp-promo-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hs-lp-promo-chip {
    padding: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--hs-lp-border);
    border-radius: 12px;
    font-size: 13px;
    color: var(--hs-lp-muted);
}

.hs-lp-promo-chip strong {
    display: block;
    color: var(--hs-lp-text);
    margin-bottom: 4px;
}

/* FAQ */
.hs-lp-faq {
    display: grid;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.hs-lp-faq-item {
    background: var(--hs-lp-surface);
    border: 1px solid var(--hs-lp-border);
    border-radius: var(--hs-lp-radius);
    overflow: hidden;
}

.hs-lp-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--hs-lp-text);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.hs-lp-faq-q:hover {
    background: rgba(76, 103, 255, 0.08);
}

.hs-lp-faq-q svg {
    flex-shrink: 0;
    transition: transform 0.2s;
    color: var(--hs-lp-muted);
}

.hs-lp-faq-item.is-open .hs-lp-faq-q svg {
    transform: rotate(180deg);
}

.hs-lp-faq-a {
    display: none;
    padding: 0 20px 16px;
    color: var(--hs-lp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.hs-lp-faq-item.is-open .hs-lp-faq-a {
    display: block;
}

.hs-lp-faq-a a {
    color: var(--hs-lp-blue-light);
}

/* Footer */
.hs-lp-footer {
    padding: 40px 0 32px;
    border-top: 1px solid var(--hs-lp-border);
    margin-top: 40px;
}

.hs-lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hs-lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hs-lp-footer-links a {
    color: var(--hs-lp-muted);
    text-decoration: none;
    font-size: 13px;
}

.hs-lp-footer-links a:hover {
    color: var(--hs-lp-text);
}

.hs-lp-footer-copy {
    width: 100%;
    text-align: center;
    color: var(--hs-lp-muted);
    font-size: 12px;
    margin-top: 20px;
}

/* ── Dashboard (logged-in) — same as landing ── */

body.hs-dash {
    background: transparent !important;
    color: var(--hs-lp-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body.hs-dash .hs-lp-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

body.hs-dash .hs-lp-page .hs-wrap,
body.hs-dash > .hs-wrap {
    margin-left: 0 !important;
    max-width: none;
    padding: calc(64px + 24px) min(36px, 4vw) 48px !important;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

body.hs-dash .page-sidebar,
body.hs-dash .page-sidebar.hs-sidebar {
    display: none !important;
}

body.hs-dash .hs-dash-inner,
body.hs-dash .hs-lp-page > .hs-lp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(64px + 24px) min(20px, 4vw) 48px;
    box-sizing: border-box;
}

.hs-dash-user-pill {
    color: var(--hs-lp-muted);
    font-size: 14px;
    font-weight: 500;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-dash-mobile-label {
    color: var(--hs-lp-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 8px;
}

body.hs-dash .hs-lp-dash-section {
    margin-bottom: 40px;
}

body.hs-dash .hs-lp-dash-section--subs {
    margin-bottom: 16px;
}

body.hs-dash .hs-lp-dash-section--faq {
    margin-top: 0;
    margin-bottom: 40px;
}

body.hs-dash .hs-lp-dash-section--faq .hs-lp-section-head--left {
    margin-bottom: 14px;
}

/* Admin dropdown */
.hs-dash-nav-drop {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.hs-dash-nav-drop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: fit-content;
    height: 100%;
    padding: 0 12px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: transparent;
    color: #7d7f8f;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hs-dash-nav-drop-btn:hover,
.hs-dash-nav-drop-btn.is-active {
    color: #ffffff;
}

.hs-dash-nav-drop-btn.is-active {
    background: rgba(76, 103, 255, 0.15);
    border-color: rgba(76, 103, 255, 0.25);
}

.hs-dash-nav-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 170px;
    margin-top: 0;
    padding: 16px 8px 8px;
    border-radius: 16px;
    background: rgba(13, 14, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.19);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 2px;
    z-index: 10;
}

.hs-dash-nav-drop-menu a {
    display: block;
    padding: 8px 14px;
    border-radius: 12px;
    color: #7d7f8f;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.hs-dash-nav-drop-menu a:hover,
.hs-dash-nav-drop-menu a.is-active {
    color: #fff;
    background: rgba(76, 103, 255, 0.15);
}

@media (min-width: 961px) {
    .hs-dash-nav-drop:hover .hs-dash-nav-drop-menu,
    .hs-dash-nav-drop.is-open .hs-dash-nav-drop-menu {
        display: flex;
    }
}

/* Profile block on main */
.hs-dash-profile {
    display: grid;
    gap: 20px;
}

.hs-dash-profile-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-radius: var(--hs-lp-radius-lg);
    border: 1px solid var(--hs-lp-border);
    background: linear-gradient(180deg, rgba(27, 29, 37, 0.95), rgba(27, 29, 37, 0.55));
}

.hs-dash-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: var(--hs-lp-gradient);
    box-shadow: var(--hs-lp-glow);
}

.hs-dash-profile-name {
    margin: 0 0 4px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
}

.hs-dash-profile-handle {
    margin: 0 0 12px;
    color: var(--hs-lp-muted);
    font-size: 15px;
}

.hs-dash-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hs-dash-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(76, 103, 255, 0.18);
    border: 1px solid rgba(76, 103, 255, 0.28);
}

.hs-dash-badge--admin {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
}

.hs-dash-badge--muted {
    color: var(--hs-lp-muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.hs-dash-badge--danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
}

.hs-dash-profile-link {
    white-space: nowrap;
}

.hs-dash-invite {
    padding: 24px;
    border-radius: var(--hs-lp-radius-lg);
    border: 1px solid var(--hs-lp-border);
    background: linear-gradient(180deg, rgba(27, 29, 37, 0.92), rgba(27, 29, 37, 0.5));
}

.hs-dash-invite-head h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #fff;
}

.hs-dash-invite-head p {
    margin: 0;
    color: var(--hs-lp-muted);
    font-size: 14px;
}

.hs-dash-alert {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
}

.hs-dash-alert--success {
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.1);
    color: #d1fae5;
}

.hs-dash-alert--error {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

.hs-dash-invite-code {
    display: block;
    margin: 8px 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 16px;
}

.hs-dash-invite-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    margin-top: 18px;
}

.hs-dash-invite-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
}

.hs-dash-invite-row:last-child {
    border-bottom: none;
}

.hs-dash-invite-label {
    color: var(--hs-lp-muted);
}

.hs-dash-invite-value {
    color: #fff;
    text-align: right;
}

.hs-dash-invite-value--ok {
    color: #86efac;
}

.hs-dash-invite-value--bad {
    color: #fca5a5;
}

.hs-dash-invite-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 220px;
}

.hs-dash-invite-form .hs-lp-btn.is-disabled,
.hs-dash-invite-form .hs-lp-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.hs-dash-invite-hint {
    margin: 0;
    color: var(--hs-lp-muted);
    font-size: 12px;
    text-align: center;
}

.hs-dash-invite-history {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hs-dash-invite-history h4 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #fff;
}

.hs-dash-invite-table-wrap {
    overflow-x: auto;
}

.hs-dash-invite-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.hs-dash-invite-table th,
.hs-dash-invite-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hs-dash-invite-table th {
    color: var(--hs-lp-muted);
    font-weight: 600;
}

.hs-dash-invite-table code {
    color: #c7d2fe;
}

.hs-dash-pill {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.hs-dash-pill--active {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.15);
}

.hs-dash-pill--used {
    color: #86efac;
    background: rgba(34, 197, 94, 0.15);
}

@media (max-width: 960px) {
    .hs-dash-profile-card {
        grid-template-columns: auto 1fr;
    }

    .hs-dash-profile-link {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .hs-dash-invite-body {
        grid-template-columns: 1fr;
    }

    .hs-dash-invite-form {
        min-width: 0;
    }
}

body.hs-dash .hs-lp-hero--dash {
    padding-top: calc(64px + 24px);
    padding-bottom: 36px;
}

body.hs-dash .hs-lp-title--dash {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

body.hs-dash .hs-lp-subtitle--dash {
    margin-bottom: 0;
    max-width: 640px;
}

body.hs-dash .hs-lp-section-head--left {
    text-align: left;
    margin-bottom: 20px;
}

body.hs-dash .hs-lp-section-head--left h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #fff;
}

body.hs-dash .hs-lp-section-head--left p,
body.hs-dash .hs-muted {
    color: var(--hs-lp-muted);
}

body.hs-dash .hs-lp-faq {
    max-width: none;
    margin: 0;
}

/* Cards & subscription */
body.hs-dash .hs-card {
    background: linear-gradient(180deg, rgba(27, 29, 37, 0.95), rgba(27, 29, 37, 0.55));
    border: 1px solid var(--hs-lp-border);
    border-radius: var(--hs-lp-radius-lg);
    padding: 20px;
}

body.hs-dash .hs-card.hs-accent-cyan,
body.hs-dash .hs-card.hs-accent-green,
body.hs-dash .hs-card.hs-accent-purple,
body.hs-dash .hs-card.hs-accent-blue {
    border-left: none;
}

body.hs-dash .hs-card h3,
body.hs-dash .hs-card h5 {
    font-size: 16px;
    color: #fff;
}

body.hs-dash .hs-btn,
body.hs-dash .hs-btn-blue,
body.hs-dash .hs-btn-green,
body.hs-dash .hs-btn-ghost {
    border-radius: 999px;
}

body.hs-dash .hs-btn-blue {
    background: var(--hs-lp-gradient);
    box-shadow: var(--hs-lp-glow);
}

body.hs-dash .hs-btn-green {
    background: var(--hs-lp-gradient);
    color: #fff;
    box-shadow: var(--hs-lp-glow);
}

body.hs-dash .hs-status {
    border-radius: 999px;
}

body.hs-dash .hs-sub-icon {
    border-radius: 999px;
    border: 1px solid var(--hs-lp-border);
    background: rgba(27, 29, 37, 0.8);
}

body.hs-dash .hs-sub-icon:hover {
    border-color: rgba(76, 103, 255, 0.45);
    background: rgba(76, 103, 255, 0.12);
    color: #fff;
}

body.hs-dash .hs-sub-days {
    color: var(--hs-lp-blue-light);
}

body.hs-dash #altv-buy {
    border-radius: var(--hs-lp-radius-lg);
    border-left: none;
    position: relative;
    overflow: hidden;
}

body.hs-dash #altv-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hs-lp-gradient);
}

body.hs-dash .hs-grid-wide {
    display: block;
}

body.hs-dash .hs-grid-wide .hs-card {
    border-left: none;
}

body.hs-dash .hs-alert {
    border-radius: var(--hs-lp-radius);
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.1);
}

@media (max-width: 960px) {
    body.hs-dash > .hs-wrap,
    body.hs-dash > .wrap,
    body.hs-dash .hs-lp-page .hs-wrap,
    body.hs-dash .hs-dash-inner,
    body.hs-dash .hs-lp-page > .hs-lp-container {
        padding-top: calc(54px + 20px) !important;
    }

    body.hs-dash > .hs-wrap,
    body.hs-dash > .wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: 32px !important;
    }

    body.hs-dash .hs-lp-features {
        grid-template-columns: 1fr;
    }
}

/* Auth landing tweaks */
body.hs-auth .hs-auth-card {
    border-radius: var(--hs-lp-radius-lg);
    border-color: var(--hs-lp-border);
    background: linear-gradient(180deg, var(--hs-lp-surface2), var(--hs-lp-surface));
}

body.hs-auth .hs-auth-submit {
    border-radius: 999px;
    background: var(--hs-lp-gradient);
    box-shadow: var(--hs-lp-glow);
}

/* Responsive */
@media (max-width: 960px) {
    .hs-lp-nav,
    .hs-lp-nav.is-scrolled {
        height: 54px;
        border-radius: 19px;
    }

    .hs-lp-nav.is-scrolled {
        top: 12px;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
    }

    .hs-lp-nav-inner {
        padding: 10px 16px 10px 16px;
    }

    .hs-lp-nav-links,
    .hs-lp-nav-actions {
        display: none;
    }

    .hs-lp-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hs-lp-logo span {
        display: none;
    }

    .hs-lp-bg,
    body.hs-page::before,
    body.hs-auth::before {
        background-attachment: scroll;
    }

    .hs-lp-features {
        grid-template-columns: 1fr;
    }

    .hs-lp-stats {
        grid-template-columns: 1fr;
    }

    .hs-lp-promo {
        grid-template-columns: 1fr;
        padding: 28px;
    }
}

@media (min-width: 961px) {
    .hs-lp-menu-toggle {
        display: none;
    }
}

@media (max-width: 640px) {
    .hs-lp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hs-lp-btn {
        width: 100%;
    }
}
