:root {
    --primary-color: #0088cc;
    --secondary-color: #24292e;
    --accent-color: #00d2ff;
    --text-color: #ffffff;
    --bg-color: #0f1113;
    --card-bg: #1c1f22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: rgba(28, 31, 34, 0.95);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

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

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

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

.btn-telegram {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

.btn-telegram:hover {
    transform: scale(1.05);
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 2rem;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--accent-color);
}

.products {
    padding: 5rem 5%;
    text-align: center;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,136,204,0.2);
}

.product-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-card h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: bold;
    margin: 1rem 0;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: var(--primary-color);
    color: white;
}

.devices-section {
    padding: 3rem 5%;
    background: linear-gradient(90deg, #1c1f22 0%, #0088cc1a 100%);
    text-align: center;
    border-bottom: 1px solid #333;
}

.device-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.device-item i {
    font-size: 1.5rem;
}

.services {
    padding: 5rem 5%;
    background: #16191c;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

.service-card-link:hover {
    transform: scale(1.02);
}

.service-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px dashed var(--primary-color);
    height: 100%;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact {
    padding: 5rem 5%;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #333;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    nav ul {
        display: none;
    }
}
