/* ==========================================================================
       CSS VARIABLES & THEME ENGINE (Vercel / Stripe / Linear Dark Design System)
       ========================================================================== */
:root {
    --bg-primary: #060911;
    --bg-secondary: #0d1322;
    --bg-tertiary: #131b2e;
    --bg-glass: rgba(13, 19, 34, 0.75);
    --bg-glass-card: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    --border-light: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.6);

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-subtle: #6b7280;

    --accent-primary: #6366f1;
    --accent-hover: #4f46e5;
    --accent-secondary: #06b6d4;
    --accent-success: #10b981;
    --accent-glow: rgba(99, 102, 241, 0.25);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Core Setup & Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: dark;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus Outline */
:focus-visible {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 4px;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

p {
    color: var(--text-muted);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #06b6d4 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Reusable Button Engine */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: #ffffff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

.btn-secondary-glass {
    background: var(--bg-glass-card);
    border-color: var(--border-light);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary-glass:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Card System */
.card-glass {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-glass:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

/* Animation Scroll Reveal Defaults */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-icon {
    animation: floating 4s ease-in-out infinite;
}
.text-align {
    text-align: justify;
}

/* ==========================================================================
   THEME TOGGLE ENGINE (LIGHT & DARK MODE VARIABLES)
   ========================================================================== */

/* Light Mode Overrides */
[data-theme="light"],
html.light {
    color-scheme: light;
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-card: rgba(255, 255, 255, 0.75);
    --bg-glass-hover: rgba(241, 245, 249, 0.9);

    --border-light: rgba(15, 23, 42, 0.1);
    --border-focus: rgba(99, 102, 241, 0.6);

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-subtle: #64748b;

    --accent-primary: #4f46e5;
    --accent-hover: #4338ca;
    --accent-secondary: #0891b2;
    --accent-success: #059669;
    --accent-glow: rgba(79, 70, 229, 0.15);
}



[data-theme="light"],
html.light .nav-brand {
    color: var(--text-main);
}
[data-theme="light"],
html.light .nav-brand:hover {
    color: var(--accent-hover);
}

[data-theme="light"],
html.light .back-to-top {
    background-color: #000000;
}

[data-theme="light"],
html.light .floating-tech-badge span{
    color: white !important;
}

[data-theme="light"],
html.light .btn-secondary-glass:hover {
    color: black !important;
    border: 1px solid black;
}


/* ==========================================================================
   REMOVE ALL OUTER BLACK LINES & BORDERS
   ========================================================================== */

/* 1. संपूर्ण पेज, हेडर आणि फुटरभोवती असणाऱ्या बाहेरील काळ्या लाईन्स काढण्यासाठी */
html, 
body, 
main, 
#main-content, 
.site-header, 
.site-footer {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* 2. Iframe किंवा कंटेनरची डिफॉल्ट बॉर्डर काढण्यासाठी */
iframe {
    border: 0 !important;
    outline: none !important;
}

/* 3. Light Mode मधील सेपरेटर लाईन्स अतिशय सॉफ्ट करण्यासाठी */
[data-theme="light"],
html.light {
    --border-light: rgba(0, 0, 0, 0.06);
}

.site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass-card);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    padding: 0;
}

.theme-toggle-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* Icon visibility state */
.theme-toggle-btn .bi-sun-fill {
    display: none;
    color: #f59e0b;
}

.theme-toggle-btn .bi-moon-stars-fill {
    display: inline-block;
    color: #a5b4fc;
}

[data-theme="light"] .theme-toggle-btn .bi-sun-fill {
    display: inline-block;
}

[data-theme="light"] .theme-toggle-btn .bi-moon-stars-fill {
    display: none;
}

/* ==========================================================================
       1. HEADER & NAVBAR (UNIFIED ARCHITECTURE)
       ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.875rem 0;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-brand:hover {
    color: var(--accent-hover);
}

.nav-brand span {
    color: var(--accent-primary);
}

.nav-link-custom {
    position: relative;
    display: inline-block !important;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    display: inline-block;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 60%;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: none;
}

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

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-light);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        display: none;
    }

    .nav-menu.show {
        display: flex;
    }
}

/* ==========================================================================
       2. HERO SECTION
       ========================================================================== */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-subtle);
    margin-bottom: 1.5rem;
}

.breadcrumb-nav a:hover {
    color: var(--accent-primary);
}

.hero-card {
    position: relative;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(16px);
}

.floating-tech-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    background: rgba(13, 19, 34, 0.85);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-badge-1 {
    top: -15px;
    left: 10%;
}

.floating-badge-2 {
    bottom: -15px;
    right: 10%;
}

/* Scroll Indicator */
.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--text-subtle);
    font-size: 0.85rem;
}

.scroll-indicator i {
    animation: pulseDown 1.8s infinite;
}

@keyframes pulseDown {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* ==========================================================================
       3. SERVICES OVERVIEW & CARDS
       ========================================================================== */
.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.service-benefits-list {
    list-style: none;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.service-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.service-benefits-list li i {
    color: var(--accent-success);
}

/* ==========================================================================
       4. WHY CHOOSE ME
       ========================================================================== */
.why-icon {
    font-size: 1.75rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

/* ==========================================================================
       5. DEVELOPMENT WORKFLOW TIMELINE
       ========================================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

/* ==========================================================================
       6. TECHNOLOGIES USED
       ========================================================================== */
.tech-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.tech-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: var(--bg-glass-hover);
    transform: translateY(-3px);
}

.tech-icon-wrapper {
    font-size: 2rem;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon-wrapper {
    transform: rotate(8deg) scale(1.1);
    color: var(--accent-secondary);
}

/* ==========================================================================
       7. FAQ ACCORDION
       ========================================================================== */
.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-panel {
    padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ==========================================================================
       8. CALL TO ACTION
       ========================================================================== */
.cta-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-lg);
    padding: 4.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
       9. FOOTER (UNIFIED ARCHITECTURE)
       ========================================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 2rem 0;
    margin-top: 6rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.social-link-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link-btn:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top:hover {
    transform: rotate(360deg) scale(1.1);
}

/* Print Styles */
@media print {

    .site-header,
    .back-to-top,
    .cta-card {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .card-glass {
        border: 1px solid #ccc !important;
    }
}