/* ===================================
   MOBILE APP-LIKE THEME
   Modern, Native App Experience
   =================================== */

:root {
    /* Colors (Sultan V3: Obsidian & 24K Gold) */
    --primary-gold: #D4AF37;
    --gold-bright: #F5E0A0;
    --gold-dark: #8C6A1B;
    --obsidian: #050505;
    --dark-bg: #0A0A0A;
    --card-bg: rgba(26, 26, 26, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);

    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --success-green: #00E676;
    --accent-blue: #2979FF;
    --accent-red: #FF1744;

    /* Spacing & Radius */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows & Effects */
    --premium-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.2);
    --inner-glow: inset 0 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* ===================================
   BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--obsidian);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.card-title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   MOBILE APP HEADER
   =================================== */
.mobile-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--spacing-md) var(--spacing-lg);
    padding-top: calc(var(--spacing-md) + var(--safe-area-top));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-header .logo {
    height: 32px;
}

.mobile-header .header-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.icon-button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
}

.icon-button:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
}

/* ===================================
   BOTTOM NAVIGATION
   =================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    padding-bottom: var(--safe-area-bottom);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.3);
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: var(--bottom-nav-height);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: var(--spacing-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
}

.nav-item i {
    font-size: 22px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-item.active {
    color: var(--primary-gold);
}

.nav-item.active i {
    transform: scale(1.1);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item.active::before {
    opacity: 1;
}

.nav-item:active {
    transform: scale(0.95);
}

/* ===================================
   APP CONTAINER
   =================================== */
.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
}

/* ===================================
   CARDS
   =================================== */
.app-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--premium-shadow), var(--inner-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card:active {
    transform: translateY(2px);
}

.app-card.elevated {
    background: var(--card-elevated);
    box-shadow: var(--shadow-md);
}

.app-card.gold-border {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-title i {
    color: var(--primary-gold);
}

/* ===================================
   HERO SECTION (MOBILE)
   =================================== */
.hero-mobile {
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 60%),
        linear-gradient(135deg, #111 0%, #000 100%);
    border-radius: 28px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
}

.hero-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-red));
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #fff 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    min-height: 52px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    color: #000;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-full {
    width: 100%;
}

.btn-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.btn-group .btn {
    flex: 1;
}

/* ===================================
   STATS GRID (ULTIMATE REDESIGN)
   =================================== */
.stats-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 32px;
    padding: 10px 5px 25px 5px;
}

.stats-scroll::-webkit-scrollbar {
    display: none;
}

.stat-card {
    min-width: 270px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card.primary {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
    border: none;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.stat-card.primary * {
    color: #000 !important;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    color: var(--primary-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-card.primary .stat-icon {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 11px;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
    opacity: 0.6;
}

.stat-card.primary .stat-label {
    opacity: 0.8;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-card.primary .stat-value {
    text-shadow: none;
}

.text-gold {
    color: #FFD700 !important;
}

.text-green {
    color: #00FF9D !important;
    text-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

/* Animation Fail-safe for reveal */
.stat-card.reveal.active {
    animation: sultanCardPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes sultanCardPop {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.stat-trend {
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

/* ===================================
   PRICING CARDS (SWIPEABLE)
   =================================== */
.pricing-scroll {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
}

.pricing-scroll::-webkit-scrollbar {
    display: none;
}

.pricing-card-mobile {
    min-width: 85%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 28px;
    padding: var(--spacing-xl);
    border: 1px solid var(--glass-border);
    scroll-snap-align: center;
    box-shadow: var(--premium-shadow), var(--inner-glow);
    position: relative;
}

.pricing-card-mobile.featured {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(20, 20, 20, 0.8) 100%);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3), var(--inner-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: #000;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
}

.tier-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.tier-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 4px;
}

.tier-period {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.tier-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.tier-features li {
    padding: var(--spacing-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.tier-features i {
    color: var(--success-green);
    font-size: 16px;
}

/* ===================================
   FEATURE GRID
   =================================== */
.feature-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-card-mobile {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--premium-shadow), var(--inner-glow);
    transition: all 0.3s ease;
}

.feature-card-mobile:active {
    transform: translateY(2px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-gold);
}

.feature-card-mobile h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-card-mobile p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===================================
   FLOATING ACTION BUTTON
   =================================== */
.fab {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom) + 16px);
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--gold-dark) 100%);
    color: #000;
    border: none;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 90;
    transition: all 0.3s ease;
}

.fab:active {
    transform: scale(0.9);
}

/* ===================================
   EDUCATION ICONS & TYPOGRAPHY
   =================================== */
.fa-shield-check {
    color: var(--success-green);
}

#eduText p {
    margin-bottom: 12px;
}

#eduText strong {
    color: var(--primary-gold);
}

/* ===================================
   PROMO MODAL STYLES
   =================================== */
.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: none;
    opacity: 0;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.promo-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.promo-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--primary-gold);
    box-shadow: var(--shadow-gold);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-modal.active .promo-content {
    transform: scale(1);
}

.promo-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: linear-gradient(135deg, #1a1a1a, #000);
}

.promo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.promo-close:active {
    transform: scale(0.9);
}

.promo-body {
    padding: var(--spacing-lg);
    text-align: center;
}

/* ===================================
   SULTAN INVESTMENT STYLE POPUP
   =================================== */
.promo-modal {
    background: rgba(0, 0, 0, 0.6) !important;
    /* Lighter overlay as requested */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.promo-sultan-container {
    width: 90%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-sultan-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    animation: sultanIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.promo-modal.active .promo-sultan-card {
    display: block;
}

.promo-sultan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.promo-sultan-logo {
    width: 32px;
    height: 32px;
}

.promo-sultan-header span {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-gold);
    letter-spacing: 2px;
}

.promo-sultan-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 12px;
}

.promo-sultan-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 10px;
}

.promo-sultan-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.promo-sultan-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-sultan-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sultan-floating-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.sultan-floating-badge.top-right {
    top: 15px;
    right: 15px;
}

.sultan-floating-badge.bottom-left {
    bottom: 15px;
    left: 15px;
}

.promo-sultan-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-sultan-action {
    background: var(--primary-gold);
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-sultan-action:active {
    transform: scale(0.98);
}

.btn-sultan-close {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

@keyframes sultanIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9) rotateX(-10deg);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

.promo-sultan-card.closing {
    animation: sultanOut 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes sultanOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
}



/* ===================================
   MODAL / BOTTOM SHEET
   =================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.bottom-sheet {
    background: var(--card-bg);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    padding: var(--spacing-lg);
    padding-bottom: calc(var(--spacing-lg) + var(--safe-area-bottom));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.modal-overlay.active .bottom-sheet {
    transform: translateY(0);
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto var(--spacing-lg);
}

/* ===================================
   FORM ELEMENTS
   =================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===================================
   UTILITIES
   =================================== */
.text-gold {
    color: var(--primary-gold);
}

.text-green {
    color: var(--success-green);
}

.text-secondary {
    color: var(--text-secondary);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-gold);
    border-radius: var(--radius-full);
}


/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   PULL TO REFRESH INDICATOR
   =================================== */
.pull-indicator {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (min-width: 600px) {
    .pricing-card-mobile {
        min-width: 300px;
    }

    .stat-card {
        min-width: 320px;
    }
}

/* ===================================
   CALCULATOR STYLES
   =================================== */
.package-selector {
    scrollbar-width: none;
}

.package-selector::-webkit-scrollbar {
    display: none;
}

.pkg-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pkg-option.selected {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.pkg-option:active {
    transform: scale(0.95);
}

/* ===================================
   SULTAN TIMELINE (ROAD TO SULTAN)
   =================================== */
.sultan-timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-lg) 0;
}

.timeline-line {
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary-gold), transparent);
    z-index: 1;
}

.timeline-step {
    position: relative;
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.step-content {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-gold);
    flex: 1;
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ===================================
   LIVE WITHDRAWAL FEED
   =================================== */
.withdrawal-feed-container {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 20px);
    left: 20px;
    z-index: 99;
    max-width: calc(100vw - 40px);
    pointer-events: none;
}

.withdrawal-card {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.withdrawal-card.active {
    transform: translateX(0);
}

.withdrawal-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-gold);
}

.withdrawal-info {
    flex: 1;
}

.withdrawal-user {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.withdrawal-text {
    font-size: 10px;
    color: var(--primary-gold);
    font-weight: 600;
}

/* ===================================
   SULTAN CARE (SUPPORT)
   =================================== */
.sultan-care-widget {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 20px);
    right: 20px;
    z-index: 99;
}

.sultan-care-btn {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px 8px 8px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.sultan-care-btn:active {
    transform: scale(0.95);
}

.admin-avatar-wrapper {
    position: relative;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--success-green);
    display: block;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: var(--success-green);
    border-radius: 50%;
    border: 2px solid #000;
}

.care-text {
    display: flex;
    flex-direction: column;
}

.care-title {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.care-subtitle {
    font-size: 10px;
    color: var(--success-green);
    font-weight: 600;
}

/* ===================================
   DASHBOARD ALIVE EFFECTS
   =================================== */
.dashboard-alive {
    animation: sultanFloat 6s infinite ease-in-out;
    position: relative;
}

.dashboard-alive::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    animation: goldPulse 4s infinite alternate;
    pointer-events: none;
}

@keyframes sultanFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
    }

    100% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    }
}

/* ===================================
   SKELETON LOADING
   =================================== */
.skeleton {
    background: linear-gradient(90deg, #111 25%, #222 50%, #111 75%) !important;
    background-size: 200% 100% !important;
    animation: skeleton-loading 1.5s infinite !important;
    border-radius: 8px !important;
    color: transparent !important;
    pointer-events: none !important;
    border: none !important;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===================================
   TICKER / MARQUEE
   =================================== */
.news-ticker {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-subtle);
    height: 36px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-wrapper {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
    align-items: center;
    height: 100%;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-gold);
    gap: 8px;
}

/* ===================================
   ULTIMATE SULTAN: PROFIT TICKER
   =================================== */
.profit-ticker-container {
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a, #1a1a1a);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 10px 0;
    margin: 10px 0 25px 0;
    overflow: hidden;
    position: relative;
}

.profit-ticker-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.profit-ticker-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profit-ticker-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    font-family: 'Montserrat', sans-serif;
}

/* ===================================
   ULTIMATE SULTAN: PWA PROMPT
   =================================== */
.pwa-prompt-overlay {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 15px);
    left: 15px;
    right: 15px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(200%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pwa-prompt-overlay.show {
    transform: translateY(0);
}

.pwa-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.pwa-text {
    flex: 1;
}

.pwa-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.pwa-desc {
    font-size: 11px;
    color: var(--text-secondary);
}

.btn-pwa-install {
    background: var(--primary-gold);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.pwa-close {
    color: var(--text-secondary);
    font-size: 18px;
    padding: 4px;
    cursor: pointer;
}

/* ===================================
   ULTIMATE SULTAN: LANGUAGE TOGGLE
   =================================== */
.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
}

.lang-btn {
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--primary-gold);
    color: #000;
}

/* ===================================
   ULTIMATE SULTAN: SECURITY GALLERY
   =================================== */
.security-gallery {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.security-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.security-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: opacity 0.3s;
}

.security-logos:hover {
    opacity: 1;
    filter: grayscale(0);
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.security-item i {
    font-size: 24px;
    color: var(--text-primary);
}

.security-item span {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===================================
   SULTAN ELITE VIP CARD (HOLOGRAPHIC)
   =================================== */
.vip-card-section {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.sultan-vip-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6/1;
    /* Credit Card Ratio */
    background: linear-gradient(135deg, #111 0%, #222 100%);
    border-radius: 24px;
    padding: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), var(--inner-glow);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: vipFloat 6s infinite ease-in-out;
    perspective: 1000px;
}

/* Holographic Shine Logic */
.sultan-vip-card::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.08) 48%,
            rgba(212, 175, 55, 0.15) 50%,
            rgba(255, 255, 255, 0.08) 52%,
            transparent 55%);
    transform: rotate(-45deg);
    animation: holoShine 8s infinite ease-in-out;
    pointer-events: none;
    z-index: 2;
}

@keyframes holoShine {
    0% {
        transform: translate(-20%, -20%) rotate(-45deg);
    }

    100% {
        transform: translate(20%, 20%) rotate(-45deg);
    }
}

@keyframes vipFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg);
    }

    50% {
        transform: translateY(-15px) rotateY(5deg);
    }
}

.vip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
}

.vip-chip {
    width: 50px;
    height: 38px;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.vip-chip::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 8px;
    right: 8px;
    bottom: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.vip-rank {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    text-transform: uppercase;
}

.vip-card-center {
    margin: 20px 0;
    z-index: 3;
}

.vip-number {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    letter-spacing: 5px;
    color: #fff;
    opacity: 1;
    word-spacing: 12px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.vip-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 3;
}

.vip-holder .label {
    font-size: 9px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}

.vip-holder .name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
}

.vip-logo {
    font-weight: 900;
    font-size: 26px;
    color: var(--primary-gold);
    opacity: 0.4;
    font-family: 'Outfit', sans-serif;
}

/* Global Depth Overhaul for Cards */
.app-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--premium-shadow), var(--inner-glow);
}