@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Premium Enterprise Theme */
    --bg-main: #f8fafc; /* Crisp, cool light slate background */
    --bg-darker: #ffffff; /* Pure white background */
    --bg-card: #ffffff;
    
    --primary: #0284c7; /* Premium Enterprise Sky/Slate Blue */
    --primary-hover: #0369a1;
    --secondary: #64748b; /* Premium slate gray */
    
    --text-main: #0f172a; /* Deep slate almost black for better readability */
    --text-muted: #475569; /* Slate gray for readability */
    
    --border-color: #e2e8f0;
    --text-gradient: linear-gradient(135deg, #0284c7, #38bdf8);
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.2s ease-in-out;
    
    /* Shadows */
    --shadow-standard: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

section.bg-light {
    background-color: var(--bg-main);
}

section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
}

/* Components */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* Standard corporate slightly rounded edges */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn.full-width {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Card - Flat Standard Design */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-standard);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background-color: var(--bg-main);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #e9ecef;
    color: var(--text-main);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Flat Hero Mockup */
.mockup-card {
    height: 400px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-header i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mockup-body {
    padding-top: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-line {
    height: 16px;
    background: #e2e8f0;
    border-radius: 4px;
    width: 100%;
}
.skeleton-line.short { width: 60%; }

.chart-placeholder {
    flex: 1;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-standard);
}

.industry-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* GST Section (Corporate Banner) */
.gst-banner {
    background: var(--primary);
    border-radius: 8px;
    padding: 3rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.gst-content {
    flex: 1;
}

.gst-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gst-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.gst-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gst-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.gst-list li::before {
    content: '✓';
    color: white;
    font-weight: bold;
}

.gst-image {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Firm Banner (Shops & Godowns) */
.firm-banner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.firm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.firm-stat {
    padding: 1.5rem;
    background: var(--bg-main);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.firm-stat h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Features/Modules Summary Grid (Replaces Tabs on Home Page) */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.module-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 8px;
}

.module-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.module-card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.module-card ul li::before {
    content: '•';
    color: var(--primary);
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.report-category {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.report-category h3 {
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.report-category ul {
    list-style: none;
}

.report-category li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
}

.pricing-card.popular {
    border-color: var(--primary);
    border-width: 2px;
}

.popular-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: #212529;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer .logo, .footer p, .footer h4 {
    color: white;
}

.footer .text-muted {
    color: #adb5bd;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group a {
    display: block;
    color: #adb5bd;
    margin-bottom: 0.5rem;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 1.5rem;
    text-align: center;
    color: #adb5bd;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .contact-container, .footer-container {
        grid-template-columns: 1fr;
    }
    .firm-grid {
        grid-template-columns: 1fr;
    }
    .gst-banner {
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* Integrations Section */
.integration-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 3rem;
}
.integration-item {
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-standard);
    font-weight: bold;
    color: #475569;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: var(--primary);
}

/* ROI Calculator */
.roi-calculator {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.roi-input-group {
    margin-bottom: 2rem;
}
.roi-input-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.roi-slider {
    width: 100%;
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.roi-results {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
.roi-stat h4 {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.roi-stat div {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #475569;
    line-height: 1.6;
    margin-top: 0;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}
.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
