:root {
    --bg: #08070f;
    --bg-elevated: #110f1d;
    --surface: rgba(24, 22, 38, 0.72);
    --surface-hover: rgba(36, 33, 56, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.18);
    --text: #f2f2f7;
    --text-sub: #b4b4c4;
    --text-muted: #7b7b8e;
    --primary: #bc13fe;
    --primary-bright: #d45cff;
    --primary-glow: rgba(188, 19, 254, 0.35);
    --accent-blue: #38bdf8;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(90% 50% at 50% -10%, rgba(188, 19, 254, 0.22) 0%, transparent 60%),
        radial-gradient(60% 40% at 95% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 60%),
        radial-gradient(60% 45% at 5% 75%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 9, 18, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-sub);
    transition: color 160ms var(--ease);
}

.nav-links a:hover {
    color: var(--text);
}

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

.code-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 160ms var(--ease);
}

.code-pill-btn:hover {
    background: rgba(56, 189, 248, 0.18);
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 180ms var(--ease);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, #c833ff 0%, #8e0bce 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(188, 19, 254, 0.5);
}

.btn-glass {
    background: var(--surface);
    color: var(--text);
    border-color: var(--glass-border-strong);
}

.btn-glass:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.nav-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
}

/* --- HERO --- */
.hero {
    padding: 64px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(188, 19, 254, 0.14);
    border: 1px solid rgba(212, 92, 255, 0.35);
    color: var(--primary-bright);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 10%, #e18fff 55%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-row i {
    color: var(--accent-green);
}

.hero-visual {
    position: relative;
}

.hero-mockup-frame {
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border-strong);
    background: linear-gradient(180deg, rgba(36, 33, 54, 0.6) 0%, rgba(16, 15, 26, 0.8) 100%);
    padding: 12px;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6), 0 0 80px rgba(188, 19, 254, 0.16);
}

.hero-mockup-frame img {
    border-radius: calc(var(--radius-xl) - 8px);
    width: 100%;
    height: auto;
}

.hero-mascot {
    position: absolute;
    bottom: -18px;
    left: -26px;
    width: 148px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 14px 28px rgba(188, 19, 254, 0.45));
    animation: mascotFloat 4.2s ease-in-out infinite;
    z-index: 3;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.mascot-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    cursor: pointer;
}

.mascot-bubble {
    background: rgba(20, 18, 34, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 92, 255, 0.4);
    border-radius: 14px 14px 4px 14px;
    padding: 9px 13px;
    font-size: 0.8rem;
    color: var(--text);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    max-width: 195px;
    line-height: 1.35;
    transition: transform 180ms var(--ease);
}

.mascot-fab:hover .mascot-bubble {
    transform: translateY(-3px);
}

.mascot-fab img {
    width: 64px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(188, 19, 254, 0.45));
    transition: transform 200ms var(--ease);
}

.mascot-fab:hover img {
    transform: scale(1.07);
}

@media (max-width: 768px) {
    .hero-mascot {
        width: 96px;
        left: -10px;
        bottom: -12px;
    }
    .mascot-bubble {
        display: none;
    }
    .mascot-fab img {
        width: 52px;
    }
}

/* --- SECTION COMMON --- */
.section {
    padding: 56px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 38px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-bright);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-sub);
    font-size: 0.98rem;
}

/* --- DOWNLOAD SECTION --- */
.downloader-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.12) 0%, rgba(188, 19, 254, 0.12) 100%);
    border: 1px solid rgba(56, 189, 248, 0.28);
    margin-bottom: 28px;
}

.downloader-banner-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.downloader-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.16);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.downloader-banner h3 {
    font-size: 1rem;
    font-weight: 600;
}

.downloader-banner p {
    font-size: 0.88rem;
    color: var(--text-sub);
}

.code-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
    font-size: 0.95rem;
}

.dl-single-card {
    background: linear-gradient(135deg, rgba(46, 26, 72, 0.55) 0%, rgba(18, 16, 30, 0.88) 100%);
    border: 1px solid rgba(212, 92, 255, 0.42);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 28px;
    align-items: center;
    box-shadow: 0 22px 54px rgba(188, 19, 254, 0.16);
}

.dl-single-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dl-single-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.dl-single-main h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dl-single-qr-panel {
    background: rgba(8, 7, 15, 0.62);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.dl-single-qr-panel .dl-qr-box {
    width: 132px;
    height: 132px;
    padding: 8px;
    border-radius: 12px;
}

.dl-single-qr-panel strong {
    font-size: 0.92rem;
    color: var(--text);
}

.dl-single-qr-panel span {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.dl-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.dl-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
}

.dl-card.featured {
    border-color: rgba(212, 92, 255, 0.45);
    background: linear-gradient(180deg, rgba(46, 26, 72, 0.55) 0%, rgba(20, 18, 34, 0.82) 100%);
    box-shadow: 0 18px 44px rgba(188, 19, 254, 0.15);
}

.dl-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dl-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dl-badge.blue { background: rgba(56, 189, 248, 0.16); color: var(--accent-blue); }
.dl-badge.purple { background: rgba(188, 19, 254, 0.22); color: var(--primary-bright); }
.dl-badge.green { background: rgba(16, 185, 129, 0.18); color: #34d399; }

.dl-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dl-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dl-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    flex: 1;
}

.dl-qr-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(8, 7, 15, 0.55);
    border: 1px solid var(--glass-border);
}

.dl-qr-box {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
}

.dl-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dl-qr-text {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.dl-qr-text strong {
    display: block;
    color: var(--text);
    font-size: 0.86rem;
    margin-bottom: 2px;
}

.dl-actions {
    display: flex;
    gap: 10px;
}

.dl-actions .btn {
    flex: 1;
}

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.feature-card:hover {
    border-color: rgba(212, 92, 255, 0.35);
    transform: translateY(-2px);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(188, 19, 254, 0.16);
    border: 1px solid rgba(212, 92, 255, 0.28);
    color: var(--primary-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-sub);
}

/* --- SCREENSHOTS --- */
.shots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.shot-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface);
    cursor: zoom-in;
    transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.shot-card:hover {
    transform: translateY(-3px);
    border-color: var(--glass-border-strong);
}

.shot-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.shot-caption {
    padding: 12px 14px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-sub);
}

.shot-caption strong {
    display: block;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.mobile-showcase {
    margin-top: 28px;
    background: linear-gradient(135deg, rgba(46, 26, 72, 0.35) 0%, rgba(16, 15, 26, 0.72) 100%);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    padding: 26px;
}

.mobile-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-showcase-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-showcase-head h3 i {
    color: var(--primary-bright);
}

.mobile-showcase-head span {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.mobile-shots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

.mobile-shot-card {
    background: rgba(8, 7, 15, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: zoom-in;
    transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.mobile-shot-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 92, 255, 0.42);
}

.mobile-shot-card img {
    max-height: 360px;
    width: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.mobile-shot-meta {
    text-align: center;
}

.mobile-shot-meta strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 3px;
}

.mobile-shot-meta span {
    font-size: 0.82rem;
    color: var(--text-sub);
}

/* --- INSTALL GUIDE TABS --- */
.guide-box {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 26px;
}

.guide-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 14px;
}

.guide-tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-sub);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 160ms var(--ease);
}

.guide-tab-btn.active {
    background: rgba(188, 19, 254, 0.22);
    border-color: rgba(212, 92, 255, 0.45);
    color: #fff;
}

.guide-steps {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.guide-steps.active {
    display: grid;
}

.step-card {
    background: rgba(8, 7, 15, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c833ff, #8e0bce);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-card h4 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.86rem;
    color: var(--text-sub);
}

/* --- CHANGELOG & FAQ --- */
.split-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.info-panel {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.info-panel h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-panel h3 i {
    color: var(--primary-bright);
}

.release-notes-box {
    font-size: 0.9rem;
    color: var(--text-sub);
    white-space: pre-line;
    line-height: 1.65;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(8, 7, 15, 0.45);
    overflow: hidden;
}

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

.faq-q i {
    color: var(--text-muted);
    transition: transform 180ms var(--ease);
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
    color: var(--primary-bright);
}

.faq-a {
    display: none;
    padding: 0 16px 14px;
    font-size: 0.86rem;
    color: var(--text-sub);
}

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

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 32px 0;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

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

/* --- LIGHTBOX & TOAST --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 4, 10, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 960px;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border-strong);
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(24, 22, 38, 0.95);
    border: 1px solid var(--glass-border-strong);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all 220ms var(--ease);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- TERMS PAGE --- */
.terms-page {
    padding: 40px 0 64px;
}

.terms-container {
    max-width: 920px;
}

.terms-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.terms-breadcrumb a {
    color: var(--accent-blue);
    transition: opacity 160ms var(--ease);
}

.terms-breadcrumb a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.header-banner {
    background: var(--surface);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: center;
    margin-bottom: 28px;
    backdrop-filter: blur(16px);
}

.doc-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(188, 19, 254, 0.14);
    border: 1px solid rgba(188, 19, 254, 0.35);
    color: var(--primary-bright);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.terms-banner-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 4px 0 14px;
}

.terms-banner-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.doc-title {
    font-size: clamp(1.05rem, 2.2vw, 1.32rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    max-width: 720px;
    margin: 0 auto 18px;
}

.terms-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    font-size: 0.84rem;
    color: var(--text-sub);
}

.terms-meta .dot {
    color: var(--text-muted);
}

.terms-toc {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.toc-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--glass-border);
}

.toc-header-title h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.toc-header-title p {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    transition: all 180ms var(--ease);
}

.toc-item:hover {
    background: var(--surface-hover);
    border-color: var(--glass-border-strong);
    transform: translateX(3px);
}

.toc-num {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 700;
}

.toc-title {
    flex: 1;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text);
}

.toc-arrow {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: transform 180ms var(--ease), color 180ms var(--ease);
}

.toc-item:hover .toc-arrow {
    color: var(--primary-bright);
    transform: translateX(3px);
}

.terms-intro {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 20px;
    color: var(--text-sub);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.terms-article {
    padding: 28px 0;
    border-bottom: 1px solid var(--glass-border);
    scroll-margin-top: 84px;
}

.terms-section-title {
    font-size: 1.24rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.terms-article > p {
    color: var(--text-sub);
    margin-bottom: 14px;
    line-height: 1.75;
}

.terms-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.terms-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-sub);
    font-size: 0.96rem;
    line-height: 1.75;
}

.terms-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-bright);
}

.bold-lead {
    color: var(--text);
    font-weight: 600;
}

.info-box {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: var(--text-sub);
    font-size: 0.93rem;
    line-height: 1.65;
}

.info-box strong {
    color: var(--accent-blue);
}

.warning-box {
    margin-top: 20px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.warning-box-title {
    color: var(--accent-amber);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.warning-box p {
    color: var(--text-sub);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

.warning-box strong {
    color: var(--text);
}

.terms-bottom-actions {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 980px) {
    .hero-grid,
    .dl-single-card,
    .features-grid,
    .shots-grid,
    .mobile-shots-grid,
    .guide-steps,
    .split-info-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 36px 0 28px;
    }
    .downloader-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(12, 11, 20, 0.97);
        border-bottom: 1px solid var(--glass-border);
        padding: 16px 20px;
        gap: 14px;
    }
    .nav-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .section {
        padding: 44px 0;
    }
    .hero-cta-group,
    .dl-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-group .btn,
    .dl-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .dl-single-card {
        padding: 20px 16px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .mascot-bubble {
        display: none;
    }
    .mascot-fab {
        right: 14px;
        bottom: 14px;
    }
    .mascot-fab img {
        width: 54px;
        height: 54px;
    }

    /* Terms mobile optimization */
    .terms-page {
        padding: 24px 0 44px;
    }
    .header-banner {
        padding: 24px 16px;
        border-radius: var(--radius-lg);
    }
    .terms-meta {
        flex-direction: column;
        gap: 6px;
    }
    .terms-meta .dot {
        display: none;
    }
    .terms-toc {
        padding: 18px 14px;
    }
    .toc-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .toc-title {
        font-size: 0.88rem;
    }
    .toc-arrow {
        display: none;
    }
    .terms-intro {
        padding: 14px 16px;
        font-size: 0.92rem;
    }
    .terms-article {
        padding: 22px 0;
    }
    .terms-section-title {
        font-size: 1.1rem;
    }
    .terms-list li,
    .terms-article > p {
        font-size: 0.92rem;
        line-height: 1.7;
    }
    .warning-box {
        padding: 16px;
    }
    .terms-bottom-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .terms-bottom-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .nav-inner {
        height: 60px;
        gap: 8px;
    }
    .nav-links.open {
        top: 60px;
    }
    .brand img {
        height: 28px;
    }
    .nav-actions {
        gap: 6px;
    }
    .code-pill-btn {
        padding: 6px 9px;
        font-size: 0.74rem;
        gap: 5px;
    }
    .nav-actions .btn-sm {
        padding: 7px 10px;
        font-size: 0.78rem;
    }
}
