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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header — matches Repricer app nav */
.header {
    padding: 0 24px;
    background: #221f1f;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 52px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
}

.logo h1 {
    font-size: 17.6px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.35px;
}

.logo h1::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00a046;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.cta-button {
    background: #fff;
    color: #221f1f;
    padding: 6px 16px;
    border: none;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #e8e8e8;
}

/* Hero Section (~5%) — compact, text-only */
.hero {
    padding: 84px 0 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #000;
}

.rozetka-brand {
    color: #00a046;
}

.hero-subtitle {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
}

.hero-description {
    font-size: 18px;
    color: #777;
}

/* Pain Points Section (~15%) */
.problems {
    padding: 24px 0;
    background: #fff;
}

.problems h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

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

.pain-card {
    padding: 32px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.pain-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdf2f2;
    border-radius: 10px;
    color: #dc3545;
    margin-bottom: 20px;
}

.pain-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

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

.benefits h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.benefits-intro {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #555;
    text-align: center;
}

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

.benefit-card {
    padding: 32px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border-color: #ddd;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0faf4;
    border-radius: 10px;
    color: #00a046;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
    line-height: 1.3;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #00a046;
    border-radius: 50%;
}

.benefits-filters {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* How it works Section — vertical steps with screenshots */
.how-it-works {
    padding: 24px 0;
    background: #fff;
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.how-it-works .steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works .step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
    padding: 0;
}

.how-it-works .step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.step-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.step-screenshot {
    margin-top: 16px;
}

.step-screenshot img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.step-screenshot-small {
    text-align: center;
}

.step-screenshot-sm img {
    max-width: 420px;
}

.step-screenshot-md img {
    max-width: 520px;
}

img.zoomable {
    cursor: zoom-in;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Pricing / Offer + CTA Section (~20%) */
.pricing {
    padding: 24px 0;
    background: #f8f9fa;
    text-align: center;
}

.pricing h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.pricing-recap {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.pricing-table-wrapper {
    max-width: 520px;
    margin: 0 auto 32px;
}

.pricing-table-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.pricing-table thead th {
    padding: 10px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    border-bottom: 2px solid #e0e0e0;
}

.pricing-table tbody td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #333;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody td:first-child {
    font-weight: 600;
}

.pricing-table tbody td:last-child {
    font-weight: 600;
    color: #000;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.onboarding-steps {
    text-align: left;
    margin-bottom: 30px;
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.onboarding-steps h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.onboarding-steps ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: onboarding;
}

.onboarding-steps ol li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.onboarding-steps ol li::before {
    content: counter(onboarding);
    counter-increment: onboarding;
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Footer */
.footer {
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #221f1f;
    color: #fff;
}

.footer p {
    font-size: 12px;
    color: #e8e8e8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0 16px;
    }

    .header .container {
        justify-content: center;
    }

    .header .cta-button {
        display: none;
    }

    .hero {
        padding: 80px 0 40px;
    }

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

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

    .hero-description {
        font-size: 16px;
    }

    .problems,
    .benefits,
    .how-it-works {
        padding: 40px 0;
    }

    .problems h2,
    .benefits h2,
    .how-it-works h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

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

    .pain-card {
        padding: 24px 20px;
    }

    .benefits-intro {
        font-size: 16px;
    }

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

    .benefit-card {
        padding: 24px 20px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }

    .benefits-list li {
        font-size: 15px;
    }

    .benefits-filters {
        font-size: 14px;
    }

    .how-it-works h2 {
        margin-bottom: 30px;
    }

    .how-it-works .steps {
        gap: 30px;
    }

    .how-it-works .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .pricing {
        padding: 50px 0;
    }

    .pricing h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .pricing-recap {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .pricing-table-wrapper {
        margin-bottom: 24px;
    }

    .pricing-table-wrapper h3 {
        font-size: 20px;
    }

    .pricing-table thead th {
        padding: 8px 12px;
        font-size: 12px;
    }

    .pricing-table tbody td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-card h3 {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 0 30px;
    }

    .hero-title {
        font-size: 24px;
    }

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

    .problems h2,
    .benefits h2,
    .how-it-works h2,
    .pricing h2 {
        font-size: 24px;
    }
}
