
/* === ROOT VARIABLES & GLOBAL RESETS === */
:root {
    --bg-dark: #0A0A10; /* Even deeper, near-black for main background */
    --bg-light: #1A1A2E; /* Rich, dark blue for secondary elements */
    --primary-pink: #E91E63; /* A slightly deeper, more sophisticated pink */
    --accent-cyan: #00BCD4; /* A vibrant, pure cyan */
    --text-light: #ECEFF1; /* A very light grey for primary text */
    --text-dark: #90A4AE; /* A cool, muted grey for secondary text */
    --border-radius: 15px; /* Slightly larger radius for a softer look */
    --shadow-color: rgba(0, 188, 212, 0.6); /* Cyan glow */
    --shadow-intense: rgba(233, 30, 99, 0.7); /* Pink glow */

    /* Noise Texture */
    --noise-url: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuOCIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIiBmaWx0ZXI9InVybCgjbm9pc2UpIiBvcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 70px;
    position: relative;
}

/* Add the subtle noise texture to the background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: var(--noise-url);
    z-index: -2;
    pointer-events: none;
}


@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-pink);
}

/* === MODERN BUTTON STYLE === */
.modern-button {
    background: linear-gradient(90deg, var(--primary-pink), var(--accent-cyan));
    color: white;
    padding: 14px 28px;
    border-radius: 50px; /* Pill-shaped buttons */
    border: none;
    font-weight: 700; /* Bolder font */
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--shadow-color) inset;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-button:hover, .modern-button:focus {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-intense), 0 0 25px var(--shadow-color) inset;
    outline: none;
}

/* === HEADER & NAVIGATION (MOBILE-FIRST) === */
.modern-header-dark {
    background: rgba(10, 10, 16, 0.75); /* Darker, more translucent */
    backdrop-filter: blur(15px); /* Stronger blur */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-nav-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.nav-logo a {
    font-size: 28px;
    font-weight: 800; /* Extra bold for emphasis */
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-toggle:hover {
    transform: rotate(90deg);
}

.nav-toggle .fa-times {
    display: none;
}

.modern-header-dark.nav-open .nav-toggle .fa-bars {
    display: none;
}

.modern-header-dark.nav-open .nav-toggle .fa-times {
    display: block;
}

/* --- Mobile Nav Menu --- */
.nav-right {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 16, 0.98);
    padding: 50px 0;
}

.modern-header-dark.nav-open .nav-right {
    display: flex;
}

.nav-menu-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    margin-bottom: 40px;
}

.nav-menu-modern a {
    font-size: 22px;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 40px;
    margin-top: 60px;
    background-color: rgba(10, 10, 16, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* === MAIN CONTENT (INDEX PAGE) === */
/* --- Hero Section --- */
.hero-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 70px);
    overflow: hidden;
    position: relative;
    padding: 0 20px;
}

/* Animated Gradient Background for Hero */
.hero-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(233, 30, 99, 0.2) 0%, rgba(10, 10, 16, 0) 60%);
    animation: rotate-glow 20s linear infinite;
    z-index: -1;
}

@keyframes rotate-glow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content h1 {
    font-size: 3.5rem; /* Larger hero text */
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--primary-pink), 0 0 35px var(--primary-pink);
    animation: fade-in-down 1s ease-out;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 400; /* Lighter font weight for subtitle */
    animation: fade-in-up 1s ease-out 0.2s;
    animation-fill-mode: backwards;
}

/* Download button gets a special glow */
.download-btn-dark {
    background: var(--primary-pink);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 25px rgba(233, 30, 99, 0.6), 0 0 10px rgba(255, 255, 255, 0.3) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: bounce-in 1.2s ease-out;
}

.download-btn-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(233, 30, 99, 0.9), 0 0 15px rgba(255, 255, 255, 0.3) inset;
}

/* --- Features Section --- */
.features-dark {
    padding: 100px 20px;
    text-align: center;
}

.features-dark h2 {
    font-size: 3rem;
    margin-bottom: 70px;
    font-weight: 700;
    animation: fade-in 1s ease-out;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.card-dark {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.7), rgba(10, 10, 16, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 380px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: zoom-in 0.8s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover for cards */
.card-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0, 188, 212, 0) 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
}

.card-dark:hover::before {
    width: 200%;
    height: 200%;
    opacity: 0.1;
}

.card-dark:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 188, 212, 0.5);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    text-shadow: 0 0 15px var(--accent-cyan);
    position: relative;
    z-index: 1;
}

.card-dark h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-dark p {
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* === KEYFRAME ANIMATIONS === */
@keyframes fade-in-down {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce-in {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes zoom-in {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* === DESKTOP & TABLET OVERRIDES === */
@media (min-width: 768px) {
    .feature-cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .modern-nav-dark {
        padding: 0 60px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-right {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        width: auto;
        align-items: center;
        gap: 50px;
    }

    .nav-menu-modern {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        margin-bottom: 0;
        gap: 50px;
    }
    
    .nav-actions {
        flex-direction: row;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 5.5rem; /* Even larger on desktop */
    }

    .hero-content h2 {
        font-size: 2rem;
    }
}
