:root {
    --bg1: #000;
    --bg2: #111;
    --neon: #00ffff;
    --neon2: #33f6ff;
    --text: #e0f7ff;
    --muted: rgba(255, 255, 255, 0.6);
    --card: rgba(255, 255, 255, 0.05);
    --border: rgba(0, 255, 255, 0.3);
}

* { box-sizing: border-box }

html, body { height: 100% }

body {
    margin: 0;
    font-family: 'Orbitron', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at 30% -20%, #0b0b0b 0%, var(--bg1) 60%) fixed;
    color: var(--text);
    overflow-x: hidden;
}

/* Header / hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

header.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo { width: 56px; height: auto; opacity: 0.9 }

h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--neon2);
    text-shadow: 0 0 15px var(--neon);
}

.nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.nav-link {
    color: var(--text);
    text-decoration: none;
    opacity: .85;
    transition: .25s;
}
.nav-link:hover {
    opacity: 1;
    text-shadow: 0 0 6px var(--neon);
}

/* Glow background */
.bg-glow {
    position: absolute;
    inset: -15% -15% auto -15%;
    height: 130%;
    background: radial-gradient(circle at 50% 40%, rgba(0, 255, 255, .20), rgba(0, 0, 0, .85) 60%);
    filter: blur(80px);
    animation: pulseGlow 14s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.55; transform: scale(1.04); }
}

/* Subtitle + Buttons */
.subtitle {
    font-size: 1.8rem;
    margin: 1.5rem 0 2rem;
    color: var(--neon);
    text-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon2);
    transition: opacity .6s ease-in-out;
    animation: fadeInUp 1.2s ease-out both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-neon {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--neon);
    color: var(--neon);
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon2);
    transition: .25s;
    font-weight: 700;
    letter-spacing: .5px;
}
.btn-neon:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 30px var(--neon), 0 0 60px var(--neon2);
}

/* Features / CTA */
.features, .cta, footer {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 70px 20px;
    background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
}
.feature {
    flex: 1 1 300px;
    max-width: 340px;
    padding: 26px;
    border-radius: 14px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    transition: .25s;
}
.feature:hover { box-shadow: 0 0 24px rgba(0, 255, 255, .45); }

.cta { padding: 40px 20px 60px; }
.cta p { color: var(--muted); }

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid var(--neon2);
    color: var(--neon2);
    text-decoration: none;
    transition: .25s;
}
.btn-outline:hover {
    background: var(--neon2);
    color: #000;
    box-shadow: 0 0 18px var(--neon2);
}

/* Modal */
#license-modal {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-inner {
    background: #080808;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    color: var(--text);
    text-align: left;
    box-shadow: 0 0 25px rgba(0,255,255,0.25);
}
#lic-output {
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9rem;
}
body.modal-open { overflow: hidden; }

/* Footer */
footer {
    text-align: center;
    padding: 18px;
    margin-top: 30px;
    font-size: .9rem;
    color: var(--muted);
    border-top: 1px solid rgba(0, 255, 255, .2);
    background: #050505;
}

/* Responsive */
@media (max-width: 720px) {
    .hero { padding: 60px 10px; }
    .brand h1 { font-size: 1.4rem; }
    .nav { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .feature { max-width: 100%; }
}
