/* SeedSphere Portal - Aetheric Glass Design System */

:root {
    /* Colors */
    --deep-void: #020617;
    --aether-blue: #38bdf8;
    --aether-blue-dark: #0ea5e9;
    --crystalline: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    
    /* Glass Effects */
    --blur-amount: 50px;
    --border-radius: 24px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-display);
    background: var(--deep-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphic Base */
.glass {
    background: var(--crystalline);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 0.5px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(80px);
    border: 0.5px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 16px 32px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
}

.logo-symbol {
    font-size: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary {
    background: var(--aether-blue);
    color: var(--deep-void);
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--aether-blue);
    padding: 12px 24px;
    border: 1px solid var(--aether-blue);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.1);
}

.btn-download {
    background: linear-gradient(135deg, var(--aether-blue), var(--aether-blue-dark));
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-download:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.7);
}

.btn-icon {
    font-size: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

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

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--aether-blue), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--aether-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Network Graph */
.hero-visual {
    z-index: 1;
}

.network-graph svg {
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
}

.node {
    fill: url(#nodeGradient);
    animation: nodePulse 3s ease-in-out infinite;
}

.central-node {
    fill: var(--aether-blue);
    filter: drop-shadow(0 0 10px var(--aether-blue));
}

.orbit-node {
    animation-delay: calc(var(--orbit) * 0.3s);
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.connection {
    stroke: var(--aether-blue);
    stroke-width: 2;
    opacity: 0.3;
    animation: connectionFlow 4s ease-in-out infinite;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* Sections */
section {
    padding: 120px 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.bento-card {
    background: var(--crystalline);
    backdrop-filter: blur(50px);
    border: 0.5px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: all 0.3s ease;
}

.bento-card:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: var(--aether-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* Download Section */
.download {
    background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, 0.05) 100%);
}

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

.download-card {
    background: var(--crystalline);
    backdrop-filter: blur(80px);
    border: 0.5px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover:not(.coming-soon) {
    transform: translateY(-8px);
    border-color: var(--aether-blue);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

.platform-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-download-platform {
    background: var(--aether-blue);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.btn-download-platform:not(:disabled):hover {
    background: var(--aether-blue-dark);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.btn-download-platform:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.version {
    font-size: 14px;
    color: var(--text-secondary);
}

.coming-soon {
    opacity: 0.6;
}

/* Quick Start */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step {
    text-align: center;
    padding: 32px;
    background: var(--crystalline);
    border-radius: var(--border-radius);
    border: 0.5px solid var(--glass-border);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--aether-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* Footer */
.footer {
    padding: 60px 80px;
    border-top: 0.5px solid var(--glass-border);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--aether-blue);
}

.footer-copy p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 60px;
    }
    
    .network-graph svg {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    section {
        padding: 60px 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
}
