/* Enhanced Hero Section Styles */

/* Main Hero Section */
.yone-hero-enhanced {
    background: linear-gradient(135deg, #e6f7f5 0%, #eaf7fa 100%);
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.03);
}

/* Hero Text Container */
.yone-hero-text-container {
    text-align: right;
    margin-bottom: 0.75rem;
}

.yone-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    /* Note: These styles are overridden by hero-section-improvements.css */
}

/* Hero Shapes */
.yone-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.8;
}

.yone-hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.yone-hero-shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.2) 0%, rgba(42, 157, 143, 0.1) 100%);
    animation: float 8s ease-in-out infinite;
}

.yone-hero-shape-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.2) 0%, rgba(0, 119, 182, 0.1) 100%);
    animation: float 10s ease-in-out infinite reverse;
}

.yone-hero-shape-3 {
    top: 40%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.2) 0%, rgba(233, 196, 106, 0.1) 100%);
    animation: float 12s ease-in-out infinite;
}

/* Hero Badge */
.yone-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2A9D8F 0%, #3CAEA3 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.yone-hero-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.3);
}

.yone-hero-badge span {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.yone-hero-badge i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Hero Title */
.yone-hero-enhanced .yone-hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #264653;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Changed from flex-end to flex-start for RTL alignment */
}

.yone-hero-title-main {
    position: relative;
    display: inline-block;
    color: #2A9D8F;
    font-size: 3.5rem; /* Reduced size */
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(42, 157, 143, 0.15);
}

.yone-hero-title-main::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0; /* Changed from left to right for RTL */
    width: 100%;
    height: 10px;
    background-color: rgba(42, 157, 143, 0.15);
    z-index: -1;
    border-radius: 10px;
}

.yone-hero-title-secondary {
    color: #264653;
    font-size: 3rem; /* Reduced size */
    font-weight: 700;
}

/* Hero Subtitle */
.yone-hero-enhanced .yone-hero-subtitle {
    font-size: 1.25rem;
    /* margin-bottom: 0.75rem; */
    color: #264653;
    opacity: 0.85;
    font-weight: 500;
    max-width: 100%;
    text-align: right;
}

/* Hero Features */
.yone-hero-features-wrapper {
    margin-bottom: 1rem;
}

.yone-hero-enhanced .yone-hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.yone-hero-feature-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.yone-hero-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    border-color: rgba(42, 157, 143, 0.2);
}

.yone-hero-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(42, 157, 143, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: #2A9D8F;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.yone-hero-feature-item:hover .yone-hero-feature-icon {
    background-color: #2A9D8F;
    color: white;
    transform: scale(1.1);
}

.yone-hero-feature-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #264653;
}

/* Hero Buttons */
.yone-hero-enhanced .yone-hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
}

.yone-hero-enhanced .yone-btn-primary {
    background: linear-gradient(135deg, #2A9D8F 0%, #3CAEA3 100%);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.yone-hero-enhanced .yone-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.4);
}

.yone-hero-enhanced .yone-btn-outline {
    border: 2px solid rgba(42, 157, 143, 0.5);
    color: #2A9D8F;
    background: transparent;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.yone-hero-enhanced .yone-btn-outline:hover {
    background-color: rgba(42, 157, 143, 0.1);
    border-color: #2A9D8F;
    transform: translateY(-3px);
}

.yone-btn-with-shine {
    position: relative;
    overflow: hidden;
}

.yone-btn-with-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    20%, 100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Hero Action Container */
.yone-hero-action-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Hero Stats */
.yone-hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 0;
    justify-content: flex-start;
}

.yone-hero-stat-item {
    text-align: center;
    position: relative;
}

.yone-hero-stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1.25rem;
    width: 1px;
    height: 70%;
    background-color: rgba(38, 70, 83, 0.1);
}

.yone-hero-stat-item:first-child::after {
    display: none;
}

.yone-hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2A9D8F;
    margin-bottom: 0.25rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(42, 157, 143, 0.1);
}

.yone-hero-stat-label {
    font-size: 0.9rem;
    color: #264653;
    opacity: 0.8;
    font-weight: 500;
}

/* App Mockup */
.yone-app-mockup-wrapper {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.yone-hero-enhanced .yone-app-screenshot {
    max-width: 280px;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: none;
    transform: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    filter: brightness(1.02);
    display: block;
    margin: 0 auto;
}

.yone-app-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Phone Frame */
.yone-app-mockup-phone-frame {
    display: none;
}

.yone-app-mockup-reflection {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(3px);
}

/* Phone Frame Image */
.yone-app-phone-frame-img {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 320px; /* Reduced size */
    height: auto;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    animation: subtle-float 6s ease-in-out infinite;
}

@keyframes subtle-float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(0.5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Floating Elements */
.yone-hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.yone-hero-floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--yone-primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.yone-hero-floating-element:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.yone-hero-floating-element-1 {
    top: 15%;
    right: 15%;
    animation: float 8s ease-in-out infinite;
    background-color: rgba(42, 157, 143, 0.1);
    color: #2A9D8F;
}

.yone-hero-floating-element-2 {
    top: 55%;
    right: 25%;
    animation: float 6s ease-in-out infinite 1s;
    background-color: rgba(0, 119, 182, 0.1);
    color: #0077B6;
}

.yone-hero-floating-element-3 {
    top: 35%;
    right: 35%;
    animation: float 7s ease-in-out infinite 2s;
    background-color: rgba(233, 196, 106, 0.1);
    color: #E9C46A;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .yone-hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .yone-hero-enhanced .yone-hero-title {
        font-size: 2.75rem;
    }

    .yone-hero-title-main {
        font-size: 3rem;
    }

    .yone-hero-title-secondary {
        font-size: 2.5rem;
    }

    .yone-hero-enhanced .yone-hero-subtitle {
        font-size: 1.1rem;
    }

    .yone-hero-stats {
        gap: 1.25rem;
    }

    .yone-app-phone-frame-img {
        width: 320px;
        top: -25px;
        left: -25px;
    }
}

@media (max-width: 768px) {
    .yone-hero-enhanced {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .yone-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .yone-hero-content {
        order: 2;
     }

    .yone-hero-illustration {
        order: 1;
    }

    .yone-hero-enhanced .yone-hero-title {
        font-size: 2.25rem;
        align-items: center;
    }

    .yone-hero-title-main {
        font-size: 2.5rem;
    }

    .yone-hero-title-secondary {
        font-size: 2rem;
    }

    .yone-hero-enhanced .yone-hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .yone-hero-features {
        justify-content: center;
    }

    .yone-hero-enhanced .yone-hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1.5rem auto;
    }

    .yone-btn {
        width: 100%;
    }

    .yone-hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
    }

    .yone-hero-stat-item::after {
        display: none;
    }

    .yone-hero-enhanced .yone-app-screenshot {
        max-width: 220px;
    }

    .yone-app-phone-frame-img {
        width: 280px;
        top: -20px;
        left: -30px;
    }
}
