/* Hero Section Styles */
.info-hero {
    background: var(--theme-gradient-primary);
    padding: 80px 20px;
    color: var(--theme-text-white);
    text-align: center;
    border-radius: var(--theme-radius-xl);
    margin-bottom: 60px;
    box-shadow: var(--theme-shadow-md);
}

.hero-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    animation: logoFloating 3s ease-in-out infinite;
}

.hero-logo-box {
    background: var(--theme-bg-white);
    border-radius: 25px;
    padding: 20px;
    box-shadow: var(--theme-shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoBoxGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-logo-box:hover {
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.3), var(--theme-shadow-md);
    transform: scale(1.05);
}

.hero-logo {
    height: 100px;
    width: auto;
    display: block;
    animation: logoScale 0.6s ease-out;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.1));
}

.info-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.info-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Apps Download Section */
.apps-download-section {
    position: relative;
    z-index: 5;
}

.apps-download-container {
    background: var(--theme-gradient-primary);
    border-radius: var(--theme-radius-xl);
    overflow: hidden;
    box-shadow: var(--theme-shadow-md);
}

.apps-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    padding: 2rem;
}

.apps-image-carousel {
    animation: slideInLeft 0.6s ease-out;
}

.apps-mobile-img {
    border-radius: var(--theme-radius-lg);
    box-shadow: var(--theme-shadow-md);
    max-width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    margin: 0 auto;
}

.apps-mobile-img-mobile {
    border-radius: var(--theme-radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
    display: block;
}

.apps-info-col {
    padding: 3rem 2.5rem;
    background: var(--theme-bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apps-header {
    margin-bottom: 2rem;
}

.apps-title {
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.apps-subtitle {
    color: var(--theme-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.apps-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.app-download-card {
    background: linear-gradient(135deg, var(--theme-bg-light) 0%, var(--theme-lighter) 100%);
    border-radius: var(--theme-radius-lg);
    overflow: hidden;
    border: 2px solid var(--theme-border-light);
    transition: all 0.3s ease;
}

.app-download-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--theme-shadow-primary-medium);
    border-color: var(--theme-primary);
}

.app-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--theme-text-white);
}

.ios-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.android-header {
    background: linear-gradient(135deg, #3ddc84 0%, #1a8f3f 100%);
}

.app-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.8rem;
}

.app-icon-wrapper.ios {
    background: rgba(255, 255, 255, 0.25);
}

.app-icon-wrapper.android {
    background: rgba(255, 255, 255, 0.2);
}

.app-title-wrapper {
    flex: 1;
}

.app-title-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.app-title-wrapper p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
}

.app-card-body {
    padding: 1.5rem;
}

.qr-section {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.qr-box {
    background: var(--theme-bg-white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--theme-border-light);
}

.qr-code-img {
    width: 160px;
    height: 160px;
    display: block;
    border-radius: 8px;
}

.app-details {
    text-align: center;
}

.qr-label {
    color: var(--theme-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-ios-download,
.btn-android-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.btn-ios-download {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--theme-text-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-ios-download:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: var(--theme-text-white);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-android-download {
    background: linear-gradient(135deg, #3ddc84 0%, #1a8f3f 100%);
    color: var(--theme-text-white);
    box-shadow: 0 10px 30px rgba(61, 220, 132, 0.3);
}

.btn-android-download:hover {
    background: linear-gradient(135deg, #1a8f3f 0%, #0d6b2f 100%);
    color: var(--theme-text-white);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(61, 220, 132, 0.4);
}

/* Presentation Section */
.presentation-section {
    margin: 60px 0;
}

.presentation-title {
    text-align: center;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.carousel-container {
    background: var(--theme-bg-white);
    border-radius: var(--theme-radius-xl);
    overflow: hidden;
    box-shadow: var(--theme-shadow-md);
    margin-bottom: 40px;
}

#carouselExampleTouch {
    border-radius: var(--theme-radius-xl);
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    padding: 2rem;
}

.carousel-indicators {
    bottom: 1.5rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 0.5rem;
}

.carousel-indicators button.active {
    background-color: var(--theme-primary);
    width: 28px;
    border-radius: 10px;
}

.carousel-control-next-icon::after,
.carousel-control-prev-icon::after {
    content: unset;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 60px 0;
}

.feature-item {
    padding: 2rem;
    background: var(--theme-bg-white);
    border-radius: var(--theme-radius-lg);
    border: 2px solid var(--theme-border-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-item:hover {
    border-color: var(--theme-primary);
    box-shadow: var(--theme-shadow-primary-medium);
    transform: translateY(-8px);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    animation: iconBounce 0.6s ease-in-out;
}

.feature-item h4 {
    color: var(--theme-text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--theme-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--theme-bg-light) 0%, var(--theme-lighter) 100%);
    border-radius: var(--theme-radius-lg);
    border-left: 4px solid var(--theme-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.stat-box:hover {
    transform: translateY(-12px);
    box-shadow: var(--theme-shadow-primary-dark);
    border-left-color: var(--theme-primary-dark);
    background: linear-gradient(135deg, var(--theme-bg-white) 0%, var(--theme-bg-light) 100%);
}

.stat-box:hover::after {
    left: 100%;
}

.stat-icon {
    font-size: 3.5rem;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.stat-box:hover .stat-icon {
    transform: scale(1.25) rotateY(10deg);
    animation: iconSpin 0.8s ease-in-out;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-number {
    font-size: 2.8rem;
}

.stat-label {
    color: var(--theme-text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logoFloating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes logoScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoBoxGlow {
    0%, 100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2), 0 20px 50px rgba(0, 0, 0, 0.25);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(10deg);
    }
    100% {
        transform: scale(1.2) rotate(5deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(102, 126, 234, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.5));
    }
}

@keyframes iconSpin {
    0% {
        transform: scale(1) rotateY(0deg);
    }
    50% {
        transform: scale(1.2) rotateY(180deg);
    }
    100% {
        transform: scale(1.25) rotateY(10deg);
    }
}

/* Mobile Carousel Styles */
.mobile-carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

#mobileAppSlider {
    border-radius: 20px;
    position: relative;
    width: 100%;
    min-height: 550px;
}

#mobileAppSlider .carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
}

#mobileAppSlider .carousel-item img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
}

#mobileAppSlider .carousel-control-prev,
#mobileAppSlider .carousel-control-next {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#mobileAppSlider .carousel-control-prev:hover,
#mobileAppSlider .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

#mobileAppSlider .carousel-control-prev:active,
#mobileAppSlider .carousel-control-next:active {
    transform: translateY(-50%) scale(0.95);
}

.mobile-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.mobile-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.mobile-indicators button.active {
    background-color: white;
    width: 28px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-indicators button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.apps-mobile-section {
    padding: 1.5rem;
    background: var(--theme-bg-white);
    border-radius: var(--theme-radius-lg);
}

#mobileAppSliderMobile {
    position: relative;
    min-height: auto;
}

#mobileAppSliderMobile .carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

#mobileAppSliderMobile .carousel-item img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
}

#mobileAppSliderMobile .carousel-control-prev,
#mobileAppSliderMobile .carousel-control-next {
    background: rgba(102, 126, 234, 0.35);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    border: 2px solid rgba(102, 126, 234, 0.4);
}

#mobileAppSliderMobile .carousel-control-prev:hover,
#mobileAppSliderMobile .carousel-control-next:hover {
    background: rgba(102, 126, 234, 0.6);
    opacity: 1;
    border: 2px solid rgba(102, 126, 234, 0.7);
}

#mobileAppSliderMobile .carousel-control-prev:active,
#mobileAppSliderMobile .carousel-control-next:active {
    transform: translateY(-50%) scale(0.95);
}

.mobile-indicators-small {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.4rem;
}

.mobile-indicators-small button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(102, 126, 234, 0.4);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.mobile-indicators-small button.active {
    background-color: #667eea;
    width: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.mobile-indicators-small button:hover:not(.active) {
    background-color: rgba(102, 126, 234, 0.7);
    transform: scale(1.1);
}

/* Responsive Design */
/*@media (max-width: 1030px) {
    .apps-download-container .row {
        flex-direction: column;
    }

    .apps-image-col {
        order: -1;
        min-height: 350px;
    }

    .apps-info-col {
        padding: 2rem;
    }

    .apps-content {
        grid-template-columns: 1fr;
    }
}*/

@media (max-width: 1030px) {
    .info-hero {
        padding: 40px 15px;
    }

        .info-hero h1 {
            font-size: 2rem;
        }

    .hero-logo {
        height: 80px;
    }

    .hero-logo-box {
        padding: 15px;
        border-radius: 20px;
    }

    .hero-logo-container {
        margin-bottom: 1.5rem;
    }

    .apps-image-col {
        order: -1;
        min-height: 300px;
    }

    .apps-mobile-img {
        max-height: 300px;
    }

    .apps-info-col {
        padding: 1.5rem;
    }

    .apps-title {
        font-size: 1.5rem;
    }

    .apps-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .app-card-body {
        padding: 1rem;
    }

    .qr-code-img {
        width: 140px;
        height: 140px;
    }

    .presentation-title {
        font-size: 1.75rem;
    }

    .carousel-item img {
        height: 300px;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .info-hero h1 {
        font-size: 1.5rem;
    }

    .hero-logo {
        height: 70px;
    }

    .hero-logo-box {
        padding: 12px;
        border-radius: 18px;
    }

    .hero-logo-container {
        margin-bottom: 1rem;
    }

    .apps-mobile-img-mobile {
        max-height: 350px;
    }

    .qr-code-img {
        width: 120px;
        height: 120px;
    }

    .btn-ios-download,
    .btn-android-download {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .apps-header {
        margin-bottom: 1.5rem;
    }
}
