/* Hero Section - Stunning Design */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%) scale(0.85);
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 212, 170, 0.75) 0%,
        rgba(0, 168, 132, 0.85) 25%,
        rgba(10, 22, 40, 0.92) 75%,
        rgba(10, 22, 40, 0.96) 100%);
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none; /* Allow clicks to pass through */
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.3), transparent);
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.element-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.element-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: 7s;
}

.element-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

.pulse-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(0, 212, 170, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite ease-in-out;
}

/* Hero Container */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    padding: 0 40px;
}

/* Hero Content */
.hero-content {
    animation: slideInLeft 1s ease-out;
}

.app-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.4), transparent);
    border-radius: 50%;
    animation: glow 2s infinite alternate;
    filter: blur(20px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-line-1 {
    display: block;
    background: linear-gradient(90deg, #00d4aa, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite linear;
}

.title-line-2 {
    display: block;
    color: white;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00d4aa;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 100;
}

.cta-btn {
    position: relative;
    padding: 20px 36px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: visible;
    cursor: pointer;
    transform: scale(1);
    animation: pulse-scale 2s infinite;
    z-index: 1;
}

.btn-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    animation: badge-bounce 2s infinite;
    box-shadow: 0 4px 10px rgba(255, 75, 87, 0.4);
    z-index: 10;
    pointer-events: none; /* Make badge click-through */
}

@keyframes badge-bounce {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.cta-primary {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(0, 212, 170, 0.3);
    border: 2px solid transparent;
    position: relative;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4aa, #00a884, #00d4aa);
    border-radius: 50px;
    z-index: -1;
    animation: gradient-border 3s linear infinite;
}

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.cta-secondary {
    background: linear-gradient(135deg, #3DDC84, #2dc470);
    color: white;
    box-shadow: 0 10px 30px rgba(61, 220, 132, 0.4),
                0 0 40px rgba(61, 220, 132, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 212, 170, 0.7);
    animation: none;
}

.cta-primary:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
                0 0 60px rgba(0, 212, 170, 0.5);
}

.cta-secondary:hover {
    box-shadow: 0 15px 40px rgba(61, 220, 132, 0.6),
                0 0 60px rgba(61, 220, 132, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.store-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
}

.cta-btn:hover .store-icon {
    transform: scale(1.15) rotate(5deg);
}

.btn-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-platform {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.cta-primary:hover .btn-glow {
    transform: translate(-50%, -50%) scale(2);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.badge-item svg {
    color: #00d4aa;
}

/* Hero Showcase */
.hero-showcase {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.showcase-container {
    position: relative;
}

/* Phone Carousel */
.phone-carousel {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    width: 320px;
    height: 650px;
}

.carousel-phone {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8) translateX(100px);
    transition: all 0.6s ease;
}

.carousel-phone.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 10;
}

.phone-device {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1e);
    border-radius: 40px;
    padding: 10px;
    box-shadow:
        0 0 0 10px rgba(0, 0, 0, 0.5),
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 50px 100px rgba(0, 212, 170, 0.2);
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.phone-reflection {
    position: absolute;
    top: 10%;
    left: -20%;
    width: 140%;
    height: 80%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%);
    border-radius: 40px;
    pointer-events: none;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 5px;
    background: #00d4aa;
}

/* Feature Pills */
.showcase-features {
    position: absolute;
    bottom: 100px;
    left: -100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-pill.active {
    background: rgba(0, 212, 170, 0.2);
    border-color: #00d4aa;
    color: white;
    transform: translateX(20px);
}

.pill-icon {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 10px auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

@keyframes glow {
    from {
        opacity: 0.4;
        transform: scale(1);
    }
    to {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

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

@keyframes bounce {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(10px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-showcase {
        margin-top: 40px;
    }

    .showcase-features {
        position: static;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .phone-carousel {
        height: 500px;
    }

    .carousel-track {
        width: 250px;
        height: 500px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}