/* ==========================================
   REDESIGNED HERO SECTION
   Modern Split-Screen Layout
   ========================================== */

.hero-section-redesigned {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0e27 0%, #16213e 50%, #1a1a2e 100%);
    overflow: hidden;
    padding: 40px 20px 80px;
}

/* ==========================================
   BACKGROUND SHAPES & ANIMATIONS
   ========================================== */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FFD700, var(--primary-color));
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light), #FFD700);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    top: 50%;
    left: 15%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg) scale(1.05);
    }
}

/* ==========================================
   HERO CONTAINER & LAYOUT
   ========================================== */
.hero-redesign-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ==========================================
   LEFT SIDE - CONTENT
   ========================================== */
.hero-content-left {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Badge */
.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 53, 0.15);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
    }
}

.badge-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Heading */
.hero-main-heading {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-main-heading span {
    display: block;
}

.heading-line-1 {
    animation: slideInDown 0.8s ease-out 0.2s both;
}

.heading-line-2 {
    animation: slideInDown 0.8s ease-out 0.4s both;
}

.heading-line-3 {
    animation: slideInDown 0.8s ease-out 0.6s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.3;
    z-index: -1;
}

/* Subheading */
.hero-subheading-new {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Typing Box */
.hero-typing-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 1s both;
}

.typing-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.typing-content {

    min-height: 40px;
}

.typed-text-new {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 200px;
}

.cursor-new {
    display: inline-block;
    width: 3px;
    height: 2rem;
    background: var(--primary-color);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* CTA Buttons */
.hero-cta-new {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.2s both;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.6);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: translateY(-5px);
}

.btn-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.btn-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-sub {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* ==========================================
   RIGHT SIDE - FEATURE CARDS
   ========================================== */
.hero-content-right {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cards Stack */
.hero-cards-stack {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-feature-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.card-1 {
    width: 85%;
    top: 0;
    left: 0;
    z-index: 4;
    animation: slideCard 1s ease-out 0.7s both;
}

.card-2 {
    width: 85%;
    top: 140px;
    right: 0;
    z-index: 3;
    animation: slideCard 1s ease-out 0.9s both;
}

.card-3 {
    width: 85%;
    top: 280px;
    left: 0;
    z-index: 2;
    animation: slideCard 1s ease-out 1.1s both;
}

.card-4 {
    width: 85%;
    top: 420px;
    right: 0;
    z-index: 1;
    animation: slideCard 1s ease-out 1.3s both;
}

@keyframes slideCard {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.hero-feature-card:hover .card-icon {
    transform: rotate(360deg);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.card-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.card-badge {
    width: 35px;
    height: 35px;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Floating Stats */
.hero-floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-1 {
    top: -30px;
    right: -50px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: -30px;
    left: -50px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.stat-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */
.scroll-indicator-new {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 2s infinite;
}

@keyframes wheel {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 28px;
        opacity: 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    .hero-redesign-container {
        gap: 50px;
    }
    
    .hero-main-heading {
        font-size: 3.5rem;
    }
    
    .hero-cards-stack {
        height: 550px;
    }
}

@media (max-width: 1024px) {
    .hero-redesign-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content-right {
        order: -1;
    }
    
    .hero-cards-stack {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-feature-card {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }
    
    .hero-floating-stat {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
    
    .stat-1,
    .stat-2 {
        display: inline-flex;
        margin: 20px 10px;
    }
}

@media (max-width: 768px) {
    .hero-section-redesigned {
        padding: 100px 20px 60px;
    }
    
    .hero-main-heading {
        font-size: 2.5rem;
    }
    
    .hero-subheading-new {
        font-size: 1.2rem;
    }
    
    .typed-text-new {
        font-size: 1.5rem;
        min-width: 150px;
    }
    
    .cursor-new {
        height: 1.5rem;
    }
    
    .hero-cta-new {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cards-stack {
        grid-template-columns: 1fr;
    }
    
    .hero-feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .card-content {
        text-align: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-main-heading {
        font-size: 2rem;
    }
    
    .hero-subheading-new {
        font-size: 1rem;
    }
    
    .hero-typing-box {
        padding: 20px 25px;
    }
    
    .typed-text-new {
        font-size: 1.2rem;
        min-width: 120px;
    }
    
    .btn-hero {
        padding: 18px 25px;
    }
    
    .btn-main {
        font-size: 1rem;
    }
    
    .btn-sub {
        font-size: 0.75rem;
    }
    
    .hero-feature-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
}
