@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* ── Color Palette (Inspired by Modern Deep Indigo & Electric Gold Design) ── */
    --primary: #FFB800;
    --primary-hover: #FFA000;
    --primary-light: #FFD54F;
    --primary-glow: rgba(255, 184, 0, 0.4);
    --primary-glow-subtle: rgba(255, 184, 0, 0.15);
    
    --accent-cyan: #00E5FF;
    --accent-cyan-glow: rgba(0, 229, 255, 0.35);
    --accent-indigo: #4F46E5;
    --accent-violet: #8B5CF6;
    --accent-emerald: #10B981;
    --accent-red: #EF4444;

    --bg-deep: #080A1A;
    --bg: #0C0E28;
    --bg-card: #13173D;
    --bg-card-hover: #191E52;
    --bg-surface: #1E2362;
    --bg-ribbon: #1C2366;
    --bg-glass: rgba(19, 23, 61, 0.75);

    --text: #FFFFFF;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;
    --text-dark: #0A0D25;

    --border: rgba(99, 102, 241, 0.22);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 184, 0, 0.55);
    --border-cyan: rgba(0, 229, 255, 0.4);

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #050713; /* Ambient backdrop on laptops/desktops */
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { 
    overflow: hidden; 
}

/* ── Mobile Application View Shell (Strict Mobile Layout across all Devices) ── */
.mobile-app-shell {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(79, 70, 229, 0.22);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 72px; /* clearance for sticky bottom dock */
    overflow-x: clip;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition); 
}

ul { 
    list-style: none; 
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { 
    width: 6px; 
}
::-webkit-scrollbar-track { 
    background: var(--bg-deep); 
}
::-webkit-scrollbar-thumb { 
    background: linear-gradient(180deg, var(--primary), var(--accent-indigo)); 
    border-radius: 5px; 
}

/* ── Compact Mobile Header ── */
/* ── Compact Mobile Header (Always Fixed/Sticky at Top) ── */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 14, 40, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(8, 10, 26, 0.98);
    border-bottom: 1px solid rgba(255, 184, 0, 0.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    width: 100%;
    max-width: 100%;
    gap: 0.6rem;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo img { 
    height: 32px; 
    max-width: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

/* Slide-Down Mobile Drawer Menu (Contained 100% within Mobile Shell) */
.nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(12, 15, 42, 0.98) 0%, rgba(8, 10, 28, 0.99) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid var(--primary);
    padding: 1.25rem 1.2rem 1.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
    z-index: 1001;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.nav-list.active {
    display: block;
    animation: drawerDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerDrop {
    from { 
        opacity: 0; 
        transform: translateY(-8px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.nav-list ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.nav-list a:hover { 
    color: var(--primary);
    background: rgba(255, 184, 0, 0.08);
    border-color: rgba(255, 184, 0, 0.35);
    padding-left: 1.1rem;
}

.nav-arrow {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 800;
    transition: transform 0.2s ease;
}

.nav-list a:hover .nav-arrow {
    transform: translateX(4px);
}

.nav-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-drawer-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.btn-drawer-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--primary), #FF8F00);
    color: #080A1A;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

/* Full Backdrop Overlay when Menu is Open */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Header Action Buttons */
.header-auth {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    flex-shrink: 0;
}

.header-auth .btn-login-ghost {
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    white-space: nowrap;
}

.header-auth .btn-login-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow-subtle);
}

.header-auth .btn-signup {
    background: linear-gradient(135deg, var(--primary) 0%, #FFA000 100%);
    color: var(--text-dark);
    padding: 0.38rem 0.85rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 2px 12px var(--primary-glow);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.header-auth .btn-signup:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255, 184, 0, 0.6);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1002;
    flex-shrink: 0;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%; 
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.25s ease-in-out;
}

.mobile-menu-toggle.active span:nth-child(1) { 
    transform: translateY(6px) rotate(45deg); 
    background: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(2) { 
    opacity: 0; 
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) { 
    transform: translateY(-6px) rotate(-45deg); 
    background: var(--primary);
}

@media (max-width: 768px) {
    .header-container { 
        padding: 0.8rem 5%; 
    }
    .logo { 
        flex-grow: 1; 
    }
    .logo img { 
        height: 32px; 
    }
}

/* ── Section Title Styles ── */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    text-align: center;
    color: var(--text);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-top: 0.75rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.text-gold {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-cyan {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Ad Wrappers ── */
.ad-wrapper {
    margin: 3rem auto;
}

.ad-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: var(--bg-card);
    transition: var(--transition);
}

.ad-container:hover {
    border-color: var(--border-bright);
}

/* ── Footer ── */
footer {
    background: linear-gradient(180deg, var(--bg-deep) 0%, #04050E 100%);
    padding: 5rem 5% 2.5rem;
    margin-top: 5rem;
    border-top: 1px solid var(--border);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent-cyan), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.footer-trust-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.trust-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.footer-nav h4, 
.footer-contact h4,
.footer-payments h4 {
    font-family: var(--font-heading);
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav h4::after,
.footer-contact h4::after,
.footer-payments h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-nav ul { 
    display: flex; 
    flex-direction: column; 
    gap: 0.75rem; 
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-nav a:hover { 
    color: var(--primary); 
    transform: translateX(4px);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-payments .payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-subtle);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-subtle);
    font-size: 0.85rem;
}

.footer-links a:hover { 
    color: var(--primary); 
}

/* ── Sticky Mobile Bottom Navigation Dock (Always active across all devices) ── */
.mobile-bottom-dock {
    position: fixed;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 64px;
    background: rgba(9, 12, 32, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 184, 0, 0.28);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 1005;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.85);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.dock-item:hover,
.dock-item.active {
    color: var(--primary);
}

.dock-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: var(--transition);
}

.dock-item.active .dock-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.dock-item.dock-cta {
    position: relative;
}

.dock-cta-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0D25;
    font-size: 1.25rem;
    margin-top: -18px;
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 3px solid #090C22;
    transition: var(--transition);
}

.dock-item.dock-cta:hover .dock-cta-badge {
    transform: scale(1.1);
}

footer { 
    padding: 2.5rem 1rem 2rem; 
    margin-top: 2rem; 
    background: #090B22;
    border-top: 1px solid var(--border-light);
}

.footer-top { 
    display: flex;
    flex-direction: column;
    gap: 2rem; 
}

.footer-bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 0.75rem;
}

.footer-links { 
    justify-content: center; 
    flex-wrap: wrap;
    gap: 1rem;
}
