* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #333;
}

/* Navbar */
.navbar {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Service Section */
.service-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 4rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    scroll-margin-top: 100px;
    animation: slideIn 0.6s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 2rem;
    min-height: 300px;
}

.logo {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 12px 24px rgba(102, 126, 234, 0.3));
}

.menu-container h2 {
    color: #667eea;
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Service Menu */
.service-menu ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    list-style: none;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-menu li {
    width: 100%;
}

.service-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    min-height: 50px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.service-menu a:hover::before {
    left: 0;
}

.service-menu a:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-menu a:active {
    transform: translateY(-3px);
}

.service-menu a.active-link {
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
    transform: scale(1.03);
}

/* Content */
.content {
    text-align: left;
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #555;
    border-left: 4px solid #667eea;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, #0088cc 0%, #0077b6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.3);
    letter-spacing: 0.3px;
}

.telegram-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}

.telegram-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 136, 204, 0.5);
    background: linear-gradient(135deg, #0077b6 0%, #006b93 100%);
}

.telegram-btn:active {
    transform: translateY(-1px);
}

/* Info Sections */
.info-section {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.info-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-section h3 {
    color: #667eea;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.info-card h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-card .price {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

.info-card ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.support-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.support-info p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.support-info p strong {
    color: #667eea;
}

/* Device Filters */
.device-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.filter-btn.active {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

.device-card {
    transition: all 0.3s ease;
}

.device-card.hidden {
    display: none;
}

/* Footer */
footer {
    background: rgba(15, 15, 30, 0.9);
    color: #e0e0e0;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .logo-container {
        min-height: 250px;
    }

    .logo {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .brand {
        font-size: 1.5rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .service-section {
        padding: 2rem;
        margin-bottom: 2.5rem;
    }

    .menu-container h2 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }

    .logo {
        max-width: 180px;
    }

    .service-menu ul {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .service-menu a {
        padding: 0.9rem 0.7rem;
        font-size: 0.85rem;
        min-height: 45px;
    }

    .content {
        font-size: 0.95rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .brand {
        font-size: 1.2rem;
    }

    .service-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .menu-container h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .logo-container {
        min-height: 200px;
        padding: 1.5rem;
    }

    .logo {
        max-width: 140px;
    }

    .service-menu ul {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .service-menu a {
        padding: 0.8rem 0.5rem;
        font-size: 0.75rem;
        min-height: 40px;
    }

    .content {
        font-size: 0.85rem;
        padding: 1rem;
        line-height: 1.6;
    }

    .container {
        padding: 1rem;
    }
}
