:root {
    --primary: #E50914;
    --dark: #0a0a0a;
    --card-bg: #161616;
    --text-main: #ffffff;
    --text-gray: #b3b3b3;
    --nav-blur: rgba(10, 10, 10, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto !important; }

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
    background-color: var(--dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.navbar {
    padding: 20px 0;
    position: sticky; top: 0;
    background: var(--nav-blur);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -1px; cursor: pointer; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }
.logo span { color: var(--primary); }

.nav-menu a { color: var(--text-main); text-decoration: none; margin-left: 30px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }

.btn-download-nav {
    background: var(--primary);
    padding: 10px 22px;
    border-radius: 10px;
}

.hero { 
    padding: 100px 0; 
    background: radial-gradient(circle at 80% 20%, rgba(229, 9, 20, 0.03) 0%, transparent 40%);
}

.hero .container { display: flex; gap: 80px; align-items: center; }

.hero-content { flex: 0.8; }
.hero-content h1 { 
    font-size: 4.8rem; 
    line-height: 1; 
    margin-bottom: 25px; 
    font-weight: 800; 
    letter-spacing: -2px; 
}
.hero-content h1 span { color: var(--primary); }
.hero-content p { 
    font-size: 1.25rem; 
    color: var(--text-gray); 
    margin-bottom: 45px; 
    max-width: 520px; 
    line-height: 1.7;
}

.hero-btns { display: flex; gap: 20px; margin-bottom: 50px; }
.btn-main { 
    background: linear-gradient(135deg, var(--primary) 0%, #b20710 100%);
    color: white; 
    border: none;
    padding: 20px 50px;
    font-size: 1.15rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.4);
    display: flex; align-items: center; gap: 12px;
}
.btn-main:hover { 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.5);
}

.hero-stats { 
    display: flex; 
    gap: 40px; 
    color: rgba(255,255,255,0.6); 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-top: 40px;
}
.hero-stats i { color: var(--primary); margin-right: 5px; font-size: 0.7rem; vertical-align: middle; }
.hero-stats span { display: flex; align-items: center; }

.hero-image { 
    flex: 1.5; 
    position: relative; 
}
.hero-image img { 
    width: 100%; 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.08); 
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    transition: 0.4s ease;
}
.hero-image img:hover {
    transform: translateY(-5px);
}
.hero-image::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 90%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.1;
    z-index: -1;
}

.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 50px; font-weight: 800; }
.section-subtitle { text-align: center; color: var(--text-gray); margin-top: -35px; margin-bottom: 60px; font-size: 1.1rem; }

.steps { padding: 100px 0; background: #0c0c0c; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
    background: var(--card-bg); padding: 45px 30px; border-radius: 28px; text-align: center;
    border: 1px solid rgba(255,255,255,0.03); transition: 0.3s;
}
.step-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.step-num {
    width: 60px; height: 60px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 25px;
    font-weight: 800; font-size: 1.4rem; box-shadow: 0 10px 20px rgba(229,9,20,0.2);
}

.gallery { padding: 100px 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.large {
    grid-column: span 8;
    grid-row: span 2;
}

.gallery-item:not(.large) {
    grid-column: span 4;
    grid-row: span 1;
}

.gallery-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(229, 9, 20, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    letter-spacing: 0.5px;
}

.faq { padding: 100px 0; background: #0c0c0c; }
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item { background: var(--card-bg); margin-bottom: 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.03); overflow: hidden; }
.faq-question { padding: 24px; cursor: pointer; display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.faq-answer { padding: 0 24px; height: 0; overflow: hidden; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); color: var(--text-gray); }
.faq-item.active .faq-answer { padding: 0 24px 24px; height: auto; }
.faq-item.active .faq-question { color: var(--primary); }

footer { padding: 60px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-gray); font-size: 0.95rem; }

@media (max-width: 1024px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
    .hero-content p { margin: 0 auto 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item { height: 250px; }
    .gallery-item.large { height: 450px; }
}
@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
}

/* Minimalist Download Overlay Styles */
.download-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
}

.download-overlay.active {
    opacity: 1; visibility: visible;
}

.overlay-content {
    background: rgba(20, 20, 20, 0.8);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-overlay.active .overlay-content {
    transform: translateY(0);
}

.download-spinner {
    position: absolute;
    top: 35px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 90px;
    border: 2px solid rgba(229, 9, 20, 0.1);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.icon-box {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.3));
}

.overlay-content h2 { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: white; 
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* Toast Notification Styles */
.download-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.download-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.download-toast i {
    color: #22c55e;
    font-size: 1.1rem;
}

/* Base Button Polish */
.btn-main, .btn-download-nav {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}