/* ===========================
   MODERN HERO SPLIT-SCREEN LAYOUT
   New Structure Styles
   =========================== */

.hero-modern {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content-left {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge i {
    color: #f97316;
    font-size: 1.25rem;
}

.hero-badge span {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9375rem;
}

.hero-title-modern {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description-modern {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #0f172a;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #6366f1;
    opacity: 0.2;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.play-icon i {
    color: #6366f1;
    font-size: 1.25rem;
    margin-left: 4px;
}

.btn-play:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #6366f1;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0;
}

.hero-visual-right {
    position: relative;
    z-index: 1;
}

.hero-image-stack {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.hero-img-main {
    width: 100%;
    min-height: clamp(450px, 60vh, 650px);
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float-card 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card i {
    font-size: 2rem;
    color: #6366f1;
}

.floating-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.floating-card p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 1.5s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    top: -50px;
    right: -50px;
    animation: rotate-shape 20s linear infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.1));
    bottom: -30px;
    left: -30px;
    animation: rotate-shape 15s linear infinite reverse;
}

@keyframes rotate-shape {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================
   Trusted By Section
   =========================== */
.trusted-by {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.trusted-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64748b;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-item:hover {
    opacity: 1;
    color: #6366f1;
}

/* ===========================
   Responsive - Hero Modern
   =========================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual-right {
        order: 0;
    }

    .floating-card {
        padding: 1rem;
    }

    .floating-card h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 100px 0 60px;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .hero-image-stack {
        padding: 2rem 0;
    }

    .floating-card {
        padding: 0.75rem 1rem !important;
        gap: 0.5rem !important;
    }

    .floating-card i {
        font-size: 1.25rem !important;
    }

    .floating-card h4 {
        font-size: 1rem !important;
    }

    .card-1 {
        position: absolute !important;
        top: 5% !important;
        left: -5% !important;
        margin: 0 !important;
    }

    .card-2 {
        position: absolute !important;
        bottom: 5% !important;
        right: -5% !important;
        margin: 0 !important;
    }

    .hero-shape {
        display: none;
    }

    .hero-img-main {
        min-height: 350px;
    }
}