/* RCS Pro website refresh — mirrors the desktop app's V2 control surface. */
:root {
    --primary: #a9a9a9;
    --primary-hover: #c2c2c2;
    --accent: #808080;
    --success: #77e0a0;
    --bg-base: #0c0c0c;
    --bg-surface: #1a1a1a;
    --bg-surface-hover: #222222;
    --text-main: #f4f2fa;
    --text-muted: #9894a7;
    --border-glass: rgba(217, 217, 217, 0.12);
    --border-glow: rgba(169, 169, 169, 0.34);
    --radius-md: 10px;
    --radius-lg: 14px;
}

body.rcs-home {
    min-height: 100vh;
    background:
        radial-gradient(900px 560px at 76% 7%, rgba(169, 169, 169, 0.11), transparent 62%),
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        #0c0c0c;
    background-size: auto, 36px 36px, 36px 36px, auto;
    color: var(--text-main);
    font-family: "Bahnschrift", "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

.rcs-home .noise-overlay,
.rcs-home .cursor-follower,
.rcs-home .moving-grid,
.rcs-home .top-spotlight {
    display: none;
}

.rcs-home .floating-nav {
    top: 20px;
    width: min(1180px, calc(100% - 40px));
    min-height: 64px;
    padding: 9px 12px 9px 15px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 13px;
    background: rgba(18, 18, 18, 0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(20px);
}

.rcs-home .nav-brand {
    gap: 10px;
}

.rcs-home .nav-logo {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(217, 217, 217, 0.18);
    border-radius: 9px;
    box-shadow: 0 0 22px rgba(169, 169, 169, 0.22);
}

.rcs-home .brand-text {
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.16em;
}

.rcs-home .nav-links {
    gap: 4px;
}

.rcs-home .nav-links a {
    display: block;
    padding: 9px 13px;
    border-radius: 8px;
    color: #918d9d;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.rcs-home .nav-links a:hover {
    color: #fff;
    background: rgba(217, 217, 217, 0.055);
}

.rcs-home .nav-links a.active {
    color: #fff;
    background: linear-gradient(100deg, rgba(169, 169, 169, 0.34), rgba(128, 128, 128, 0.16));
    box-shadow: inset 2px 0 var(--primary);
}

.rcs-home .nav-btn,
.rcs-home .btn-secondary {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #414141;
    border-radius: 8px;
    background: #202020;
    color: #eeebf6;
    font-size: 14px;
}

.rcs-home .nav-btn:hover,
.rcs-home .btn-secondary:hover {
    border-color: rgba(194, 194, 194, 0.45);
    background: #262626;
    transform: translateY(-1px);
}

.rcs-home main {
    position: relative;
    z-index: 1;
}

.rcs-home .hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(570px, 1.22fr);
    align-items: center;
    gap: clamp(42px, 6vw, 84px);
    width: min(1240px, calc(100% - 48px));
    min-height: 790px;
    margin: 0 auto;
    padding: 148px 0 86px;
}

.rcs-home .hero-content {
    max-width: 500px;
}

.rcs-home .release-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 7px 10px;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 999px;
    background: rgba(169, 169, 169, 0.075);
    color: #d9d9d9;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rcs-home .release-kicker::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c2c2c2;
    box-shadow: 0 0 12px rgba(194, 194, 194, 0.8);
    content: "";
}

.rcs-home .hero-title {
    max-width: 560px;
    margin: 0;
    color: #f6f4fb;
    font-size: clamp(3.2rem, 5.4vw, 5.15rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.rcs-home .hero-title .text-gradient {
    display: block;
    margin-top: 8px;
    background: linear-gradient(115deg, #f2eeff 10%, #c2c2c2 58%, #949494);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rcs-home .hero-subtitle {
    max-width: 470px;
    margin: 25px 0 0;
    color: #9c98aa;
    font-size: 17px;
    line-height: 1.7;
}

.rcs-home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.rcs-home .btn-primary {
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(217, 217, 217, 0.26);
    border-radius: 8px;
    background: linear-gradient(135deg, #b5b5b5, #898989);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 9px 22px rgba(90, 90, 90, 0.25);
    color: #fff;
    font-size: 15px;
}

.rcs-home .btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.rcs-home .release-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 17px;
    margin-top: 22px;
    color: #777483;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 12px;
}

.rcs-home .release-facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.rcs-home .release-facts i {
    width: 14px;
    height: 14px;
    color: #c2c2c2;
}

.rcs-home .hero-visual {
    min-width: 0;
    perspective: none;
}

.rcs-home .product-window {
    overflow: hidden;
    border: 1px solid rgba(217, 217, 217, 0.21);
    border-radius: 16px;
    background: #121212;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58), 0 0 80px rgba(128, 128, 128, 0.1), inset 0 1px rgba(255, 255, 255, 0.045);
    transform: rotateY(-2deg) rotateX(1deg);
}

.rcs-home .product-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 12px 0 18px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.11);
    background: rgba(20, 20, 20, 0.98);
}

.rcs-home .product-titlebrand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f4f2fa;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.rcs-home .product-titlebrand::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a9a9a9;
    box-shadow: 0 0 9px rgba(169, 169, 169, 0.72);
    content: "";
}

.rcs-home .product-version {
    padding: 3px 7px;
    border: 1px solid rgba(217, 217, 217, 0.14);
    border-radius: 999px;
    color: #9894a7;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 9px;
    letter-spacing: 0;
}

.rcs-home .window-actions {
    display: flex;
    gap: 4px;
}

.rcs-home .window-actions span {
    width: 29px;
    height: 28px;
    border-radius: 7px;
    background: #1e1e1e;
}

.rcs-home .product-body {
    display: grid;
    grid-template-columns: 174px 1fr;
    min-height: 500px;
}

.rcs-home .product-sidebar {
    padding: 24px 12px 15px;
    border-right: 1px solid rgba(217, 217, 217, 0.1);
    background: linear-gradient(180deg, #161616, #141414);
}

.rcs-home .product-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 7px 24px;
}

.rcs-home .product-brand img {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 8px;
}

.rcs-home .product-brand strong,
.rcs-home .product-brand small {
    display: block;
}

.rcs-home .product-brand strong {
    font-size: 13px;
    letter-spacing: 0.02em;
}

.rcs-home .product-brand small {
    margin-top: 2px;
    color: #6e6e6e;
    font-size: 9px;
}

.rcs-home .product-nav-label {
    display: block;
    margin: 15px 10px 6px;
    color: #626262;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rcs-home .product-nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 39px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #918d9d;
    font-size: 11px;
    font-weight: 650;
}

.rcs-home .product-nav-item i {
    width: 15px;
    height: 15px;
}

.rcs-home .product-nav-item.active {
    border-color: rgba(217, 217, 217, 0.23);
    background: linear-gradient(100deg, rgba(169, 169, 169, 0.34), rgba(128, 128, 128, 0.16));
    box-shadow: inset 2px 0 #a9a9a9;
    color: #fff;
}

.rcs-home .product-workspace {
    min-width: 0;
    padding: 25px 26px 28px;
    background:
        radial-gradient(520px 280px at 95% -10%, rgba(169, 169, 169, 0.08), transparent 62%),
        #121212;
}

.rcs-home .workspace-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.1);
}

.rcs-home .workspace-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.rcs-home .workspace-head p {
    margin: 5px 0 0;
    color: #8c8998;
    font-size: 10px;
}

.rcs-home .status-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(119, 224, 160, 0.2);
    border-radius: 999px;
    background: rgba(119, 224, 160, 0.07);
    color: #a5e9be;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rcs-home .status-chip::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #77e0a0;
    box-shadow: 0 0 9px rgba(119, 224, 160, 0.7);
    content: "";
}

.rcs-home .mock-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.rcs-home .mock-stat {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(169, 169, 169, 0.085), rgba(27, 27, 27, 0.86));
}

.rcs-home .mock-stat span,
.rcs-home .mock-stat strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rcs-home .mock-stat span {
    color: #777483;
    font-size: 8px;
    text-transform: uppercase;
}

.rcs-home .mock-stat strong {
    margin-top: 5px;
    color: #f4f2fa;
    font-size: 13px;
}

.rcs-home .mock-stat strong.accent {
    color: #d9d9d9;
}

.rcs-home .mock-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rcs-home .mock-panel {
    padding: 17px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(22, 22, 22, 0.98));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 12px 26px rgba(0, 0, 0, 0.18);
}

.rcs-home .mock-panel h3 {
    margin: 0;
    color: #f4f2fa;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.rcs-home .mock-panel > p {
    margin: 4px 0 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.09);
    color: #777483;
    font-size: 8.5px;
}

.rcs-home .mock-control {
    padding: 10px 1px;
}

.rcs-home .mock-control-head,
.rcs-home .mock-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rcs-home .mock-control-head span,
.rcs-home .mock-toggle-row strong {
    color: #efedf6;
    font-size: 9px;
}

.rcs-home .mock-control-head code {
    color: #d9d9d9;
    font-size: 9px;
}

.rcs-home .mock-track {
    position: relative;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: #3c3c3c;
}

.rcs-home .mock-track span {
    position: relative;
    display: block;
    width: 64%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #808080, #c2c2c2);
}

.rcs-home .mock-track span::after {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 11px;
    height: 11px;
    border: 2px solid #a9a9a9;
    border-radius: 50%;
    background: #f7f4ff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.42);
    content: "";
    transform: translate(-50%, -50%);
}

.rcs-home .mock-toggle-row {
    min-height: 49px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.075);
}

.rcs-home .mock-toggle-row:last-child {
    border-bottom: 0;
}

.rcs-home .mock-toggle-row small {
    display: block;
    margin-top: 2px;
    color: #777483;
    font-size: 8px;
}

.rcs-home .mock-switch {
    position: relative;
    width: 35px;
    height: 19px;
    border: 1px solid #b8b8b8;
    border-radius: 999px;
    background: linear-gradient(135deg, #c2c2c2, #808080);
}

.rcs-home .mock-switch::after {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.rcs-home .mock-key {
    padding: 5px 8px;
    border: 1px solid #424242;
    border-radius: 6px;
    background: #222222;
    color: #d9d9d9;
    font: 700 8px "Cascadia Code", Consolas, monospace;
}

.rcs-home .content-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 90px 0;
}

.rcs-home .section-eyebrow {
    color: #c2c2c2;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rcs-home .section-heading {
    max-width: 650px;
    margin: 10px 0 0;
    color: #f4f2fa;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.rcs-home .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.rcs-home .feature-card {
    min-height: 230px;
    padding: 24px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.96), rgba(22, 22, 22, 0.96));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 16px 34px rgba(0, 0, 0, 0.16);
}

.rcs-home .feature-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 34px;
    place-items: center;
    border: 1px solid rgba(217, 217, 217, 0.19);
    border-radius: 9px;
    background: rgba(169, 169, 169, 0.1);
    color: #d9d9d9;
}

.rcs-home .feature-icon i {
    width: 19px;
    height: 19px;
}

.rcs-home .feature-card h3 {
    margin: 0 0 8px;
    color: #f4f2fa;
    font-size: 17px;
}

.rcs-home .feature-card p {
    margin: 0;
    color: #8d8998;
    font-size: 15px;
    line-height: 1.65;
}

.rcs-home .download-section {
    padding-top: 30px;
}

.rcs-home .download-console {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 38px;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 16px;
    background:
        radial-gradient(650px 360px at 10% 100%, rgba(128, 128, 128, 0.17), transparent 66%),
        linear-gradient(145deg, #1d1d1d, #141414);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 24px 60px rgba(0, 0, 0, 0.28);
}

.rcs-home .download-copy h2 {
    margin: 10px 0 14px;
    color: #f4f2fa;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.rcs-home .download-copy p {
    max-width: 390px;
    margin: 0;
    color: #9894a7;
    font-size: 15px;
    line-height: 1.65;
}

.rcs-home .download-list {
    display: grid;
    gap: 10px;
}

.rcs-home .release-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 15px 17px;
    border: 1px solid #393939;
    border-radius: 11px;
    background: #161616;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.rcs-home .release-card:hover {
    border-color: rgba(194, 194, 194, 0.46);
    background: #1e1e1e;
    transform: translateY(-2px);
}

.rcs-home .release-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 9px;
    background: rgba(169, 169, 169, 0.09);
    color: #d9d9d9;
}

.rcs-home .release-card-icon i {
    width: 20px;
    height: 20px;
}

.rcs-home .release-card h3 {
    margin: 0;
    color: #f4f2fa;
    font-size: 15px;
}

.rcs-home .release-card p {
    margin: 4px 0 0;
    color: #777483;
    font: 11px "Cascadia Code", Consolas, monospace;
}

.rcs-home .release-card > i {
    width: 18px;
    height: 18px;
    color: #8d8998;
}

.rcs-home .site-footer {
    width: min(1180px, calc(100% - 48px));
    margin: 40px auto 0;
    padding: 28px 0 34px;
    border-top: 1px solid rgba(217, 217, 217, 0.09);
    color: #6e6e6e;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-align: center;
}

.rcs-home .site-footer button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #c2c2c2;
    font: inherit;
    letter-spacing: inherit;
    text-decoration: underline;
}

.rcs-home .modal-overlay {
    background: rgba(6, 6, 6, 0.82);
    backdrop-filter: blur(18px);
}

.rcs-home .modal-content {
    max-width: 520px;
    padding: 30px;
    border: 1px solid rgba(217, 217, 217, 0.17);
    border-radius: 14px;
    background: linear-gradient(145deg, #1d1d1d, #141414);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.56), inset 0 1px rgba(255, 255, 255, 0.04);
}

.rcs-home .modal-header {
    margin-bottom: 22px;
    text-align: left;
}

.rcs-home .modal-header h2 {
    margin-bottom: 6px;
    background: none;
    color: #f4f2fa;
    font-size: 27px;
    -webkit-text-fill-color: currentColor;
}

.rcs-home .download-options {
    gap: 10px;
}

.rcs-home .dl-card {
    min-height: 78px;
    padding: 13px 15px;
    border-color: #393939;
    border-radius: 10px;
    background: #161616;
}

.rcs-home .dl-card:hover {
    border-color: rgba(194, 194, 194, 0.45);
    background: #1e1e1e;
    transform: translateY(-1px);
}

.rcs-home .dl-icon {
    border: 1px solid rgba(217, 217, 217, 0.15);
    border-radius: 8px;
    background: rgba(169, 169, 169, 0.09);
    color: #d9d9d9;
}

.rcs-home .dl-icon .lucide {
    width: 21px;
    height: 21px;
    stroke: currentColor;
}

.rcs-home .dl-info span {
    color: #777483;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 10px;
    letter-spacing: 0.04em;
}

@media (max-width: 1050px) {
    .rcs-home .hero {
        grid-template-columns: 1fr;
        padding-top: 142px;
    }

    .rcs-home .hero-content {
        max-width: 680px;
    }

    .rcs-home .hero-visual {
        width: min(780px, 100%);
    }

    .rcs-home .product-window {
        transform: none;
    }
}

@media (max-width: 780px) {
    .rcs-home .floating-nav {
        top: 12px;
        width: calc(100% - 24px);
    }

    .rcs-home .nav-links {
        display: none;
    }

    .rcs-home .hero,
    .rcs-home .content-section,
    .rcs-home .site-footer {
        width: min(100% - 28px, 680px);
    }

    .rcs-home .hero {
        min-height: auto;
        padding: 120px 0 64px;
    }

    .rcs-home .product-body {
        grid-template-columns: 1fr;
    }

    .rcs-home .product-sidebar {
        display: none;
    }

    .rcs-home .feature-grid,
    .rcs-home .download-console {
        grid-template-columns: 1fr;
    }

    .rcs-home .content-section {
        padding: 64px 0;
    }
}

@media (max-width: 560px) {
    .rcs-home .nav-btn {
        padding: 0 12px;
    }

    .rcs-home .hero-title {
        font-size: clamp(3rem, 15vw, 4.2rem);
    }

    .rcs-home .hero-subtitle {
        font-size: 16px;
    }

    .rcs-home .hero-actions > * {
        width: 100%;
    }

    .rcs-home .product-titlebar {
        padding-left: 13px;
    }

    .rcs-home .window-actions span:nth-child(-n + 2) {
        display: none;
    }

    .rcs-home .product-workspace {
        padding: 19px 14px 20px;
    }

    .rcs-home .workspace-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .rcs-home .mock-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rcs-home .mock-panel-grid {
        grid-template-columns: 1fr;
    }

    .rcs-home .mock-panel:last-child {
        display: none;
    }

    .rcs-home .download-console {
        gap: 26px;
        padding: 24px 18px;
    }

    .rcs-home .release-card {
        grid-template-columns: auto 1fr;
    }

    .rcs-home .release-card > i {
        display: none;
    }

    .rcs-home .modal-content {
        width: calc(100% - 24px);
        padding: 26px 17px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rcs-home *,
    .rcs-home *::before,
    .rcs-home *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   Shared RCS Pro shell
   -------------------------------------------------------------------------- */
.rcs-ui:not(.rcs-home) {
    min-height: 100vh;
    background:
        radial-gradient(900px 560px at 76% 7%, rgba(169, 169, 169, 0.1), transparent 62%),
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        #0c0c0c;
    background-size: auto, 36px 36px, 36px 36px, auto;
    color: #f4f2fa;
    font-family: "Bahnschrift", "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

.rcs-ui .noise-overlay,
.rcs-ui .cursor-follower,
.rcs-ui .moving-grid,
.rcs-ui .top-spotlight,
.rcs-ui .particle-system {
    display: none !important;
}

.rcs-ui .floating-nav {
    top: 20px;
    width: min(1180px, calc(100% - 40px));
    min-height: 64px;
    padding: 9px 12px 9px 15px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 13px;
    background: rgba(18, 18, 18, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(20px);
}

.rcs-ui .floating-nav .nav-brand {
    gap: 10px;
}

.rcs-ui .floating-nav .nav-logo {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(217, 217, 217, 0.18);
    border-radius: 9px;
    box-shadow: 0 0 22px rgba(169, 169, 169, 0.22);
}

.rcs-ui .floating-nav .brand-text {
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.16em;
}

.rcs-ui .floating-nav .nav-links {
    gap: 4px;
}

.rcs-ui .floating-nav .nav-links a {
    display: block;
    padding: 9px 13px;
    border-radius: 8px;
    color: #918d9d !important;
    font-size: 14px;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    opacity: 1 !important;
}

.rcs-ui .floating-nav .nav-links a:hover {
    color: #fff !important;
    background: rgba(217, 217, 217, 0.055);
}

.rcs-ui .floating-nav .nav-links a.active {
    color: #fff !important;
    background: linear-gradient(100deg, rgba(169, 169, 169, 0.34), rgba(128, 128, 128, 0.16));
    box-shadow: inset 2px 0 #a9a9a9;
}

.rcs-ui .floating-nav .nav-links a[href*="login"] {
    color: #d9d9d9 !important;
}

.rcs-ui .floating-nav .nav-btn {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #414141;
    border-radius: 8px;
    background: #202020;
    color: #eeebf6;
    font-size: 14px;
}

.rcs-ui .floating-nav .nav-btn:hover {
    border-color: rgba(194, 194, 194, 0.45);
    background: #262626;
    transform: translateY(-1px);
}

/* Documentation */
.docs-page .docs-wrapper {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin: 116px auto 70px;
    padding: 0;
}

.docs-page .docs-sidebar {
    top: 106px;
    padding: 19px 12px 16px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 13px;
    background: linear-gradient(180deg, #161616, #141414);
    box-shadow: 12px 18px 36px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: none;
}

.docs-page .sidebar-header {
    gap: 10px;
    margin-bottom: 18px;
    padding: 2px 9px 16px;
    border-bottom-color: rgba(217, 217, 217, 0.1);
}

.docs-page .sidebar-icon-glow {
    color: #d9d9d9;
    filter: none;
}

.docs-page .sidebar-title {
    color: #f4f2fa;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: none;
}

.docs-page .docs-nav .nav-section {
    margin-bottom: 16px;
}

.docs-page .docs-nav .nav-title {
    margin: 14px 10px 6px;
    color: #6e6e6e;
    font-size: 12px;
    letter-spacing: 0.1em;
    opacity: 1;
}

.docs-page .docs-nav .nav-item {
    min-height: 43px;
    margin: 3px 0;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #918d9d;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.docs-page .docs-nav .nav-item:hover {
    border-color: rgba(217, 217, 217, 0.1);
    background: rgba(217, 217, 217, 0.055);
    color: #fff;
    transform: none;
}

.docs-page .docs-nav .nav-item.active {
    border-color: rgba(217, 217, 217, 0.23);
    border-left: 1px solid rgba(217, 217, 217, 0.23);
    background: linear-gradient(100deg, rgba(169, 169, 169, 0.34), rgba(128, 128, 128, 0.16));
    box-shadow: inset 2px 0 #a9a9a9;
    color: #fff;
}

.docs-page .docs-content {
    min-width: 0;
    padding: 30px 32px 42px;
    border: 1px solid rgba(217, 217, 217, 0.1);
    border-radius: 15px;
    background: rgba(18, 18, 18, 0.72);
}

.docs-page .page-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.1);
}

.docs-page .page-title {
    margin: 0 0 8px;
    background: none;
    color: #f4f2fa;
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -0.04em;
    line-height: 1.04;
    -webkit-text-fill-color: currentColor;
}

.docs-page .page-subtitle {
    max-width: 650px;
    color: #9894a7;
    font-size: 16px;
    line-height: 1.6;
}

.docs-page .content-card,
.docs-page .parameter-card {
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(22, 22, 22, 0.98));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 14px 32px rgba(0, 0, 0, 0.16);
    backdrop-filter: none;
}

.docs-page .content-card {
    margin-bottom: 18px;
}

.docs-page .content-header {
    padding: 17px 20px;
    border-bottom-color: rgba(217, 217, 217, 0.1);
    background: rgba(217, 217, 217, 0.025);
}

.docs-page .content-header h2 {
    font-size: 17px;
}

.docs-page .content-header .lucide {
    color: #d9d9d9;
}

.docs-page .content-body {
    padding: 22px;
}

.docs-page .docs-list,
.docs-page .parameter-card p,
.docs-page .desc-text,
.docs-page .content-body > p {
    color: #9894a7;
    font-size: 16px;
    line-height: 1.65;
}

.docs-page .docs-list li {
    margin-bottom: 13px;
    padding-left: 6px;
}

.docs-page .parameter-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.docs-page .parameter-card {
    padding: 21px;
}

.docs-page .parameter-card:hover {
    border-color: rgba(194, 194, 194, 0.36);
    transform: translateY(-2px);
}

.docs-page .parameter-card h3 {
    margin-bottom: 8px;
    color: #f4f2fa;
    font-size: 16px;
}

.docs-page code {
    border: 1px solid rgba(217, 217, 217, 0.14);
    background: #161616;
    color: #d9d9d9;
}

.docs-page .docs-table-wrapper {
    border-color: rgba(217, 217, 217, 0.1);
    border-radius: 10px;
    background: #161616;
}

.docs-page .docs-table th {
    color: #777483;
    border-bottom-color: rgba(217, 217, 217, 0.1);
}

.docs-page .docs-table td {
    border-bottom-color: rgba(217, 217, 217, 0.07);
}

/* Shop */
.shop-page .shop-hero {
    padding: 138px 24px 24px;
}

.shop-page .shop-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-page .release-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 10px;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 999px;
    background: rgba(169, 169, 169, 0.075);
    color: #d9d9d9;
    font: 700 12px "Cascadia Code", Consolas, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-page .release-kicker::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c2c2c2;
    box-shadow: 0 0 12px rgba(194, 194, 194, 0.8);
    content: "";
}

.shop-page .shop-hero .hero-title {
    max-width: 720px;
    margin-bottom: 12px;
    background: none;
    color: #f4f2fa;
    font-size: clamp(2.8rem, 7vw, 5rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
    -webkit-text-fill-color: currentColor;
}

.shop-page .shop-hero .hero-subtitle {
    max-width: 560px;
    color: #9894a7;
    font-size: 16px;
}

.shop-page .product-toggle-container {
    margin: 16px 0 24px;
}

.shop-page .product-switcher {
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 10px;
    background: #161616;
    backdrop-filter: none;
}

.shop-page .switch-btn {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 7px;
    color: #918d9d;
    font-family: inherit;
    font-size: 14px;
    transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.shop-page .switch-btn.active {
    background: linear-gradient(135deg, #b5b5b5, #898989);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 8px 20px rgba(90, 90, 90, 0.22);
    color: #fff;
}

.shop-page .pricing-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.shop-page .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: none;
    margin: 0 auto 80px;
    padding: 0;
}

.shop-page .pricing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 410px;
    padding: 26px 22px 22px;
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(22, 22, 22, 0.98));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 14px 32px rgba(0, 0, 0, 0.18);
    text-align: left;
}

.shop-page .pricing-card:hover {
    border-color: rgba(194, 194, 194, 0.38);
    transform: translateY(-3px);
}

.shop-page .pricing-card.popular {
    border-color: rgba(194, 194, 194, 0.42);
    background: linear-gradient(145deg, rgba(169, 169, 169, 0.15), rgba(22, 22, 22, 0.98) 62%);
}

.shop-page .pricing-card.popular::before {
    display: none;
}

.shop-page .plan-header {
    padding-top: 25px;
}

.shop-page .plan-name {
    color: #d9d9d9;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.shop-page .plan-price,
.shop-page #section-r6 .plan-price {
    margin: 9px 0 2px;
    color: #f4f2fa;
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    letter-spacing: -0.05em;
}

.shop-page .plan-duration {
    min-height: 48px;
    margin-bottom: 19px;
    color: #777483;
    font-size: 14px;
}

.shop-page .plan-features {
    margin-bottom: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(217, 217, 217, 0.09);
}

.shop-page .plan-features li {
    margin-bottom: 12px;
    color: #9894a7;
    font-size: 14px;
}

.shop-page .plan-features li .lucide {
    color: #c2c2c2;
}

.shop-page .pricing-card .btn-primary {
    width: 100%;
    min-height: 43px;
    margin-top: auto;
    padding: 0 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #b5b5b5, #898989) !important;
    font-size: 14px;
}

.shop-page .pricing-card .btn-disabled {
    border-color: #3a3a3a !important;
    background: #202020 !important;
    color: #6e6e6e !important;
}

.shop-page .popular-tag,
.shop-page .save-badge {
    top: 16px;
    padding: 4px 9px;
    border: 1px solid rgba(217, 217, 217, 0.17);
    border-radius: 999px;
    background: rgba(169, 169, 169, 0.12);
    color: #d9d9d9;
    font-size: 10px;
}

.shop-page .save-badge {
    color: #a5e9be;
    border-color: rgba(119, 224, 160, 0.19);
    background: rgba(119, 224, 160, 0.07);
}

/* License vault */
.vault-page main.container {
    width: min(960px, calc(100% - 40px));
    max-width: none !important;
    padding: 132px 0 70px !important;
}

.vault-page main.container > header {
    margin-bottom: 28px !important;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.1);
}

.vault-page main.container .hero-title {
    background: none;
    color: #f4f2fa;
    font-size: clamp(2.4rem, 6vw, 3.5rem) !important;
    letter-spacing: -0.045em;
    -webkit-text-fill-color: currentColor;
}

.vault-page .vault-grid {
    gap: 12px;
    margin-top: 24px;
}

.vault-page .key-card,
.vault-page .empty-state {
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(22, 22, 22, 0.98));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 14px 32px rgba(0, 0, 0, 0.16);
    backdrop-filter: none;
}

.vault-page .key-card {
    padding: 20px;
}

.vault-page .empty-state {
    padding: 72px 24px;
}

.vault-page .icon-box {
    border: 1px solid rgba(217, 217, 217, 0.17);
    border-radius: 9px;
    background: rgba(169, 169, 169, 0.09);
    color: #d9d9d9;
}

.vault-page .key-details h3 {
    color: #d9d9d9;
    font-size: 12px;
}

.vault-page .license-text {
    color: #f4f2fa;
    font-family: "Cascadia Code", Consolas, monospace;
}

.vault-page .btn-copy {
    border-radius: 8px;
    background: #202020;
}

/* Download/key portals */
.free-portal-page .portal-container {
    padding: 54px 20px;
}

.free-portal-page .portal-card {
    max-width: 510px;
    padding: 38px 34px;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 15px;
    background:
        radial-gradient(460px 240px at 50% -10%, rgba(169, 169, 169, 0.13), transparent 64%),
        linear-gradient(145deg, #1d1d1d, #141414);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.04);
}

.free-portal-page .portal-logo-glow,
.free-portal-page .status-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 13px;
    background: rgba(169, 169, 169, 0.09);
    box-shadow: 0 0 28px rgba(169, 169, 169, 0.18);
}

.free-portal-page .text-gradient {
    background: none;
    color: #f4f2fa;
    -webkit-text-fill-color: currentColor;
}

.free-portal-page .input-flat {
    min-height: 48px;
    border: 1px solid #3c3c3c !important;
    border-radius: 8px;
    background: #161616 !important;
}

.free-portal-page .input-flat:focus {
    border-color: #a9a9a9 !important;
    box-shadow: 0 0 0 3px rgba(169, 169, 169, 0.13);
}

.free-portal-page .btn-primary,
.free-portal-page .btn-secondary,
.free-portal-page .btn-action {
    min-height: 46px;
    border-radius: 8px !important;
}

.free-portal-page .f-tag {
    min-height: 39px;
    padding: 9px;
    border-color: rgba(217, 217, 217, 0.1);
    border-radius: 8px;
    background: #1a1a1a;
    color: #9894a7;
    font-size: 12px;
}

.free-portal-page .key-display-box {
    border-radius: 10px;
    background: #161616;
}

/* Sign in */
.rcs-auth-page,
.rcs-status-page {
    overflow: hidden;
}

.auth-shell,
.status-shell {
    display: grid;
    min-height: 100vh;
    padding: 24px;
    place-items: center;
}

.auth-card {
    position: relative;
    width: min(100%, 480px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(217, 217, 217, 0.2);
    border-radius: 16px;
    background: #121212;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.56), 0 0 80px rgba(128, 128, 128, 0.1);
}

.auth-card::before {
    position: absolute;
    top: -110px;
    left: 50%;
    width: 360px;
    height: 190px;
    border-radius: 50%;
    background: rgba(169, 169, 169, 0.2);
    filter: blur(65px);
    pointer-events: none;
    transform: translateX(-50%);
    content: "";
}

.auth-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 12px 0 18px;
    border-bottom: 1px solid rgba(217, 217, 217, 0.11);
    background: rgba(20, 20, 20, 0.98);
}

.auth-titlebrand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.auth-titlebrand::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a9a9a9;
    box-shadow: 0 0 9px rgba(169, 169, 169, 0.72);
    content: "";
}

.auth-titlebrand small {
    padding: 3px 7px;
    border: 1px solid rgba(217, 217, 217, 0.14);
    border-radius: 999px;
    color: #9894a7;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 9px;
    letter-spacing: 0;
}

.auth-titlebar > a {
    display: grid;
    width: 32px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: #1e1e1e;
    color: #9894a7;
}

.auth-titlebar > a:hover {
    color: #fff;
    background: #2a2a2a;
}

.auth-titlebar > a i {
    width: 15px;
    height: 15px;
}

.auth-body {
    position: relative;
    padding: 34px 38px 32px;
    text-align: center;
}

.auth-logo {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    padding: 5px;
    border: 1px solid rgba(217, 217, 217, 0.18);
    border-radius: 15px;
    background: rgba(169, 169, 169, 0.08);
    box-shadow: 0 0 34px rgba(169, 169, 169, 0.2);
}

.auth-logo img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.auth-eyebrow {
    color: #d9d9d9;
    font: 700 12px "Cascadia Code", Consolas, monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-body h1,
.status-card h1 {
    margin: 8px 0 10px;
    color: #f4f2fa;
    font-size: clamp(2rem, 7vw, 2.75rem);
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.auth-body > p,
.status-card > p {
    margin: 0 auto;
    color: #9894a7;
    font-size: 16px;
    line-height: 1.65;
}

.discord-auth-button {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin-top: 24px;
    padding: 0 16px;
    border: 1px solid rgba(217, 217, 217, 0.25);
    border-radius: 9px;
    background: linear-gradient(135deg, #b5b5b5, #898989);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 9px 22px rgba(90, 90, 90, 0.25);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.auth-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(217, 217, 217, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    color: #8d8999;
    font-size: 11px;
    text-align: left;
}

.auth-trust-item i {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: #c2c2c2;
}

.auth-account-hint {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(217, 217, 217, 0.09);
    color: #706d7b;
    font-size: 11px;
}

.auth-account-hint a {
    color: #d6d6d6;
    font-weight: 700;
    text-decoration: none;
}

.auth-account-hint a:hover { color: #fff; }

.auth-success-mark {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid rgba(112, 231, 161, 0.28);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(112, 231, 161, 0.15), rgba(169, 169, 169, 0.08));
    color: #78e7a5;
    box-shadow: 0 0 36px rgba(112, 231, 161, 0.12);
}

.auth-success-mark i { width: 30px; height: 30px; }

.auth-handoff {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 13px 14px;
    border: 1px solid rgba(120, 231, 165, 0.18);
    border-radius: 9px;
    background: rgba(120, 231, 165, 0.055);
    color: #aaa6b4;
    font-size: 12px;
    text-align: left;
}

.auth-handoff .handoff-pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #78e7a5;
    box-shadow: 0 0 0 5px rgba(120, 231, 165, 0.09), 0 0 14px rgba(120, 231, 165, 0.6);
}

.auth-secondary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin-top: 10px;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: #b7b2c2;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.auth-secondary-link:hover { border-color: rgba(217, 217, 217, 0.34); color: #fff; background: rgba(169, 169, 169, 0.06); }
.auth-secondary-link i { width: 15px; height: 15px; }

.discord-auth-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.discord-auth-button i {
    width: 19px;
    height: 19px;
}

.auth-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #777483;
    font-size: 13px;
}

.auth-note i {
    width: 15px;
    height: 15px;
    color: #77e0a0;
}

/* Payment status */
.status-card {
    width: min(100%, 500px);
    padding: 42px 38px 38px;
    border: 1px solid rgba(217, 217, 217, 0.16);
    border-radius: 15px;
    background:
        radial-gradient(460px 240px at 50% -10%, rgba(169, 169, 169, 0.13), transparent 64%),
        linear-gradient(145deg, #1d1d1d, #141414);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.04);
    text-align: center;
}

.status-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    place-items: center;
    border: 1px solid rgba(119, 224, 160, 0.2);
    border-radius: 13px;
    background: rgba(119, 224, 160, 0.07);
    color: #77e0a0;
    box-shadow: 0 0 28px rgba(119, 224, 160, 0.12);
}

.status-icon i {
    width: 28px;
    height: 28px;
}

.redirect-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 24px 0;
    color: #777483;
    font: 12px "Cascadia Code", Consolas, monospace;
}

.redirect-line span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c2c2c2;
    box-shadow: 0 0 10px rgba(194, 194, 194, 0.8);
}

.status-card .btn-primary {
    width: 100%;
    min-height: 46px;
    text-decoration: none;
}

/* 404 */
.rcs-404-page .main-header {
    border-bottom: 1px solid rgba(217, 217, 217, 0.1);
    background: rgba(18, 18, 18, 0.92);
}

.rcs-404-page .header-nav {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
}

.rcs-404-page .nav-logo h1,
.rcs-404-page .hero-title {
    color: #f4f2fa;
}

.rcs-404-page .nav-tagline,
.rcs-404-page .hero-subtitle {
    color: #9894a7;
}

.rcs-404-page .hero-section {
    min-height: 76vh !important;
}

.rcs-404-page .stat-card,
.rcs-404-page .control-card {
    border: 1px solid rgba(217, 217, 217, 0.12);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(22, 22, 22, 0.98));
}

@media (max-width: 980px) {
    .docs-page .docs-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .docs-page .docs-sidebar {
        position: static;
    }

    .docs-page .docs-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .docs-page .docs-nav .nav-section {
        margin: 0;
    }

    .shop-page .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .rcs-ui .floating-nav {
        top: 12px;
        width: calc(100% - 24px);
    }

    .rcs-ui .floating-nav .nav-links {
        display: none;
    }

    .docs-page .docs-wrapper {
        width: calc(100% - 24px);
        margin-top: 96px;
    }

    .docs-page .docs-sidebar,
    .docs-page .docs-content {
        padding: 17px;
    }

    .docs-page .docs-nav {
        grid-template-columns: 1fr 1fr;
    }

    .docs-page .docs-nav .nav-title {
        margin-left: 4px;
    }

    .shop-page .shop-hero {
        padding-top: 112px;
    }

    .shop-page .pricing-grid {
        grid-template-columns: 1fr;
    }

    .shop-page .pricing-card {
        min-height: 0;
    }

    .vault-page main.container {
        width: calc(100% - 24px);
        padding-top: 112px !important;
    }

    .vault-page .key-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .vault-page .key-info {
        align-items: flex-start;
        gap: 13px;
    }

    .vault-page .license-text {
        font-size: 14px;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .docs-page .docs-nav {
        grid-template-columns: 1fr;
    }

    .docs-page .parameter-grid {
        grid-template-columns: 1fr;
    }

    .shop-page .product-switcher {
        width: calc(100% - 24px);
    }

    .shop-page .switch-btn {
        flex: 1;
        padding-inline: 10px;
    }

    .auth-shell,
    .status-shell {
        padding: 12px;
    }

    .auth-body,
    .status-card {
        padding: 28px 22px 24px;
    }

    .auth-trust-row { grid-template-columns: 1fr; }

    .free-portal-page .portal-card {
        padding: 32px 20px;
    }
}
