/* Hyper-Realistic App Mockups */
.app-mockup-container {
    position: relative;
    width: 450px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: absolute;
    width: 250px;
    height: 500px;
    background: white;
    border-radius: 36px;
    border: 8px solid #0f172a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 2;
    transform: rotate(-10deg);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0f172a;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

.app-status-bar {
    height: 30px;
    width: 100%;
    padding: 5px 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    z-index: 9;
}

.app-status-icons {
    display: flex;
    gap: 5px;
}

.app-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 35px;
    /* Clear notch */
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(-8deg) scale(0.95);
    }

    50% {
        transform: translateY(-10px) rotate(-8deg) scale(0.95);
    }
}

/* ============================
   Phone 1: Ecommerce (Back)
   Theme: White/Clean/Orange Accent
   ============================ */
.phone-1 {
    left: 10px;
    transform: rotate(-8deg) scale(0.95);
    z-index: 1;
    filter: brightness(0.98);
    animation: float-slow 7s infinite ease-in-out;
    border-color: #334155;
}

.screen-ecommerce {
    background: #ffffff;
    gap: 12px;
}

.e-search-bar {
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.e-banner {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    height: 100px;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.e-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.e-banner-text h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.e-banner-text span {
    font-size: 10px;
    background: white;
    color: #f97316;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.e-categories {
    display: flex;
    gap: 10px;
}

.e-cat {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.e-cat.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.e-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.e-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.e-img {
    height: 70px;
    background: #e2e8f0;
}

.e-img.img-1 {
    background: linear-gradient(to bottom right, #e0f2fe, #bae6fd);
    position: relative;
}

.e-img.img-1::after {
    content: '👟';
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.e-img.img-2 {
    background: linear-gradient(to bottom right, #fce7f3, #fbcfe8);
    position: relative;
}

.e-img.img-2::after {
    content: '⌚';
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.e-info {
    padding: 8px;
}

.e-info h5 {
    font-size: 11px;
    margin: 0;
    color: #1e293b;
}

.e-info span {
    font-size: 10px;
    color: #f97316;
    font-weight: 700;
}

.app-nav-bar {
    margin-top: auto;
    background: white;
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 16px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.app-nav-bar .active {
    color: #f97316;
}

/* ============================
   Phone 2: Fintech (Front)
   Theme: Dark Blue/Tech
   ============================ */
.phone-2 {
    right: 10px;
    transform: rotate(5deg);
    z-index: 3;
    animation: float 6s infinite ease-in-out;
}

.screen-fintech {
    background: #f8fafc;
    gap: 20px;
}

.f-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-avatar {
    width: 36px;
    height: 36px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.f-user-info span {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: block;
    line-height: 1;
}

.f-user-info p {
    font-size: 10px;
    color: #64748b;
    margin: 0;
}

.f-bell {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
}

.f-balance-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 20px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(30, 41, 59, 0.4);
    position: relative;
    overflow: hidden;
}

.f-balance-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.f-c-top {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.f-amount {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.f-c-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #cbd5e1;
    letter-spacing: 1px;
}

.f-actions {
    display: flex;
    justify-content: space-between;
}

.f-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.f-btn-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    color: #3b82f6;
    font-size: 16px;
}

.f-action-btn span {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
}

.f-tx-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-tx-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 10px;
    border-radius: 12px;
}

.f-tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.i-netflix {
    background: #E50914;
}

.i-spotify {
    background: #1DB954;
}

.f-tx-info h5 {
    font-size: 12px;
    margin: 0;
    color: #1e293b;
}

.f-tx-info p {
    font-size: 10px;
    margin: 0;
    color: #94a3b8;
}

.f-tx-amount {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}