:root {
    --black: #0f0f0f;
    --dark-grey: #1a1a1a; /* Slightly lighter for better depth */
    --mid-grey: #272727;
    --light-grey: #aaaaaa;
    --white: #f1f1f1;
    --red: #ff0b55;
    --red-dark: #cf0f47;
    --red-glow: rgba(255, 11, 85, 0.15);
    --font-main: 'Poppins', sans-serif;
}

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

::selection {
    background: var(--red);
    color: var(--white);
}

body::-webkit-scrollbar { width: 12px; }
body::-webkit-scrollbar-track { background: var(--black); }
body::-webkit-scrollbar-thumb {
    background-color: var(--mid-grey);
    border-radius: 20px;
    border: 3px solid var(--black);
}
body::-webkit-scrollbar-thumb:hover { background-color: var(--red); }

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

.section-padding { padding: 8rem 2rem; }
.section-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;}
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
}
.text-center { text-align: center; }

/* GLOBAL BACKGROUND */
.background-effects {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

#background-grid {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: pan-grid 20s linear infinite;
}

@keyframes pan-grid {
    0% { background-position: 0 0; }
    100% { background-position: 80px 40px; }
}

.glow-effect {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background-color: var(--red);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

.glow-effect.top-left { top: -20vw; left: -20vw; }
.glow-effect.bottom-right { bottom: -20vw; right: -20vw; }

@keyframes pulse-glow {
    from { transform: scale(0.8); }
    to { transform: scale(1.2); }
}

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#hero-logo { width: 120px; height: 120px; margin-bottom: 1rem; }
#hero-title { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 700; }
#hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--light-grey);
    max-width: 600px;
}

/* DOWNLOAD BUTTONS */
.download-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--mid-grey);
    border-radius: 12px;
    text-decoration: none;
    background-color: rgba(39, 39, 39, 0.5);
    backdrop-filter: blur(5px);
    color: var(--white);
    transition: all 0.3s ease;
    min-width: 280px;
    position: relative;
}

.download-button.hidden { display: none; }
.download-button:hover {
    transform: translateY(-5px);
    background-color: var(--dark-grey);
    border-color: var(--mid-grey);
}

.download-button.recommended {
    border-color: var(--red);
    box-shadow: 0 0 25px var(--red-glow);
}

.download-button.recommended::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--red);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.download-button .icon { font-size: 2rem; color: var(--light-grey); }
.download-button .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.download-button .title { font-weight: 600; font-size: 1.1rem; }
.download-button .info { color: var(--light-grey); font-size: 0.8rem; }
.secondary-link {
    margin-top: 1rem;
    color: var(--light-grey);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}
.secondary-link:hover { color: var(--white); text-decoration: underline; }

/* NEW FEATURES SHOWCASE */
.features-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.features-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.features-list.left { align-items: flex-end; text-align: right; }
.features-list.right { align-items: flex-start; text-align: left; }

.feature-item {
    display: flex;
    gap: 1.5rem;
    max-width: 350px;
}
.features-list.right .feature-item { flex-direction: row-reverse; }

.feature-icon {
    font-size: 2rem;
    color: var(--red);
    padding-top: 0.25rem;
}
.feature-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.feature-item p { color: var(--light-grey); line-height: 1.7; }

.features-visual {
    flex-shrink: 0;
    padding: 0.5rem;
    border-radius: 12px;
    background-image: linear-gradient(145deg, var(--mid-grey), var(--black));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
#screenshot-img { width: 100%; max-width: 600px; border-radius: 8px; display: block; }

/* HOW-TO */
.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.how-to-step {
    text-align: center;
    border-top: 2px solid var(--red-dark);
    padding-top: 2rem;
}
.how-to-step h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.how-to-step p { color: var(--light-grey); line-height: 1.7; }

/* DISCLAIMER & COMMUNITY */
.disclaimer-box {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.glass-surface {
    background: rgba(39, 39, 39, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.disclaimer-box h3 { color: #e6b800; font-size: 1.5rem; margin-bottom: 1rem; }
.disclaimer-box p { color: var(--light-grey); line-height: 1.7; }

#community-text {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--light-grey);
    line-height: 1.8;
}
.cta-button {
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}
.glossy-surface {
    background-image: linear-gradient(to bottom, var(--red), var(--red-dark));
    border: 1px solid var(--red-dark);
    box-shadow: 0 5px 15px var(--red-glow), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.glossy-surface:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 11, 85, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* FOOTER */
footer {
    padding: 2rem;
    text-align: center;
    color: var(--light-grey);
    font-size: 0.9rem;
    background-color: var(--dark-grey);
    border-top: 1px solid var(--mid-grey);
    position: relative;
    z-index: 2;
}
footer a { color: var(--white); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .features-showcase {
        flex-direction: column;
    }
    .features-list.left, .features-list.right {
        align-items: center;
        text-align: center;
    }
    .feature-item {
        flex-direction: column;
        align-items: center;
    }
    .features-list.right .feature-item {
        flex-direction: column;
    }
}