:root {
    --primary-color: #051c35;
    /* Rich Blue */
    --secondary-color: #00c6ff;
    /* Cyan accent from logo */
    --dark-bg: #0b1120;
    --light-bg: #f8f9fa;
    --text-color: #333;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg,
            var(--primary-color),
            color-mix(in srgb, var(--secondary-color) 70%, black)) !important;
}

body {
    font-family: 'Poppins', 'Cairo', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-nav {
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 8px 25px;
    transition: transform 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    background: #004494;
    color: white;
}

/* --- Hero Section with Gradient & Curve --- */
.hero-section {
    position: relative;
    /* background: linear-gradient(135deg, #003366 0%, #0056b3 100%); */
    color: white;
    padding: 160px 0 200px;
    /* Extra padding for the curve */
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-img-container {
    /* position: relative; */
    z-index: 2;
    min-height: 300px;
    animation: none !important;
}

.hero-img-container video {
    width: 100%;
    height: auto;
    display: block;
}

.hero-dashboard-img {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* SVG Curve Separator */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF;
}

/* --- Global Section Padding --- */
section {
    padding: 100px 0;
}

/* --- Features Section --- */
.feature-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: white;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
}

/* --- Business Control Section --- */
.control-section {
    background-color: var(--light-bg);
}

.control-image-wrapper {
    padding: 20px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.control-feature-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
}


/* --- Video Promo Section --- */
.video-promo-section {
    padding: 50px 0;
    /* Less padding for tight content */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* --- Pricing Section --- */
.pricing-section {
    background-color: #f8faff;
    position: relative;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Recommended Card Highlight */
.pricing-card.recommended {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-recommended {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
}

.price-tag {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price-period {
    font-size: 16px;
    color: #777;
    font-weight: normal;
}

.pricing-features li {
    margin-bottom: 15px;
    color: #555;
}

.pricing-features i {
    color: #28a745;
    margin-right: 10px;
}

.btn-pricing {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-pricing:hover,
.pricing-card.recommended .btn-pricing {
    background: var(--primary-color);
    color: white;
}

/* --- Contact Section --- */
.contact-section {
    background-color: white;
}

.contact-info-box {
    background-color: var(--light-bg);
    padding: 30px;
    /* border-radius: 15px; */
    height: 100%;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: bold;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #0056b3 0%, #00c6ff 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Footer --- */
footer {
    background: #0b1120;
    color: #aaa;
    padding: 70px 0 30px;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 600;
}

footer ul li {
    margin-bottom: 12px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Partners Section Styling (NEW) --- */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    /* Crucial for horizontal scroll */
}

.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.logo-slide-track {
    display: inline-block;
    /* Adjust duration for speed (40s for slow, 20s for fast) */
    animation: scroll-logos 40s linear infinite;
    padding-left: 100%;
    /* Start off-screen */
    /* Total width needs to be 2x the content width for seamless loop */
}

/* Pause animation on hover */
.logo-slide-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    display: inline-block;
    width: 150px;
    /* Width of each logo space */
    margin: 0 40px;
    vertical-align: middle;
    text-align: center;
}

.logo-slide img {
    max-height: 50px;
    /* Standard height for logos */
    width: auto;
    filter: grayscale(100%);
    /* Start as grey for a professional look */
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.logo-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Keyframes for continuous scroll */
@keyframes scroll-logos {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        /* Moves the entire track left by half its total width (since it's duplicated) */
        transform: translate3d(-50%, 0, 0);
    }
}

#social-commerce {
    color: white;
}

/* --- Ecosystem/Integrations Section (New Style) --- */
.ecosystem-item {
    display: flex;
    align-items: start;
    margin-bottom: 30px;
}

.ecosystem-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
}

/* --- Stats Section --- */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    margin-top: -100px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Custom card style */
.pricing-card.custom-card {
    background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
    color: white;
}

.pricing-card.custom-card h5,
.pricing-card.custom-card .price-tag {
    color: white;
}

.pricing-card.custom-card .pricing-features li {
    color: #cbd5e1;
}

.pricing-card.custom-card .btn-pricing {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pricing-card.custom-card .btn-pricing:hover {
    background: var(--secondary-color);
    color: #0b1120;
}


/* --- Custom Modal Styles --- */
.modal-content-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 40px;
    text-align: center;
}

.modal-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 198, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0);
    }
}

.btn-close-custom {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-close-custom:hover {
    background: var(--dark-bg);
    color: white;
    transform: translateY(-2px);
}

.modal-backdrop.show {
    opacity: 0.8;
    background-color: var(--dark-bg);
}