/* Sincra Custom Styles */
/* Add your custom CSS here */

/* Remove 'Made in Webflow' badge */
.w-webflow-badge {
    display: none !important;
}

/* Fix 'Big and Wide' site issue (horizontal overflow) */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Logo Ticker Animation */
.partner-ticker-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
    gap: 80px; /* Space between logos */
    align-items: center;
    padding-right: 80px; /* Equal spacing for loop */
}

.partner-ticker-track:hover {
    animation-play-state: paused;
}

.partner-logo-ticker {
    max-height: 40px !important;
    width: auto !important;
    transform: none !important;
    opacity: 1 !important;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Process Card Colors */
.process-card.card-green {
    background-color: #E8F5E9 !important; /* Soft Green */
    background-image: none !important;
}
.process-card.card-green .process-icon {
    filter: invert(48%) sepia(79%) saturate(446%) hue-rotate(86deg) brightness(97%) contrast(85%) !important;
}

.process-card.card-red {
    background-color: #FFEBEE !important; /* Soft Red */
    background-image: none !important;
}
.process-card.card-red .process-icon {
    filter: invert(27%) sepia(91%) saturate(7402%) hue-rotate(352deg) brightness(90%) contrast(104%) !important;
}

/* =========================================
   Aesthetic Typography Upgrades
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Premium Heading Styles */
.features-01 .h2.text-center {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.15 !important;
    /* Sleek gradient fill */
    background: linear-gradient(135deg, #1a0b38 0%, #4a21a5 50%, #7641f3 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    margin: 0 auto 24px auto !important;
    max-width: 850px;
    padding-bottom: 5px; /* Prevent gradient clipping */
}

/* Premium Subtitle Styles */
.features-01 .paragraph-01.text-center {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #475569 !important; /* Cool, modern Slate gray */
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    letter-spacing: 0.01em !important;
    max-width: 750px !important;
    margin: 0 auto !important;
    font-weight: 400 !important;
}



/* Premium Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 12px 0 !important;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 64px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 48px !important;
    }
}

@media (max-width: 479px) {
    .navbar-brand img {
        height: 40px !important;
    }
}

/* Footer & Other Refinements */
.footer-brand-logo {
    height: 45px !important;
    width: auto !important;
    margin-bottom: 20px;
}

.tag-text {
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

/* Smooth Gradient Buttons */
.button-01, .button-02 {
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.button-01:hover, .button-02:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Section Spacing Refinements */
.faq-01 {
    padding-top: 120px !important;
    padding-bottom: 150px !important; /* Increased bottom spacing */
    position: relative;
    z-index: 1;
}

.cta {
    margin-top: 80px !important; /* Added margin for extra gap */
    padding-top: 150px !important; /* Increased top spacing */
    padding-bottom: 150px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.03); 
    position: relative;
    z-index: 2;
}

/* =========================================
   Statistics Section Responsiveness
   ========================================= */
.testimonials-statistics-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px !important;
    padding: 40px 0 !important;
}

.testimonials-statistics-list {
    flex: 1 !important;
    min-width: 200px !important;
    text-align: center !important;
    padding: 20px !important;
    transition: transform 0.3s ease !important;
}

@media (max-width: 991px) {
    .testimonials-statistics-list {
        min-width: 45% !important;
    }
}

@media (max-width: 479px) {
    .testimonials-statistics-list {
        min-width: 100% !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .testimonials-statistics-list:last-child {
        border-bottom: none;
    }
}

.benefit-main-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}

@media (max-width: 768px) {
    .benefit-main-wrap {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* =========================================
   Marquee / Integration Section Fixes
========================================= */

/* Each marquee icon item - removed white container */
.marquee-item.large {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 40px !important; /* Spacing between raw icons */
    overflow: visible !important;
}

/* Marquee logo icons - naked and slightly larger */
.marquee-item.large .marquee-logo {
    width: auto !important;
    height: 48px !important; /* Slightly larger height */
    max-height: 48px !important;
    max-width: none !important;
    object-fit: contain !important;
    opacity: 1 !important; /* No purple filter, raw SVGs */
}

.marquee-item.large .marquee-logo.large {
    height: 54px !important;
    max-height: 54px !important;
}

/* Center logo container - removed from view */
.marquee-main-logo-wrap {
    display: none !important;
}

/* The overall wrapper is the positioning parent */
.integration-marquee-wrap {
    position: relative !important;
}

/* =========================================
   Navbar Fixes (Transparent & Floating)
========================================= */
.navbar,
.navbar-container,
.w-nav {
    background-color: transparent !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

#Navbar {
    position: absolute !important;
    top: 20px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background-color: transparent !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Nav link font size */
.nav-link, .w-nav-link {
    font-size: 1.05rem !important;
}

/* Hide cart button */
.nav-cart-wrap {
    display: none !important;
}

/* =========================================
   Hero Section Extension (Fix for missing dashboard)
========================================= */
.hero-v1 {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 140px !important; /* Extra room for the navbar */
    padding-bottom: 140px !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-v1 .container {
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Premium Hero Heading */
.hero-v1 .h1 {
    font-size: 4.5rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 32px !important;
    background: linear-gradient(135deg, #1a0b38 0%, #4a21a5 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

@media (max-width: 991px) {
    .hero-v1 .h1 { font-size: 3.5rem !important; }
}
@media (max-width: 479px) {
    .hero-v1 .h1 { font-size: 2.8rem !important; }
}

/* Ensure background textures and animations cover the full height */
.hero-v1-bubble, 
.lottie-wrap {
    height: 110% !important; /* Slight over-extension to prevent gaps */
    min-height: 110vh !important;
    position: absolute !important;
    top: -5% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.lottie-wrap svg {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    opacity: 0.8 !important; /* Soften the lines */
}

/* Add a subtle glow behind the text cluster */
.hero-v1-header::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 65, 243, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.hero-v1-header {
    margin-top: -100px !important;
}

.hero-v1 .section-badge {
    transform: scale(0.85) !important;
}

/* =========================================
   Privacy Policy Modal Styles
   ========================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 7, 34, 0.4); /* Branded dark tint */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header img {
    height: 48px;
    width: auto;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
    font-size: 20px;
    border: none;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    color: #475569;
    line-height: 1.6;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f8fafc;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.modal-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.modal-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7641f3; /* Branded Purple */
    margin: 24px 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body h3 span {
    font-size: 0.9rem;
    opacity: 0.6;
}

.modal-body p {
    margin-bottom: 16px;
    font-size: 1rem;
}

.modal-body ul {
    margin: 0 0 24px 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Reference Box Style */
.short-version-box {
    background: #f5f3ff; /* Very soft purple */
    border-left: 4px solid #7641f3;
    padding: 24px;
    border-radius: 12px;
    margin: 32px 0;
}

.short-version-box p {
    margin-bottom: 0;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.05rem;
}

.short-version-box span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7641f3;
}

/* =========================================
   Modal Responsive Breakpoints
   ========================================= */

/* Tablet */
@media (max-width: 768px) {
    .modal-card {
        width: 95%;
        max-height: 90vh;
        border-radius: 18px;
    }

    .modal-header {
        padding: 18px 20px;
    }

    .modal-header img {
        height: 38px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-meta {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .modal-body h3 {
        font-size: 1rem;
        margin: 18px 0 10px 0;
    }

    .modal-body p {
        font-size: 0.92rem;
    }

    .short-version-box {
        padding: 18px;
        margin: 20px 0;
    }

    .short-version-box p {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal-card {
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        margin: 0;
        border-bottom: none;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-header img {
        height: 32px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    .modal-meta {
        font-size: 0.65rem;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .modal-body h3 {
        font-size: 0.95rem;
        margin: 16px 0 8px 0;
    }

    .modal-body p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .short-version-box {
        padding: 14px;
        margin: 16px 0;
        border-radius: 10px;
    }

    .short-version-box p {
        font-size: 0.9rem;
    }

    .short-version-box span {
        font-size: 0.8rem;
    }
}

/* Star Border Animation Keyframes */
@keyframes star-border-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
