
        :root {
    --primary-neon: #0ff0fc; /* Яркий неоновый циан */
    --primary-dark: #0066ff; /* Глубокий синий */
    --dark-bg: #0a0a0f; /* Почти черный с синим оттенком */
    --darker-bg: #050509; /* Еще более глубокий фон для контраста */
    --card-bg: #13131f; /* Темный фон для карточек */
    --text-main: #ffffff;
    --text-muted: #b0b0b0; /* Приглушенный серый для второстепенного текста */
    --accent: #ff2a6d; /* Акцентный розовый для важных элементов */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; /* Более технологичный шрифт */
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(18, 28, 58, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(10, 80, 120, 0.3) 0%, transparent 25%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(var(--primary-neon-rgb), 0.1); /* Тонкая неоновая подсветка снизу */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 35px; /* Чуть меньше логотип */
    filter: invert(76%) sepia(64%) saturate(3858%) hue-rotate(155deg) brightness(105%) contrast(105%); /* Фильтр для цвета лого под новую палитру */
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    margin-left: 10px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--text-main);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-neon), transparent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    font-size: 22px;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: var(--primary-neon);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: var(--text-main);
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(125deg, rgba(10,10,15,0.95) 30%, rgba(0,102,255,0.25) 100%),
        url('https://9to5mac.com/wp-content/uploads/sites/6/2025/09/iphone-17-event-13.58.32.jpg?quality=82&strip=all&w=1600');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { left: -150%; }
    100% { left: 150%; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(0, 102, 255, 0.7);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-weight: 300;
}

.neon-text {
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    color: var(--darker-bg);
    padding: 14px 35px;
    border-radius: 2px; /* Острые углы вместо скругленных */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-neon);
    border: 1px solid var(--primary-dark);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3), inset 0 0 10px rgba(0, 102, 255, 0.1);
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 102, 255, 0.05));
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5), inset 0 0 15px rgba(0, 102, 255, 0.2);
    color: var(--primary-neon);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 60px;
    position: relative;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-neon), transparent);
    margin: 15px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, var(--card-bg), var(--darker-bg));
    border-radius: 4px; /* Острые углы */
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(var(--primary-neon-rgb), 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Product Section */
.products {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.product-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background: linear-gradient(145deg, var(--card-bg), var(--darker-bg));
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(var(--primary-neon-rgb), 0.2);
}

.product-image {
    height: 250px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--darker-bg);
}

.product-image img {
    max-width: 75%;
    transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05) rotate(2deg);
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    font-weight: bold;
}

.color-options {
    display: flex;
    margin-bottom: 20px;
}

.color-option {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.color-option:hover {
    transform: scale(1.15);
}

.color-option.active {
    border-color: var(--text-main);
    box-shadow: 0 0 0 2px var(--primary-dark);
}

.color-neon { background: linear-gradient(135deg, #0ff0fc, #0066ff); } /* Градиент вместо однотонного */
.color-silver { background: linear-gradient(135deg, #e0e0e0, #a0a0a0); }
.color-black { background: linear-gradient(135deg, #2a2a2a, #0a0a0a); }
.color-pink { background: linear-gradient(135deg, #ff2a6d, #c1004f); } /* Новый акцентный цвет */

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    color: var(--darker-bg);
    border: none;
    border-radius: 2px; /* Острые углы */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.add-to-cart:hover {
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 9, 0.95); /* Полупрозрачная версия darker-bg */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Размытие заднего фона */
}

.modal-content {
    background: linear-gradient(to bottom, var(--card-bg), var(--darker-bg));
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.4);
    position: relative;
    border: 1px solid rgba(var(--primary-neon-rgb), 0.1);
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 22px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-title {
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(5, 5, 9, 0.5);
    color: var(--text-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Cart Modal */
.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-details h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.cart-item-price {
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 0.95rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--primary-neon-rgb), 0.3);
}

/* Verification Code Input */
.verification-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.verification-input input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(5, 5, 9, 0.5);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.verification-input input:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 60px;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 50px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.footer-section p, .footer-section a {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-neon);
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 2px; /* Острые углы у иконок */
    background-color: var(--card-bg);
    color: var(--primary-neon);
    font-size: 18px;
    margin: 0 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
    border-color: transparent;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Language Toggle Button */
.language-toggle {
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-neon), var(--primary-dark));
    color: var(--darker-bg);
    border: none;
    padding: 8px 15px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.language-toggle:hover {
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px 10px;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
}


        .storage-options {
            margin: 15px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .storage-option {
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 14px;
        }
        
        .storage-option:hover {
            border-color: #0071e3;
        }
        
        .storage-option.active {
            background-color: #0071e3;
            color: white;
            border-color: #0071e3;
        }
        
        .color-options {
            display: flex;
            gap: 10px;
            margin: 15px 0;
        }
        
        .color-option {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: transform 0.2s ease;
            position: relative;
        }
        
        .color-option:hover {
            transform: scale(1.1);
        }
        
        .color-option.active {
            border-color: #0071e3;
        }
        
        .color-option.active::after {
            content: '✓';
            position: absolute;
            color: white;
            font-size: 12px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
        }
        
        /* Colors for base iPhone 17 model */
        .color-classic-black { background-color: #1D1D1F; }
        .color-pure-white { background-color: #F5F5F7; }
        .color-light-blue { background-color: #ADD8E6; }
        .color-green { background-color: #556B2F; }
        .color-purple { background-color: #9370DB; }
        
        /* Colors for iPhone 17 Air */
        .color-light-gold { background-color: #FFD700; }
        
        /* Colors for iPhone 17 Pro */
        .color-dark-blue { background-color: #00008B; }
        .color-orange { background-color: #FF8C00; }

        .special-feature {
            background: linear-gradient(135deg, #6e45e2, #88d3ce);
            color: white;
            padding: 8px 12px;
            border-radius: 8px;
            margin: 10px 0;
            font-size: 14px;
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .product-options {
                grid-template-columns: 1fr;
            }
        }



        .color-options { display:flex; gap:8px; align-items:center; margin-top:6px; flex-wrap:wrap; }
        .color-option {
            width:28px; height:28px; border-radius:50%; border:1px solid #ddd; box-shadow:inset 0 0 0 1px rgba(0,0,0,0.03);
            cursor:pointer;
        }
        /* color swatches (visualization) */
        .color-classic-black { background:#0a0a0a; }
        .color-pure-white { background:#ffffff; border:1px solid #ccc; }
        .color-light-blue { background:#d9f0ff; }
        .color-green { background:#8fbf8f; }
        .color-purple { background:#9b7fd1; }
        .color-light-gold { background:#d4b86a; }
        .color-dark-blue { background:#123a66; }
        .color-orange { background:#ff7a2d; }

        .add-to-cart {
            margin-top: auto;
            padding:10px 12px;
            border-radius:8px;
            border:0;
            background:#0b66ff;
            color:#fff;
            font-weight:600;
            cursor:pointer;
        }

        @media (max-width:420px){
            .product-card { padding:12px; }
            .product-image img { max-height:220px; }
            .storage-option { padding:8px 12px; }
        }


.product-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.discounted-price {
    font-weight: bold;
    color: #e53935;
    font-size: 18px;
}

.discount-badge {
    background-color: #e53935;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}



    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    
    .loader {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        animation: spin 2s linear infinite;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .hidden {
        display: none;
    }

    .visible {
        display: block;
    }
