/* ============================================
   MOBILE PREVIEW STYLES
   Samsung Mobile Device Frame & App Styles
   ============================================ */

/* Mobile Preview Container */
.mobile-preview-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-x: hidden;
}

/* Samsung Device Frame */
.mobile-device {
    width: 375px;
    height: 812px;
    background: #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 0 2px #2a2a2a,
                0 0 0 12px #1a1a1a,
                inset 0 0 0 2px #2a2a2a;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: deviceAppear 0.8s ease-out;
}

@keyframes deviceAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

.notch-camera {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.notch-speaker {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
}

/* Device Screen */
.device-screen {
    width: 100%;
    height: 100%;
    background: #020617;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.device-screen::-webkit-scrollbar {
    display: none;
}

/* Mobile Status Bar */
.mobile-status-bar {
    height: 44px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.85) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-left,
.status-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.status-icon {
    font-size: 14px;
}

/* Splash Screen */
.splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: splashFadeOut 1s ease 2.5s forwards;
}

@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.splash-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    margin-bottom: 24px;
    animation: splashPulse 2s ease infinite;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.4);
}

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

.splash-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-align: center;
}

.splash-subtitle {
    font-size: 16px;
    color: #94A3B8;
    text-align: center;
}

.splash-loader {
    margin-top: 40px;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(34, 197, 94, 0.2);
    border-top-color: #22C55E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile App Content */
.mobile-content {
    padding: 16px 16px 80px;
    min-height: calc(100vh - 44px);
}

/* Mobile Header */
.mobile-header {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    padding: 20px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mobile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.menu-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.notification-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #EF4444;
    border: 2px solid #16A34A;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.header-greeting {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 4px;
}

.header-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #22C55E, #38BDF8);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #94A3B8;
}

/* Feature Cards */
.feature-cards {
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.view-all-btn {
    color: #22C55E;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-card:active {
    transform: scale(0.95);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #22C55E;
    margin: 0 auto 12px;
}

.feature-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 12px;
    color: #94A3B8;
}

/* Action Button */
.action-button {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    margin: 20px 0;
}

.action-button:active {
    transform: scale(0.98);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(2, 6, 23, 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: 0 8px;
    z-index: 999;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94A3B8;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 12px;
    position: relative;
}

.nav-item.active {
    color: #22C55E;
    background: rgba(34, 197, 94, 0.1);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #22C55E;
    border-radius: 0 0 3px 3px;
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
}

/* Drawer Menu */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.drawer-menu.active {
    left: 0;
}

.drawer-header {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    padding: 32px 20px 24px;
    margin-bottom: 20px;
}

.drawer-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin-bottom: 12px;
}

.drawer-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px;
}

.drawer-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.drawer-nav {
    padding: 0 12px;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    color: #94A3B8;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.drawer-item:hover,
.drawer-item.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.drawer-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.drawer-item span {
    font-size: 15px;
    font-weight: 600;
}

.drawer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 16px 12px;
}

/* Mobile Page Content */
.mobile-page {
    display: none;
}

.mobile-page.active {
    display: block;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 20px;
}

.back-btn {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.2);
    border: none;
    border-radius: 12px;
    color: #22C55E;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

/* Content Cards */
.content-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.card-text {
    font-size: 14px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-button {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

/* Plans Cards */
.plan-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.plan-card.featured {
    border-color: #22C55E;
    background: rgba(34, 197, 94, 0.05);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #22C55E;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    color: #22C55E;
    margin: 0 0 4px;
}

.plan-period {
    font-size: 14px;
    color: #94A3B8;
    margin-bottom: 20px;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #94A3B8;
    font-size: 14px;
}

.plan-features li i {
    color: #22C55E;
    font-size: 16px;
}

/* FAQ Items */
.faq-item {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px;
    text-align: left;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 16px 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact Form */
.contact-form {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-preview-wrapper {
        padding: 1rem;
    }
    
    .mobile-device {
        width: 100%;
        max-width: 375px;
        height: 100vh;
        max-height: 812px;
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    .mobile-device {
        border-radius: 0;
        box-shadow: none;
    }
    
    .device-notch {
        display: none;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
