/* Revamp CSS V4 - Apple Style Refinements */

:root {
    --revamp-primary: #00987f;
    --revamp-secondary: #0071bc;
    --revamp-dark: #0f172a;
    --revamp-text: #334155;
    --revamp-light-bg: #f8fafc;
    --revamp-white: #ffffff;
    --revamp-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --revamp-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --revamp-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --revamp-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Force Reset & Base Settings */
body {
    background-color: var(--revamp-white) !important;
    color: var(--revamp-text) !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
}

/* Navbar Animation - Floating Pill to Sticky Bar */
.header-section {
    position: fixed !important;
    top: 24px !important;
    left: 5% !important;
    width: 90% !important;
    border-radius: 999px !important;
    /* Pill Shape */
    background: var(--revamp-white) !important;
    box-shadow: var(--revamp-shadow-lg) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 16px 32px !important;
    border-bottom: none !important;
    z-index: 1000 !important;
}

.header-section.scrolled-nav {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    /* Square Shape */
    padding: 12px 32px !important;
    /* Smaller Height */
    box-shadow: var(--revamp-shadow-xl) !important;
}

/* No Glass Effect - Solid Background */
.header-section.home-header {
    background: var(--revamp-white) !important;
    backdrop-filter: none !important;
}

/* Hero V2 - Enterprise SaaS Centered Layout */

/* REMOVED BLUR ANIMATION - REPLACED WITH CRISP FADE UP */
@keyframes fadeInUpCrisp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatInfinite {

    0%,
    100% {
        transform: translateY(0px) perspective(1000px) rotateX(2deg);
    }

    50% {
        transform: translateY(-15px) perspective(1000px) rotateX(2deg);
    }
}

@keyframes pulseGlowSoft {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.home-banner-section {
    padding-top: 160px !important;
    padding-bottom: 100px !important;
    background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #ffffff 100%) !important;
    overflow: visible !important;
    /* Allow glow to spill */
    position: relative !important;
    text-align: center !important;
}

/* Background Mesh */
.home-banner-section::before {
    content: '' !important;
    position: absolute !important;
    top: -20% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 120% !important;
    height: 800px !important;
    background: radial-gradient(closest-side, rgba(0, 152, 127, 0.05), transparent) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.hero-content-wrapper {
    position: relative !important;
    z-index: 2 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.hero-title {
    font-size: 4rem !important;
    /* Slightly smaller for centered balance */
    line-height: 1.15 !important;
    font-weight: 800 !important;
    color: var(--revamp-dark) !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.02em !important;
    animation: fadeInUpCrisp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.hero-title span,
.hero-title .text-primary {
    background: linear-gradient(135deg, var(--revamp-primary) 0%, var(--revamp-secondary) 100%) !important;
    background-clip: text !important;
    /* Standard property */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

.hero-desc {
    font-size: 1.25rem !important;
    color: #475569 !important;
    margin-bottom: 40px !important;
    line-height: 1.6 !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    animation: fadeInUpCrisp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both !important;
}

.hero-btn-group {
    animation: fadeInUpCrisp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both !important;
}

.hero-cta {
    padding: 16px 40px !important;
    font-size: 1.1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 9999px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 152, 127, 0.4) !important;
}

/* 3D Dashboard Image Container */
.hero-image-wrapper {
    position: relative !important;
    margin-top: 60px !important;
    perspective: 1000px !important;
    /* Enable 3D space */
    z-index: 2 !important;
    /* Removed opacity: 0 !important to prevent permanent hiding if animation fails */
    animation: fadeInUpCrisp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards !important;
    /* Changed to 'backwards' to apply 0% state (opacity 0) before animation starts, then 'forwards' logic is handled by standard behavior or we add 'both' */
    animation-fill-mode: both !important;
}

.hero-image {
    width: 100% !important;
    max-width: 1100px !important;
    border-radius: 20px !important;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.03) !important;
    /* Clean Border */
    transform: rotateX(2deg) !important;
    /* Slight tilt */
    transition: transform 0.5s ease-out !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Continuous float for the image */
.hero-image-wrapper img {
    animation: floatInfinite 6s ease-in-out infinite !important;
}

/* Glow behind the dashboard */
.hero-blob {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80% !important;
    height: 60% !important;
    background: radial-gradient(circle, rgba(0, 113, 188, 0.2) 0%, transparent 70%) !important;
    filter: blur(60px) !important;
    z-index: -1 !important;
    animation: pulseGlowSoft 5s infinite alternate !important;
}

/* Button overrides */
.custom-btn {
    border-radius: 9999px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.custom-primary-btn {
    background-color: var(--revamp-primary) !important;
    color: white !important;
}

/* V7 Features - Holographic Glass Design */
.feature-area .single-feature {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 24px !important;
    padding: 40px 32px !important;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px -1px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Holographic / Iridescent Hover Effect */
.feature-area .single-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 40%,
            rgba(255, 255, 255, 0) 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
    z-index: 1;
}

.feature-area .single-feature:hover::before {
    transform: translateX(100%);
}

.feature-area .single-feature:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.05),
        0 10px 10px rgba(0, 0, 0, 0.02),
        inset 0 0 20px rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* Gradient Icon Box */
.feature-area .single-feature .icon {
    width: 64px !important;
    height: 64px !important;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.feature-area .single-feature:hover .icon {
    transform: scale(1.1) rotate(-3deg) !important;
    background: linear-gradient(135deg, var(--revamp-white) 0%, #f0f9ff 100%) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08) !important;
}

/* Feature Typography */
.feature-area h3 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: var(--revamp-dark) !important;
    letter-spacing: -0.01em !important;
}

.feature-area p {
    font-size: 0.95rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* =========================================
   LOGIN PAGE REVAMP (V10)
   ========================================= */

/* Hide Old Illustrations & Logos */
.illistration-img1,
.illistration-img2,
.footer-logo {
    display: none !important;
}

/* Global Background for Auth Page */
body.login-body-wrapper,
.footer.position-relative {
    background: radial-gradient(circle at 10% 20%, rgb(249, 250, 251) 0%, rgb(255, 255, 255) 90%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Mesh Background Effect (Ported from Hero) */
.footer.position-relative::before {
    content: '' !important;
    position: absolute !important;
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(0, 152, 127, 0.08) 0%, rgba(255, 255, 255, 0) 70%) !important;
    top: -100px !important;
    right: -100px !important;
    border-radius: 50% !important;
    z-index: 0 !important;
    animation: pulseGlow 8s infinite ease-in-out !important;
}

.footer.position-relative::after {
    content: '' !important;
    position: absolute !important;
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(0, 113, 188, 0.08) 0%, rgba(255, 255, 255, 0) 70%) !important;
    bottom: -50px !important;
    left: -50px !important;
    border-radius: 50% !important;
    z-index: 0 !important;
    animation: pulseGlow 10s infinite ease-in-out reverse !important;
}

/* Glassmorphic Login Card */
.mybazar-login-section {
    width: 100% !important;
    max-width: 480px !important;
    position: relative !important;
    z-index: 10 !important;
}

.login-wrapper {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 32px !important;
    padding: 3rem !important;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04) !important;
    animation: cinematicBlurIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

/* Typography */
.login-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--revamp-dark) !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.02em !important;
}

.login-para {
    font-size: 1rem !important;
    color: var(--revamp-text) !important;
    font-weight: 500 !important;
    margin-bottom: 2rem !important;
}

/* Inputs */
.login-wrapper .form-control {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 52px !important;
    padding-left: 16px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
}

.login-wrapper .form-control:focus {
    border-color: var(--revamp-primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 152, 127, 0.1) !important;
}

.input-group {
    background: transparent !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
}

/* Hide old icons span wrapper style if needed, but keeping simple for now */
.input-group span:first-child {
    display: none !important;
    /* Hide old left icons to clean look */
}

/* Submit Button */
.login-btn {
    background: var(--revamp-primary) !important;
    color: white !important;
    border-radius: 16px !important;
    /* Pill shape */
    height: 56px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-top: 1rem !important;
    border: none !important;
    width: 100% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.login-btn:hover {
    transform: translateY(-2px) !important;
    background: #00816b !important;
    /* Slightly darker teal */
    box-shadow: 0 10px 20px -5px rgba(0, 152, 127, 0.4) !important;
}

/* Hide password toggle styling fix (optional, assuming functionality remains) */
.hide-pass {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 16px !important;
    z-index: 5 !important;
}

/* Minimalist Section Titles */
.section-title {
    text-align: center !important;
    margin-bottom: 5rem !important;
}

.langing-section-title {
    font-size: 3rem !important;
    letter-spacing: -0.02em !important;
}

.title-span-color {
    color: var(--revamp-primary) !important;
}

.title-span-color::after {
    display: none !important;
    /* No underline in Apple style */
}

/* Testimonials - Large Clean Cards */
.customer-section {
    padding: 120px 0 !important;
    background-color: var(--revamp-white) !important;
    /* Clean white */
}

.customer-card {
    background: #f8fafc !important;
    /* Light gray widget background */
    padding: 60px !important;
    border-radius: 40px !important;
    /* Large rounded corners */
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.customer-card p {
    font-size: 1.5rem !important;
    /* Large testimonial text */
    font-weight: 500 !important;
    color: var(--revamp-dark) !important;
    line-height: 1.4 !important;
    margin-bottom: 40px !important;
}

.customer-card img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    margin: 0 auto 16px auto !important;
    border: none !important;
    box-shadow: none !important;
}

.customer-card h5 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--revamp-dark) !important;
    margin-bottom: 4px !important;
}

.customer-card small {
    font-size: 1rem !important;
    color: var(--revamp-text) !important;
    opacity: 0.7 !important;
}

.customer-star {
    margin-top: 16px !important;
    color: #f59e0b !important;
    /* Amber-500 */
    font-size: 1.2rem !important;
}

/* Footer - Pitch Black */
.footer-section {
    background-color: #000000 !important;
    color: #94a3b8 !important;
    padding-top: 80px !important;
}

.footer-section h4 {
    color: white !important;
}

/* Utility to hide "old" decorative elements */
.element1,
.element2,
.element3,
.footer-shape1,
.footer-shape2,
.move-image {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .home-banner-section h1 {
        font-size: 2.5rem !important;
    }

    .langing-section-title {
        font-size: 2rem !important;
    }

    .custom-btn {
        width: 100% !important;
        padding: 16px !important;
    }
}