/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: #fff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-img {
    height: 50px;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: color 0.3s;
}

.social-link:hover {
    color: #C41E3A;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #C41E3A 0%, #9a1830 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.btn-animated {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(196, 30, 58, 0);
    }
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #C41E3A 0%, #9a1830 100%);
    color: #fff;
}

.btn-yellow {
    background: #FFD700;
    color: #1a1a1a;
}

.btn-yellow:hover {
    background: #e6c200;
}

.btn-price {
    width: 100%;
    background: #FFD700;
    color: #1a1a1a;
    margin-top: 10px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
              url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1920') center/cover no-repeat;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 40px 20px;
}

.hero-content {
    color: #fff;
}

.hero-badges {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sale {
    background: #C41E3A;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title .highlight {
    color: #FFD700;
}

.hero-features {
    list-style: none;
    margin-bottom: 20px;
}

.hero-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Hero Gift Block */
.hero-gift {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 30px;
    animation: giftPulse 3s ease-in-out infinite;
}

@keyframes giftPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.2);
    }
}

.hero-gift-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}

.hero-gift-content {
    display: flex;
    flex-direction: column;
}

.hero-gift-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-gift-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

/* Lead Form */
.hero-form-wrapper {
    position: relative;
}

.lead-form {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #C41E3A;
}

.form-consent {
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.form-consent input {
    margin-top: 3px;
}

.form-consent-center {
    text-align: center;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.section-title-dark {
    color: #fff;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    stroke: #1a1a1a;
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
}

.benefits-cta {
    text-align: center;
}

/* Models Section */
.models {
    padding: 80px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.model-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.model-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.model-content {
    padding: 25px;
}

.model-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.model-title .accent {
    color: #C41E3A;
}

.model-subtitle {
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.model-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.models-cta {
    text-align: center;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #C41E3A 0%, #9a1830 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon svg {
    width: 35px;
    height: 35px;
    stroke: #fff;
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* ============================================ */
/* Inline Quiz Section */
/* ============================================ */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.quiz-section .section-title {
    color: #fff;
}

.quiz-section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 50px;
    margin-top: -20px;
}

.quiz-inline {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.quiz-inline-step {
    display: none;
}

.quiz-inline-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-inline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.quiz-step-number {
    color: #C41E3A;
}

.quiz-inline-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quiz-inline-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border: 3px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-inline-option:hover {
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quiz-inline-option.selected {
    border-color: #C41E3A;
    background: rgba(196, 30, 58, 0.05);
}

.quiz-inline-option-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.quiz-inline-option-icon svg {
    stroke: #1a1a1a;
}

.quiz-inline-option-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.quiz-inline-option-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Quiz Inline Form */
.quiz-inline-form {
    max-width: 100%;
}

.quiz-inline-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: start;
}

.btn-quiz-submit {
    white-space: nowrap;
    padding: 14px 30px;
    height: 52px;
}

/* Quiz Progress */
.quiz-progress {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.quiz-progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #C41E3A 0%, #9a1830 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.quiz-progress-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    display: block;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
    background: #f8f9fa;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.product-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 48px;
}

.product-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Questions Section */
.questions {
    padding: 80px 0;
    background: linear-gradient(135deg, #C41E3A 0%, #9a1830 100%);
}

.questions-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    margin-top: -20px;
}

.questions-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.questions-form-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.questions-form .form-input {
    flex: 1;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #FFD700;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials .social-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-socials .social-link:hover {
    color: #FFD700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-small {
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.modal-product {
    text-align: center;
    color: #C41E3A;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-form-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quiz-inline-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-gift {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .models-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .questions-form-inputs {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .quiz-inline {
        padding: 30px 20px;
    }
    
    .quiz-inline-options {
        grid-template-columns: 1fr;
    }
}
