@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== Design Tokens ===== */
:root {
    --primary: #ef4444;
    --primary-soft: rgba(239, 68, 68, 0.12);
    --primary-glow: rgba(239, 68, 68, 0.35);
    --bg: #060606;
    --bg-raised: #0c0c0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #f1f1f1;
    --text-secondary: #9ca3af;
    --text-dim: #6b7280;
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default; /* Show default cursor */
}

a, button, li, .btn-primary, .btn-ghost, .btn-discord, .nav-link {
    cursor: pointer !important; /* Show pointer on interactables */
}

/* Custom Cursor Styles */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    opacity: 0.7; /* Don't hide the arrow too much */
}

.cursor-outline {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-out; /* Smooth trailing */
    opacity: 0.5;
}

/* Hover effect for interactive elements */
.cursor-hover .cursor-outline {
    transform: translate(-50%, -50%) scale(1.6);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}
.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 6, 6, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    height: 90px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-side {
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: 0.3s;
}

.nav-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: white;
    border-color: rgba(239, 68, 68, 0.4);
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem; /* Increased space around the logo */
}

.nav-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.2));
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: var(--primary-soft);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-discord i {
    font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Grid net overlay - hero only */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Floating red particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.hero-particles span:nth-child(1)  { left: 8%;  animation-duration: 12s; animation-delay: 0s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(2)  { left: 18%; animation-duration: 15s; animation-delay: 2s;   width: 5px; height: 5px; }
.hero-particles span:nth-child(3)  { left: 28%; animation-duration: 10s; animation-delay: 4s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(4)  { left: 38%; animation-duration: 18s; animation-delay: 1s;   width: 4px; height: 4px; }
.hero-particles span:nth-child(5)  { left: 48%; animation-duration: 14s; animation-delay: 3s;   width: 3px; height: 3px; }
.hero-particles span:nth-child(6)  { left: 58%; animation-duration: 11s; animation-delay: 5s;   width: 5px; height: 5px; }
.hero-particles span:nth-child(7)  { left: 68%; animation-duration: 16s; animation-delay: 0.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(8)  { left: 78%; animation-duration: 13s; animation-delay: 2.5s; width: 4px; height: 4px; }
.hero-particles span:nth-child(9)  { left: 85%; animation-duration: 17s; animation-delay: 4.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(10) { left: 92%; animation-duration: 12s; animation-delay: 1.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(11) { left: 5%;  animation-duration: 14s; animation-delay: 3.5s; width: 4px; height: 4px; }
.hero-particles span:nth-child(12) { left: 42%; animation-duration: 16s; animation-delay: 6s;   width: 3px; height: 3px; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(30px);
        opacity: 0;
    }
}

/* Subtle gradient glows on sides */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-soft);
    border-radius: 50px;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-primary i {
    font-size: 1.1rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    color: white;
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.2rem;
    display: block;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== Section Common ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
}

/* ===== Features ===== */
.features-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.02);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: white;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== How It Works ===== */
.how-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.15);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: white;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 0 0;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at 50% 100%, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
}

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

.footer-logo {
    height: 35px;
    opacity: 0.6;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.2rem;
        height: 60px;
    }

    .nav-logo-img {
        height: 35px;
    }

    .btn-discord span {
        display: none;
    }

    .hero {
        padding: 7rem 1.2rem 3rem 1.2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .features-section,
    .how-section {
        padding: 4rem 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }

    .feature-card,
    .step-card {
        padding: 1.8rem;
    }
}