/* ===================================
   Atenea iPhone Mockup Showcase Styles
   Estilos para presentar Atenea en mockup de iPhone
   =================================== */

/* iPhone Mockup Container */
.iphone-showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding: 40px 20px;
}

/* iPhone Device Frame */
.iphone-device {
    position: relative;
    width: 375px;
    height: 812px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 12px #2a2a2a,
        0 0 0 14px #1a1a1a,
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.iphone-device:hover {
    transform: scale(0.95);
}

/* iPhone Screen */
.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

/* iPhone Notch */
.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 100;
}

/* Dynamic Island (iPhone 14 Pro) */
.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 36px;
    background: #000;
    border-radius: 18px;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.dynamic-island.active {
    width: 200px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

/* Status Bar */
.iphone-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.status-time {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.status-icon {
    width: 20px;
    height: 12px;
    background: white;
    border-radius: 2px;
}

/* iPhone App Content */
.iphone-app-content {
    width: 100%;
    height: 100%;
    padding-top: 50px;
    overflow-y: auto;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
}

/* App Header */
.app-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.app-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 14px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.app-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.app-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Section Content in iPhone */
.iphone-section-content {
    padding: 20px;
}

.iphone-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.section-icon-bubble {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.section-title-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* iPhone Cards */
.iphone-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
}

.iphone-card-title {
    color: #a78bfa;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.iphone-card-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.6;
}

/* iPhone Video Player */
.iphone-video-container {
    width: 100%;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.iphone-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.iphone-video-controls {
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-play-btn {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-info {
    color: white;
    font-size: 12px;
}

/* iPhone Tab Bar */
.iphone-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.2s;
}

.tab-item.active .tab-icon {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.tab-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.tab-item.active .tab-label {
    color: #a78bfa;
}

/* Home Indicator */
.iphone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100px;
}

/* Multiple iPhone Layout */
.iphones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

/* iPhone Mini Version for Overview */
.iphone-mini {
    transform: scale(0.7);
    margin: -100px 0;
}

/* Carousel inside iPhone */
.iphone-carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.iphone-carousel-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

/* Feature List in iPhone */
.iphone-feature-list {
    list-style: none;
    padding: 0;
}

.iphone-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    margin-bottom: 8px;
}

.feature-checkmark {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    flex: 1;
}

/* Animation Classes */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.iphone-content-animate {
    animation: slideInFromRight 0.5s ease;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .iphone-device {
        transform: scale(0.7);
    }

    .iphones-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Dark Mode Adjustments */
.iphone-dark-theme {
    background: #000;
}

.iphone-dark-theme .iphone-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}