* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    max-width: 393px; /* iPhone 15 Pro width */
    height: 852px; /* iPhone 15 Pro height */
    margin: 0 auto;
    background-color: #f5f5f5;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    padding: 44px 20px 20px 20px; /* Top padding for status bar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    position: relative;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.back-button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.header-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    margin: 0 16px;
}

.header-spacer {
    width: 40px; /* Same width as back button to center title */
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f5f5f5;
}

/* Yepy Promo Styles */
.yepy-promo {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.yepy-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.promo-title {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-subtitle {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.4;
}

.promo-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.promo-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    text-align: left;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
}

.resell-card .card-icon {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.buyback-card .card-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c038 100%);
}

.card-header h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.card-features li {
    color: #555;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-features li:last-child {
    margin-bottom: 0;
}

.card-button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resell-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
}

.resell-btn:hover {
    background: linear-gradient(135deg, #357abd 0%, #2968a3 100%);
    transform: translateY(-1px);
}

.buyback-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c038 100%);
    color: white;
}

.buyback-btn:hover {
    background: linear-gradient(135deg, #20c038 0%, #1e7e34 100%);
    transform: translateY(-1px);
}

.promo-footer {
    text-align: center;
    margin-top: 20px;
}

.footer-text {
    color: #888;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 12px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(74, 144, 226, 0.1);
    color: #4a90e2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
}

/* Medium screens adjustment */
@media (min-width: 400px) {
    .promo-cards {
        gap: 12px;
    }
    
    .promo-card {
        padding: 18px;
    }
    
    .promo-title {
        font-size: 18px;
    }
    
    .card-features li {
        font-size: 12px;
    }
}

/* Bottom Navigation */
.bottom-nav {
    background-color: white;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0 34px 0; /* Bottom padding for home indicator */
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 90px;
    position: relative;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

.nav-item:hover {
    transform: translateY(-1px);
}

.nav-item-center {
    position: relative;
    z-index: 2;
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    color: #999;
    transition: color 0.2s ease;
}

.nav-icon-center {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.2s ease;
}

.nav-icon-center:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

.nav-label {
    font-size: 10px;
    color: #999;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav-label-center {
    font-size: 10px;
    color: #4a90e2;
    font-weight: 500;
}

.nav-item:hover .nav-icon {
    color: #4a90e2;
}

.nav-item:hover .nav-label {
    color: #4a90e2;
}

/* Status Bar Simulation */
.app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    z-index: 10;
}

.app-container::after {
    content: '10:15';
    position: absolute;
    top: 0;
    left: 20px;
    height: 44px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    z-index: 11;
}

/* Signal, WiFi, Battery indicators */
.status-indicators {
    position: absolute;
    top: 0;
    right: 20px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 11;
}

.signal-indicator,
.wifi-indicator,
.battery-indicator {
    width: 20px;
    height: 12px;
    background-color: white;
    border-radius: 2px;
    opacity: 0.9;
}

.battery-indicator {
    width: 24px;
    position: relative;
}

.battery-indicator::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 3px;
    width: 1px;
    height: 6px;
    background-color: white;
    border-radius: 0 1px 1px 0;
}

/* Home Indicator */
.app-container .bottom-nav::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 393px) {
    .app-container {
        max-width: 100%;
        height: 100vh;
    }
}

/* Active states */
.nav-item:active {
    transform: scale(0.95);
}

.nav-icon-center:active {
    transform: scale(0.95);
}

/* Smooth animations */
.nav-item,
.nav-icon,
.nav-label,
.back-button {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
} 