/**
 * Elite Wealth Capital - Page-Specific Styles
 * Extracted from inline styles for better caching and maintainability
 */

/* =================== MOBILE AUTH BUTTONS =================== */
.mobile-header-auth {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.mobile-auth-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: 1rem;
}

.btn-login-mobile,
.btn-signup-mobile {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
}

.btn-login-mobile {
    background: transparent;
    border: 1px solid #3B82F6;
    color: #fff;
}

.btn-signup-mobile {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #0A1F44;
    border: none;
}

@media (max-width: 968px) {
    .mobile-header-auth {
        display: flex !important;
    }

    .mobile-auth-links {
        display: flex !important;
    }

    .desktop-auth {
        display: none !important;
    }

    .navbar-toggle {
        order: 3;
    }

    .mobile-header-auth {
        order: 2;
    }
}

@media (min-width: 969px) {
    .mobile-header-auth {
        display: none !important;
    }

    .mobile-auth-links {
        display: none !important;
    }
}

/* =================== HERO VIDEO BACKGROUND =================== */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10,31,68,0.5) 0%, rgba(10,31,68,0.4) 50%, rgba(10,31,68,0.35) 100%);
}

/* Mobile: Use image instead of video for performance */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    .hero-fallback-bg {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .hero-fallback-bg {
        display: none;
    }
}

/* Ensure hero content is always readable */
.hero-content {
    position: relative;
    z-index: 10 !important;
}

.hero-text h1,
.hero-text p,
.hero-text .hero-badge {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* =================== ERROR PAGES (404, 500) =================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A1F44 0%, #1a2744 100%);
    padding: 2rem;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.error-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.error-message {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #0A1F44;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.error-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* =================== VIDEO MODAL =================== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.video-modal-close:hover {
    color: #FFD700;
}

/* =================== DEPOSIT STATUS PAGE =================== */
.deposit-status-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

.deposit-status-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.status-pending {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.status-confirmed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* =================== CERTIFICATE PAGE =================== */
.certificate-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
}

.certificate-card {
    background: linear-gradient(135deg, #1a2744 0%, #0A1F44 100%);
    border: 3px solid #FFD700;
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.certificate-header {
    text-align: center;
    margin-bottom: 2rem;
}

.certificate-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.certificate-title {
    font-size: 2.5rem;
    color: #FFD700;
    font-weight: 700;
}

.certificate-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}

/* =================== FORM PAGES COMMON =================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0A1F44 0%, #1a2744 100%);
}

.auth-card {
    background: rgba(20, 30, 50, 0.9);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    max-width: 60px;
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: rgba(255,255,255,0.6);
}

/* =================== FAQ PAGE =================== */
.faq-item {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.7);
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

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

/* =================== CONTACT PAGE =================== */
.contact-form {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-info-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* =================== NEWS PAGE =================== */
.news-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* =================== REVIEWS PAGE =================== */
.review-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-stars {
    color: #FFD700;
}

.review-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.review-date {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* =================== PARTNERS PAGE =================== */
.partner-logo-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.partner-logo {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    transition: filter 0.3s ease;
}

.partner-logo-card:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
}

/* =================== TEAM PAGE =================== */
.team-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700;
    margin-bottom: 1rem;
}

.team-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* =================== ABOUT PAGE =================== */
.about-stat-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.about-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    color: rgba(255,255,255,0.7);
}

/* =================== US SERVICES PAGE =================== */
.service-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: rgba(255,255,255,0.6);
}

/* =================== LOANS PAGE =================== */
.loan-plan-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.loan-plan-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.loan-plan-card.featured {
    border-color: #FFD700;
    transform: scale(1.02);
}

/* =================== CARDS PAGE =================== */
.virtual-card {
    background: linear-gradient(135deg, #1a2744 0%, #0A1F44 100%);
    border-radius: 16px;
    padding: 1.5rem;
    aspect-ratio: 1.586;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 6px;
}

.card-number {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    color: #fff;
}

/* =================== UPGRADE PAGE =================== */
.tier-card {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.tier-card.current {
    border-color: #22c55e;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* =================== DISPUTE PAGE =================== */
.dispute-form-container {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.dispute-history-card {
    background: rgba(20, 30, 50, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin-bottom: 1rem;
}

/* =================== KYC UPLOAD PAGE =================== */
.kyc-step {
    display: none;
}

.kyc-step.active {
    display: block;
}

.kyc-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.kyc-progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.kyc-progress-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 215, 0, 0.2);
}

.kyc-progress-step:last-child::after {
    display: none;
}

.kyc-progress-step.completed .step-number {
    background: #22c55e;
}

.kyc-progress-step.active .step-number {
    background: #FFD700;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    position: relative;
    z-index: 1;
}

/* =================== ACCOUNT SETTINGS PAGE =================== */
.settings-section {
    background: rgba(20, 30, 50, 0.8);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.settings-section-title {
    color: #FFD700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* =================== CHANGE PASSWORD PAGE =================== */
.password-strength {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-bar.weak {
    width: 33%;
    background: #ef4444;
}

.password-strength-bar.medium {
    width: 66%;
    background: #FFD700;
}

.password-strength-bar.strong {
    width: 100%;
    background: #22c55e;
}
