/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    min-height: 100vh;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 40px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.logo-text {
    color: #3182ce;
    letter-spacing: 0.05em;
}

/* Main content */
main {
    background: white;
    padding: 0;
}

/* ===============================
   ЗАГОЛОВОК СЕКЦИЯ (5% от лендинга)
   =============================== */
.hero {
    padding: 80px 40px 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 100%);
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-avatar {
    flex: 0 0 auto;
    width: 400px;
}

.hero-avatar img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.main-headline {
    font-size: 3.5rem;
    color: #1a202c;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.main-subheadline {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

.target-audience {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 40px;
    font-weight: 500;
}

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

.telegram-icon {
    font-size: 1.3rem;
    margin-right: 8px;
}

.telegram-icon-svg {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    background: white;
    border-radius: 50%;
    padding: 4px;
    vertical-align: middle;
    filter: invert(1);
}

.telegram-icon-white {
    font-size: 1.3rem;
    margin-right: 8px;
    color: white;
    filter: none;
}

.telegram-plane-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.cta-subtitle {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #718096;
}

/* Social proof in hero */
.social-proof-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.avatars {
    display: flex;
    flex-shrink: 0;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: -10px;
    overflow: hidden;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proof-text-small {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

/* ===============================
   БОЛИ СЕКЦИЯ (15% от лендинга)
   =============================== */
.pain-points {
    padding: 80px 40px;
    background: white;
}

.main-pain {
    text-align: center;
    margin-bottom: 50px;
}

.main-pain h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 24px;
    font-weight: 700;
}

.pain-text-main {
    font-size: 1.75rem;
    color: #e53e3e;
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.secondary-pains {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .secondary-pains {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pain-item {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.pain-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pain-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.pain-item p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===============================
   ВЫГОДА И ПРОДУКТ (60% от лендинга)
   =============================== */
.solution {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.main-benefit {
    text-align: center;
    margin-bottom: 70px;
}

.main-benefit h2 {
    font-size: 2.75rem;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
}

.benefit-description {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Demo section */
.demo-section {
    margin-bottom: 80px;
}

.demo-section h3 {
    text-align: center;
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 50px;
    font-weight: 700;
}

/* New demo layout with screenshot and steps */
.demo-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-screenshot {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

.demo-steps-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.demo-step:hover {
    border-color: #3182ce;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.step-icon-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-step p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

/* Benefits grid */
.benefits-grid {
    margin-top: 70px;
}

.benefits-grid h3 {
    text-align: center;
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 50px;
    font-weight: 700;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card {
    background: white;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    border-color: #3182ce;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.08);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.benefit-icon-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-card h4 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===============================
   ОТЗЫВЫ СЕКЦИЯ
   =============================== */
.testimonials {
    padding: 80px 40px;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, #fefefe 0%, #f9fafb 100%);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card:hover {
    border-color: #3182ce;
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.12);
    transform: translateY(-4px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 700;
    margin: 0;
}

.testimonial-profession {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
    margin: 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1.05rem;
    color: #2d3748;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

/* ===============================
   ОФФЕР СЕКЦИЯ (20% от лендинга)
   =============================== */
.offer {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 100%);
    border-top: 1px solid #e2e8f0;
}

.offer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.offer h2 {
    font-size: 2.75rem;
    margin-bottom: 40px;
    color: #1a202c;
    font-weight: 700;
}

.offer-benefits {
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: left;
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.08);
}

.offer-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #2d3748;
}

.offer-benefit-item:last-child {
    margin-bottom: 0;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3182ce;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.offer-cta {
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: #3182ce;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.2);
}

.cta-button:hover {
    background: #2c5aa0;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    transform: translateY(-1px);
}

.cta-button.telegram {
    background: #0088cc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button.telegram:hover {
    background: #006699;
}

.cta-button.large {
    padding: 20px 60px;
    font-size: 1.3rem;
}

.offer-hint {
    margin-top: 16px;
    color: #718096;
    font-size: 0.95rem;
}

.social-proof {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

footer p {
    font-size: 0.9rem;
    color: #718096;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Hero responsive */
    .hero {
        padding: 50px 20px 40px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-avatar {
        width: 300px;
        max-width: 100%;
    }

    .main-headline {
        font-size: 2.2rem;
    }

    .main-subheadline {
        font-size: 1.1rem;
    }

    .target-audience {
        font-size: 0.95rem;
    }

    .social-proof-hero {
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
    }

    .avatar {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .proof-text-small {
        font-size: 0.8rem;
        text-align: center;
    }

    /* Pain points responsive */
    .pain-points {
        padding: 50px 20px;
    }

    .main-pain h2 {
        font-size: 2rem;
    }

    .pain-text-main {
        font-size: 1.3rem;
    }

    .secondary-pains {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Solution responsive */
    .solution {
        padding: 50px 20px;
    }

    .main-benefit h2 {
        font-size: 2rem;
    }

    .benefit-description {
        font-size: 1.1rem;
    }

    .demo-layout {
        flex-direction: column;
        gap: 30px;
    }

    .screenshot-image {
        max-width: 100%;
    }

    .demo-step {
        padding: 16px 20px;
    }

    .step-icon {
        font-size: 2rem;
    }

    .step-icon-image {
        width: 40px;
        height: 40px;
    }

    .benefits-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-icon-image {
        width: 50px;
        height: 50px;
    }

    /* Testimonials responsive */
    .testimonials {
        padding: 50px 20px;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }

    /* Offer responsive */
    .offer {
        padding: 50px 20px;
    }

    .offer h2 {
        font-size: 2rem;
    }

    .offer-benefits {
        padding: 24px;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 16px 40px;
        width: 100%;
        max-width: 400px;
    }

    .cta-button.large {
        font-size: 1.15rem;
        padding: 18px 40px;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 1.8rem;
    }

    .main-subheadline {
        font-size: 1rem;
    }

    .demo-section h3,
    .benefits-grid h3 {
        font-size: 1.6rem;
    }

    .main-benefit h2,
    .offer h2,
    .testimonials h2 {
        font-size: 1.75rem;
    }

    .screenshot-image {
        border-radius: 8px;
    }

    .demo-step {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    .step-icon {
        font-size: 2rem;
    }

    .step-icon-image {
        width: 35px;
        height: 35px;
    }

    .benefit-icon-image {
        width: 45px;
        height: 45px;
    }

    .cta-button {
        font-size: 1rem;
        padding: 14px 32px;
    }
}
