/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

.section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
}

/* Шапка */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #2d3748;
    font-size: 1.5rem;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #48bb78;
}

.header-contact span {
    font-weight: 600;
    color: #2d3748;
}

/* Главный экран */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 2rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.old-price {
    font-size: 1.5rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.new-price {
    font-size: 2.5rem;
    color: #48bb78;
    font-weight: bold;
}

.btn-primary {
    background: #48bb78;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #38a169;
}

.hero-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.hero-notice p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0.5rem 0;
}

.product-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* О товаре */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #718096;
}

/* Состав */
.composition-table {
    max-width: 600px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #f7fafc;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #48bb78;
    color: white;
    font-weight: 600;
}

.composition-note {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: #718096;
}

/* Инструкция */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.instruction-block {
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
}

.instruction-block h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.instruction-block p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Сертификаты */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.certificate-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.certificates-text {
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
}

/* Отзывы */
.rating {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-stars {
    font-size: 2rem;
    color: #f6ad55;
    margin-bottom: 0.5rem;
}

.rating-value {
    font-size: 1.1rem;
    color: #718096;
}

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

.review-card {
    padding: 2rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #f6ad55;
}

.review-text {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #2d3748;
}

/* Форма заказа */
.order-form {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.order-text h2 {
    color: white;
    text-align: left;
    margin-bottom: 2rem;
}

.order-text .price-section .old-price {
    color: #cbd5e0;
}

.order-text .price-section .new-price {
    color: white;
}

.form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #48bb78;
}

/* Футер */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #48bb78;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .order-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}