:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c5ce7;
    --text-color: #333;
    --light-text: #777;
    --bg-color: linear-gradient(135deg, #e0e7ff 0%, #d1d9ff 100%);
    --glass-gray: rgba(245, 245, 245, 0.7);
    --footer-bg: transparent;
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #f5f5f5;
    --light-text: #b0b0b0;
    --bg-color: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --glass-gray: rgba(50, 50, 60, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    min-height: 100vh;
    padding-bottom: 80px;
    background-attachment: fixed;
}

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

header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 70px;
}

.dark-mode header {
    background: rgba(26, 26, 46, 0.7);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    height: 35px;
    margin-right: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    padding: 4px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(15deg);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo:hover h1 {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
    transform: rotate(15deg);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    background: rgba(255, 255, 255, 0.4);
}

.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ios-btn {
    background: #000;
}

.android-btn {
    background: #2dcc70;
}

.purchase-btn {
    background: linear-gradient(to right, #ff6b00, #ff9d00);
}

.purchase-btn:hover {
    background: linear-gradient(to right, #ff7d20, #ffae40);
}

.download-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.app-preview {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.app-preview img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.features {
    padding: 100px 0;
    margin: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-title p {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--light-text);
}

.screenshots {
    padding: 100px 0;
}

.screenshot-slider {
    margin-top: 50px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.screenshot-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
}

.screenshot-container::-webkit-scrollbar {
    display: none;
}

.screenshot {
    min-width: 250px;
    scroll-snap-align: start;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshot:hover {
    transform: scale(1.05);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.partners {
    padding: 100px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
}

footer {
    background: var(--footer-bg);
    color: var(--text-color);
    padding: 20px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-mode footer {
    background: rgba(26, 26, 46, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    color: var(--light-text);
}

.mobile-nav {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: var(--glass-gray);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: top 0.4s ease;
    padding: 20px;
}

.mobile-nav.active {
    top: 70px;
}

.mobile-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
}

.mobile-nav ul li {
    text-align: center;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.2);
}

.mobile-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
}

#protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding: 20px;
    text-align: center;
    display: none;
}

.protection-message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.protection-message h3 {
    color: #ff6b6b;
    font-size: 28px;
    margin-bottom: 15px;
}

.protection-message p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.protection-icon {
    font-size: 48px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h3 {
        font-size: 30px;
    }
}

@media (min-width: 769px) {
    nav ul {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h3 {
        font-size: 26px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .mobile-nav ul {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .protection-message {
        padding: 20px;
    }
    
    .protection-message h3 {
        font-size: 22px;
    }
    
    .protection-message p {
        font-size: 16px;
    }
}