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

:root {
    --primary-blue: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #64B5F6;
    --secondary-color: #4CAF50;
    --accent-orange: #FF5722;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F7FA;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.logo span {
    color: var(--text-dark);
    font-weight: 700;
}

.header-contacts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header.scrolled .header-contacts {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item .icon {
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.contact-item:hover .icon {
    color: var(--primary-dark);
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.phone {
    font-size: 17px;
    font-weight: 700;
}

.contact-item a {
    font-size: 14px;
}

.hero {
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 50%, #0D47A1 100%);
    padding: 100px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

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

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
}

.timer-block {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.timer-text {
    font-size: 19px;
    margin-bottom: 18px;
    text-align: center;
    opacity: 0.95;
    font-weight: 500;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 90px;
    transition: transform 0.3s ease;
}

.timer-item:hover {
    transform: scale(1.05);
}

.timer-value {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timer-label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 6px;
    font-weight: 500;
    text-transform: lowercase;
}

.timer-separator {
    font-size: 40px;
    font-weight: 800;
    opacity: 0.6;
    padding: 0 5px;
}

.hero-benefits {
    margin-bottom: 35px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 18px;
    animation: fadeInLeft 0.8s ease;
    animation-fill-mode: both;
}

.benefit-item:nth-child(1) { animation-delay: 0.2s; }
.benefit-item:nth-child(2) { animation-delay: 0.3s; }
.benefit-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.check-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-price {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.price-from {
    font-size: 22px;
    opacity: 0.9;
    font-weight: 500;
}

.price-value {
    font-size: 60px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price-discount {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.discount-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.discount-text {
    font-size: 15px;
    opacity: 0.9;
}

.hero-form {
    animation: fadeInRight 0.8s ease 0.3s;
    animation-fill-mode: both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.form-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.consultation-form input[type="text"],
.consultation-form input[type="tel"],
.main-form input,
.main-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.consultation-form input:focus,
.main-form input:focus,
.main-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 20px 48px;
    font-size: 19px;
    font-weight: 700;
}

.form-privacy {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.advantages {
    padding: 100px 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
}

.advantage-card:hover .advantage-icon svg {
    stroke: var(--white);
}

.advantage-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.comparison {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.comparison h3 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.comparison-column {
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s ease;
    position: relative;
    margin-top: 20px;
}

.comparison-column:hover {
    transform: translateY(-5px);
}

.comparison-highlight {
    border: 3px solid var(--primary-blue);
}

.comparison-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    white-space: nowrap;
}

.comparison-header {
    padding: 30px 20px;
    text-align: center;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.comparison-bad {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
}

.comparison-good {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.comparison-header h4 {
    font-size: 22px;
    font-weight: 700;
}

.comparison-body {
    padding: 30px 25px;
    background: var(--white);
}

.comparison-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 25px;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    line-height: 1.6;
}

.comparison-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.comparison-list li.negative::before {
    background: #FFCDD2;
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D32F2F;
    font-weight: 700;
    font-size: 14px;
}

.comparison-list li.positive::before {
    background: #C8E6C9;
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    color: #388E3C;
    font-weight: 700;
    font-size: 14px;
}

.how-we-work {
    padding: 100px 0;
    background: var(--white);
}

.steps {
    max-width: 900px;
    margin: 0 auto 60px;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.cta-block {
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.3);
}

.cta-block h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-block p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

.testimonial-rating {
    color: #FFA000;
    font-size: 20px;
}

.testimonial-text p {
    color: var(--text-dark);
    line-height: 1.7;
}

.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-blue);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: background 0.3s ease;
    font-weight: 600;
    font-size: 18px;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
    color: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.form-container p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 18px;
}

.main-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.main-form textarea {
    min-height: 120px;
    resize: vertical;
}

.main-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.footer {
    padding: 60px 0 30px;
    background: #263238;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

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

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 34px;
    }

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

    .comparison-table {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header {
        padding: 8px 0;
    }

    .logo h2 {
        font-size: 20px;
    }

    .header-contacts {
        gap: 12px;
    }

    .phone {
        font-size: 15px;
    }

    .contact-item a {
        font-size: 13px;
    }

    .contact-item .icon {
        font-size: 14px;
    }

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

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .timer-value {
        font-size: 36px;
    }

    .price-value {
        font-size: 42px;
    }

    .form-card {
        padding: 30px 25px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
