:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --sol-purple: #9945FF;
    --sol-green: #14F195;
    --border-color: #333333;
    --grid-line: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

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

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

/* Buttons */
.btn-small {
    border: 1px solid var(--text-color);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.btn-small:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.btn-main {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 1rem 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--sol-purple);
    transition: transform 0.1s, box-shadow 0.1s;
    display: inline-block;
}

.btn-main:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--sol-green);
}

.btn-main:active {
    transform: translate(0, 0);
    box-shadow: 0px 0px 0px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero-badge {
    border: 1px solid var(--sol-green);
    color: var(--sol-green);
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin-bottom: 1rem;
    width: fit-content;
    font-size: 0.8rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

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

.sub-hero {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: #888;
}

.highlight {
    color: var(--text-color);
    border-bottom: 1px solid var(--sol-green);
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stats-preview {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
}

/* Marquee */
.marquee-container {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--sol-purple);
    color: white;
    padding: 0.5rem 0;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.marquee span {
    padding-right: 50px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Grid Section */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    border-bottom: 1px solid var(--border-color);
}

.card {
    padding: 3rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.card:hover {
    background: #0a0a0a;
}

.active-card {
    background: #0f0f0f;
    border: 1px solid var(--sol-green);
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.1);
}

.card-header {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card p {
    color: #888;
}

/* Terminal Section */
.terminal-section {
    padding: 5rem 10%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-window {
    width: 100%;
    max-width: 800px;
    background: #000;
    border: 1px solid var(--border-color);
    box-shadow: 10px 10px 0px #1a1a1a;
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-header .title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.terminal-body {
    padding: 2rem;
    font-family: 'JetBrains Mono', monospace;
    color: #ccc;
}

.terminal-body p {
    margin-bottom: 0.5rem;
}

.success { color: var(--sol-green); }
.blink { animation: blinker 1s linear infinite; color: var(--sol-purple); }

@keyframes blinker {
    50% { opacity: 0; }
}

/* Footer CTA */
.footer-cta {
    padding: 8rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.footer-cta h2 {
    font-size: 3.5rem;
    line-height: 1;
}

.signup-form {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.signup-form input {
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: white;
    font-family: 'JetBrains Mono', monospace;
    min-width: 300px;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--sol-green);
}

/* Footer */
footer {
    padding: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.socials a {
    margin-left: 1.5rem;
    font-weight: 700;
}

.socials a:hover {
    color: var(--sol-purple);
    text-decoration: line-through;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .footer-cta h2 { font-size: 2rem; }
    .stats-preview { 
        border-left: none; 
        padding-left: 0; 
        flex-direction: column; 
        gap: 0.5rem; 
    }
    .navbar { flex-direction: column; gap: 1rem; }
    .signup-form input { min-width: 100%; }
}
