/* === VARIABLES & THEME === */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a0ca3;
    --primary-light: #4cc9f0;
    --secondary-color: #f72585;
    --accent-color: #7209b7;

    --dark-bg: #ffffff;
    --card-bg: #ffffff;
    --text-main: #1a1a2e;
    --text-muted: #64748b;

    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--accent-color));

    --font-main: 'Inter', sans-serif;
    --font-display: 'Syne', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #1a1a2e;
    /* Dark headings */
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

/* === NAVIGATION === */
.navbar {
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: calc(100% - 2rem);
}

/* Dropdown Hover Settings */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDown 0.3s ease;
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === BUTTONS === */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50rem;
    /* Pill shape */
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    padding: 200px 0 100px;
    background: radial-gradient(circle at top right, rgba(67, 97, 238, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(114, 9, 183, 0.15), transparent 40%);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-main);
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}

.shape-1 {
    top: -200px;
    right: -200px;
}

.shape-2 {
    bottom: -100px;
    left: -200px;
}

/* === CARDS === */
.feature-card,
.service-card,
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--card-shadow);
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
    border-color: var(--primary-color);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.service-card:hover .card-icon-wrapper {
    background: var(--primary-color);
    color: white;
}

/* === SECTIONS === */
section {
    padding: 100px 0;
    position: relative;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.bg-light-dark {
    background-color: #f8f9fa;
    /* Light Gray for section variety */
}

/* === PROCESS STEPS === */
.process-steps {
    position: relative;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(67, 97, 238, 0.05);
    /* Lighter primary color for numbers */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

/* === FOOTER === */
.footer-section {
    border-top: 1px solid var(--glass-border);
    /* Footer can stay dark or go light. Let's keep it dark for contrast or change to light grey.
       User asked for white background so maybe full light theme. 
       Let's try a very dark blue footer for professional finish */
    background-color: #0f172a;
    color: #fff;
    /* Ensure generic text is white */
}

.footer-section h5,
.footer-section .text-uppercase {
    color: #fff !important;
    /* Force headings white */
}

/* === BANNER CAROUSEL === */
.banner-section {
    padding: 160px 0 40px;
    background: #fff;
    position: relative;
}

.banner-carousel {
    position: relative;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 3 / 1;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 20px 50px rgba(67, 97, 238, 0.1);
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.9s;
    will-change: opacity;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.banner-slide.leaving {
    opacity: 0;
    visibility: visible;
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-slide.active img {
    transform: scale(1.04);
}

.banner-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 1.5rem 1.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.banner-progress-track {
    display: flex;
    gap: 5px;
    flex: 1;
    max-width: 320px;
}

.banner-progress-item {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s;
    position: relative;
}

.banner-progress-item:hover {
    background: rgba(255, 255, 255, 0.4);
}

.banner-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.banner-progress-item.active .banner-progress-fill {
    width: 0%;
}

.banner-progress-item.done .banner-progress-fill {
    width: 100%;
    transition: none;
}

.banner-arrows {
    display: flex;
    gap: 6px;
}

.banner-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08);
}

.banner-arrow:active {
    transform: scale(0.95);
}

.banner-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: var(--font-display), sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 3px;
}

.banner-detail-btn {
    position: absolute;
    right: 2rem;
    bottom: 4rem;
    z-index: 5;
    padding: 0.55rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50rem;
    background: #fff;
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.banner-detail-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(67, 97, 238, 0.4);
}

.banner-detail-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.banner-detail-btn:hover i {
    transform: translateX(3px);
}

.banner-badge-coming {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
    background: linear-gradient(135deg, #f72585, #ff6b6b);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50rem;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    letter-spacing: 0.5px;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* === PRODUCT CONTACT FORM === */
.product-contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.product-contact-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.product-contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .banner-section {
        padding: 130px 0 30px;
    }

    .banner-carousel {
        border-radius: 1rem;
        aspect-ratio: 3 / 1;
    }

    .banner-nav {
        padding: 0 1rem 1rem;
    }

    .banner-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .banner-counter {
        display: none;
    }

    .banner-detail-btn {
        right: 1rem;
        bottom: 3.5rem;
        padding: 0.45rem 1.25rem;
        font-size: 0.78rem;
    }

    .banner-badge-coming {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 575px) {
    .banner-section {
        padding: 110px 0 20px;
    }

    .banner-carousel {
        border-radius: 0.75rem;
        aspect-ratio: 3 / 1;
    }

    .banner-progress-track {
        max-width: 180px;
    }

    .banner-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .banner-detail-btn {
        right: 0.75rem;
        bottom: 3rem;
        padding: 0.35rem 1rem;
        font-size: 0.72rem;
    }

    .banner-badge-coming {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}