* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: #f7f7fb;
    color: #0f172a;
}

.container {
    width: 1180px;
    max-width: 92%;
    margin: 0 auto;
}

/* ========== NAVBAR ========== */
.navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    text-decoration: none;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f172a;
}

.nav-links {
    display: flex;
    gap: 34px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000000 !important;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #5b34f5;
}

.signup-btn,
.nav-btn {
    background: #1b17ff !important;
    color: white !important;
    border: none !important;
    padding: 10px 22px !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: 0.2s !important;
}

.signup-btn:hover,
.nav-btn:hover {
    background: #111827 !important;
    transform: translateY(-1px) !important;
}

.signup-btn a,
.nav-btn a {
    color: white !important;
    text-decoration: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 24px 0 16px;
        border-top: 1px solid #e5e7eb;
        margin-top: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a,
    .nav-links button {
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    padding: 70px 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-left {
    flex: 1;
    min-width: 280px;
}

.hero-left h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 30px;
    margin-bottom: 35px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.feature span {
    color: #22c55e;
    font-size: 18px;
    font-weight: 800;
}

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

.primary-btn,
.secondary-btn {
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.primary-btn {
    background: #5b34f5;
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(91, 52, 245, 0.2);
}

.primary-btn:hover {
    background: #4c2bc4;
    background: #7c50f6;
    transform: translateY(-2px);
}

.secondary-btn {
    background: white;
    border: 2px solid #d1d5db;
    color: #111827;
}

.secondary-btn:hover {
    border-color: #5b34f5;
    background: #faf5ff;
}

.hero-right {
    flex: 1;
    min-width: 280px;
}

.mockup {
    background: #111827;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.mockup-top {
    height: 44px;
    background: #0f172a;
    display: flex;
    align-items: center;
    padding: 0 18px;
}

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

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

.red {
    background: #ef4444;
}

.yellow {
    background: #facc15;
}

.green {
    background: #22c55e;
}

.mockup-body {
    background: #f8fafc;
    padding: 25px;
    text-align: center;
}

.mockup-body img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #5b34f5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.section-title h2 {
    font-size: 38px;
    margin-top: 10px;
    font-weight: 900;
    line-height: 1.2;
}

.section-title p {
    color: #64748b;
    margin-top: 14px;
    font-size: 17px;
}

/* Savings Section */
.savings-section {
    padding: 70px 0;
    background: #fff;
}

.savings-header {
    text-align: center;
    margin-bottom: 35px;
}

.savings-header h2 {
    font-size: 48px;
    font-weight: 900;
}

.savings-header h2 span {
    color: #22c55e;
}

.savings-header p {
    color: #64748b;
    font-size: 17px;
}

.pricing-tabs {
    display: inline-flex;
    gap: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 60px;
    padding: 6px;
    margin-top: 24px;
}

.pricing-tabs button {
    border: none;
    background: transparent;
    padding: 8px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}

.pricing-tabs .active {
    background: #111827;
    color: white;
}

.savings-box {
    background: white;
    border: 1px solid #e9eef3;
    border-radius: 32px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.top-row h4 {
    font-size: 17px;
    font-weight: 800;
}

.top-row .right {
    color: #5b34f5;
    font-size: 12px;
    font-weight: 600;
    background: #f0f0ff;
    padding: 5px 12px;
    border-radius: 40px;
}

.range-wrapper {
    margin-bottom: 35px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #64748b;
}

.range-labels #monthValue {
    color: #5b34f5;
    font-weight: 800;
    background: #eef2ff;
    padding: 2px 10px;
    border-radius: 30px;
}

#invoiceRange {
    width: 100%;
    height: 6px;
    accent-color: #5b34f5;
    cursor: pointer;
}

.compare-bars {
    margin-bottom: 35px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bar-label {
    width: 150px;
    font-size: 14px;
    font-weight: 700;
}

.bar-label small {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
}

.bar-wrap {
    flex: 1;
    min-width: 150px;
}

.bar {
    height: 32px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 0.3s ease;
}

.bar span {
    font-size: 12px;
    font-weight: 800;
    color: white;
}

.orange {
    background: linear-gradient(90deg, #f97316, #f59e0b);
}

.purple {
    background: linear-gradient(90deg, #9333ea, #a855f7);
}

.red {
    background: linear-gradient(90deg, #e11d48, #f43f5e);
}

.blue {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.saving-card {
    max-width: 300px;
    margin: 25px auto;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 28px;
    padding: 25px 20px;
    text-align: center;
}

.saving-card small {
    color: #16a34a;
    font-weight: 800;
}

.saving-card h3 {
    color: #16a34a;
    font-size: 48px;
    margin: 10px 0;
    font-weight: 900;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 35px;
}

.pricing-card {
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
    background: #fafcff;
    transition: 0.2s;
}

.pricing-card.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.pricing-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-card .price {
    font-size: 20px;
    font-weight: 800;
    margin: 10px 0;
}

.pricing-card .price span {
    font-size: 12px;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
}

.pricing-card ul li {
    margin-bottom: 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card ul li i {
    font-size: 11px;
    color: #22c55e;
    width: 14px;
}

.savings-footer {
    text-align: center;
    margin-top: 35px;
}

.savings-footer button {
    background: #5b34f5;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 800;
    cursor: pointer;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: white;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid #e5e7eb;
    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
}

.icon {
    width: 54px;
    height: 54px;
    background: #f3f0ff;
    color: #5b34f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 26px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

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

/* Business Slider */
.business-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.business-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px 20px;
    scrollbar-width: none;
}

.business-slider::-webkit-scrollbar {
    display: none;
}

.business-card {
    min-width: 280px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.business-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.business-content {
    padding: 18px;
}

.business-content h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.business-content p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.5;
}

.business-content a {
    text-decoration: none;
    color: #5b34f5;
    font-weight: 700;
    font-size: 13px;
}

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.prev {
    left: -8px;
}

.next {
    right: -8px;
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

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

.step {
    background: white;
    border-radius: 28px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.step-icon {
    width: 65px;
    height: 65px;
    background: #5b34f5;
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

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

.step p {
    color: #64748b;
    line-height: 1.6;
}

.step-number {
    display: none;
}

/* Templates Section */
.invoice-templates {
    padding: 70px 0;
    background: #fff;
}

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

.template-card {
    background: #f8fbff;
    border-radius: 24px;
    padding: 18px;
    border: 1px solid #e6eef7;
    transition: 0.2s;
}

.template-card:hover {
    transform: translateY(-4px);
}

.preview {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 18px;
    border: 1px solid #e6eef7;
}

.mini-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.line {
    height: 5px;
    background: #e6eaf2;
    border-radius: 6px;
    margin: 5px 0;
}

.line.short {
    width: 70%;
}

.preview-total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
}

.blue .mini-box {
    background: linear-gradient(45deg, #2b6fff, #5b3df5);
}

.red .mini-box {
    background: linear-gradient(45deg, #ff6a00, #ff0033);
}

.purple .mini-box {
    background: linear-gradient(45deg, #8a2be2, #b84dff);
}

.green .mini-box {
    background: linear-gradient(45deg, #00c853, #00e676);
}

.template-card h3 {
    font-size: 17px;
    margin: 10px 0 5px;
}

.template-card p {
    font-size: 12px;
    color: #666;
}

.view-all-link {
    text-align: center;
    margin-top: 35px;
    display: block;
    color: #5b34f5;
    font-weight: 700;
    text-decoration: none;
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
}

.faq-question span {
    font-size: 22px;
    color: #5b34f5;
    transition: 0.2s;
}

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

.faq-item.active .faq-answer {
    max-height: 120px;
    padding-bottom: 20px;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #5B34F5 0%, #8B5CF6 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 40px;
}

.final-cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.cta-guarantee {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: #5B34F5;
    font-size: 18px;
    padding: 15px 35px;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    color: #eeeeee !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}



/* Footer */
.footer {
    padding: 55px 0 30px;
    background: #f5f6fa;
    border-top: 1px solid #e5e7eb;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}

.footer-logo p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-logo a {
    text-decoration: none;
    color: #5b34f5;
    font-weight: 700;
    font-size: 13px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: #475569;
    font-size: 12px;
    margin-bottom: 12px;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #5b34f5;
}

.footer-cta {
    background: linear-gradient(135deg, #4f46e5, #c026d3);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    margin-bottom: 30px;
}

.footer-cta h2 {
    color: white;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-cta button {
    background: white;
    color: #5b34f5;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 800;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #dce3eb;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 12px;
}

.footer-bottom a {
    color: #5b34f5;
    text-decoration: none;
}

.center-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.large-btn {
    padding: 15px 35px;
    font-size: 16px;
}

section {
    padding: 40px 0;
}

@media (max-width: 992px) {

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

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

    .savings-header h2 {
        font-size: 38px;
    }

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

@media (max-width: 768px) {

    .feature-grid,
    .pricing-grid,
    .template-cards,
    .steps {
        grid-template-columns: 1fr;
    }

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

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

    .bar-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bar-label {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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