:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --text-primary: #f0f0f5;
    --text-secondary: #8b8b9e;
    --accent-glow: #00ffcc;
    --accent-deep: #0088ff;
    --transition-snappy: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background effects */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 204, 0.03) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(0, 136, 255, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

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

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

.logo span {
    color: var(--accent-glow);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition-snappy);
}

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

/* Buttons */
.cta-button {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-snappy);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-deep));
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.3);
    transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
    margin-top: 2rem;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 204, 0.5);
}

.cta-primary:active {
    transform: translateY(1px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Stats */
.stats-container {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent-glow);
    font-weight: 800;
}

.stat-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Visuals */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.node-network {
    position: relative;
    width: 400px;
    height: 400px;
}

.node {
    position: absolute;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-deep);
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.4);
}

.central {
    width: 80px;
    height: 80px;
    top: 160px;
    left: 160px;
    border-color: var(--accent-glow);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
    animation: pulse 3s infinite alternate;
}

.n1 { width: 40px; height: 40px; top: 40px; left: 80px; animation: float 4s ease-in-out infinite; }
.n2 { width: 50px; height: 50px; top: 250px; left: 300px; animation: float 5s ease-in-out infinite reverse; }
.n3 { width: 35px; height: 35px; top: 300px; left: 60px; animation: float 6s ease-in-out infinite; }

/* Features */
.section-padding {
    padding: 8rem 5%;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform var(--transition-snappy), background var(--transition-snappy);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 255, 204, 0.3); }
    100% { transform: scale(1.05); box-shadow: 0 0 40px rgba(0, 255, 204, 0.6); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 4rem;
    }
    
    .hero h1 { font-size: 3rem; }
    
    .stats-container {
        justify-content: center;
    }
    
    .hero-visual { margin-top: 4rem; }
}
