:root {
    --onyx-black: #0a0a0b;
    --sultan-gold: linear-gradient(135deg, #d4af37 0%, #f1d592 50%, #b8860b 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gold-glow: 0 0 30px rgba(212, 175, 55, 0.2);
}

/* NEW MESH BACKGROUND */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--onyx-black);
    z-index: -2;
    overflow: hidden;
}

.mesh-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.07) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    animation: meshRotate 30s infinite linear;
}

@keyframes meshRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* HERO 3D TEASER */
.hero-scene {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    margin: 40px 0;
}

.floating-sultan-card {
    width: 280px;
    height: 420px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.9) 0%, rgba(10, 10, 12, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), var(--gold-glow);
    position: relative;
    transform-style: preserve-3d;
    animation: floatingCard 6s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
}

.floating-sultan-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 55%, transparent 60%);
    animation: cardShine 4s infinite linear;
}

@keyframes floatingCard {
    0%, 100% { transform: rotateY(-15deg) translateY(0) rotateX(10deg); }
    50% { transform: rotateY(15deg) translateY(-20px) rotateX(-5deg); }
}

@keyframes cardShine {
    0% { transform: translate(-30%, -30%); }
    100% { transform: translate(30%, 30%); }
}

.card-teaser-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.card-teaser-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37, #f1d592);
    border-radius: 6px;
    margin-bottom: auto;
}

.card-teaser-name {
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

/* PREMIUM SECTION TITLES */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 28px;
    text-align: center;
    margin: 60px 0 30px;
    background: var(--sultan-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* PRICING SECTION REFINEMENT */
.pricing-scroll {
    display: flex;
    flex-direction: column; /* Force stack on mobile */
    gap: 24px;
    padding: 20px;
    overflow-x: visible; /* Remove scroll */
    align-items: stretch;
}

.pricing-card-mobile {
    width: 100%; /* Full width */
    min-width: unset; /* Remove min-width */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-mobile.featured {
    border-color: rgba(212, 175, 55, 0.4);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 100%);
    transform: scale(1.02);
    z-index: 10;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--sultan-gold);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    flex-grow: 1; /* Push button to bottom */
}

.tier-features li {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-features i {
    color: var(--success-green);
}

.pricing-card-mobile .btn {
    margin-top: auto; /* Ensure button stays at bottom */
}

/* STATS & FEATURES REFINEMENT */
.stats-scroll, .feature-grid-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 0 20px 40px !important;
    overflow-x: visible !important;
    width: 100% !important;
}

.stat-card, .feature-card-mobile {
    width: 100% !important;
    min-width: unset !important;
    margin: 0 !important;
}

/* EDUCATION CARDS REFINEMENT */
.edu-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px 60px;
    overflow-x: visible;
}

.edu-card-premium {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.edu-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color, var(--primary-gold));
}

.edu-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--accent-color, var(--primary-gold));
}

.edu-card-premium h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.edu-card-premium p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 16px;
}

.edu-link {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CUSTOM BUTTON SHIMMER */
.btn-primary {
    background: var(--sultan-gold) !important;
    position: relative;
    overflow: hidden;
    border: none !important;
    color: #000 !important;
    font-weight: 800 !important;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: btnShimmer 3s infinite;
}

@keyframes btnShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* GLOBAL SECTION SPACING */
section, .section-wrapper {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.hero-mobile {
    padding-top: 100px;
    padding-bottom: 60px;
}

.section-title {
    margin-top: 0;
    margin-bottom: 40px;
}

.app-card.elevated {
    margin-bottom: 40px !important;
}

/* VIP CARD RESPONSIVENESS */
.sultan-vip-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 220px !important;
    aspect-ratio: 1.58 / 1 !important;
    padding: 24px !important;
}

.vip-number {
    font-size: 16px !important;
    letter-spacing: 2px !important;
}
