/* Modern Redesign Additions - Apple/Google Style Showcases */

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Showcase Layout */
.showcase-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 120px;
}

.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
    max-width: 500px;
}

.showcase-content h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Device Mockup */
.device-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 32px;
    border: 10px solid #1a1a1c;
    padding: 8px; /* Creates inner bezel, protects screen corners from being cut off */
    box-sizing: border-box;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.8),
        inset 0 0 0 2px rgba(255,255,255,0.1),
        0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.device-mockup:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.9),
        0 0 40px rgba(212, 175, 55, 0.2);
}


.device-mockup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px; /* Minimal curve to prevent cutting off text in the corners */
}

/* Floating Elements around device */
.floating-badge {
    position: absolute;
    background: rgba(22, 22, 24, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
    z-index: 20;
}

.floating-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

.badge-top-right {
    top: 40px;
    right: -40px;
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 80px;
    left: -40px;
    animation-delay: 3s;
}

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

/* Video Promo Section */
.video-promo {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, rgba(11, 11, 12, 1) 70%);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(255,255,255,0.05) 100%);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212, 175, 55, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 23px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe, .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #121214 0%, #1c1c22 100%);
    color: var(--text-secondary);
    text-align: center;
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.8;
}

/* Responsive Showcases */
@media (max-width: 992px) {
    .showcase-row, .showcase-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .showcase-content {
        max-width: 100%;
    }
    
    .floating-badge {
        display: none;
    }
}

/* Narrative Transition Section */
.narrative-transition {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(11,11,12,1) 0%, #151518 50%, rgba(11,11,12,1) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 0;
}

.transition-title {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #f5f5f7;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.transition-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .transition-title {
        font-size: 2rem;
    }
    .narrative-transition {
        padding: 80px 20px;
    }
}
