body.nyridian-page {
    margin: 0;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #182033;
    background: #f5f7fb;
}

.nyridian-page * {
    box-sizing: border-box;
}

.nyridian-page a {
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: rgba(10, 18, 38, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .inner,
.section-inner,
.site-footer .inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.brand-logo {
    display: block;
    flex: 0 0 auto;
    width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
    border-radius: 8px;
   
    box-shadow: 0 4px 10px rgba(79, 124, 255, 0.16);
}

.site-header .brand img {
    width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
}

.brand-mark {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, #17c7b7, #4f7cff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(79, 124, 255, 0.35);
}

.brand-text strong {
    display: block;
    font-size: 18px;
}

.brand-text span {
    color: rgba(255,255,255,0.72);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links button {
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links button:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(25,210,180,0.24), rgba(79,124,255,0.28));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.nav-login-btn {
    border: 1px solid rgba(255,255,255,0.14) !important;
}

.nav-register-btn {
    padding: 10px 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #19d2b4, #4f7cff) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(79,124,255,0.22);
}

.user-nav {
    position: relative;
}

.user-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

.user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #19d2b4, #4f7cff);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.user-menu-caret {
    font-size: 11px;
    opacity: 0.8;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(16, 24, 47, 0.16);
    display: none;
    z-index: 60;
}

.user-dropdown.is-open {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 10px 12px;
    color: #1d2a49;
    border-radius: 10px;
}

.user-dropdown a:hover {
    background: #f3f7ff !important;
    color: #20417c;
}

body.site-auth-open {
    overflow: hidden;
}

.site-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
}

.site-auth-modal.is-open {
    display: block;
}

.site-auth-mask {
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 28, 0.58);
}

.site-auth-dialog {
    position: relative;
    width: min(460px, calc(100% - 24px));
    margin: 7vh auto 0;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 30px 70px rgba(9, 18, 38, 0.28);
}

.site-auth-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f2f5fb;
    color: #1e2b47;
    cursor: pointer;
    font-size: 18px;
}

.site-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.site-auth-tabs button {
    flex: 1;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #eef3fb;
    color: #39527f;
    cursor: pointer;
    font-weight: 600;
}

.site-auth-tabs button.active {
    background: linear-gradient(135deg, #19d2b4, #4f7cff);
    color: #fff;
}

.site-auth-panel {
    display: none;
}

.site-auth-panel.active {
    display: block;
}

.site-auth-panel h3 {
    margin: 6px 0 6px;
    font-size: 24px;
}

.site-auth-subtitle {
    margin: 0 0 14px;
    color: #62718f;
    line-height: 1.7;
}

.site-auth-form {
    display: grid;
    gap: 12px;
}

.site-auth-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #4a5c80;
}

.site-auth-form input {
    width: 100%;
    border: 1px solid #d8e0ee;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 14px;
    outline: none;
}

.site-auth-form input:focus {
    border-color: #5a88ff;
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.12);
}

.site-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #53637f;
    font-size: 13px;
}

.site-auth-check input {
    width: auto;
}

.site-auth-captcha-row {
    display: grid;
    grid-template-columns: 1fr 108px;
    gap: 10px;
    align-items: center;
}

.site-auth-captcha-row img {
    width: 108px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d8e0ee;
    cursor: pointer;
}

.site-auth-help {
    padding: 10px 12px;
    border-radius: 12px;
    background: #f5f8ff;
    color: #4e6188;
    line-height: 1.7;
    font-size: 13px;
}

.site-auth-help a {
    color: #2f6df6;
}

.site-auth-submit {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #19d2b4, #4f7cff);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.hero {
    background:
        radial-gradient(circle at top left, rgba(79,124,255,0.24), transparent 35%),
        radial-gradient(circle at top right, rgba(23,199,183,0.20), transparent 32%),
        linear-gradient(135deg, #0b1630 0%, #101f46 52%, #10285b 100%);
    color: #fff;
    padding: 72px 0 52px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: #c9defd;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.1;
}

.hero p {
    margin: 0;
    color: #d5ddf1;
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.btn-primary,
.btn-secondary,
.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover {
    transform: translateY(-1px);
}

.btn-disabled {
    opacity: 0.8;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #19d2b4, #4f7cff);
    color: #fff;
    box-shadow: 0 14px 30px rgba(79,124,255,0.28);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #20417c;
}

.hero-panel {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.status-card {
    background: rgba(7, 13, 28, 0.42);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
}

.status-card:last-child {
    margin-bottom: 0;
}

.status-card .caption {
    color: #9db4de;
    font-size: 13px;
    margin-bottom: 8px;
}

.status-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.status-pill {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(31, 215, 165, 0.18);
    color: #7cf4c9;
    font-size: 12px;
    font-weight: 700;
}

.section {
    padding: 64px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading .eyebrow {
    color: #3b72f4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 10px 0 10px;
    font-size: clamp(28px, 3vw, 40px);
    color: #10182f;
}

.section-heading p {
    margin: 0;
    color: #5d6a85;
    line-height: 1.8;
}

.grid-3,
.grid-4,
.docs-grid,
.download-grid,
.stats-grid {
    display: grid;
    gap: 18px;
}

.grid-3,
.docs-grid,
.download-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.doc-card,
.download-card,
.stat-card,
.faq-item,
.scene-card {
    background: #fff;
    border: 1px solid #e8edf7;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(16, 24, 47, 0.05);
}

.feature-icon,
.doc-icon,
.download-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #fff;
    font-size: 20px;
}

.feature-icon { background: linear-gradient(135deg, #4f7cff, #6f9cff); }
.doc-icon { background: linear-gradient(135deg, #14c6b4, #39d5a6); }
.download-icon { background: linear-gradient(135deg, #ff9a3d, #ffb347); }

.feature-card h3,
.doc-card h3,
.download-card h3,
.scene-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.feature-card p,
.doc-card p,
.download-card p,
.scene-card p,
.faq-item p {
    margin: 0;
    color: #60708c;
    line-height: 1.75;
}

.stats-grid {
    margin-top: 18px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
    color: #10182f;
    margin-bottom: 8px;
}

.scene-wrap,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.doc-steps {
    margin: 0;
    padding-left: 18px;
    color: #60708c;
    line-height: 1.9;
}

.download-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
}

.download-card .meta span {
    font-size: 12px;
    color: #41506b;
    background: #eef3fb;
    border-radius: 999px;
    padding: 5px 10px;
}

.release-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(16, 24, 47, 0.05);
}

.release-table th,
.release-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f7;
    text-align: left;
    color: #42516d;
}

.release-table th {
    color: #10182f;
    background: #f7f9fd;
}

.release-table tr:last-child td {
    border-bottom: none;
}

.cta-panel {
    background: linear-gradient(135deg, #112148, #18306c);
    color: #fff;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cta-panel p {
    color: #dbe5fb;
    margin: 8px 0 0;
}

.site-footer {
    background: #0c1733;
    color: rgba(255,255,255,0.74);
    padding: 24px 0 36px;
}

.site-footer .inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

.site-footer a {
    color: #b9ccf3;
}

@media (max-width: 980px) {
    .hero-grid,
    .grid-3,
    .grid-4,
    .docs-grid,
    .download-grid,
    .scene-wrap,
    .faq-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .site-header .inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        gap: 12px;
    }

    .hero {
        padding-top: 48px;
    }
}
