/* Cleaning Invoice Template - Custom Styles */
/* Template specific styles without affecting global layout */

/* Topbar Styles */
.topbar {
    background: #f5f2ea;
    padding: 12px 0;
    border-bottom: 1px solid #e8e0d0;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    color: #5a4a2a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.back-btn:hover {
    color: #8b6914;
}

.use-template {
    background: #8b6914;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.use-template:hover {
    background: #6b4f0e;
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 13px;
    color: #7a7568;
}

.breadcrumb a {
    color: #5a4a2a;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #8b6914;
}

/* Hero Section */
.hero-section {
    padding: 40px 0 60px;
    background: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.badge {
    display: inline-block;
    background: #f5f2ea;
    color: #8b6914;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #2d2a24;
}

.hero-subtitle {
    font-size: 18px;
    color: #6b4f0e;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-desc {
    color: #5a4a2a;
    line-height: 1.7;
    margin-bottom: 30px;
}

.download-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
    color: #2d2a24;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s;
    border: 1px solid #e8e0d0;
}

.download-item:hover {
    transform: translateX(5px);
}

.download-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-icon {
    font-size: 32px;
}

.download-text h4 {
    margin-bottom: 5px;
    font-size: 15px;
}

.download-text p {
    font-size: 12px;
    margin: 0;
}

.download-arrow {
    font-size: 24px;
    font-weight: 700;
}

.download-item.green {
    background: #f0f9f0;
    border-color: #c8e6c9;
}

.download-item.green .download-text h4 {
    color: #2e7d32;
}

.download-item.blue {
    background: #e8f0fe;
    border-color: #bbd7fb;
}

.download-item.blue .download-text h4 {
    color: #1565c0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #8b6914;
    color: white;
    padding: 14px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #6b4f0e;
    transform: translateY(-2px);
}

.features-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #5a4a2a;
}

.features-list li i {
    color: #8b6914;
    margin-right: 8px;
}

/* Invoice Preview */
.invoice-preview {
    position: relative;
    background: #f5f2ea;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.preview-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #8b6914;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.preview-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.preview-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    white-space: nowrap;
}

/* Section Common */
.section-pad {
    padding: 60px 0;
}

.bg-white {
    background: white;
}

.bg-light {
    background: #faf8f3;
}

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

.text-center h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2d2a24;
}

/* Use Cases */
.use-cases-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.use-case-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e0d0;
}

.use-case-item i {
    font-size: 40px;
    color: #8b6914;
    margin-bottom: 15px;
}

.use-case-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.use-case-item p {
    color: #7a7568;
    font-size: 14px;
    line-height: 1.6;
}

/* Steps List */
.steps-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.step-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e0d0;
}

.step-number {
    width: 45px;
    height: 45px;
    background: #8b6914;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-item p {
    color: #7a7568;
    font-size: 13px;
    line-height: 1.6;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.payment-card {
    padding: 25px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e0d0;
}

.payment-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.payment-card p {
    color: #7a7568;
    font-size: 14px;
    line-height: 1.6;
}

.reminder-list ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.reminder-list li {
    padding: 8px 0;
    color: #7a7568;
    font-size: 13px;
}

.reminder-list li i {
    color: #8b6914;
    margin-right: 8px;
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.feature-tag {
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    color: #2d2a24;
    border: 1px solid #e8e0d0;
}

.feature-tag i {
    color: #8b6914;
    margin-right: 8px;
}

/* Who Grid */
.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.who-card {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e0d0;
    transition: all 0.3s;
}

.who-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.who-card i {
    font-size: 36px;
    color: #8b6914;
    margin-bottom: 12px;
}

.who-card h4 {
    font-size: 15px;
    margin: 0;
}

/* FAQ Grid */
.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: #2d2a24;
}

.faq-question span:first-child {
    font-size: 15px;
}

.faq-question span:last-child {
    font-size: 18px;
    color: #8b6914;
}

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

.faq-item.active .faq-answer {
    max-height: 150px;
    padding-bottom: 18px;
}

.faq-answer p {
    color: #7a7568;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #2d2a24, #4a3e28);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

.cta-banner h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.cta-banner p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: #8b6914;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: #6b4f0e;
    transform: translateY(-2px);
}

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

    .use-cases-list,
    .steps-list,
    .payment-grid,
    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .text-center h2 {
        font-size: 28px;
    }

    .use-cases-list,
    .steps-list,
    .payment-grid,
    .who-grid {
        grid-template-columns: 1fr;
    }

    .steps-list {
        gap: 15px;
    }

    .cta-banner {
        padding: 30px 20px;
    }

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

    .preview-overlay {
        white-space: normal;
        font-size: 10px;
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .download-item {
        flex-direction: column;
        text-align: center;
    }

    .download-left {
        flex-direction: column;
        text-align: center;
        margin-bottom: 10px;
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-tag {
        text-align: center;
    }
}