:root {
    --bg-dark: #07000f;
    --neon-purple: #b024ff;
    --neon-pink: #ff1493;
    --glow-color: rgba(176, 36, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #ebd4ff;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Canvas */
#disco-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    animation: fadeInDown 1s ease-out forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    box-shadow: 0 0 15px var(--glow-color);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--neon-purple);
}

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

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

.nav-links a:hover {
    color: var(--neon-purple);
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    background: rgba(176, 36, 255, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(176, 36, 255, 0.3);
    transition: all 0.3s ease !important;
}

.nav-btn:hover {
    background: var(--neon-purple);
    color: #fff !important;
    box-shadow: 0 0 25px var(--neon-purple), 0 0 45px var(--neon-purple);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #8a7b99;
    /* Changed from white to a muted purple-gray so RİTME pops */
    position: relative;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.neon-text {
    color: var(--text-primary);
    -webkit-text-stroke: 0;
    text-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-pink);
    animation: neonFlicker 3s linear infinite;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* Primary Button */
.cta-group {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.primary-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px var(--glow-color), 0 0 50px var(--neon-pink);
}

.primary-btn:hover .btn-glow {
    opacity: 1;
    animation: pulseGlow 1.5s infinite;
}

/* Features Section Cards */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 5rem 0;
    opacity: 0;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(176, 36, 255, 0.2);
    border-color: rgba(176, 36, 255, 0.4);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--neon-purple));
    animation: float 3s ease-in-out infinite;
}

.glass-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.glass-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

@keyframes textFlicker {

    0%,
    19.999%,
    22%,
    62.999%,
    64%,
    64.999%,
    70%,
    100% {
        opacity: 1;
    }

    20%,
    21.999%,
    63%,
    63.999%,
    65%,
    69.999% {
        opacity: 0.4;
    }
}

@keyframes neonFlicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
        text-shadow: 0 0 20px var(--neon-purple), 0 0 40px var(--neon-pink), 0 0 80px var(--neon-purple);
    }

    20%,
    24%,
    55% {
        opacity: 0.4;
        text-shadow: 0 0 5px var(--neon-purple);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* simple mobile nav for now */
    }

    .hero {
        padding-top: 3rem;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .subtitle {
        text-align: center;
    }
}