/* Cyan Brain - Neo Sci-fi Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: #CFE9F6;
    background: radial-gradient(1200px 800px at 70% -10%, rgba(0, 229, 255, 0.12), rgba(0,0,0,0) 60%),
                radial-gradient(1000px 700px at -10% 20%, rgba(0, 182, 255, 0.10), rgba(0,0,0,0) 60%),
                #0A0F1A;
}

/* Design Tokens */
:root {
    --bg-0: #0A0F1A;
    --bg-1: #0E1624;
    --bg-2: #111B2B;
    --text-0: #E6FAFF;
    --text-1: #CFE9F6;
    --text-2: #8FB3C6;
    --accent: #00E5FF;
    --accent-2: #25F3CE;
    --muted: #243146;
    --shadow: 0 30px 80px rgba(0,0,0,0.45);
    --radius: 14px;
}

/* Utility */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    letter-spacing: 0.4px;
    color: var(--text-0);
    margin-bottom: 2.2rem;
    text-shadow: 0 8px 30px rgba(0, 229, 255, 0.18);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
    background: linear-gradient(180deg, rgba(10,15,26,0.85), rgba(10,15,26,0.60));
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-0);
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: conic-gradient(from 180deg, rgba(0,229,255,0.9), rgba(37,243,206,0.9));
    box-shadow: 0 8px 24px rgba(0,229,255,0.35), inset 0 0 14px rgba(10,15,26,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001017;
    font-weight: 900;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.4rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-1);
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--bg-0);
    background: linear-gradient(180deg, var(--accent), #46f0e1);
    box-shadow: 0 10px 28px rgba(0,229,255,0.22);
}

.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 26px; height: 3px; background: var(--text-1); margin: 3px 0; transition: .3s; border-radius: 2px; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(0,229,255,0.06), rgba(37,243,206,0.04)), url('bjt.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 22px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 75% 30%, rgba(0,229,255,0.08), transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 900;
    color: var(--text-0);
    margin-bottom: 0.8rem;
    letter-spacing: 0.6px;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--text-2);
    margin-bottom: 1.6rem;
}

.hero-content p {
    color: var(--text-1);
}

.hero-image { text-align: center; }
.hero-image img {
    width: 420px;
    height: 420px;
    border-radius: var(--radius);
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,229,255,0.15) inset;
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
    filter: saturate(1.05) contrast(1.02);
}

.hero-image img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 40px 110px rgba(0,229,255,0.18);
}

/* Features */
.features {
    padding: 80px 22px;
    background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(180deg, rgba(17,27,43,0.9), rgba(12,20,33,0.9));
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid rgba(0,229,255,0.12);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,229,255,0.35);
    box-shadow: 0 24px 60px rgba(0,229,255,0.10);
}

.feature-icon {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: linear-gradient(180deg, rgba(0,229,255,0.15), rgba(37,243,206,0.15));
    color: var(--accent);
    font-size: 2rem;
    box-shadow: inset 0 0 20px rgba(0,229,255,0.18), 0 8px 24px rgba(0,0,0,0.35);
}

.feature-card h3 { font-size: 1.25rem; color: var(--text-0); margin-bottom: 10px; }
.feature-card p { color: var(--text-2); }

/* Story / Accordion */
.story { padding: 80px 22px; background: linear-gradient(180deg, var(--bg-1), var(--bg-2)); }
.accordion { max-width: 900px; margin: 0 auto; }
.accordion-item { background: rgba(10,15,26,0.8); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; border: 1px solid rgba(0,229,255,0.12); box-shadow: var(--shadow); }
.accordion-header { background: linear-gradient(180deg, rgba(0,229,255,0.12), rgba(0,229,255,0.06)); color: var(--text-0); padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header:hover { background: linear-gradient(180deg, rgba(0,229,255,0.18), rgba(0,229,255,0.08)); }
.accordion-header h3 { font-size: 1.1rem; margin: 0; }
.accordion-icon { transition: transform .25s ease; color: var(--accent); }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-item.active .accordion-content { max-height: 360px; }
.accordion-body { padding: 18px 20px; color: var(--text-1); background: linear-gradient(180deg, rgba(10,15,26,0.6), rgba(10,15,26,0.75)); }

/* Screenshots Carousel */
.screenshots { padding: 80px 22px; background: var(--bg-0); }
.screenshot-gallery { max-width: 1100px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(0,229,255,0.12); box-shadow: var(--shadow); }
.screenshot-container { display: flex; transition: transform .5s ease; width: 100%; }
.screenshot-slide { min-width: 100%; height: 520px; display: flex; align-items: center; justify-content: center; background: #000; }
.screenshot-slide img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(1.06); transition: transform .35s ease; }
.screenshot-slide:hover img { transform: scale(1.035); }
.screenshot-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10,15,26,0.75); border: 1px solid rgba(0,229,255,0.25); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; color: var(--accent); transition: all .25s ease; box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.screenshot-nav:hover { background: rgba(10,15,26,0.95); box-shadow: 0 12px 36px rgba(0,229,255,0.18); }
.screenshot-prev { left: 16px; }
.screenshot-next { right: 16px; }
.screenshot-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.screenshot-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.35); border: 1px solid rgba(0,229,255,0.35); transition: background .25s ease, transform .25s ease; }
.screenshot-dot.active { background: var(--accent); transform: scale(1.1); }

/* FAQ */
.faq { padding: 80px 22px; background: var(--bg-1); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { background: linear-gradient(180deg, rgba(17,27,43,0.9), rgba(12,20,33,0.9)); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(0,229,255,0.12); transition: border-color .25s ease, transform .25s ease; }
.faq-item:hover { border-color: rgba(0,229,255,0.28); transform: translateY(-2px); }
.faq-item.active { border-color: rgba(0,229,255,0.35); }
.faq-question { padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question h3 { font-size: 1.05rem; color: var(--text-0); font-weight: 700; margin: 0; }
.faq-icon { font-size: 1.4rem; color: var(--accent); font-weight: 700; transition: transform .25s ease; margin-left: 10px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; background: rgba(10,15,26,0.6); }
.faq-item.active .faq-answer { max-height: 220px; padding: 18px 20px; }
.faq-answer p { margin: 0; color: var(--text-1); font-size: 0.98rem; }

/* Requirements */
.requirements { padding: 80px 22px; background: var(--bg-2); }
.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.requirement-card { background: linear-gradient(180deg, rgba(17,27,43,0.95), rgba(12,20,33,0.95)); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(0,229,255,0.12); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; box-shadow: var(--shadow); }
.requirement-card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,0.35); box-shadow: 0 24px 60px rgba(0,229,255,0.10); }
.requirement-card.featured { border-color: rgba(37,243,206,0.45); box-shadow: 0 24px 70px rgba(37,243,206,0.12); }
.requirement-header { display: flex; align-items: center; margin-bottom: 16px; }
.requirement-icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(180deg, rgba(0,229,255,0.18), rgba(37,243,206,0.18)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--accent); margin-right: 14px; box-shadow: inset 0 0 20px rgba(0,229,255,0.18); }
.requirement-header h3 { font-size: 1.25rem; color: var(--text-0); margin: 0; }
.requirement-content { display: flex; flex-direction: column; gap: 12px; }
.spec-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.spec-item:last-child { border-bottom: none; }
.spec-label { font-weight: 700; color: var(--text-2); min-width: 110px; }
.spec-value { color: var(--text-1); text-align: right; flex: 1; margin-left: 12px; }
.additional-info { background: linear-gradient(180deg, rgba(17,27,43,0.95), rgba(12,20,33,0.95)); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(0,229,255,0.12); box-shadow: var(--shadow); }
.additional-info h4 { color: var(--text-0); font-size: 1.35rem; margin-bottom: 16px; text-align: center; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.info-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(10,15,26,0.65); border: 1px solid rgba(0,229,255,0.10); border-radius: 12px; }
.info-icon { font-size: 1.6rem; color: var(--accent-2); }
.info-text h5 { color: var(--text-0); margin: 0 0 6px 0; font-size: 1.05rem; }
.info-text p { color: var(--text-2); margin: 0; font-size: 0.95rem; }

/* Download CTA */
.download { padding: 84px 22px; background: radial-gradient(600px 300px at 20% 0, rgba(0,229,255,0.10), rgba(0,0,0,0)), linear-gradient(180deg, #0A111E, #0A0F1A); text-align: center; border-top: 1px solid rgba(0,229,255,0.08); }
.download h2 { color: var(--text-0); font-size: 2.4rem; margin-bottom: 26px; }
.download-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.download-btn { background: linear-gradient(180deg, var(--accent), #46f0e1); color: #00222C; padding: 16px 28px; border: none; border-radius: 14px; font-size: 1.05rem; font-weight: 800; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; text-decoration: none; display: inline-block; min-width: 210px; letter-spacing: 0.3px; box-shadow: 0 16px 40px rgba(0,229,255,0.22); }
.download-btn:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(0,229,255,0.28); filter: brightness(1.04); }
.download-btn.secondary { background: transparent; color: var(--accent); border: 1px solid rgba(0,229,255,0.35); box-shadow: none; }
.download-btn.secondary:hover { background: rgba(0,229,255,0.08); }
.download-info { margin-top: 18px; color: var(--text-2); }
.download-info p { margin: 6px 0; font-size: 0.96rem; }

/* Footer */
footer { background: #060A12; color: var(--text-2); padding: 48px 22px 18px; text-align: center; border-top: 1px solid rgba(0,229,255,0.08); }
.footer-content { max-width: 1200px; margin: 0 auto; }
.subpage-links { margin-bottom: 26px; }
.subpage-links h3 { color: var(--text-0); font-size: 1.35rem; margin-bottom: 16px; text-align: center; }
.subpage-grid { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 680px; margin: 0 auto; }
.subpage-link { color: var(--accent); text-decoration: none; padding: 10px 14px; border: 1px solid rgba(0,229,255,0.35); border-radius: 12px; text-align: center; transition: all .2s ease; font-size: 0.98rem; font-weight: 700; background: rgba(0,229,255,0.06); }
.subpage-link:hover { color: #00222C; background: linear-gradient(180deg, var(--accent), #46f0e1); border-color: transparent; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,229,255,0.22); }
.friend-links { margin-bottom: 18px; }
.friend-links h3 { color: var(--text-0); font-size: 1.35rem; margin-bottom: 14px; text-align: center; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; max-width: 900px; margin: 0 auto; }
.friend-link { color: #9FB9C9; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; text-align: center; transition: all .2s ease; font-size: 0.95rem; background: rgba(255,255,255,0.02); }
.friend-link:hover { color: var(--accent); border-color: rgba(0,229,255,0.45); background: rgba(0,229,255,0.06); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 12px; color: #89A8BA; font-size: 0.92rem; }

/* Mobile Navigation Panel */
.nav-menu.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: rgba(10,15,26,0.96); backdrop-filter: blur(8px); padding: 14px; border-bottom: 1px solid rgba(0,229,255,0.12); z-index: 999; }
.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }

/* Scroll reveal defaults (JS augments inline styles) */
section { will-change: opacity, transform; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-image img { width: 360px; height: 360px; }
}

@media (max-width: 768px) {
    .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background: #060A12; width: 100%; text-align: center; transition: .3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.25); padding: 24px 0; z-index: 1000; display: flex; }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 10px 0; }
    .hamburger { display: flex; }
    .hero { background-attachment: scroll; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content .subtitle { font-size: 1.05rem; }
    .features-grid { grid-template-columns: 1fr; }
    .requirements-grid { grid-template-columns: 1fr; gap: 16px; }
    .screenshot-slide { height: 320px; }
    .screenshot-nav { width: 44px; height: 44px; font-size: 1.2rem; }
    .screenshot-prev { left: 10px; } .screenshot-next { right: 10px; }
}

@media (max-width: 480px) {
    .nav-container, .hero, .features, .story, .screenshots, .download, .requirements, .faq { padding-left: 14px; padding-right: 14px; }
    .section-container { width: 100%; max-width: 100%; overflow-x: hidden; }
    .hero-content h1 { font-size: 2.1rem; }
    .section-title { font-size: 2rem; }
    .screenshot-slide { height: 280px; }
    .subpage-grid { flex-direction: column; gap: 10px; width: 100%; }
    .download-btn, .subpage-link { width: 100%; max-width: 320px; }
    .spec-item { flex-direction: column; align-items: flex-start; gap: 6px; }
    .spec-label, .spec-value { text-align: left; margin-left: 0; width: 100%; }
}
