:root {
    --primary-gold: #c19632;
    --primary-gold-light: #e5c16d;
    --navy: #082133;
    --navy-dark: #030d15;
    --white: #FAF5EB;
    --glass-white: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(193, 150, 50, 0.3);
    --gold-gradient: linear-gradient(135deg, #c19632 0%, #e5c16d 50%, #c19632 100%);
    --navy-gradient: linear-gradient(180deg, #082133 0%, #030d15 100%);
}

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

html, body {
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.6;
    position: relative;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--primary-gold); border-radius: 10px; }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 33, 51, 0.85);
    backdrop-filter: blur(20px);
    z-index: 2000;
    border-bottom: 1px solid var(--border-gold);
    transition: 0.4s;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 2001;
}

.logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
    transition: 0.3s;
}

/* Mobile Nav Layout */
@media (max-width: 1100px) {
    nav {
        padding: 10px 5%;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hamburger { 
        display: flex; 
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(3, 13, 21, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s ease-in-out, visibility 0.4s;
        border-left: none;
        gap: 30px;
        z-index: 2000;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .nav-cta {
        display: none !important;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(8, 33, 51, 0.75), rgba(8, 33, 51, 0.85)), 
                url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?q=80&w=2070') center/cover;
    padding: 0 5%;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background: linear-gradient(to top, var(--navy), transparent);
}

.hero-content { 
    z-index: 10; 
    max-width: 1000px; 
    margin-top: 60px;
}

.section-tag {
    background: rgba(193, 150, 50, 0.15);
    color: var(--primary-gold);
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-gold);
    display: inline-block;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
    color: #fff;
}

.gold-text { 
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--navy-dark);
    padding: 18px 50px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.4s;
    box-shadow: 0 10px 40px rgba(193, 150, 50, 0.3);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(193, 150, 50, 0.5);
    filter: brightness(1.1);
}

/* --- App Download Section --- */
.download-section {
    padding: 120px 8%;
    background: var(--navy-gradient);
    position: relative;
}

.download-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.download-card {
    background: var(--glass-white);
    border: 1px solid var(--border-gold);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.download-card:hover {
    background: rgba(193, 150, 50, 0.05);
    border-color: var(--primary-gold);
    transform: translateY(-10px);
}

.download-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.store-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    min-width: 200px;
    text-align: right;
}

.store-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.store-btn:not(.disabled):hover {
    background: #111;
    transform: scale(1.05);
    border-color: var(--primary-gold);
}

.store-btn i { font-size: 2rem; }
.store-btn span { display: block; }
.store-btn .small-text { font-size: 0.7rem; opacity: 0.7; }
.store-btn .large-text { font-size: 1.1rem; font-weight: 700; }

/* --- Features Section --- */
.features {
    padding: 120px 8%;
    background: var(--navy);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--glass-white);
    padding: 50px 35px;
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    transition: 0.4s;
    height: 100%;
}

.feature-item:hover {
    background: rgba(193, 150, 50, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    background: rgba(193, 150, 50, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-item h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-gold-light);
}

/* --- 3D Feature Highlight --- */
.highlight-3d {
    padding: 120px 8%;
    background: linear-gradient(rgba(8, 33, 51, 0.9), rgba(8, 33, 51, 0.9)), 
                url('https://images.unsplash.com/photo-1549490349-8643362247b5?q=80&w=2070') center/cover;
    display: flex;
    align-items: center;
    gap: 60px;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    overflow: hidden;
}

.text-side { flex: 1; }
.visual-side { flex: 1; position: relative; }

.image-stack {
    position: relative;
    width: 100%;
    height: 450px;
}

.stack-img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    border: 1px solid var(--border-gold);
    transition: 0.5s;
}

.img-1 { width: 80%; top: 0; left: 0; z-index: 3; }
.img-2 { width: 80%; bottom: 0; right: 0; z-index: 2; opacity: 0.6; }

/* --- Loyalty Section --- */
.loyalty {
    padding: 120px 8%;
    text-align: center;
    overflow: hidden;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.tier-card {
    padding: 40px 20px;
    background: var(--glass-white);
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    transition: 0.4s;
}

.tier-card:hover { transform: scale(1.05); }
.tier-card.bronze { border-color: #cd7f32; }
.tier-card.silver { border-color: #c0c0c0; }
.tier-card.gold { border-color: #ffd700; }
.tier-card.platinum { border-color: #e5e4e2; }

.tier-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* --- Footer --- */
footer {
    background: var(--navy-dark);
    padding: 100px 8% 40px;
    border-top: 1px solid var(--border-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-about p { opacity: 0.7; margin-top: 20px; }

.footer-links h5 { font-size: 1.4rem; color: var(--primary-gold); margin-bottom: 30px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 15px; }
.footer-links ul li a { color: #fff; text-decoration: none; opacity: 0.7; transition: 0.3s; }
.footer-links ul li a:hover { opacity: 1; color: var(--primary-gold); }

.social-links { display: flex; gap: 20px; margin-top: 30px; }
.social-links a { 
    width: 45px; height: 45px; 
    border: 1px solid var(--border-gold); 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; color: #fff; text-decoration: none; 
    transition: 0.3s;
}
.social-links a:hover { background: var(--primary-gold); color: var(--navy); border-color: var(--primary-gold); }

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    opacity: 0.5;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .download-container, .highlight-3d, .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 60px;
    }
    .text-side { order: 1; text-align: center; }
    .visual-side { order: 2; width: 100%; margin-top: 30px; }
    
    .tiers-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3.5rem; }
    .image-stack { 
        height: 500px; /* Increase height for mobile */
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.6rem; }
    .tiers-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 120px; min-height: 100vh; height: auto; padding-bottom: 80px; }
    .download-card { padding: 40px 20px; }
    .store-btn { min-width: 100%; padding: 15px; }
    .image-stack { height: 400px; }
    .img-1, .img-2 { width: 85%; }
}
