/* ============================================
   Premium Product Page - Apple AirPods Pro Rhythm
   12 Scene Storyboard, Visual-First
   ============================================ */

/* ============================================
   RESET & BASE
   ============================================ */

.premium-product-page {
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* ============================================
   BASE SCENE STRUCTURE
   ============================================ */

.premium-scene {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-scene.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Scene - Immediate Visibility */
#scene-01 {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCENE MEDIA
   ============================================ */

.premium-scene-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.premium-scene-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.premium-scene-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.premium-scene-media.playing .premium-scene-poster {
    opacity: 0;
}

.premium-scene-media.playing .premium-scene-video {
    opacity: 1;
}

/* Hero Image - Special for Core Page */
.premium-scene-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
}

.premium-scene-hero-image img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    display: block;
}

.premium-scene-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.premium-scene-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.premium-scene-image img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Video Background Container */
.premium-scene-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.premium-scene-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================
   PLACEHOLDER STYLES
   ============================================ */

.premium-scene-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.premium-scene-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.premium-scene-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Negative Scene - Darker */
.premium-scene-negative .premium-scene-placeholder {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

/* Meaning Scene - Abstract */
.premium-scene-meaning-bg {
    background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 50%, #16213e 100%);
}

.premium-scene-meaning-bg::before {
    opacity: 0.4;
}

/* ============================================
   OVERLAY & CONTENT
   ============================================ */

.premium-scene-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* Hero Overlay - Enhanced for readability (sol alt) */
#scene-01 .premium-scene-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.premium-scene-content {
    position: relative;
    z-index: 2;
    padding: 0 40px 80px;
    max-width: 1240px;
    width: 100%;
}

/* Hero Content - Sol alt konumlandırma */
#scene-01 .premium-scene-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 40px 80px;
    width: auto;
    max-width: none;
}

.premium-scene-headline {
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.06em;
    color: #ffffff;
    margin: 0 0 16px 0;
    max-width: 60ch;
}

.premium-scene-headline-multiline {
    line-height: 0.95;
}

.premium-scene-headline-multiline span {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.premium-scene-headline-multiline br {
    line-height: 0.5;
    display: block;
    margin: 0;
    padding: 0;
    height: 0;
}

.premium-scene-subline {
    font-size: clamp(21px, 2.5vw, 28px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin: 0;
    max-width: 60ch;
    letter-spacing: 0.01em;
}

/* ============================================
   ZOOM & PAN ANIMATIONS
   ============================================ */

.premium-scene-zoom-image {
    overflow: hidden;
}

.premium-scene-zoom-image img {
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05);
    animation: slowZoom 12s ease-in-out infinite;
}

@keyframes slowZoom {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.12);
    }
}

.premium-scene-pan-image {
    overflow: hidden;
}

.premium-scene-pan-image img {
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    animation: slowPan 14s ease-in-out infinite;
}

@keyframes slowPan {
    0%, 100% {
        object-position: left center;
        transform: translateX(0);
    }
    50% {
        object-position: right center;
        transform: translateX(-8%);
    }
}

/* ============================================
   CROP VARIATIONS
   ============================================ */

.premium-scene-crop-image img {
    object-position: center top;
    transform: scale(1.1);
}

.premium-scene-crop-alt-image img {
    object-position: center bottom;
    transform: scale(1.08);
}

/* ============================================
   APP SCENE (S5) - Removed, now uses standard scene structure
   ============================================ */


/* ============================================
   MEANING SCENE (S8) - Minimal Line Overlay
   ============================================ */

.premium-scene-meaning::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    z-index: 1;
    animation: lineFade 6s ease-in-out infinite;
}

@keyframes lineFade {
    0%, 100% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scaleY(0.8);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scaleY(1);
    }
}

/* ============================================
   ECOSYSTEM GRID (S11)
   ============================================ */

.premium-scene-ecosystem {
    background: #000000;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 40px;
}

.premium-scene-ecosystem-wrapper {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.premium-scene-ecosystem-header {
    text-align: center;
}

.premium-scene-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (min-width: 1025px) {
    .premium-scene-ecosystem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.premium-scene-ecosystem-card {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    background-size: 150% 150%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    animation: gradientShift 8s ease-in-out infinite;
}

.premium-scene-ecosystem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.premium-scene-ecosystem-card:nth-child(2) {
    background: linear-gradient(135deg, #2d3561 0%, #1a1a2e 100%);
    animation-duration: 10s;
}

.premium-scene-ecosystem-card:nth-child(3) {
    background: linear-gradient(135deg, #16213e 0%, #2d3561 100%);
    animation-duration: 12s;
}

.premium-scene-ecosystem-card:nth-child(4) {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    animation-duration: 9s;
}

.premium-scene-ecosystem-card:nth-child(5) {
    background: linear-gradient(135deg, #2d3561 0%, #16213e 100%);
    animation-duration: 11s;
}

.premium-scene-ecosystem-card:nth-child(6) {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    animation-duration: 8s;
}

/* ============================================
   FINAL SCENE (S12)
   ============================================ */

.premium-scene-final {
    background: #000000;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 80px 40px;
}

.premium-scene-final-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}

.premium-scene-final-content {
    position: relative;
    z-index: 1;
    text-align: right;
    margin-left: auto;
}

.premium-scene-final-signature {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ============================================
   MINI DISCLAIMER
   ============================================ */

.premium-disclaimer {
    padding: clamp(120px, 15vw, 200px) 40px 80px;
    background: #000000;
    text-align: center;
}

.premium-disclaimer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.premium-disclaimer-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin: 0;
}

/* ============================================
   FOOTER (Dark Mode Compatible)
   ============================================ */

.premium-product-page .footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-product-page .footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.premium-product-page .footer .footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.premium-product-page .footer .footer-title {
    color: rgba(255, 255, 255, 0.9);
}

.premium-product-page .footer .footer-copyright {
    color: rgba(255, 255, 255, 0.5);
}

.premium-product-page .footer .footer-social-icon {
    color: rgba(255, 255, 255, 0.6);
}

.premium-product-page .footer .footer-social-icon:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .premium-scene-content {
        padding: 0 32px 60px;
    }
    
    .premium-scene-app {
        padding: 60px 32px;
    }
    
    .premium-scene-app-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    
    .premium-scene-app-visual {
        order: -1;
    }
    
    .premium-scene-app-phone {
        height: 65vh;
        max-height: 550px;
    }
    
    .premium-scene-ecosystem {
        padding: 100px 32px;
    }
    
    .premium-scene-ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .premium-scene {
        align-items: flex-end;
        justify-content: center;
    }
    
    .premium-scene-content {
        padding: 0 24px 60px;
        text-align: center;
    }
    
    .premium-scene-headline,
    .premium-scene-subline {
        max-width: 100%;
    }
    
    .premium-scene-app {
        padding: 60px 24px;
    }
    
    .premium-scene-app-wrapper {
        gap: 64px;
    }
    
    .premium-scene-app-phone {
        max-width: 340px;
        height: 60vh;
        max-height: 450px;
    }
    
    .premium-scene-ecosystem {
        padding: 80px 24px;
        gap: 60px;
    }
    
    .premium-scene-ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .premium-scene-final {
        padding: 60px 24px;
        align-items: flex-end;
        justify-content: center;
    }
    
    .premium-scene-final-content {
        text-align: center;
    }
    
    .premium-disclaimer {
        padding: clamp(80px, 10vw, 140px) 24px 64px;
    }
    
    .premium-scene-zoom-image img,
    .premium-scene-pan-image img {
        animation: none;
        width: 100%;
        height: 100%;
        transform: none;
        object-position: center;
    }
    
    .premium-scene-video {
        display: none !important;
    }
}

/* ============================================
   PRODUCTS LIST PAGE - Apple Style Stacked Cards
   ============================================ */

.products-list {
    width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #000000;
}

.product-card-premium {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-premium.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-premium:hover .product-card-media img {
    transform: scale(1.08);
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
    transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-premium:hover .product-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.product-card-content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(24px, 6vw, 80px) clamp(60px, 12vw, 140px);
    max-width: 1200px;
    width: 100%;
}

.product-card-title {
    font-size: clamp(48px, 8vw, 112px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0 0 16px 0;
    color: #ffffff;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-premium:hover .product-card-title {
    transform: translateX(8px);
}

.product-card-tagline {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-premium:hover .product-card-tagline {
    transform: translateX(8px);
    color: rgba(255, 255, 255, 0.95);
}

/* Products Hero - Same as Scene Hero */
#products-hero {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive - Products List */
@media (max-width: 968px) {
    .product-card-content {
        padding: 0 32px 80px;
    }
    
    .product-card-title {
        font-size: clamp(40px, 10vw, 72px);
    }
    
    .product-card-tagline {
        font-size: clamp(18px, 4vw, 24px);
    }
}

@media (max-width: 768px) {
    .product-card-premium {
        min-height: 85vh;
        height: 85vh;
    }
    
    .product-card-content {
        padding: 0 24px 60px;
        text-align: center;
    }
    
    .product-card-title {
        font-size: clamp(36px, 12vw, 56px);
    }
    
    .product-card-tagline {
        font-size: clamp(16px, 4vw, 20px);
    }
    
    .product-card-premium:hover .product-card-title,
    .product-card-premium:hover .product-card-tagline {
        transform: none;
    }
}
