/* ===== PAKISTAN INVOICE GENERATOR STYLES ===== */

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-left p {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 28px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #1e293b;
}

.feature span {
    color: #15803d;
    font-weight: 700;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #166534, #15803d);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.35);
}

.secondary-btn {
    display: inline-block;
    border: 2px solid #15803d;
    color: #15803d;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    background: transparent;
}

.secondary-btn:hover {
    background: #15803d;
    color: white;
}

/* Mockup */
.mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mockup-top {
    padding: 12px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #22c55e;
}

.mockup-body {
    padding: 8px;
}

.mockup-body img {
    display: block;
}

/* ===== WHY PAKISTAN SECTION ===== */
.why-pakistan {
    padding: 60px 0 80px;
    background: white;
}

.section-title {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 48px;
}

.section-title span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
}

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

.benefit-card {
    background: #f8fafc;
    padding: 30px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.1);
    border-color: #15803d;
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

/* ===== TEMPLATES SECTION ===== */
.templates-section {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.template-card {
    background: white;
    padding: 30px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.1);
    border-color: #15803d;
}

.template-card.template-full {
    border: 2px dashed #15803d;
    background: #f0fdf4;
}

.template-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.template-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.template-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.template-link {
    display: inline-block;
    margin-top: 12px;
    color: #15803d;
    font-weight: 600;
    text-decoration: none;
}

.template-link:hover {
    text-decoration: underline;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 60px 0 80px;
    background: white;
}

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

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #166534, #15803d);
    color: white;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.center-btn-wrapper {
    text-align: center;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #166534, #15803d);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.35);
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: 60px 0;
    background: #f8fafc;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.info-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== REPAIR SECTION ===== */
.repair-section {
    padding: 60px 0;
    background: white;
}

.repair-content {
    max-width: 900px;
    margin: 0 auto;
}

.repair-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.repair-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 60px 0 80px;
    background: #f8fafc;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.pak-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.pak-faq-item.active {
    border-color: #15803d;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.faq-question span {
    font-size: 24px;
    font-weight: 300;
    color: #94a3b8;
    transition: transform 0.3s;
}

.pak-faq-item.active .faq-question span {
    transform: rotate(180deg);
    color: #15803d;
}

.faq-answer {
    display: none;
    padding: 4px 15px 100px;
}

.pak-faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.faq-answer a {
    color: #15803d;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    text-align: center;
}

.final-cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.final-cta .cta-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.final-cta .cta-guarantee {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
}

.final-cta .cta-btn {
    background: linear-gradient(135deg, #22c55e, #15803d);
    font-size: 18px;
}

.final-cta .cta-btn:hover {
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 38px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-left h1 {
        font-size: 30px;
    }

    .hero-left p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        text-align: center;
        justify-content: center;
    }

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

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

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

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

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

    .final-cta h2 {
        font-size: 30px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .mockup-body img {
        height: auto;
    }

    .container {
        padding: 0 16px;
    }

    .info-content h2,
    .repair-content h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 26px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .final-cta h2 {
        font-size: 24px;
    }

    .cta-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

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

    .template-card {
        padding: 20px 16px;
    }
}