/* ===== ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050515;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #e0e0ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    padding: 40px 20px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    background: linear-gradient(135deg, #00FFEE, #0088AA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 1.2rem;
    border-left: 4px solid #00FFEE;
    padding-left: 1rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #00FFEE, #0088AA);
    color: #050515;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 255, 238, 0.2);
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 238, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00FFEE;
    color: #00FFEE;
    box-shadow: none;
}

/* Шапка */
.header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    position: sticky;
    top: 0;
    background: rgba(5, 5, 21, 0.95);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00FFEE;
    text-decoration: none;
}

.logo span {
    color: #fff;
    font-weight: normal;
}

.nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #bbccff;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #00FFEE;
}

/* Герой */
.hero {
    padding: 40px 0 30px;
    text-align: center;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto;
    color: #aabbdd;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 255, 238, 0.15);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    color: #00FFEE;
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
}

.hero-buttons .btn {
    min-width: 180px;
}

/* Сетка 2x2 и карточки */
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.feature-card {
    background: rgba(17, 17, 34, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(0, 136, 170, 0.4);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #00FFEE;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.gallery img {
    width: 100%;
    border-radius: 20px;
    transition: transform 0.3s;
}

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

/* Формы */
.form-box {
    background: linear-gradient(135deg, #0a0a2a, #050515);
    border-radius: 40px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid #00FFEE30;
    margin: 48px 0;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.form-group input {
    padding: 12px 20px;
    border-radius: 60px;
    border: none;
    background: #111133;
    color: white;
    width: 260px;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: 1px solid #00FFEE;
}

.testimonial {
    background: #0a0a1e;
    border-radius: 24px;
    padding: 24px;
    margin: 20px 0;
}

/* Отзывы */
.product-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.product-option {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 17, 34, 0.6);
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid rgba(0, 136, 170, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.product-option:hover {
    border-color: #00FFEE;
    background: rgba(0, 136, 170, 0.2);
}

.product-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #00FFEE;
}

.product-title {
    font-weight: bold;
    font-size: 1rem;
}

.product-price {
    font-size: 1rem;
    font-weight: bold;
    color: #FFAA00;
}

.product-option:has(input:checked) {
    border-color: #00FFEE;
    background: rgba(0, 255, 238, 0.1);
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #FF4444;
    color: #FF8888;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

/* Футер */
.footer {
    text-align: center;
    padding: 32px 0 20px;
    border-top: 1px solid #112233;
    margin-top: 40px;
    font-size: 0.75rem;
    color: #557799;
}

.footer a {
    color: #6688AA;
    text-decoration: none;
}

/* Адаптив */
@media (max-width: 768px) {
    body {
        padding: 20px 16px;
    }
    .container {
        padding: 0 16px;
    }
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        justify-content: center;
        gap: 14px;
    }
    .hero {
        padding-top: 30px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        margin: 0 auto;
        width: 80%;
    }
    .grid-2x2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .form-group input {
        width: 100%;
    }
    h2 {
        font-size: 1.6rem;
    }
    .product-options {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .product-option {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
    }
    .feature-card {
        padding: 18px;
    }
}

#order {
    scroll-margin-top: 100px;
}
@media (max-width: 768px) {
    #order {
        scroll-margin-top: 150px;
    }
}

/* Анимация появления */
.feature-card, .form-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}