/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0D0D0D;
    --surface: #1A0A2E;
    --primary: #FF00FF;
    --secondary: #00FFFF;
    --accent: #FFFF00;
    --grid: rgba(255,255,255,0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* === GRID OVERLAY === */
.grid-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* === NAV === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 40px;
    background: rgba(13,13,13,0.85);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    letter-spacing: 3px;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255,0,255,0.15), transparent 70%);
    border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
    0%, 100% { border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; }
    50% { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 40px var(--primary), 0 0 80px rgba(255,0,255,0.3);
    margin-right: -30px;
    padding-right: 0;
    max-width: none;
    position: relative;
    left: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    max-width: 550px;
    margin: 30px auto;
    line-height: 1.7;
    font-weight: 300;
}

.cta-button {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 48px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.cta-button:hover {
    transform: scale(1.08);
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 0 30px var(--primary), 0 0 60px rgba(255,0,255,0.4);
}

/* === SECTION TITLES === */
.section-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 30px var(--secondary);
    color: var(--secondary);
}

/* === ICON GRID === */
.icons-section {
    padding: 120px 40px;
    position: relative;
    z-index: 1;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.icon-card {
    background: var(--surface);
    border: 1px solid rgba(255,0,255,0.2);
    border-radius: 30% 10% 30% 10% / 10% 30% 10% 30%;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.icon-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0,255,255,0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.icon-card:hover::before {
    opacity: 1;
}

.icon-card:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255,0,255,0.3), 0 0 50px rgba(0,255,255,0.15);
    border-color: var(--secondary);
}

.iso-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.icon-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.icon-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* === NETWORK SECTION === */
.network-section {
    padding: 120px 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.network-blob {
    position: absolute;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0,255,255,0.1), transparent 70%);
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: blobMorph 10s ease-in-out infinite reverse;
}

.network-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    transition: transform 0.2s;
}

.stat-block:hover {
    transform: scale(1.08);
}

.stat-number {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === ABOUT === */
.about-section {
    padding: 120px 40px;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    background: var(--surface);
    padding: 60px 50px;
    border-radius: 50% 20% 40% 30% / 30% 50% 20% 40%;
    border: 1px solid rgba(255,0,255,0.15);
}

.about-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background: radial-gradient(ellipse, rgba(255,255,0,0.05), transparent 70%);
    border-radius: inherit;
    z-index: -1;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    text-align: center;
}

/* === FOOTER === */
.footer {
    padding: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    letter-spacing: 3px;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    .nav-links a { margin-left: 15px; font-size: 0.8rem; }
    .hero { padding: 100px 20px 60px; }
    .hero-title { margin-right: -15px; left: 8px; }
    .icons-section, .network-section, .about-section { padding: 80px 20px; }
    .network-stats { gap: 30px; }
    .about-content { padding: 40px 30px; border-radius: 40% 20% 30% 25% / 25% 40% 20% 35%; }
    .footer-content { flex-direction: column; gap: 10px; }
}
