:root {
    --primary-gradient: linear-gradient(135deg, #066fd1 0%, #0d9488 100%);
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.hero-section {
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: relative;
    z-index: 1;
}

.hero-slide-1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #066fd1 0%, #0d9488 50%, #066fd1 100%);
    z-index: 0;
}

.hero-slide-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #198754 0%, #066fd1 50%, #6f42c1 100%);
    z-index: 0;
}

.hero-slide-3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d63384 0%, #066fd1 50%, #0d9488 100%);
    z-index: 0;
}

.hero-slide-4::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6f42c1 0%, #066fd1 50%, #0d9488 100%);
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section .container-xl {
    position: relative;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 10%;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 30%;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-section .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95) !important;
}

.hero-illustration {
    max-height: 380px;
    width: auto;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.25));
}

.hero-feature-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.875rem;
}

.btn-hero {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-hero-white {
    background: white;
    color: #066fd1;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #066fd1;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-track-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.logo-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll-logos 60s linear infinite;
}

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

.logo-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.partner-logo {
    height: 52px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.55;
    transition: all 0.3s;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}

.feature-card {
    height: 100%;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    transition: all 0.3s;
    background: white;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--primary-gradient);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
    stroke-width: 1.5;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.stat-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-item {
    display: flex;
    align-items: flex-start;
    text-align: start;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: background 0.2s;
    position: relative;
}

.step-item:hover {
    background: rgba(6, 111, 209, 0.04);
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 44px;
    bottom: -8px;
    width: 2px;
    background: linear-gradient(180deg, #066fd1 0%, rgba(6, 111, 209, 0.2) 100%);
    border-radius: 1px;
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(6, 111, 209, 0.3);
}

.step-item:hover {
    background: rgba(6, 111, 209, 0.04);
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(6, 111, 209, 0.3);
}

.why-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    padding: 2rem 1.75rem;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: transparent;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-number {
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(6, 111, 209, 0.5);
    pointer-events: none;
    user-select: none;
}

.why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6, 111, 209, 0.1), rgba(13, 148, 136, 0.1));
    flex-shrink: 0;
    transition: transform 0.3s;
}

.why-card:hover .why-icon {
    transform: scale(1.08);
}

.why-icon svg {
    color: #066fd1;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(6, 111, 209, 0.1), rgba(13, 148, 136, 0.1));
    color: #066fd1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.faq-section .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-section .accordion-item:hover {
    border-color: #066fd1;
}

.faq-section .accordion-button {
    font-weight: 600;
    padding: 1rem 1.25rem;
    background: white;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(6, 111, 209, 0.05), rgba(13, 148, 136, 0.05));
    color: #066fd1;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.cta-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: var(--card-shadow);
}

.contact-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.contact-item:last-child {
    border-bottom: none;
}

.welcome-section {
    background: linear-gradient(180deg, #f8f9fc 0%, white 100%);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.check-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(13, 148, 136, 0.15));
    flex-shrink: 0;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    color: #198754;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.anim-fade-in {
    animation: fadeSlideUp 0.6s ease-out both;
}

.anim-scale-in {
    animation: scaleIn 0.5s ease-out both;
}

.stagger-1 {
    animation-delay: 0.05s;
}

.stagger-2 {
    animation-delay: 0.1s;
}

.stagger-3 {
    animation-delay: 0.15s;
}

.stagger-4 {
    animation-delay: 0.2s;
}

.stagger-5 {
    animation-delay: 0.25s;
}

.stagger-6 {
    animation-delay: 0.3s;
}

/* ── Responsive: tablet & below (max-width: 767px) ── */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-slide {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-feature-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* ── Responsive: small mobile (max-width: 575px) ── */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 380px;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .hero-feature-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .btn-hero {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    .hero-shape-1 {
        width: 150px;
        height: 150px;
    }

    .hero-shape-2 {
        width: 100px;
        height: 100px;
    }

    .hero-shape-3 {
        width: 80px;
        height: 80px;
    }
}

/* ── Responsive: very small screens (≤400px) ── */
@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 1.35rem;
    }

    .hero-feature-badge {
        padding: 0.2rem 0.45rem;
        font-size: 0.7rem;
    }

    .btn-hero {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}
