* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', 'Roboto', 'Microsoft YaHei', sans-serif;
    background: #030208;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
    --brand: #60a5fa;
    --ring: #fbbf24;
    --ring-hot: #f97316;
    --void: #0a0614;
    --bg-card: rgba(15, 10, 30, 0.85);
    --text-muted: #94a3b8;
}

h1, h2, h3, h4 { color: #fff; font-weight: 700; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(3, 2, 8, 0.92);
    backdrop-filter: blur(2px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(251, 191, 36, 0.18);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 14px rgba(251, 191, 36, .45);
}
.nav-logo svg {
    width: 30px; height: 30px;
    fill: var(--ring);
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, .7));
}
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--text-muted); transition: .3s; }
.nav-links a:hover { color: #fff; text-shadow: 0 0 10px var(--ring); }
.btn-download-nav {
    padding: 8px 22px !important;
    background: linear-gradient(135deg, #ea580c, #fbbf24);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(251, 191, 36, .4);
}
.btn-download-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(251, 191, 36, .55); }

.hero-wrapper {
    position: relative;
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 5% 120px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(249, 115, 22, .18) 0%, transparent 42%),
        radial-gradient(ellipse at 50% 40%, rgba(96, 165, 250, .12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, #12081f 0%, #030208 70%);
}
.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent),
        radial-gradient(1px 1px at 28% 42%, #fbbf24, transparent),
        radial-gradient(1.5px 1.5px at 62% 14%, #fff, transparent),
        radial-gradient(1px 1px at 78% 36%, #60a5fa, transparent),
        radial-gradient(1.5px 1.5px at 88% 20%, #fff, transparent),
        radial-gradient(1px 1px at 18% 68%, #fff, transparent);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}

.blackhole-stage {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 86vw);
    height: min(480px, 86vw);
    z-index: 1;
    pointer-events: none;
}
.event-horizon {
    position: absolute;
    inset: 28%;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 40%, #1a1028 0%, #000 55%, #000 100%);
    box-shadow:
        0 0 18px 6px rgba(0,0,0,.9),
        0 0 80px 20px rgba(249, 115, 22, .15),
        inset 0 0 40px rgba(0,0,0,.95);
    z-index: 3;
}
.photon-ring {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 3px solid transparent;
    background:
        linear-gradient(#030208, #030208) padding-box,
        conic-gradient(from 0deg, #f97316, #fbbf24, #fde68a, #60a5fa, #f97316) border-box;
    box-shadow: 0 0 30px rgba(251, 191, 36, .5), 0 0 60px rgba(249, 115, 22, .25);
    animation: ringSpin 10s linear infinite;
    z-index: 2;
}
.accretion-disk {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(251, 191, 36, .2);
    transform: rotateX(68deg) scaleY(0.55);
    box-shadow:
        0 0 40px rgba(249, 115, 22, .35),
        inset 0 0 50px rgba(251, 191, 36, .15);
    animation: diskPulse 4s ease-in-out infinite;
    z-index: 1;
}
.accretion-disk::before {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, .35);
    box-shadow: 0 0 20px rgba(249, 115, 22, .4);
}
.warp-lens {
    position: absolute;
    inset: -8%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 40%, rgba(96, 165, 250, .06) 55%, transparent 70%);
    animation: warpPulse 5s ease-in-out infinite;
    z-index: 0;
}
.orbit-plane {
    position: absolute;
    inset: 0;
    animation: planeOrbit 6s linear infinite;
    z-index: 4;
}
.orbit-plane svg {
    position: absolute;
    top: 6%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, .95));
}

@keyframes ringSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes planeOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes diskPulse {
    0%, 100% { opacity: .7; }
    50% { opacity: 1; }
}
@keyframes warpPulse {
    0%, 100% { transform: scale(1); opacity: .5; }
    50% { transform: scale(1.06); opacity: .85; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin-top: 240px;
    padding: 28px 32px;
    background: rgba(10, 6, 20, .62);
    border-radius: 28px;
    border: 1px solid rgba(251, 191, 36, .28);
    backdrop-filter: blur(2px);
    box-shadow: 0 28px 60px rgba(0,0,0,.65), inset 0 0 40px rgba(249, 115, 22, .05);
}
 .hero-title { font-size: 28px;
    margin-bottom: 18px;
    line-height: 1.35;
    background: linear-gradient(90deg, #fff, #fde68a, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
p.hero {
    font-size: 17px;
    color: #cbd5e1;
    margin: 0 auto 28px;
    max-width: 720px;
}
.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-outline, .btn-dl-card, .btn-more {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: .3s;
}
.btn-primary {
    background: linear-gradient(135deg, #ea580c, #fbbf24);
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(251, 191, 36, .5); }
.btn-outline {
    border: 1.5px solid rgba(251, 191, 36, .55);
    color: #fde68a;
    background: rgba(10, 6, 20, .45);
}
.btn-outline:hover { background: rgba(251, 191, 36, .12); border-color: #fbbf24; }

.hero-images {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
    max-width: 1100px;
}
.hero-images img {
    width: min(280px, 88vw);
    border-radius: 18px;
    border: 1px solid rgba(251, 191, 36, .22);
    box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 28px rgba(249, 115, 22, .12);
    transition: .35s;
}
.hero-images img:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 40px rgba(251, 191, 36, .25); }

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #fff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features { padding: 80px 5%; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(251, 191, 36, .16);
    border-radius: 18px;
    padding: 28px 24px;
    transition: .3s;
    backdrop-filter: blur(2px);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, .45);
    box-shadow: 0 16px 40px rgba(249, 115, 22, .15);
}
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: #fde68a; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

.blog {
    padding: 80px 5%;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}
.blog .section-title {
    background: linear-gradient(90deg, #0f172a, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto 36px;
}
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .08);
    transition: .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(15, 23, 42, .12); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-content { padding: 22px 24px 26px; }
.blog-date { font-size: 13px; color: #64748b; display: block; margin-bottom: 8px; }
.blog-content h3 { font-size: 20px; margin-bottom: 10px; color: #0f172a; }
.blog-content p { color: #475569; font-size: 14px; }
.btn-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 28px;
    background: #0f172a;
    color: #fff;
    border-radius: 50px;
}
.btn-more:hover { background: #1e293b; }

.faq { padding: 80px 5%; max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(251, 191, 36, .14);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 16px;
}
.faq-item:hover { border-color: rgba(251, 191, 36, .35); }
.faq-question { font-size: 17px; font-weight: 700; color: #fde68a; margin-bottom: 10px; }
.faq-answer { color: var(--text-muted); font-size: 14px; line-height: 1.75; }

.page-header {
    padding: 90px 5% 50px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, .22) 0%, transparent 55%),
        #030208;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    top: 15%; right: 12%;
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, .25);
    box-shadow: 0 0 30px rgba(249, 115, 22, .2);
    animation: ringSpin 14s linear infinite;
}
.page-header-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-header h1 { font-size: 36px; margin-bottom: 14px; }
.page-header p { font-size: 17px; color: var(--text-muted); }

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 5% 90px;
}
.download-card {
    background: var(--bg-card);
    border: 1px solid rgba(251, 191, 36, .18);
    border-radius: 18px;
    padding: 32px 28px;
    transition: .3s;
}
.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, .45);
    box-shadow: 0 16px 40px rgba(249, 115, 22, .12);
}
.download-card h3 { font-size: 22px; margin-bottom: 12px; }
.download-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.btn-dl-card {
    background: linear-gradient(135deg, #ea580c, #fbbf24);
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
}

.footer {
    background: #010104;
    padding: 60px 5% 24px;
    border-top: 1px solid rgba(251, 191, 36, .12);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto 40px;
}
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: #fde68a; }
.footer-col p, .footer-col li { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: var(--ring); }
.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 163, 184, .15);
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 900px) {
    .features-grid, .blog-grid, .download-grid, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 14px; font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
    .hero-title { font-size: 26px; }
    .hero-content { margin-top: 200px; }
}

/* === perf: reduce motion & lower GPU cost === */
.feature-card,
.blog-card,
.hero-content,
.glass-panel,
.pearl-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.navbar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* perf: limit decorative infinite layers on mid/low-end devices */
@media (max-width: 768px) {
    .bubble:nth-child(n+3),
    .tiny-plane:nth-child(n+3),
    .bg-shard:nth-child(n+4),
    .orb:nth-child(n+2) {
        display: none !important;
    }
}
