/* ============================================
   RADIUM - Main Website
   Neon Theme: Pink #ff2d78 | Blue #00d4ff | Green #7dffb3 | Black #0a0a0f
   ============================================ */

:root {
    --neon-blue: #00d4ff;
    --neon-pink: #ff2d78;
    --neon-green: #7dffb3;
    --bg-dark: #0a0a0f;
    --bg-card: #0d0d14;
    --bg-card-hover: #12121c;
    --border-color: rgba(0, 212, 255, 0.15);
    --text-primary: #e0e0e8;
    --text-secondary: #7a7a8e;
    --text-dim: #4a4a5e;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Orbitron', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-blue) var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 3px; }

/* ---- Animated Background ---- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    animation: glowFloat 15s ease-in-out infinite;
}
.bg-glow-1 {
    width: 500px; height: 500px;
    background: var(--neon-blue);
    top: -150px; left: -100px;
    opacity: 0.12;
}
.bg-glow-2 {
    width: 400px; height: 400px;
    background: var(--neon-pink);
    bottom: -100px; right: -50px;
    opacity: 0.1;
    animation-delay: -5s;
}
.bg-glow-3 {
    width: 300px; height: 300px;
    background: var(--neon-green);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    animation-delay: -10s;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-dot {
    width: 6px; height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    margin-bottom: -8px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}
.nav-link:hover { color: var(--neon-blue); }
.nav-panel {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--neon-pink);
    border: 1px solid rgba(255, 45, 120, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-panel:hover {
    background: rgba(255, 45, 120, 0.1);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 45, 120, 0.15);
    color: var(--neon-pink);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 1px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-content { flex: 1; max-width: 650px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px; height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--neon-green); }
    50% { opacity: 0.5; box-shadow: 0 0 4px var(--neon-green); }
}
.hero-title {
    margin-bottom: 20px;
    line-height: 1.1;
}
.title-line {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.title-accent {
    display: block;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 6px;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-pink) 50%, var(--neon-blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    gap: 12px;
    transform: rotate(15deg);
}
.hex {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    animation: hexPulse 3s ease-in-out infinite;
}
.hex:nth-child(2) { animation-delay: 0.5s; border-color: rgba(255, 45, 120, 0.1); }
.hex:nth-child(3) { animation-delay: 1s; }
.hex:nth-child(4) { animation-delay: 1.5s; border-color: rgba(125, 255, 179, 0.1); }
.hex:nth-child(5) { animation-delay: 2s; border-color: rgba(255, 45, 120, 0.1); }
.hex:nth-child(6) { animation-delay: 2.5s; }
@keyframes hexPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), #0099cc);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}
.btn-accent {
    background: linear-gradient(135deg, var(--neon-pink), #cc1155);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 45, 120, 0.4);
}

/* ---- Sections ---- */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.section-alt {
    background: rgba(13, 13, 20, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--neon-pink);
    background: rgba(255, 45, 120, 0.08);
    border: 1px solid rgba(255, 45, 120, 0.2);
    padding: 6px 14px;
    border-radius: 16px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ---- About Grid ---- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}
.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.about-card:hover {
    border-color: var(--neon-blue);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.08);
}
.card-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--neon-blue);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.card-icon.accent-pink {
    background: rgba(255, 45, 120, 0.08);
    border-color: rgba(255, 45, 120, 0.2);
    color: var(--neon-pink);
}
.card-icon.accent-green {
    background: rgba(125, 255, 179, 0.08);
    border-color: rgba(125, 255, 179, 0.2);
    color: var(--neon-green);
}
.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Features Grid ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:hover {
    border-color: var(--neon-blue);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.06);
}
.feature-card i {
    font-size: 1.6rem;
    color: var(--neon-blue);
    transition: color 0.3s;
}
.feature-card:nth-child(even) i { color: var(--neon-pink); }
.feature-card:nth-child(3n) i { color: var(--neon-green); }
.feature-card:hover i { filter: drop-shadow(0 0 8px currentColor); }
.feature-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* ---- Community CTA ---- */
.community-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}
.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.cta-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.06);
}
.cta-icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    color: var(--neon-blue);
    font-size: 1.6rem;
    margin: 0 auto 20px;
}
.cta-pink {
    background: rgba(255, 45, 120, 0.08);
    border-color: rgba(255, 45, 120, 0.2);
    color: var(--neon-pink);
}
.cta-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.cta-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    position: relative;
    z-index: 1;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand .logo-text {
    font-size: 1rem;
    margin-bottom: 4px;
}
.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--neon-blue); }

/* ---- Responsive ---- */
@media (max-width: 968px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
    }
    .nav-links.active { display: flex; }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    .hero-content { max-width: 100%; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .title-accent { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .community-cta { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .title-accent { font-size: 2.2rem; letter-spacing: 3px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .feature-card { padding: 20px 12px; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}
