.topbar {
    background: #f5f3ff;
    padding: 12px 0;
    border-bottom: 1px solid #ddd6fe;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.back-btn {
    color: #5b21b6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.use-template {
    background: #8b5cf6;
    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: #7c3aed;
    transform: translateY(-2px);
}

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

.breadcrumb a {
    color: #6d28d9;
    text-decoration: none;
}

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

/* Hero Section */
.hero-section {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f5f3ff 100%);
}

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

.badge {
    display: inline-block;
    background: #ede9fe;
    color: #6d28d9;
    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;
    background: linear-gradient(135deg, #0f172a, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #8b5cf6;
    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: #7c3aed;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #1e293b;
    color: #fff;
    padding: 10px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #0f172a;
    transform: translateY(-2px);
}

/* Invoice Preview */
.invoice-preview {
    position: relative;
    background: #f5f3ff;
    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: #8b5cf6;
    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);
}

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

.bg-white {
    background: white;
}

.bg-light {
    background: #f8fafc;
}

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

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #8b5cf6;
}

.feature-card .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Benefits List */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.benefit-item {
    background: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.benefit-item:hover {
    border-color: #8b5cf6;
    transform: translateX(3px);
}

.benefit-item .icon {
    color: #8b5cf6;
    font-size: 18px;
}

.benefit-item span {
    font-size: 14px;
    color: #334155;
}

/* Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tip-card {
    background: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.tip-card:hover {
    border-color: #8b5cf6;
}

.tip-card .number {
    font-size: 14px;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 6px;
}

.tip-card h4 {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 6px;
}

.tip-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.table-responsive th {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
}

.table-responsive td {
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
}

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

.table-responsive tr:nth-child(even) {
    background: #f8fafc;
}

.table-responsive .check {
    color: #059669;
    text-align: center;
}

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

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

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

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

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

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

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

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

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

.faq-questionn:hover {
    background: #f5f3ff;
}

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

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

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

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

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

/* Featured In */
.featured-in {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.featured-item {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.featured-item:hover {
    opacity: 1;
}

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

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

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

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

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

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

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

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

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

    .flex-between {
        flex-direction: column;
        align-items: stretch;
    }

    .back-btn,
    .use-template {
        justify-content: center;
    }

    .featured-in {
        gap: 20px;
    }

    .featured-item {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 24px 16px;
    }

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

    .table-responsive table {
        font-size: 13px;
    }

    .table-responsive td,
    .table-responsive th {
        padding: 10px 12px !important;
    }

    .tip-card {
        padding: 16px;
    }
}

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