:root {
    --bg: #050505;
    --surface: rgba(255, 255, 255, 0.05);
    --accent: #00e676;
    --accent-blue: #00b0ff;
    --text: #f0f0f0;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Glow */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, #00e67610 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #00b0ff10 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.accent-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 600;
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 230, 118, 0.3);
}

.btn-glow {
    background: linear-gradient(45deg, var(--accent), var(--accent-blue));
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.2);
    margin-right: 1rem;
    transition: 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 0 50px rgba(0, 230, 118, 0.4);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--surface);
    border-color: var(--text);
}

/* Core Visual / Orb */
.core-visual {
    margin-top: 4rem;
}

.orb-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.orb {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--accent) 0%, #000 70%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(0, 230, 118, 0.4);
    animation: pulse 4s infinite ease-in-out;
}

.orb-ring {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    animation: rotate 10s infinite linear;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-badge {
    margin-top: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(0, 230, 118, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

/* Sections */
section {
    padding: 8rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
}

/* Roadmap */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-col h3 {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.green { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.blue { background: var(--accent-blue); box-shadow: 0 0 10px var(--accent-blue); }

.roadmap-list {
    list-style: none;
}

.roadmap-list li {
    margin-bottom: 2rem;
    border-left: 1px solid var(--border);
    padding-left: 1.5rem;
}

.roadmap-list li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.roadmap-list li p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Demo Section */
.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.demo-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.demo-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--surface);
    border-bottom-color: var(--accent);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

/* Releases */
.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.release-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.release-card p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

/* Animations */
.animate-reveal {
    /* Visible by default so content never depends on JS to render.
       JS (app.js) progressively enhances via .js-reveal + .active below. */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only elements JS has actually taken control of start hidden. */
.js-reveal.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.js-reveal.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
}
