/* =========================================
   1. MODERN VARIABLES & RESET
   ========================================= */
:root {
    --primary: #10B981;       /* Tech Emerald Green */
    --primary-dark: #059669;
    --primary-light: #D1FAE5;
    --secondary: #0F172A;     /* Dark Navy */
    --text-main: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font); scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-main); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }

/* =========================================
   2. UI ELEMENTS (Buttons & Badges)
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px; 
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6); }

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); color: var(--primary); }

.badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

/* =========================================
   3. NAVBAR
   ========================================= */
.navbar { padding: 20px 0; position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #E2E8F0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 26px; font-weight: 800; color: var(--secondary); letter-spacing: -1px; display: flex; align-items: center; gap: 5px; }
.logo i { color: var(--primary); }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { color: var(--text-main); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }

/* Mobile Buttons hidden on desktop */
.mobile-buttons { display: none; }

/* =========================================
   4. HOMEPAGE HERO
   ========================================= */
.home-hero {
    padding: 120px 0 80px 0;
    text-align: center;
    background: radial-gradient(circle at top, #ECFDF5 0%, #ffffff 70%);
}
.home-hero h1 {
    font-size: 60px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
    letter-spacing: -2px;
}
.home-hero h1 span {
    background: linear-gradient(to right, #10B981, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.home-hero p { font-size: 20px; color: var(--text-light); max-width: 700px; margin: 0 auto 40px auto; }
.hero-btns { display: flex; gap: 20px; justify-content: center; margin-bottom: 60px; }

.hero-dashboard-preview {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}
.hero-dashboard-preview img { width: 100%; transition: transform 0.5s; }
.hero-dashboard-preview:hover img { transform: scale(1.02); }

/* =========================================
   5. SECTIONS
   ========================================= */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 40px; font-weight: 800; margin-bottom: 15px; color: var(--secondary); letter-spacing: -1px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    transition: 0.3s;
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-5px); }
.icon-box {
    width: 60px; height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}
.feature-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--secondary); }

.split-section { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.split-section:nth-child(even) { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-image { flex: 1; }
.split-image img { border-radius: 20px; box-shadow: var(--shadow-card); }
.split-text h3 { font-size: 32px; margin-bottom: 20px; font-weight: 700; color: var(--secondary); }

/* =========================================
   6. PRODUCT PAGE SPECIFIC (UPDATED FOR LARGER IMAGES)
   ========================================= */
/* --- Hero Section (Cleaned) --- */
.product-hero {
    /* Image path check kr lena */
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('../assets/images/privacy.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0 100px 0; /* Standard padding */
    position: relative;
}

.product-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-hero p {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Pricing Section (Fixed Layout) --- */
.pricing-section {
    padding: 80px 0;
    background: #f8fafc; /* Light background for separation */
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch; /* Cards barabar height ke hon */
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.2s;
    position: relative;
}

/* Highlight Card (Yearly) */
.pricing-card.highlight {
    border: 2px solid #10B981;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.02); /* Slight pop, safe scale */
    z-index: 2;
}

.pricing-amount {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin: 15px 0 5px 0;
}

.pricing-features {
    text-align: left;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    margin-bottom: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Steps Section (Stable) --- */
.step-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-card:nth-of-type(even) {
    flex-direction: row-reverse;
}

.step-text-wrapper {
    flex: 1;
}

.step-number {
    font-size: 50px;
    font-weight: 900;
    color: #e2e8f0; /* Subtle number background */
    line-height: 1;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.step-content p {
    color: #64748B;
    line-height: 1.6;
}

.step-image-wrapper {
    flex: 1;
    text-align: center;
}

.step-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .step-card, .step-card:nth-of-type(even) {
        flex-direction: column;
        text-align: center;
    }
    .pricing-card.highlight {
        transform: none;
    }
}
/* =========================================
   7. MEGA MENU (Dropdown)
   ========================================= */
.dropdown-trigger { position: relative; height: 100%; display: flex; align-items: center; }
.dropdown-trigger > a i { font-size: 12px; margin-left: 5px; transition: 0.3s; }

.mega-menu {
    position: absolute;
    top: 60px;
    left: -20px; 
    width: 340px;
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    border-top: 4px solid var(--primary);
    z-index: 1100;
}

.dropdown-trigger:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-trigger:hover > a i { transform: rotate(180deg); }

.mega-item { display: flex; align-items: center; gap: 15px; padding: 12px; border-radius: 8px; transition: 0.2s; text-decoration: none; }
.mega-item:hover { background-color: #F1F5F9; }
.mega-icon { width: 45px; height: 45px; min-width: 45px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: white; font-size: 22px; }
.green-bg { background: #10B981; } 
.purple-bg { background: #8B5CF6; }
.mega-content { display: flex; flex-direction: column; justify-content: center; }
.mega-content strong { color: var(--secondary); font-size: 15px; font-weight: 700; display: block; line-height: 1.2; margin-bottom: 2px; }
.mega-content span { color: var(--text-light); font-size: 13px; display: block; line-height: 1.2; }

/* =========================================
   8. FOOTER
   ========================================= */
.footer-modern {
    background-color: var(--secondary);
    color: #94A3B8;
    padding-top: 80px;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 60px; }
.footer-widget h4 { color: white; font-size: 18px; font-weight: 700; margin-bottom: 25px; }
.footer-logo { color: white; font-size: 24px; font-weight: 800; display: inline-block; margin-bottom: 20px; letter-spacing: -1px; }
.footer-logo i { color: var(--primary); }
.footer-widget ul li { margin-bottom: 12px; }
.footer-widget ul li a { color: #94A3B8; transition: 0.3s; display: inline-block; }
.footer-widget ul li a:hover { color: var(--primary); transform: translateX(5px); }
.badge-mini { background: var(--primary); color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 5px; vertical-align: middle; }
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
.contact-box { display: flex; align-items: center; gap: 15px; background: rgba(37, 211, 102, 0.1); padding: 15px; border-radius: 12px; border: 1px solid rgba(37, 211, 102, 0.2); margin-top: 15px; color: white; }
.contact-box:hover { background: rgba(37, 211, 102, 0.2); }
.contact-box i { font-size: 24px; color: #25D366; }
.contact-box strong { display: block; font-size: 16px; color: white; }
.contact-box span { font-size: 12px; color: #94A3B8; }
.mail-box { margin-top: 15px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 25px 0; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }

/* =========================================
   9. COMPANY PAGE STYLES (Advanced 3D)
   ========================================= */
.company-hero { text-align: center; padding: 100px 0 150px 0; background: radial-gradient(circle at center, #ECFDF5 0%, #ffffff 70%); overflow: hidden; }
.gradient-text { background: linear-gradient(135deg, #10B981, #0F172A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; }
.hero-3d-visual { perspective: 1000px; margin-top: 50px; display: flex; justify-content: center; }
.floating-card { width: 80%; max-width: 800px; border-radius: 20px; overflow: hidden; transform: rotateX(10deg) scale(0.9); box-shadow: 0 30px 60px rgba(0,0,0,0.15); transition: all 0.5s ease; position: relative; border: 5px solid white; }
.floating-card:hover { transform: rotateX(0deg) scale(1); box-shadow: 0 40px 80px rgba(16, 185, 129, 0.2); }
.floating-card img { width: 100%; display: block; }
.stat-row { display: flex; gap: 40px; margin-top: 30px; }
.stat-box strong { font-size: 32px; color: var(--primary); display: block; font-weight: 800; }
.stat-box span { font-size: 14px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.bg-dark { background-color: var(--secondary); color: white; }
.white-text h2 { color: white; }
.white-text p { color: #94A3B8; }
.value-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 40px; border-radius: 16px; transition: 0.4s; cursor: pointer; }
.value-card:hover { background: var(--primary); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3); }
.value-card i { font-size: 40px; color: var(--primary); margin-bottom: 20px; transition: 0.3s; }
.value-card:hover i { color: white; }
.value-card h3 { font-size: 22px; margin-bottom: 10px; color: white; }
.value-card p { color: #94A3B8; transition: 0.3s; }
.value-card:hover p { color: rgba(255,255,255,0.9); }
.founder-quote { max-width: 800px; margin: 0 auto; background: white; padding: 60px; border-radius: 20px; box-shadow: var(--shadow-card); position: relative; }
.founder-quote i { font-size: 50px; color: var(--primary-light); position: absolute; top: 30px; left: 30px; }
.founder-quote h3 { font-size: 24px; font-style: italic; color: var(--secondary); line-height: 1.5; margin-bottom: 30px; position: relative; z-index: 10; }
.founder-info { display: flex; align-items: center; justify-content: center; gap: 15px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.founder-info strong { display: block; color: var(--secondary); }
.founder-info span { font-size: 13px; color: var(--text-light); }
.abstract-box { background: #E2E8F0; height: 400px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 80px; color: #CBD5E1; transform: rotate(3deg); transition: 0.3s; }
.abstract-box:hover { transform: rotate(0deg); }

/* =========================================
   10. MOBILE RESPONSIVE (HAMBURGER & SIDEBAR)
   ========================================= */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--secondary); }

/* Animation for Hamburger to X */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 992px) {
    /* Hide Desktop Buttons */
    .nav-btns { display: none; }
    
    /* Show Hamburger */
    .menu-toggle { display: block; z-index: 1002; }

    /* Sidebar Styling */
    .nav-links {
        position: fixed;
        top: 80px; /* Navbar height ke neechay */
        left: -100%; /* Hidden initially */
        width: 100%;
        height: calc(100vh - 80px); /* Full height minus header */
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        transition: 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    /* Active State (Slide In) */
    .nav-links.active { left: 0; }

    /* Links inside sidebar */
    .nav-links li { width: 100%; margin-bottom: 20px; }
    .nav-links a { font-size: 18px; display: block; width: 100%; padding: 10px 0; border-bottom: 1px solid #F1F5F9; }
    
    /* Mobile Buttons inside sidebar */
    .mobile-buttons { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; width: 100%; }
    .btn-mobile-login { text-align: center; color: var(--secondary); font-weight: 700; background: #F1F5F9; padding: 15px; border-radius: 8px; }
    .btn-mobile-signup { text-align: center; width: 100%; justify-content: center; }

    /* Fix Mega Menu on Mobile */
    .mega-menu { position: static; box-shadow: none; border: none; padding-left: 20px; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; background: #F8FAFC; margin-top: 10px; }
    .dropdown-trigger { flex-direction: column; align-items: flex-start; height: auto; }
    .dropdown-trigger:hover .mega-menu { display: block; }
    
    /* Adjust Homepage Elements */
    .home-hero h1 { font-size: 36px; }
    .grid-3, .split-section, .stat-row, .footer-grid { grid-template-columns: 1fr; flex-direction: column; }
    .hero-dashboard-preview { margin: 0 15px; }
    .pricing-card { width: 100%; }
    .pricing-card.highlight { transform: scale(1); }
    .footer-bottom { flex-direction: column; gap: 10px; }
    
    /* Step Card Mobile */
    .step-card { flex-direction: column; padding: 40px 30px; gap: 30px; text-align: center; }
    .step-card:nth-of-type(even) { flex-direction: column; }
    .step-number { margin: 0 auto 15px auto; }
}


/* =========================================
   FIXED CTA SECTION (Centered Card)
   ========================================= */
.cta-section {
    padding: 80px 0;
    background: white; /* Page ka background white */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ye wo Dark Box hai */
.cta-box {
    background: linear-gradient(135deg, var(--secondary) 0%, #020617 100%);
    width: 100%;
    max-width: 800px; /* Card ki choraai control karne ke liye */
    margin: 0 auto;   /* Center alignment */
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center; /* Text ko center kiya */
    color: white;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Styling for Text inside Card */
.cta-box h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.cta-box p {
    color: #94A3B8;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Button Styling Update */
.cta-box .btn-white {
    background: white;
    color: var(--secondary);
    border: none;
    padding: 14px 30px;
    font-weight: 700;
    border-radius: 50px;
    display: inline-block;
}
.cta-box .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}



/* =========================================
   11. CAREERS PAGE STYLES
   ========================================= */

.job-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-card {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateX(10px); /* Thora right slide karega hover par */
    box-shadow: var(--shadow-card);
}

.job-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.job-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.job-tag {
    font-size: 12px;
    font-weight: 600;
    background: #F1F5F9;
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 6px;
}

.job-tag.remote { background: #DCFCE7; color: #166534; } /* Green Light */
.job-tag.fulltime { background: #DBEAFE; color: #1E40AF; } /* Blue Light */

/* Mobile Responsive for Job Card */
@media (max-width: 768px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .job-action {
        width: 100%;
    }
    .job-action .btn-white {
        width: 100%;
        text-align: center;
        background: var(--secondary);
        color: white;
    }
}



/* =========================================
   12. API DOCUMENTATION STYLES
   ========================================= */

/* Hero */
.api-hero {
    background: var(--secondary); /* Dark Navy */
    color: white;
    padding: 100px 0 80px 0;
    text-align: center;
}
.api-hero h1 { font-size: 48px; margin: 20px 0; }
.api-hero p { color: #94A3B8; font-size: 18px; max-width: 600px; margin: 0 auto; }

/* Layout Grid */
.doc-container {
    display: flex;
    gap: 60px;
    padding: 60px 20px;
    position: relative;
}

/* Sidebar (Sticky) */
.doc-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    border-right: 1px solid #E2E8F0;
    padding-right: 20px;
}
.sidebar-group { margin-bottom: 30px; }
.sidebar-group h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #94A3B8;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 700;
}
.sidebar-group ul li { margin-bottom: 10px; }
.sidebar-group ul li a {
    color: var(--secondary);
    font-size: 15px;
    display: block;
    padding: 5px 0;
}
.sidebar-group ul li a:hover, .sidebar-group ul li a.active {
    color: var(--primary);
    font-weight: 600;
    padding-left: 5px; /* Slight slide effect */
}

/* Main Content */
.doc-content { flex: 1; max-width: 800px; }
.doc-section { margin-bottom: 80px; scroll-margin-top: 120px; /* Offset for sticky header */ }
.doc-section h2 { font-size: 32px; color: var(--secondary); margin-bottom: 20px; font-weight: 800; }
.doc-section p { color: var(--text-main); margin-bottom: 20px; line-height: 1.7; }

/* Info Box */
.info-box {
    background: #EFF6FF;
    border-left: 4px solid #3B82F6;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.info-box i { color: #3B82F6; font-size: 20px; margin-top: 3px; }

/* Code Blocks (Dark Theme) */
.code-block {
    background: #1E293B;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.code-header {
    background: #0F172A;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid #334155;
}
.code-block pre {
    padding: 20px;
    overflow-x: auto;
    color: #F8FAFC;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}
.copy-btn { background: none; border: none; color: #94A3B8; cursor: pointer; }
.copy-btn:hover { color: white; }

/* HTTP Methods Badge */
.method {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    color: white;
    vertical-align: middle;
    margin-right: 10px;
    font-family: 'Fira Code', monospace;
}
.method.get { background: #3B82F6; }
.method.post { background: #10B981; }

/* API Tables */
.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
.api-table th { text-align: left; padding: 15px; border-bottom: 2px solid #E2E8F0; color: var(--secondary); }
.api-table td { padding: 15px; border-bottom: 1px solid #E2E8F0; color: var(--text-light); }
.api-table code {
    background: #F1F5F9;
    color: #D946EF; /* Pink for parameters */
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
}

/* Mobile */
@media (max-width: 992px) {
    .doc-container { flex-direction: column; }
    .doc-sidebar { width: 100%; position: static; border-right: none; border-bottom: 1px solid #E2E8F0; margin-bottom: 40px; }
    .sidebar-group ul { display: flex; flex-wrap: wrap; gap: 15px; }
    .sidebar-group ul li a { background: #F1F5F9; padding: 5px 15px; border-radius: 20px; }
}



/* =========================================
   13. AUTH PAGES (Login / Register Split)
   ========================================= */
.auth-body {
    background: #F8FAFC;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    background: white;
    width: 100%;
    max-width: 1200px;
    height: 85vh; /* Thora sa gap upar neeche */
    display: flex;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-radius: 20px;
    overflow: hidden;
}

/* LEFT SIDE (Green Gradient) */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #064E3B 0%, #10B981 100%); /* Deep Green to Emerald */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Circles for decoration */
.auth-left::before {
    content: ''; position: absolute; bottom: -50px; right: -50px;
    width: 300px; height: 300px; background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.auth-left::after {
    content: ''; position: absolute; top: -50px; left: -50px;
    width: 200px; height: 200px; background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.auth-brand { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; z-index: 10; }
.auth-heading { z-index: 10; margin-top: auto; margin-bottom: auto; }
.auth-heading h1 { font-size: 48px; line-height: 1.1; margin-bottom: 20px; }
.auth-heading p { font-size: 18px; opacity: 0.9; line-height: 1.6; }
.auth-footer { z-index: 10; font-size: 12px; opacity: 0.6; }

/* RIGHT SIDE (Form) */
.auth-right {
    flex: 1;
    background: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.auth-form-header { margin-bottom: 40px; }
.auth-form-header h2 { font-size: 32px; color: var(--secondary); margin-bottom: 10px; font-weight: 800; }
.auth-form-header p { color: #94A3B8; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--secondary); margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-wrap i { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #94A3B8; }
.input-wrap input {
    width: 100%;
    padding: 14px 14px 14px 45px; /* Icon jagah */
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
    background: #F8FAFC;
}
.input-wrap input:focus { border-color: var(--primary); background: white; outline: none; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); }

.btn-auth {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-auth:hover { background: var(--primary-dark); transform: translateY(-2px); }

.auth-link { text-align: center; margin-top: 25px; font-size: 14px; color: #64748B; }
.auth-link a { color: var(--primary); font-weight: 700; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .auth-wrapper { flex-direction: column; height: auto; min-height: 100vh; border-radius: 0; }
    .auth-left { padding: 40px; min-height: 300px; }
    .auth-right { padding: 40px; }
    .auth-heading h1 { font-size: 32px; }
}



/* =========================================
   LEGAL PAGES STYLING (Advanced)
   ========================================= */
.legal-page-header {
    background: #0F172A;
    color: white;
    padding: 80px 0;
    text-align: center;
    background-image: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}
.legal-page-header h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.legal-page-header p { color: #94A3B8; font-size: 16px; }

.legal-container {
    max-width: 900px;
    margin: -40px auto 60px auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid #E2E8F0;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F1F5F9;
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.legal-content ul {
    background: #F8FAFC;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 20px;
}
.legal-content ul li {
    list-style: none;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #334155;
}
.legal-content ul li::before {
    content: "\f00c"; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10B981;
}

@media (max-width: 768px) {
    .legal-container { padding: 30px; margin-top: 0; border-radius: 0; }
}