@charset "utf-8";

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --accent: #10b981;
    --whatsapp: #25d366;
    --warning: #f59e0b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--secondary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Premium Animated Links */
.premium-link {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

    .premium-link:hover {
        color: #3b82f6;
        background: rgba(59, 130, 246, 0.04);
    }

/* Modern CTA Button */
.premium-cta {
    background: #0f172a;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
    margin-left: 8px;
}

    .premium-cta:hover {
        transform: scale(1.05);
        background: #1e293b;
        box-shadow: 0 15px 25px -5px rgba(15, 23, 42, 0.4);
    }

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-results {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Bouncing Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}
/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    animation: bounce 2.5s infinite;
    transition: 0.3s;
}

    /* --- Green Online Dot --- */
    .whatsapp-float::after {
        content: '';
        position: absolute;
        top: 5px;
        right: 5px;
        width: 12px;
        height: 12px;
        background-color: #00ff00; /* Bright Green */
        border: 2px solid white;
        border-radius: 50%;
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
        animation: pulse-green 2s infinite;
    }

/* Blinking Effect for Dot */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    animation: none;
}

/* Hero */
.hero {
    padding: 100px 5%;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    color: var(--white);
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1.25rem;
        max-width: 800px;
        margin: 0 auto 35px;
        opacity: 0.9;
    }

/* General Section Styling */
section {
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--secondary);
    }

    .section-header p {
        color: var(--gray);
        font-size: 1.1rem;
    }

/* MODULES SECTION */
.module-section {
    padding: 80px 10%;
    background: var(--white);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.module-card {
    padding: 30px;
    border: 1px solid #ebecf0;
    border-radius: 12px;
    transition: 0.3s;
    border-left: 5px solid var(--primary);
}

    .module-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .module-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .module-card h3 {
        margin-bottom: 12px;
        color: #091e42;
    }

    .module-card ul {
        list-style: none;
        color: var(--text-light);
        font-size: 0.95rem;
    }

    .module-card li {
        margin-bottom: 6px;
    }

        .module-card li::before {
            content: "•";
            color: var(--primary);
            font-weight: bold;
            display: inline-block;
            width: 1em;
        }

/* How It Works Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: var(--white);
        border: 4px solid var(--primary);
        top: 25px;
        border-radius: 50%;
        z-index: 1;
    }

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

    .right::after {
        left: -10px;
    }

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-content {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: #f1f5f9;
    color: var(--secondary);
}

.yes {
    color: var(--accent);
    font-weight: bold;
}

.no {
    color: #ef4444;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.price-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

    .price-card.featured {
        border: 2px solid var(--primary);
        transform: scale(1.05);
        z-index: 10;
    }

.price-val {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--secondary);
}

    .price-val span {
        font-size: 0.9rem;
        color: var(--gray);
    }


.price-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
}

    .price-card:hover {
        transform: translateY(-10px);
        border-color: #2563eb;
        box-shadow: 0 20px 25px rgba(0,0,0,0.1);
    }

        .price-card:hover .btn-price-cta {
            background: #2563eb !important;
            color: #fff !important;
        }

/* Setup Fee Colors */
.setup-fee {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.fee-cost {
    color: #ef4444;
}
/* Red for expense */
.fee-free {
    color: #10b981;
}
/* Green for Free benefit */

.btn-price-cta {
    display: block;
    padding: 12px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.growth-badge {
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    display: none;
}

.price-card:hover .growth-badge {
    display: block;
}

.price-features {
    list-style: none;
    padding: 0;
    text-align: left;
    font-size: 14px;
    color: #475569;
    line-height: 2;
    margin: 20px 0;
}

/* Demo Form Section */
.demo-box {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.demo-info {
    background: var(--primary);
    color: white;
    padding: 60px;
}

.demo-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group input, .form-group select, .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 6px;
    }

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-submit:hover {
        background: var(--primary-dark);
    }

footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 60px 5% 20px;
    text-align: center;
}

.error-text {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}



/* --- 1. Responsive Header Fix --- */
@media (max-width: 768px) {
    /* --- Header & Nav Update --- */
    header {
        padding: 8px 0 !important; /* Height kam karne ke liye */
    }

        header > div {
            flex-direction: column !important;
            align-items: center !important;
            gap: 8px !important;
        }

    nav {
        display: flex !important;
        flex-wrap: nowrap !important; /* Items ko tootne se rokega */
        overflow-x: auto !important; /* Horizontal scroll enable */
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 5px 15px !important;
        gap: 15px !important;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }

        nav::-webkit-scrollbar {
            display: none; /* Hide scrollbar for Chrome/Safari */
        }

        nav a {
            margin: 0 !important;
            font-size: 13px !important;
            white-space: nowrap !important; /* Text ek line mein rahega */
            flex-shrink: 0 !important; /* Items ko sikadne se rokega */
        }

        /* Vertical line divider ko mobile pe hide kiya */
        nav div[style*="width: 1px"] {
            display: none !important;
        }

    .desktop-only {
        display: none;
    }

    #menu-icon {
        display: block !important;
    }

    #nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        gap: 20px !important;
        border-top: 1px solid #f1f5f9;
    }

        #nav-menu.active {
            display: flex !important;
            animation: fadeIn 0.4s ease;
        }

    .premium-link {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .premium-cta {
        width: 80%;
        text-align: center;
        margin: 10px 0;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* --- Baaki Timeline & WhatsApp (Aapka original code) --- */
    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        text-align: left !important;
        padding-left: 70px;
    }

    .right {
        left: 0;
    }

    .timeline-item::after {
        left: 21px;
        right: auto;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 14px;
    }

        .whatsapp-float span {
            display: none;
        }

        .whatsapp-float svg {
            margin: 0;
            width: 24px;
            height: 24px;
        }
}
