/* Mobile Device Frame - Samsung Style */
:root {
    --mobile-bg: #1a1a2e;
    --mobile-card: #16213e;
    --mobile-accent: #0f3460;
    --mobile-gold: #ffd700;
    --mobile-text: #ffffff;
    --mobile-text-secondary: #b0b0b0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Samsung Mobile Device Frame */
.mobile-device {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 2px #333,
                0 0 0 6px #1a1a1a,
                0 0 0 8px #333;
    position: relative;
    overflow: hidden;
}

/* Device Notch */
.device-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notch-speaker {
    width: 60px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 3px;
}

.notch-camera {
    width: 10px;
    height: 10px;
    background: #0a0a0a;
    border-radius: 50%;
    border: 1px solid #333;
}

/* Device Screen */
.device-screen {
    width: 100%;
    height: 100%;
    background: var(--mobile-bg);
    border-radius: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Hide scrollbar but keep functionality */
.device-screen::-webkit-scrollbar {
    width: 3px;
}

.device-screen::-webkit-scrollbar-track {
    background: transparent;
}

.device-screen::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Splash Screen */
.splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--mobile-bg) 0%, var(--mobile-accent) 100%);
    animation: fadeIn 0.5s ease;
}

.splash-logo {
    width: 120px;
    height: 120px;
    background: var(--mobile-gold);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: var(--mobile-bg);
    margin-bottom: 20px;
    animation: scaleIn 0.6s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.splash-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--mobile-text);
    margin-bottom: 10px;
    animation: slideUp 0.6s ease 0.2s both;
}

.splash-subtitle {
    font-size: 14px;
    color: var(--mobile-text-secondary);
    animation: slideUp 0.6s ease 0.4s both;
}

.splash-loader {
    margin-top: 40px;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: var(--mobile-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile App Content */
.mobile-app {
    display: none;
    min-height: 100%;
    padding-bottom: 70px;
    position: relative;
}

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

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 20px 10px;
    color: var(--mobile-text);
    font-size: 12px;
    background: var(--mobile-bg);
}

.status-time {
    font-weight: 600;
}

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

/* Top Navigation Bar */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--mobile-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-btn, .notification-btn {
    background: none;
    border: none;
    color: var(--mobile-text);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.menu-btn:active, .notification-btn:active {
    background: var(--mobile-accent);
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--mobile-text);
}

/* Drawer Menu */
.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    animation: fadeIn 0.3s ease;
}

.drawer-overlay.active {
    display: block;
}

.drawer-menu {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--mobile-card);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

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

.drawer-header {
    padding: 50px 20px 30px;
    background: linear-gradient(135deg, var(--mobile-accent) 0%, var(--mobile-bg) 100%);
    text-align: center;
}

.drawer-logo {
    width: 80px;
    height: 80px;
    background: var(--mobile-gold);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--mobile-bg);
}

.drawer-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--mobile-text);
    margin-bottom: 5px;
}

.drawer-email {
    font-size: 12px;
    color: var(--mobile-text-secondary);
}

.drawer-items {
    padding: 20px 0;
}

.drawer-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--mobile-text);
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
}

.drawer-item:hover, .drawer-item.active {
    background: var(--mobile-accent);
}

.drawer-item-icon {
    width: 24px;
    margin-right: 15px;
    font-size: 20px;
}

.drawer-item-text {
    font-size: 16px;
}

/* Main Content Area */
.content-area {
    padding: 20px;
}

/* Page Sections */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--mobile-accent) 0%, var(--mobile-card) 100%);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.hero-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--mobile-text);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--mobile-text-secondary);
    margin-bottom: 20px;
}

.hero-btn {
    background: var(--mobile-gold);
    color: var(--mobile-bg);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.hero-btn:active {
    transform: scale(0.95);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.info-card {
    background: var(--mobile-card);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.info-card-title {
    font-size: 12px;
    color: var(--mobile-text-secondary);
    margin-bottom: 5px;
}

.info-card-value {
    font-size: 20px;
    font-weight: bold;
    color: var(--mobile-text);
}

/* Feature List */
.feature-list {
    margin-bottom: 20px;
}

.feature-item {
    background: var(--mobile-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--mobile-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mobile-text);
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 13px;
    color: var(--mobile-text-secondary);
}

/* Trading Plans */
.plan-card {
    background: var(--mobile-card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.2s, border-color 0.2s;
}

.plan-card.featured {
    border-color: var(--mobile-gold);
    background: linear-gradient(135deg, var(--mobile-card) 0%, var(--mobile-accent) 100%);
}

.plan-badge {
    display: inline-block;
    background: var(--mobile-gold);
    color: var(--mobile-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 22px;
    font-weight: bold;
    color: var(--mobile-text);
    margin-bottom: 10px;
}

.plan-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--mobile-gold);
    margin-bottom: 5px;
}

.plan-period {
    font-size: 14px;
    color: var(--mobile-text-secondary);
    margin-bottom: 20px;
}

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

.plan-features li {
    padding: 10px 0;
    color: var(--mobile-text);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-features li:before {
    content: "✓";
    color: var(--mobile-gold);
    font-weight: bold;
    margin-right: 10px;
}

.plan-btn {
    width: 100%;
    background: var(--mobile-gold);
    color: var(--mobile-bg);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.plan-btn:active {
    transform: scale(0.98);
}

/* Contact Form */
.contact-form {
    background: var(--mobile-card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    color: var(--mobile-text);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--mobile-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--mobile-text);
    font-size: 14px;
    font-family: inherit;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--mobile-gold);
}

.form-submit {
    width: 100%;
    background: var(--mobile-gold);
    color: var(--mobile-bg);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.form-submit:active {
    transform: scale(0.98);
}

/* Bottom Navigation */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mobile-card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 15px;
    z-index: 100;
    border-radius: 30px 30px 0 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--mobile-text-secondary);
    text-decoration: none;
    cursor: pointer;
    padding: 5px 15px;
    transition: color 0.3s;
}

.nav-item.active {
    color: var(--mobile-gold);
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Responsive for smaller screens */
@media (max-height: 700px) {
    .mobile-device {
        height: 667px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 10px;
    }
    
    .mobile-device {
        width: 100%;
        max-width: 375px;
    }
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--mobile-text);
}

.section-link {
    font-size: 13px;
    color: var(--mobile-gold);
    text-decoration: none;
}

/* About Page Specific */
.about-image {
    width: 100%;
    height: 200px;
    background: var(--mobile-accent);
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.about-text {
    color: var(--mobile-text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.stat-card {
    background: var(--mobile-card);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--mobile-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--mobile-text-secondary);
}

/* Contact Info */
.contact-info {
    background: var(--mobile-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: var(--mobile-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
    color: var(--mobile-gold);
}

.contact-item-text {
    flex: 1;
}

.contact-item-label {
    font-size: 12px;
    color: var(--mobile-text-secondary);
    margin-bottom: 3px;
}

.contact-item-value {
    font-size: 14px;
    color: var(--mobile-text);
}
