/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-bg: #FFD3B5;      /* Персиковый фон */
    --accent: #3A1C71;          /* Индиго акцент */
    --secondary: #A1C181;       /* Светло-оливковый */
    --button: #D72638;          /* Малиновый кнопки */
    --text: #2E2E2E;           /* Темно-графитовый текст */
    --light-block: #FAF4E8;    /* Светлый блок */
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text);
    background-color: var(--primary-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: white;
    padding: var(--spacing-sm);
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-sm);
}

.cookie-accept {
    background: var(--button);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: #b91e2e;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.navigation a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navigation a:hover {
    color: var(--accent);
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.navigation a:hover::after {
    width: 100%;
}

.phone-link {
    background: var(--button);
    color: white !important;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.phone-link:hover {
    background: #b91e2e;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--light-block) 100%);
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: var(--button);
    color: white;
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: #b91e2e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    animation: scaleIn 1s ease-out 0.3s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

section:nth-child(even) {
    background: var(--light-block);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.stat-item {
    background: white;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--button);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    opacity: 0.8;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.step-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 3px solid var(--button);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--button);
    color: white;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3,
.product-card p,
.product-card .price,
.product-card .product-button {
    padding: 0 var(--spacing-sm);
}

.product-card h3 {
    margin-top: var(--spacing-sm);
}

.product-card p {
    opacity: 0.8;
    margin-bottom: var(--spacing-sm);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--button);
    margin-bottom: var(--spacing-sm);
}

.product-button {
    display: block;
    background: var(--accent);
    color: white;
    text-decoration: none;
    text-align: center;
    padding: var(--spacing-sm);
    margin: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-button:hover {
    background: #2a1454;
    transform: translateY(-2px);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.review-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.review-card p {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.reviewer {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
}



/* Order Form */
.order-section {
    background: linear-gradient(135deg, var(--accent) 0%, #2a1454 100%);
    color: white;
}

.order-section h2 {
    color: white;
}

.order-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--secondary);
}

.order-form-wrapper h2 {
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-group {
    margin-bottom: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--accent) !important;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--accent) !important;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
    color: var(--accent) !important;
}

.submit-button {
    width: 100%;
    background: var(--button);
    color: white;
    border: none;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--spacing-sm);
}

.submit-button:hover {
    background: #b91e2e;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--accent);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a,
.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.contact-info a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-sm);
}

.footer-bottom-content {
    text-align: center;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: var(--spacing-xs);
}

/* Policy Pages */
.policy-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-block);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.policy-content h1 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.policy-text h2 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    text-align: left;
}

.policy-text h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.policy-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.policy-text ul {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

.policy-text li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.important-notice {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.important-notice h3 {
    color: #856404;
    margin-bottom: var(--spacing-xs);
}

.important-notice p {
    color: #856404;
    margin-bottom: 0;
}

/* Thank You Page */
.thankyou-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--light-block) 100%);
    min-height: 80vh;
}

.thankyou-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    animation: scaleIn 0.6s ease-out;
}

.thankyou-content h1 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.thankyou-message {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.next-steps {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--light-block);
    border-radius: var(--radius-md);
}

.step-number {
    background: var(--button);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-text h3 {
    color: var(--accent);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.step-text p {
    margin: 0;
    opacity: 0.8;
}

.contact-info {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.contact-info h2 {
    text-align: center;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.contact-info > p {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    background: var(--light-block);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--button);
    color: white;
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #b91e2e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2a1454;
    transform: translateY(-2px);
}

.additional-info {
    text-align: left;
    background: var(--light-block);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
}

.additional-info h3 {
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.additional-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.additional-info li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.additional-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .header {
        position: static;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .steps-grid,
    .products-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-content {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm);
    }
    
    .thankyou-content {
        padding: var(--spacing-md);
        margin: 0 var(--spacing-sm);
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .contact-details {
        gap: var(--spacing-sm);
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .order-form-wrapper {
        margin: 0 var(--spacing-sm);
        padding: var(--spacing-md);
    }
} 