:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.hero-cta {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    margin: 0 auto;
}

.price {
    margin-bottom: 20px;
}

.price-currency {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.price-note {
    font-size: 14px;
    color: var(--text-gray);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    width: 100%;
}

.btn-block {
    width: 100%;
}

.guarantee {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Section */
.section {
    padding: 80px 20px;
}

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

/* Problem Section */
.section-problem {
    background: var(--bg-light);
}

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

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

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

.problem-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.checklist {
    list-style: none;
}

.checklist li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checklist strong {
    color: var(--text-dark);
}

/* Mockup */
.mockup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-xl);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    min-height: 400px;
}

.mockup-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-line {
    height: 8px;
    background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
    border-radius: 4px;
}

.mockup-line.large {
    height: 24px;
    width: 70%;
}

.mockup-line.medium {
    width: 85%;
}

.mockup-line.small {
    width: 60%;
}

.mockup-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.mockup-box {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
}

/* Inside Section */
.section-inside {
    background: var(--bg-light);
}

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

.inside-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.3s ease;
}

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

.inside-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.inside-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 0 15px;
    color: var(--text-dark);
}

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

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.result-card {
    text-align: center;
    padding: 40px 30px;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

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

.result-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-price {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.price-large {
    font-size: 56px;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.price-info {
    font-size: 16px;
    opacity: 0.9;
}

.guarantee-text {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* FAQ Section */
.section-faq {
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.modal-header p {
    color: var(--text-gray);
    font-size: 14px;
}

.modal-body {
    padding: 30px 40px 40px;
}

.order-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-price {
    font-weight: 600;
    color: var(--text-dark);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 0;
    font-size: 18px;
    font-weight: 700;
}

.total-price {
    color: var(--primary-color);
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    font-size: 13px;
    color: var(--text-gray);
}

.payment-methods h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.payment-option input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.payment-option i {
    color: var(--primary-color);
    font-size: 18px;
}

.payment-secure {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.payment-secure i {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mockup-content {
        min-height: 300px;
    }
    
    .problems-grid,
    .inside-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box h2 {
        font-size: 32px;
    }
    
    .price-large {
        font-size: 42px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-content {
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px 80px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        padding: 30px 20px;
    }
    
    .price-currency {
        font-size: 36px;
    }
    
    .btn-large {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .problem-card,
    .inside-card {
        padding: 30px 20px;
    }
}

/* PATCH: центрирование модалки */
.modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
    background:rgba(0,0,0,.55);
    align-items:center;
    justify-content:center;
    padding:20px;
}
.modal-content{
    position:relative;
    width:100%;
    max-width:560px;
    margin:0 auto;
}
.section-cost {
    padding-top: 80px;
    padding-bottom: 80px;
}

.cost-box {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(32, 71, 128, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(21, 37, 63, 0.08);
    padding: 48px 32px;
}

.cost-header {
    text-align: center;
    margin-bottom: 36px;
}

.cost-badge {
    display: inline-block;
    padding: 10px 16px;
    background: #eef4ff;
    color: #2b4ea2;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.cost-subtitle {
    max-width: 700px;
    margin: 16px auto 0;
    font-size: 18px;
    line-height: 1.6;
    color: #5d6678;
}

.cost-calculator {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(32, 71, 128, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.cost-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.cost-field {
    display: flex;
    flex-direction: column;
}

.cost-field label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2430;
    margin-bottom: 10px;
}

.cost-field input {
    height: 54px;
    border: 1px solid #d8e1ef;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 500;
    color: #1f2430;
    background: #f9fbff;
    transition: all 0.2s ease;
}

.cost-field input:focus {
    outline: none;
    border-color: #4b7bec;
    box-shadow: 0 0 0 4px rgba(75, 123, 236, 0.12);
    background: #fff;
}

.cost-action {
    text-align: center;
    margin-bottom: 24px;
}

.cost-result {
    min-height: 140px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f9ff 0%, #eef5ff 100%);
    border: 1px solid rgba(75, 123, 236, 0.12);
    padding: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cost-result-placeholder {
    color: #6d7687;
    font-size: 17px;
    line-height: 1.5;
}

.cost-result-values {
    width: 100%;
}

.cost-result-title {
    font-size: 18px;
    color: #4b5565;
    margin-bottom: 18px;
}

.cost-result-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.cost-result-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 14px;
    box-shadow: 0 10px 30px rgba(31, 49, 83, 0.06);
    border: 1px solid rgba(32, 71, 128, 0.06);
}

.cost-result-card span {
    display: block;
    font-size: 14px;
    color: #6c7383;
    margin-bottom: 8px;
}

.cost-result-card strong {
    font-size: 28px;
    color: #172033;
    line-height: 1.2;
}

.cost-result-bottom {
    font-size: 18px;
    line-height: 1.6;
    color: #243047;
}

.cost-result-bottom strong {
    color: #0f172a;
}

.cost-note {
    margin-top: 24px;
    text-align: center;
}

.cost-note p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #5f697c;
}

@media (max-width: 768px) {
    .cost-box {
        padding: 28px 18px;
        border-radius: 18px;
    }

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

    .cost-fields {
        grid-template-columns: 1fr;
    }

    .cost-result-numbers {
        grid-template-columns: 1fr;
    }

    .cost-result-card strong {
        font-size: 24px;
    }
}