:root {
    --bg-color: #08080a;
    --surface: #141418;
    --text-main: #f0f0f5;
    --text-muted: #8b8d96;
    --primary: #e60026; /* Crimson Red */
    --primary-glow: rgba(230, 0, 38, 0.4);
    --secondary: #22222a;
    
    /* Neumorphic / Metallic variables */
    --metal-light: rgba(255, 255, 255, 0.1);
    --metal-dark: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(20, 20, 24, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    line-height: 1.6;
}

/* Background Effects */
.ambient-glow {
    position: fixed;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.3;
    border-radius: 50%;
    animation: pulse 8s infinite alternate;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
    bottom: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #5e0013 0%, transparent 70%);
    animation-delay: -4s;
}

.metallic-texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
    z-index: -1;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.4; }
}

/* Typography & Utilities */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

.highlight-red {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.neumorphic-panel {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 
        -10px -10px 30px rgba(255,255,255,0.02),
        10px 10px 30px rgba(0,0,0,0.5),
        inset 1px 1px 2px rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
}

/* Buttons */
.btn-primary, .btn-primary-small, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(145deg, #f5002b, #b3001d);
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px var(--primary-glow),
                inset 1px 1px 1px rgba(255,255,255,0.3);
}

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

.btn-primary-small {
    background: var(--surface);
    color: var(--text-main);
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 
        -5px -5px 15px rgba(255,255,255,0.02),
        5px 5px 15px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.btn-primary-small:hover {
    color: var(--primary);
    box-shadow: 
        -2px -2px 10px rgba(255,255,255,0.02),
        2px 2px 10px rgba(0,0,0,0.4),
        inset -2px -2px 5px rgba(255,255,255,0.02),
        inset 2px 2px 5px rgba(0,0,0,0.4);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spin {
    color: var(--primary);
    animation: spin 4s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn-primary-small) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    padding: 0 5%;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.version-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Hero Image Wrapper */
.simple-image-wrapper {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border-radius: 30px;
    box-shadow: 
        -15px -15px 40px rgba(255,255,255,0.02),
        25px 25px 50px rgba(0,0,0,0.7),
        0 0 40px var(--primary-glow);
}

.simple-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    border: 2px solid #2a2a32;
}

/* Showcase Section */
.showcase {
    padding: 100px 5%;
    text-align: center;
}

.showcase h2 {
    font-size: 3rem;
    margin-bottom: 50px;
}

.video-container {
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 9/20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        -10px -10px 30px rgba(255,255,255,0.02),
        10px 10px 30px rgba(0,0,0,0.5),
        0 0 40px var(--primary-glow);
    border: 2px solid #2a2a32 !important;
}

.video-container video {
    object-fit: cover;
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

/* Features Section */
.features {
    padding: 100px 5%;
}

.features h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    transition: transform 0.3s ease;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.feature-card p strong {
    color: var(--text-main);
    font-weight: 600;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(145deg, #22222a, #16161a);
    box-shadow: -5px -5px 15px rgba(255,255,255,0.02), 5px 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* Advantages Section */
.advantages {
    padding: 100px 5%;
    background: rgba(0,0,0,0.2);
}

.advantages h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
}

.advantages-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.advantage-item i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--surface);
    padding: 20px;
    border-radius: 50%;
    box-shadow: -5px -5px 15px rgba(255,255,255,0.02), 5px 5px 15px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.advantage-item h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.advantage-item p {
    color: var(--text-muted);
}

/* Download Section */
.download-section {
    padding: 100px 5%;
}

.download-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface), rgba(230,0,38,0.05));
}

.download-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.download-box p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    padding: 40px 5%;
    border-top: 1px solid #1a1a20;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Ad Containers */
.ad-container {
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: var(--surface);
    border: 1px dashed var(--text-muted);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
    text-align: center;
}

.ad-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

.ad-placeholder small {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: bottom 0.5s ease;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-right: 20px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        gap: 30px;
    }
    
    .cta-group {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .advantage-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Typographic Adjustments */
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .showcase h2, .features h2, .advantages h2, .download-box h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .hero p, .download-box p {
        font-size: 1.1rem;
    }

    /* Padding Adjustments for Mobile */
    .showcase, .features, .advantages, .download-section {
        padding: 50px 5%;
    }

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

    .download-box {
        padding: 40px 20px;
    }
    
    /* Footer Stack */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Image Resizing */
    .simple-image-wrapper {
        max-width: 280px;
    }

    /* Ad resizing */
    .ad-placeholder {
        height: 250px;
        max-width: 300px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    /* Specific adjustments for smaller smartphones */
    .hero {
        padding-top: 40px;
        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 2.8rem);
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 14px 20px;
    }

    .showcase h2, .features h2, .advantages h2, .download-box h2 {
        font-size: 1.8rem;
    }

    .advantage-item i {
        font-size: 1.5rem;
        padding: 15px;
    }

    .advantage-item h3 {
        font-size: 1.3rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    nav {
        padding: 15px 5%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-primary-small {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-banner p {
        margin-right: 0;
    }
}
