/* ==========================================
   CSS VARIABLES & GLOBAL RESETS (THEME COLOR LOCKED IN)
   ========================================== */
:root {
    --bg-dark: #050914;        /* Rich Dark Midnight Navy blue background */
    --bg-card: #0c1224;        /* Deep navy slate container background */
    --accent-green: #aeff00;   /* Bright electric Neon Lemon Green */
    --accent-forest: #141c30;  /* Muted dark navy for badges/secondary elements */
    --accent-sand: #e2e8f0;    /* Grounding warm silver-sand tone for premium typography */
    --text-white: #ffffff;
    --text-gray: #8ca39f;      /* Muted gray-indigo reading copy text */
    --border-dark: #1e293b;    /* Clean slate-navy border */
    --border-glow: rgba(174, 255, 0, 0.1); /* Subtle green border glow */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-stack);
    overflow-x: hidden;
}

/* Defensive global rules to prevent unstyled SVGs from breaking container boundaries */
svg {
    max-width: 100%;
    max-height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease-in-out;
}

/* ==========================================
   HEADER NAVIGATION STYLES
   ========================================== */
.site-header {
    background-color: rgba(5, 9, 20, 0.9); /* Opaque background prevents scrolling text conflicts underneath */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: fixed; /* Fixed: Changed from absolute to fixed to keep header stagnant on scroll */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 150; 
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px; /* Native padding preserved perfectly for mobile view */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-image {
    height: 90px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.25s ease-in-out;
}

.logo-fallback {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.accent-text {
    color: var(--accent-green);
}

.hidden {
    display: none;
}

.desktop-nav {
    display: none;
}

.nav-item {
    color: var(--text-gray);
    position: relative;
    font-weight: 500;
    transition: color 0.25s ease;
}

/* Underline animation on hover */
.nav-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-green);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-item:hover {
    color: var(--accent-green);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-item.active {
    color: var(--accent-green);
}

.nav-item.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative; /* Fixed: Positioning activated so z-index functions correctly */
    z-index: 160;
}

/* Header Register Button */
.btn-register {
    display: none;
    font-size: 0.875rem;
    font-weight: 700;
    background-color: var(--accent-green);
    color: #000000;
    padding: 10px 20px;
    border-radius: 6px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-register:hover {
    background-color: var(--text-white);
    color: #000000;
    transform: translateY(-1.5px);
}

/* Header Login Button */
.btn-login {
    display: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-sand);
    border: 1px solid var(--border-dark);
    padding: 10px 20px;
    border-radius: 6px;
}

.btn-login:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-1.5px);
}

/* Hamburger button styling */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative; /* Fixed: Positioning activated so z-index functions correctly */
    z-index: 160;
}

.hamburger-btn .bar {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.open .bar {
    background-color: var(--accent-green); 
}

.hamburger-btn.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.open .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Backdrop dimming overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 14, 11, 0.8);
    z-index: 140; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================
   LIVELY MOBILE DRAWER MENU STYLES
   ========================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-dark); 
    border-left: 1px solid var(--border-dark);
    padding: 72px 24px 32px 24px; 
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.7);
    z-index: 1005;
    transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    height: 90px;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
}

.drawer-brand-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
}

/* Close button styling */
.drawer-close-btn {
    position: absolute; 
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
}

.drawer-close-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease, color 0.2s ease;
}

.drawer-close-btn:hover svg {
    transform: rotate(90deg);
    color: var(--accent-green);
}

.drawer-main-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.drawer-main-item {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-white);
    transition: color 0.2s ease, transform 0.2s ease;
}

.drawer-main-item:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.drawer-sub-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.drawer-sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.2s ease;
}

.drawer-sub-item svg {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.drawer-sub-item:hover, .drawer-sub-item:hover svg {
    color: var(--accent-green);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* ==========================================
   DRAWER LOGO BOLD STYLING (LEFT-ALIGNED)
   ========================================== */
.drawer-logo-image {
    height: 48px; 
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.05) contrast(1.1) drop-shadow(0 2px 8px rgba(174, 255, 0, 0.15)); 
    margin-left: -22px; 
}

.mobile-nav-item {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-item:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.mobile-nav-item.active {
    color: var(--accent-green);
    font-weight: 800;
}

.drawer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}

.btn-drawer-register {
    display: block;
    text-align: center;
    background-color: var(--accent-green);
    color: #000000;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.btn-drawer-register:hover {
    transform: translateY(-1px);
}

.btn-drawer-login {
    display: block;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.btn-drawer-login:hover {
    border-color: var(--accent-green);
    transform: translateY(-1px);
}

.drawer-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.drawer-capsule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-capsule-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.drawer-capsule-card svg {
    width: 20px;
    height: 20px;
    color: var(--text-gray);
    transition: color 0.25s ease;
}

.drawer-capsule-card:hover {
    border-color: var(--accent-green);
    background-color: rgba(174, 255, 0, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(174, 255, 0, 0.05);
}

.drawer-capsule-card:hover svg {
    color: var(--accent-green);
}

/* ==========================================
   FLOATING SOCIAL MEDIA SIDEBAR (DESKTOP SPECIFIC)
   ========================================== */
.floating-social-sidebar {
    display: none; 
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 12px;
    background-color: rgba(12, 18, 36, 0.8); 
    border: 1px solid rgba(174, 255, 0, 0.15); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 10px;
    border-radius: 30px;
    z-index: 1000; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
}

.social-sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(13, 17, 14, 0.4);
    color: var(--accent-sand);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}

.social-sidebar-icon svg {
    width: 18px;
    height: 18px;
}

.social-sidebar-icon:hover {
    color: #000000;
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    transform: scale(1.15) translateX(-2px);
    box-shadow: 0 5px 15px rgba(174, 255, 0, 0.25);
}

/* ==========================================
   MOBILE FIXED HORIZONTAL SOCIAL BAR
   ========================================== */
.mobile-social-bar {
    position: fixed;
    bottom: 84px; /* Placed cleanly above the bottom navigation app bar */
    left: 50%;
    transform: translate(-50%, 20px); 
    display: flex;
    flex-direction: row;
    gap: 16px;
    background-color: rgba(12, 18, 36, 0.9); /* Opaque slate matches theme precisely */
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 30px;
    z-index: 1000; /* Stacks clearly over lower page structures */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.mobile-social-bar.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.social-mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(13, 17, 14, 0.5);
    color: var(--accent-sand);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.social-mobile-icon svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .mobile-social-bar {
        display: none !important; /* Concealed entirely on tablets and screens above */
    }
}

/* ==========================================
   HERO / BODY LAYOUT (MOBILE FIRST)
   ========================================== */
.hero-section {
    min-height: 100vh;
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px 0; 
    overflow: hidden;
}

.hero-glow-layer {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 80% 30%, rgba(174, 255, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(16, 28, 19, 0.4) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;         
    position: relative;
    z-index: 10;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

/* Base Mobile view is now aligned LEFT elegantly to prevent trust badge clipping and match video framing */
.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    gap: 24px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 28, 19, 0.6);
    border: 1px solid var(--border-glow);
    padding: 6px 12px;
    border-radius: 100px;
    color: var(--accent-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-icon {
    width: 14px;
    height: 14px;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-white);
}

.hero-subtext {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 480px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin-top: 8px;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 20px;
    border-radius: 100px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-main-label {
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-sub-label {
    font-size: 0.7rem;
    opacity: 0.7;
}

.btn-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.btn-arrow-circle svg {
    width: 16px;
    height: 16px;
}

.btn-hire {
    background-color: var(--accent-green);
    color: #030705;
}

.btn-hire .btn-arrow-circle {
    background-color: #030705;
    color: var(--accent-green);
}

.btn-hire:hover {
    background-color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(174, 255, 0, 0.2);
}

.btn-earn {
    background-color: rgba(18, 28, 21, 0.4);
    border: 1px solid var(--border-dark);
    color: var(--text-white);
}

.btn-earn .btn-arrow-circle {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-earn:hover {
    border-color: var(--accent-green);
    background-color: rgba(18, 28, 21, 0.6);
    transform: translateY(-2px);
}

.btn-earn:hover .btn-arrow-circle {
    background-color: var(--accent-green);
    color: #030705;
    border-color: var(--accent-green);
}

/* Muted checkmark bullets - now Left-aligned perfectly on Mobile view */
.hero-trust-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 24px;
    margin-top: 16px;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-green);
}

.hero-visual-content {
    display: none; 
}

/* ==========================================
   HERO VIDEO BACKDROP SYSTEM (MULTI-VIEWPORT)
   ========================================== */
.hero-video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Sits below the text layers */
    overflow: hidden;
}

/* Base display configurations for viewports */
.hero-video-mobile {
    display: block;
}
.hero-video-tablet, 
.hero-video-desktop {
    display: none;
}

/* Base element styles - Muted to brightness(0.75) on mobile for a comfortable dark aesthetic */
.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transform: scale(1.08);
    filter: brightness(0.75) contrast(1.02); 
}

/* Cinematic vertical and horizontal blends - Darkened slightly for mobile text legibility */
.hero-video-overlay-vertical {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to bottom, 
        #050914 0%, 
        rgba(5, 9, 20, 0) 18%, 
        rgba(5, 9, 20, 0) 82%, 
        #050914 100%
    );
}

.hero-video-overlay-horizontal {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: linear-gradient(to bottom, 
        rgba(5, 9, 20, 0.75) 0%, 
        rgba(5, 9, 20, 0.4) 100%
    );
}

/* ==========================================
   CENTERED ONLINE MEMBERS STATUS RIBBON
   ========================================== */
.online-members-ribbon {
    background-color: var(--bg-dark); 
    padding: 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
}

.ribbon-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.status-badge-centered {
    background-color: rgba(12, 18, 36, 0.95);
    padding: 10px 18px;
    border-radius: 100px;
    border: 1px solid var(--border-glow); 
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.status-badge-centered .status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
}

.status-badge-centered .status-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

/* ==========================================
   STATS METRICS ROW SECTION
   ========================================== */
.stats-section {
    background-color: var(--bg-dark); 
    padding: 40px 24px;
    position: relative;
    z-index: 10;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(12, 18, 36, 0.45); 
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none; 
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--accent-forest);
    color: var(--accent-green);
    border: 1px solid rgba(174, 255, 0, 0.08);
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.star-accent {
    color: var(--accent-green);
}

.stat-card-divider {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 24px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Responsive 2x2 wrapping grid on mobile views */
@media (max-width: 767px) {
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
        padding: 20px 16px;
    }

    .stat-card {
        border-right: none !important;
        padding-right: 0 !important;
        justify-content: center;
    }

    .stat-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
        padding-right: 8px !important;
    }

    .stat-card:nth-child(3):last-child {
        grid-column: span 2;
        border-right: none !important;
        padding-right: 0 !important;
    }

    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* ==========================================
   "HOW IT WORKS" STEPS SECTION
   ========================================== */
.how-it-works-section {
    background-color: var(--bg-dark); 
    padding: 80px 24px;
}

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

.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 8px;
    color: var(--text-white);
}

.section-title .text-green {
    color: var(--accent-green);
}

.steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.step-card {
    background-color: var(--bg-card); 
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 0.25s ease-in-out,
                box-shadow 0.25s ease-in-out;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 20px -10px rgba(174, 255, 0, 0.2);
}

.step-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--accent-forest);
    color: var(--accent-green);
}

.step-icon svg {
    width: 20px;
    height: 20px;
}

.step-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-sand);
    opacity: 0.5;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================================
   SITE FOOTER SECTION
   ========================================== */
.site-footer {
    background-color: var(--bg-dark); 
    padding: 20px 24px 40px 24px;
    position: relative;
    z-index: 10;
}

.footer-inner-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #091021 0%, #040815 100%); 
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.col-left, .col-center, .col-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
}

.footer-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    width: auto;
}

.footer-handshake-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.9;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 8px rgba(174, 255, 0, 0.35));
}

.footer-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-sand);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-social-link:hover {
    color: #000000;
    background-color: var(--accent-green);
    transform: scale(1.1);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin: 24px 0;
}

.footer-mid-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 310px;
    width: 100%;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    text-align: center;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 4px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 16px;
    color: var(--text-white);
    font-size: 0.85rem;
    width: 100%;
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--accent-green);
    color: #000000; 
    border: none;
    outline: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}


.btn-subscribe:hover {
    background-color: var(--text-white);
    color: #000000;
    transform: translateY(-1.5px);
}




.btn-subscribe .arrow-icon {
    width: 14px;
    height: 14px;
}

.footer-office-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.office-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.office-address {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.footer-bottom-row {
    display: flex;
    justify-content: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
}

.footer-nav-item {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-link-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: var(--accent-green);
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

/* ==========================================
   EXPLORE OPPORTUNITIES STYLES (REFERENCE IMAGE 1 ALIGNMENT)
   ========================================== */
.explore-section {
    background-color: var(--bg-dark);
    padding: 60px 24px;
    position: relative;
    z-index: 10;
}

.explore-container {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 24px;
}

.explore-titles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.explore-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
}

.explore-section-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    max-width: 500px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.25s ease;
    flex-shrink: 0;
}

.view-all-link:hover {
    color: var(--accent-green);
}

.view-all-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.02);
    transition: all 0.25s ease;
}

.view-all-link:hover .view-all-circle {
    border-color: var(--accent-green);
    background-color: rgba(174, 255, 0, 0.04);
    transform: scale(1.05);
}

/* Card Slider (Horizontal on Mobile/Tablet) */
.explore-cards-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 4px 20px 4px;
    scroll-behavior: smooth;
    scrollbar-width: none; 
}

.explore-cards-slider::-webkit-scrollbar {
    display: none; 
}

/* Explore Card structural properties matching high-end layout */
.explore-card {
    position: relative;
    flex: 0 0 250px; 
    height: 310px;
    background-color: rgba(12, 18, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 25px rgba(174, 255, 0, 0.12);
}

.explore-card-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Category Specific Icon overrides to match high fidelity image colors */
.explore-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.item-chef .explore-card-icon {
    background-color: rgba(174, 255, 0, 0.05);
    border: 1px solid rgba(174, 255, 0, 0.15);
    color: var(--accent-green);
}

.item-construction .explore-card-icon {
    background-color: rgba(234, 179, 8, 0.05);
    border: 1px solid rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.item-farmer .explore-card-icon {
    background-color: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.item-transport .explore-card-icon {
    background-color: rgba(174, 255, 0, 0.05);
    border: 1px solid rgba(174, 255, 0, 0.15);
    color: var(--accent-green);
}

.item-cleaner .explore-card-icon {
    background-color: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.item-server .explore-card-icon {
    background-color: rgba(174, 255, 0, 0.05);
    border: 1px solid rgba(174, 255, 0, 0.15);
    color: var(--accent-green);
}

.explore-card-icon svg {
    width: 20px;
    height: 20px;
}

/* Text boundary constraint to prevent vertical character overlap */
.explore-card-meta {
    max-width: 65% !important; 
    z-index: 5;
}

.card-item-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2; 
    letter-spacing: -0.5px;
}

.card-item-jobs {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 4px;
    display: block;
    font-weight: 600;
}

.explore-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.card-pill {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 100px;
}

.badge-popular {
    background-color: rgba(174, 255, 0, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(174, 255, 0, 0.2);
}

.badge-trending {
    background-color: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-new {
    background-color: rgba(236, 72, 153, 0.08);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.card-circle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    transition: all 0.25s ease;
}

.explore-card:hover .card-circle-arrow {
    background-color: var(--accent-green);
    color: #000000;
    border-color: var(--accent-green);
    transform: scale(1.05);
}

/* ==========================================
   EXPLORE CARDS CHARACTER IMAGE CONFIGURATION
   The base layer handles positioning, clipping, and hover transitions.
   ========================================== */
.explore-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.95; 
    z-index: 1;
    pointer-events: none;
    filter: brightness(1.02) contrast(1.02); 
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* Hover transitions */
.explore-card:hover::before {
    opacity: 1;
    transform: scale(1.03); 
    filter: brightness(1.1) contrast(1.05); 
}

/* ==========================================
   BASE CONFIGURATION FOR CARD IMAGES (SHARED)
   Handles the default styles like positioning and overlays
   ========================================== */
.explore-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    background-size: contain;
    background-position: right bottom !important; /* Positions images to the bottom-right corner */
    background-repeat: no-repeat;
    opacity: 0.95; 
    z-index: 1;
    pointer-events: none;
    filter: brightness(1.02) contrast(1.02); 
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* Hover transitions across all devices */
.explore-card:hover::before {
    opacity: 1;
    transform: scale(1.03); 
    filter: brightness(1.1) contrast(1.05); 
}

/* ==========================================
   1. MOBILE CONFIGURATION (max-width: 767px)
   These are your exact height & width specifications.
   Adjust 'right' values to control horizontal alignment.
   ========================================== */
@media (max-width: 767px) {
    /* Card 1: Food & Catering (Chef) */
    .item-chef::before {
        background-image: url('../images/chef.png'), radial-gradient(circle at bottom right, rgba(16, 28, 19, 0.4) 0%, transparent 70%);
        width: 260px !important;
        height: 500px !important;
        right: 0 !important; 
    }

    /* Card 2: Construction (Worker / Builder) - Aligned Right */
    .item-construction::before {
        background-image: url('../images/builder.png'), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        width: 380px !important;
        height: 500px !important;
        right: -75px !important; /* Slide further right to bypass PNG whitespace and force right-alignment */
    }

    /* Card 3: Agriculture (Farmer) - Aligned Right */
    .item-farmer::before {
        background-image: url('../images/farmer.png'), radial-gradient(circle at bottom right, rgba(16, 28, 19, 0.4) 0%, transparent 70%);
        width: 390px !important;
        height: 500px !important;
        right: -60px !important; /* Slide further right to bypass PNG whitespace and force right-alignment */
    }

    /* Card 4: Transport (Driver) */
    .item-transport::before {
        background-image: url('../images/driver.png'), radial-gradient(circle at bottom right, rgba(174, 255, 0, 0.05) 0%, transparent 70%);
        width: 260px !important;
        height: 500px !important;
        right: 0 !important;
    }

    /* Card 5: Cleaning (Cleaner) - Aligned Right */
    .item-cleaner::before {
        background-image: url('../images/cleaner.png'), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        width: 400px !important;
        height: 600px !important;
        right: -80px !important; /* Slide further right to bypass PNG whitespace and force right-alignment */
    }

    /* Card 6: Events (Server) */
    .item-server::before {
        background-image: url('../images/server.png'), radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
        width: 260px !important;
        height: 500px !important;
        right: 0 !important;
    }
}

/* ==========================================
   POWERFUL FEATURES SECTION STYLES 
   ========================================== */
.features-section {
    background-color: var(--bg-dark);
    padding: 60px 24px;
    position: relative;
    z-index: 10;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.features-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.features-section-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 8px;
    color: var(--text-white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    position: relative;
    background-color: rgba(12, 18, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0; 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-green) !important;
    box-shadow: 0 0 20px rgba(174, 255, 0, 0.15) !important; 
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-image-wrapper {
    position: relative;
    height: 190px; 
    background-color: rgba(255, 255, 255, 0.01);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center top; 
    filter: brightness(1.05) contrast(1.02); 
    transition: filter 0.3s ease;
}

@media (max-width: 767px) {
    .feature-image-wrapper {
        height: 250px !important; 
    }
}

.feature-card:hover .feature-image-wrapper {
    filter: brightness(1.15) contrast(1.05) !important; 
}

.worker-composite { 
    background-image: linear-gradient(rgba(5, 9, 20, 0.08), rgba(5, 9, 20, 0.08)), url('../images/worker_phone.png'), radial-gradient(circle at center, rgba(16, 28, 19, 0.3) 0%, transparent 70%); 
}
.recruiter-composite { 
    background-image: linear-gradient(rgba(5, 9, 20, 0.08), rgba(5, 9, 20, 0.08)), url('../images/recruiter_laptop.png'), radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%); 
}
.jobs-composite { 
    background-image: linear-gradient(rgba(5, 9, 20, 0.08), rgba(5, 9, 20, 0.08)), url('../images/phone_interface.png'), radial-gradient(circle at center, rgba(174, 255, 0, 0.05) 0%, transparent 70%); 
}
.secure-composite { 
    background-image: linear-gradient(rgba(5, 9, 20, 0.08), rgba(5, 9, 20, 0.08)), url('../images/secure_trusted.png'), radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%); 
}

.simulated-widget {
    background-color: rgba(12, 18, 36, 0.95);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 3;
}

.widget-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-badge {
    position: absolute !important;
    bottom: 16px !important;
    right: 20px !important; 
    left: auto !important;
    transform: none !important;
    width: 110px;
}

.score-value-row {
    display: flex;
    align-items: baseline;
}

.widget-value-primary {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.widget-value-slash {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.score-stars {
    font-size: 0.7rem;
    color: var(--accent-green);
    letter-spacing: 2px;
}

.hire-badge {
    position: absolute !important;
    top: 16px !important;
    right: 20px !important; 
    left: auto !important;
    transform: none !important;
    width: 120px;
}

.widget-avatars {
    display: flex;
    align-items: center;
    gap: -6px;
    margin-top: 2px;
}

.avatar-holder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    margin-left: -6px;
}

.avatar-holder:first-child {
    margin-left: 0;
}

.user-1 { background-color: #3b82f6; }
.user-2 { background-color: #ec4899; }
.user-3 { background-color: var(--accent-green); }

.phone-badge {
    background-color: var(--accent-green);
    color: #000000;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 10px;
}

.shield-icon-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
}

.shield-icon-glow svg {
    width: 26px;
    height: 26px;
}

.feature-card-content {
    padding: 24px; 
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-white);
}

.feature-card-desc {
    font-size: 0.825rem;
    color: var(--text-gray);
    line-height: 1.45;
}

.feature-circle-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    opacity: 0;
    transition: all 0.25s ease;
}

.feature-card:hover .feature-circle-arrow {
    opacity: 1;
    background-color: var(--accent-green);
    color: #000000;
    border-color: var(--accent-green);
    transform: translateX(3px);
}

/* ==========================================
   VIDEO AD SECTION (BACKGROUND VIDEO OVERLAY)
   ========================================== */
.video-ad-section {
    position: relative;
    width: 100%;
    min-height: 460px;
    background-color: var(--bg-dark);
    overflow: hidden;
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Background video and gradient frame */
.video-ad-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-ad-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Cinematic overlay: Fades the left/center video to dark to make text highly readable */
.video-ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(5, 9, 20, 0.95) 0%, 
        rgba(5, 9, 20, 0.75) 50%, 
        rgba(5, 9, 20, 0.95) 100%
    );
    z-index: 2;
}

/* ==========================================
   VIDEO AD SECTION (CONTAINERLESS BLENDED & MASKED)
   ========================================== */
.video-ad-section {
    background-color: var(--bg-dark);
    width: 100%;
    overflow: hidden;
    border: none;
    margin: 0;
    padding: 30px 0;
}

.video-ad-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.video-ad-frame {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-color: var(--bg-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Three-Viewport Video Split Display rules */
.video-mobile { display: block; }
.video-tablet, .video-desktop { display: none; }

/* Background video container */
.video-ad-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-ad-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transform: scale(1.08); /* Scales video slightly to crop edge watermarks */
    filter: brightness(1.22) contrast(1.04);
}

/* ==========================================
   VIDEO LOGO MASK (VIEWPORT SPECIFIC CONTROLS)
   ========================================== */
/* 1. MOBILE VIEWPORT (Under 768px) */
.video-watermark-mask {
    display: none !important; /* Forces the mask to disappear on mobile */
}

/* 2. IPAD / TABLET VIEWPORT (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .video-watermark-mask {
        display: block !important;
        position: absolute !important;
        bottom: 16px !important;
        right: 16px !important;
        width: 110px !important;
        height: 34px !important;
        background-color: rgba(5, 9, 20, 0.45) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-radius: 8px !important;
        z-index: 4 !important;
        pointer-events: none !important;
    }
}

/* 3. DESKTOP VIEWPORT (1024px and wider) */
@media (min-width: 1024px) {
    .video-watermark-mask {
        display: block !important;
        position: absolute !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 130px !important;
        height: 40px !important;
        background-color: rgba(5, 9, 20, 0.45) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-radius: 8px !important;
        z-index: 4 !important;
        pointer-events: none !important;
    }
}

/* Top & Bottom Cinematic Theme blending */
.video-ad-overlay-vertical {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, 
        #050914 0%, 
        rgba(5, 9, 20, 0) 18%, 
        rgba(5, 9, 20, 0) 82%, 
        #050914 100%
    );
}

/* Left & Right Cinematic Theme blending (Mobile default overlay) */
.video-ad-overlay-horizontal {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to bottom, 
        rgba(5, 9, 20, 0.55) 0%, 
        rgba(5, 9, 20, 0) 100%
    );
}

/* Contained text layout alignments */
.video-ad-content-container {
    position: relative;
    width: 100%;
    padding: 48px 24px;
    z-index: 5;
}

.video-ad-text-wrapper {
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.ad-badge {
    background-color: rgba(174, 255, 0, 0.08);
    border: 1px solid var(--border-glow);
    color: var(--accent-green);
}

/* Dynamic Typing Title Rules */
.ad-dynamic-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    min-height: 90px; /* Prevents container shift while typing */
}

.type-row-1 {
    color: var(--text-white);
}

.type-row-2 {
    color: var(--accent-green);
}

/* Sequential transition rules */
.ad-sequential-texts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 110px; /* Layout constraint matching standard step sequences */
}

.seq-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.seq-text.active {
    opacity: 1;
    transform: translateY(0);
}

.seq-2 {
    font-weight: 600;
    color: var(--text-white);
}

/* Delayed CTA Button container styling */
.ad-cta-wrapper {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 280px;
    pointer-events: none;
}

.ad-cta-wrapper.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* ==========================================
   GLOBAL HOMEPAGE BACKGROUND VIDEO SYSTEM
   ========================================== */
.global-bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Placed deep behind all sections and cards */
    overflow: hidden;
    pointer-events: none; /* Mouse actions pass directly through to buttons/links */
}

.global-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05); /* Keeps the video colors looking vivid and crisp */
}

/* Subtle dark mask matching your midnight navy theme */
.global-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 9, 20, 0.78) 0%, rgba(5, 9, 20, 0.88) 100%);
}

/* ==========================================
   SOLID BACKGROUND TO TRANSPARENT OVERRIDES
   ========================================== */
body {
    background-color: var(--bg-dark); /* Keeps a fallback color while video loads */
}

/* Disables solid backgrounds so the glowing map video shows through */
.hero-section,
.online-members-ribbon,
.stats-section,
.how-it-works-section,
.explore-section,
.features-section,
.site-footer {
    background-color: transparent !important;
    background-image: none !important;
}

/* Ensure the center status badge stands out against the background video */
.status-badge-centered {
    background-color: rgba(12, 18, 36, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Keeps your interactive mockup cards, step cards, and feature cards highly legible */
.step-card,
.explore-card,
.feature-card,
.stats-container {
    background-color: rgba(12, 18, 36, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Keeps the footer container visually floating above the bottom of the map */
.footer-inner-card {
    background: linear-gradient(135deg, rgba(9, 16, 33, 0.8) 0%, rgba(4, 8, 21, 0.9) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ==========================================
   SAFE GLOBAL BACKGROUND VIDEO SYSTEM
   ========================================== */
.global-bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999; /* Sent deep behind your content layers */
    overflow: hidden;
    pointer-events: none; /* Mouse operations pass through seamlessly */
}

.global-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.65) contrast(1.05); /* Optimizes backdrop light for maximum text contrast */
}


/* Sophisticated vignette theme-blend overlay */
.global-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 9, 20, 0.72) 0%, rgba(5, 9, 20, 0.90) 100%);
    z-index: 1;
}

/* ==========================================
   NON-DESTRUCTIVE TRANSPARENT OVERRIDES
   ========================================== */
body {
    background-color: var(--bg-dark); /* Keeps standard fallback color */
}

/* Removes solid overlays safely while keeping internal gradients & borders intact */
.hero-section {
    background-color: transparent !important;
}

.online-members-ribbon {
    background-color: transparent !important;
}

.stats-section {
    background-color: transparent !important;
}

.how-it-works-section {
    background-color: transparent !important;
}

.explore-section {
    background-color: transparent !important;
}

.features-section {
    background-color: transparent !important;
}

.site-footer {
    background-color: transparent !important;
}

/* Ensure floating cards stand out elegantly over the moving grid map */
.step-card,
.explore-card,
.feature-card,
.stats-container {
    background-color: rgba(12, 18, 36, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.status-badge-centered {
    background-color: rgba(12, 18, 36, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-inner-card {
    background: linear-gradient(135deg, rgba(9, 16, 33, 0.8) 0%, rgba(4, 8, 21, 0.9) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ==========================================
   FORCE HIDE NATIVE BROWSER PLAY OVERLAYS
   ========================================== */
video {
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Hide Webkit media controls and play/start overlay buttons completely */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-panel-container,
video::-webkit-media-controls-start-playback-button,
*::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================
   NATIVE SAFARI HUD & AUTOPLAY RECOVERY
   ========================================== */
video {
    pointer-events: none !important;      /* Bypasses all taps, sending them straight to page background */
    user-select: none !important;         /* Prevents iOS from pausing on press/hold gestures */
    -webkit-user-select: none !important; /* Safari support */
}

/* Hide Webkit media controls and play overlays in Shadow-DOM */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-panel-container,
video::-webkit-media-controls-start-playback-button,
*::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================
   TABLET & LAPTOP VIEWPORTS (RESTORED COMPLETELY)
   ========================================== */
@media (min-width: 768px) {
    .logo-image {
        height: 150px;
    }

    .header-container {
        padding: 2px 24px; 
    }

    .hero-split-grid {
        grid-template-columns: 1fr; 
    }

    .hero-text-content {
        align-items: flex-start;
        text-align: left;
        max-width: 600px;
        margin: 0; 
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-cta-group {
        flex-direction: row;
        max-width: none;
    }

    .hero-btn {
        flex: 1;
    }

    .hero-trust-features {
        justify-content: flex-start;
    }

    .stats-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 24px 32px;
    }

    .stat-card {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        padding-right: 24px;
    }

    .stat-card:last-child {
        border-right: none;
        padding-right: 0;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} /* <--- THIS IS THE CRITICAL BRACE THAT FIXES YOUR MOBILE VIEW */

/* ==========================================
   PRECISION FOOTER: FIXED LEFT ALIGNMENT
   ========================================== */
@media (min-width: 768px) {
    .footer-grid {
        display: flex;
        justify-content: space-between;
        align-items: stretch; 
        gap: 40px;
        min-height: 250px; 
    }

    .col-left {
        width: 380px;
        display: flex;
        flex-direction: column;
        justify-content: space-between; 
        align-items: flex-start; 
        text-align: left;
        padding: 0;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        gap: 8px; 
        margin: 0;
        padding: 0;
    }

    .footer-newsletter {
        width: 100%;
        margin-top: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        padding: 0;
        margin: 0;
    }

    .newsletter-title {
        text-align: left !important; 
        margin: 0 0 16px 0 !important; 
        padding: 0;
        width: 100%;
    }

    .col-center, .col-right {
        display: flex;
        flex-direction: column;
        justify-content: flex-end; 
        width: 280px;
    }

    .footer-brand-mark {
        display: flex;
        justify-content: flex-start; 
        width: 100%;
        padding-left: 20px; 
        margin-bottom: 25px; 
    }

    .footer-social-icons {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        gap: 12px;
        padding-left: 0px; 
        margin-bottom: 35px; 
    }

    .footer-office-card {
        text-align: left;
        padding-left: 0;
        margin: 0;
    }

    .newsletter-form {
        display: flex;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 50px;
        padding: 4px;
        width: 100%;
        margin: 0; 
    }

    .newsletter-input {
        flex: 1;
        background: transparent;
        border: none;
        padding: 10px 16px;
        color: #ffffff;
        font-size: 0.85rem;
    }

    .btn-subscribe {
        padding: 10px 20px;
        border-radius: 50px;
        white-space: nowrap;
    }
}
/* ==========================================
   2. IPAD / TABLET ONLY CONFIGURATIONS (768px - 1023px)
   ========================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-video-mobile, 
    .hero-video-desktop {
        display: none;
    }
    .hero-video-tablet {
        display: block;
    }

    .hero-video-bg-container {
        width: 100%;
        left: 0;
        top: 35px; /* Shifts the visual frame down to prevent header overlap with her hair */
        height: calc(100% - 35px);
    }

    .hero-video-element {
        filter: brightness(0.8) contrast(1.02);
    }

    .hero-video-overlay-horizontal {
        background: linear-gradient(to right, 
            #050914 0%, 
            rgba(5, 9, 20, 0.6) 50%, 
            rgba(5, 9, 20, 0.2) 100%
        );
    }

    /* Card 1: Food & Catering (Chef) */
    .item-chef::before {
        background-image: url('../images/chef.png'), radial-gradient(circle at bottom right, rgba(16, 28, 19, 0.4) 0%, transparent 70%);
        width: 150px !important; 
        height: 300px !important; 
        right: 0 !important;
    }

    /* Card 2: Construction (Worker / Builder) */
    .item-construction::before {
        background-image: url('../images/builder.png'), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        width: 180px !important;  
        height: 500px !important; 
        right: 0 !important;
    }

    /* Card 3: Agriculture (Farmer) */
    .item-farmer::before {
        background-image: url('../images/farmer.png'), radial-gradient(circle at bottom right, rgba(16, 28, 19, 0.4) 0%, transparent 70%);
        width: 200px !important;  
        height: 280px !important; 
        right: 0 !important;
    }

    /* Card 4: Transport (Driver) */
    .item-transport::before {
        background-image: url('../images/driver.png'), radial-gradient(circle at bottom right, rgba(174, 255, 0, 0.05) 0%, transparent 70%);
        width: 180px !important;  
        height: 250px !important; 
        right: 0 !important;
    }

    /* Card 5: Cleaning (Cleaner) */
    .item-cleaner::before {
        background-image: url('../images/cleaner.png'), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        width: 200px !important;  
        height: 280px !important; 
        right: 0 !important;
    }

    /* Card 6: Events (Server) */
    .item-server::before {
        background-image: url('../images/server.png'), radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
        width: 180px !important;  
        height: 250px !important; 
        right: 0 !important;
    }

    .video-watermark-mask {
        display: block !important;
        position: absolute !important;
        bottom: 16px !important;
        right: 16px !important;
        width: 110px !important;
        height: 34px !important;
        background-color: rgba(5, 9, 20, 0.45) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-radius: 8px !important;
        z-index: 4 !important;
        pointer-events: none !important;
    }
}

/* ==========================================
   DESKTOP VIEWPORTS (LARGE MONITOR OVERLAYS - RESTORED COMPLETELY)
   ========================================== */
@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
        gap: 32px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .btn-register, .btn-login {
        display: inline-block;
    }

    .hamburger-btn {
        display: none;
    }

    .floating-social-sidebar {
        display: flex;
        right: 24px;
        gap: 16px;
        padding: 20px 12px;
    }
    
    .social-sidebar-icon {
        width: 42px;
        height: 42px;
    }
    
    .social-sidebar-icon svg {
        width: 20px;
        height: 20px;
    }

    .hero-split-grid {
        grid-template-columns: 1.1fr 1fr; 
        gap: 64px;
    }

    .hero-text-content {
        align-items: flex-start;
        text-align: left;
        margin: 0;
    }

    .hero-headline {
        font-size: 4.25rem;
        line-height: 1.05;
    }

    .hero-subtext {
        font-size: 1.15rem;
        max-width: 520px;
    }

    .hero-visual-content {
        display: block;
        perspective: 1000px; 
    }

    .dashboard-mockup {
        background-color: rgba(12, 18, 36, 0.85); 
        border: 1px solid var(--border-glow);
        border-radius: 20px;
        padding: 28px;
        backdrop-filter: blur(20px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
        transform: rotateY(-12deg) rotateX(4deg) scale(1.02);
        transition: transform 0.5s ease;
    }

    .dashboard-mockup:hover {
        transform: rotateY(-5deg) rotateX(2deg) scale(1.04);
    }

    .mockup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding-bottom: 16px;
    }

    .mockup-meta h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-white);
    }

    .mockup-meta p {
        font-size: 0.75rem;
        color: var(--text-gray);
        margin-top: 4px;
    }

    .mockup-badge {
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--text-gray);
        background-color: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 6px 12px;
        border-radius: 6px;
    }

    .mockup-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }

    .mockup-card {
        background-color: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .mockup-card-title {
        font-size: 0.65rem;
        font-weight: 600;
        color: var(--text-gray);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mockup-card-value {
        font-size: 1.35rem;
        font-weight: 800;
        color: var(--text-white);
    }

    .mockup-card-change {
        font-size: 0.65rem;
        font-weight: 700;
    }

    .mockup-card-change.positive {
        color: var(--accent-green);
    }

    .mockup-lower-section {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 20px;
    }

    .mockup-chart-box, .mockup-categories-box {
        background-color: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        padding: 16px;
    }

    .chart-visual {
        height: 120px;
        position: relative;
        margin-top: 16px;
        background-image: 
            linear-gradient(to top, rgba(174, 255, 0, 0.02) 0%, transparent 100%),
            linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
        background-size: 100% 100%, 100% 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .chart-line-path {
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 100%;
        height: 60px;
        border-bottom: 2px solid var(--accent-green);
        border-radius: 50%;
        transform: scaleY(0.5);
        filter: drop-shadow(0 0 8px rgba(174, 255, 0, 0.42));
    }

    .chart-glow-dot {
        position: absolute;
        bottom: 56px;
        right: 35px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--accent-green);
        box-shadow: 0 0 12px var(--accent-green);
    }

    .dot-label {
        position: absolute;
        bottom: 16px;
        right: -30px;
        background-color: #030705;
        border: 1px solid rgba(174, 255, 0, 0.2);
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.6rem;
        white-space: nowrap;
        font-weight: 700;
    }

    .by-demand {
        font-size: 0.6rem;
        color: var(--text-gray);
        text-transform: lowercase;
        font-weight: 400;
        margin-left: 4px;
    }

    .category-bars {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
    }

    .cat-bar-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .cat-bar-header {
        display: flex;
        justify-content: space-between;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--text-white);
    }

    .cat-bar-track {
        width: 100%;
        height: 4px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        overflow: hidden;
    }

    .cat-bar-fill {
        height: 100%;
        background-color: var(--accent-green);
        border-radius: 10px;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .hero-video-mobile, 
    .hero-video-tablet {
        display: none;
    }
    .hero-video-desktop {
        display: block;
    }

    .hero-video-bg-container {
        left: 0;
        right: 0;
        width: 100%;
        top: 40px; 
        bottom: 0;
        height: calc(100% - 40px);
    }

    .hero-video-element {
        transform: scale(1.05);
        filter: brightness(0.8) contrast(1.02);
    }

    /* Left-to-right gradient to make left-aligned copy legible against the full-width background video */
    .hero-video-overlay-horizontal {
        background: linear-gradient(to right, 
            #050914 0%, 
            rgba(5, 9, 20, 0.75) 40%, 
            rgba(5, 9, 20, 0.35) 70%, 
            rgba(5, 9, 20, 0.1) 100%
        );
    }

    /* Card 1: Food & Catering (Chef) */
    .item-chef::before {
        background-image: url('../images/chef.png'), radial-gradient(circle at bottom right, rgba(16, 28, 19, 0.4) 0%, transparent 70%);
        width: 195px !important;  
        height: 250px !important; 
        right: 0 !important;
    }

    /* Card 2: Construction (Worker / Builder) */
    .item-construction::before {
        background-image: url('../images/builder.png'), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        width: 280px !important;  
        height: 410px !important; 
        right: -45px !important;
    }

    /* Card 3: Agriculture (Farmer) */
    .item-farmer::before {
        background-image: url('../images/farmer.png'), radial-gradient(circle at bottom right, rgba(16, 28, 19, 0.4) 0%, transparent 70%);
        width: 278px !important;  
        height: 450px !important; 
        right: -10px !important;
    }

    /* Card 4: Transport (Driver) */
    .item-transport::before {
        background-image: url('../images/driver.png'), radial-gradient(circle at bottom right, rgba(174, 255, 0, 0.05) 0%, transparent 70%);
        width: 190px !important;  
        height: 210px !important; 
        right: -10px !important;  
    }

    /* Card 5: Cleaning (Cleaner) */
    .item-cleaner::before {
        background-image: url('../images/cleaner.png'), radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
        width: 290px !important;  
        height: 270px !important; 
        right: -20px !important;
    }

    /* Card 6: Events (Server) */
    .item-server::before {
        background-image: url('../images/server.png'), radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
        width: 200px !important;  
        height: 210px !important; 
        right: 0 !important;
    }

    .video-watermark-mask {
        display: block !important;
        position: absolute !important;
        bottom: 20px !important;
        right: 20px !important;
        width: 130px !important;
        height: 40px !important;
        background-color: rgba(5, 9, 20, 0.45) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-radius: 8px !important;
        z-index: 4 !important;
        pointer-events: none !important;
    }

    /* Grid distribution on Desktop screens */
    .explore-cards-slider {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
        overflow-x: visible;
        padding: 0;
    }
    
    .explore-card {
        flex: none;
        height: 310px;
        padding: 18px;
    }
}







/* ==========================================
   MOBILE HERO HEADLINE STACKING OVERRIDES
   ========================================== */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 3.4rem !important; /* Bold size to match your reference graphic */
        line-height: 0.98 !important; /* Highly compact line spacing */
        letter-spacing: -2px !important;
        text-transform: none;
    }
    
    .mobile-stack {
        display: block !important; /* Force each word onto its own line on mobile viewports */
        line-height: 0.98 !important;
    }
    
    .desktop-only-br {
        display: none !important; /* Hides the standard desktop break tag */
    }
}

@media (min-width: 768px) {
    .mobile-stack {
        display: inline !important; /* Restores inline text flow on iPad and Desktop viewports */
    }
    
    .desktop-only-br {
        display: inline !important; /* Restores normal two-line breaks on iPad and Desktop */
    }
}








/* ==========================================
   MOBILE HERO LAYOUT & STACKING OVERRIDES
   ========================================== */
@media (max-width: 767px) {
    /* Headline Stacking */
    .hero-headline {
        font-size: 3.4rem !important; /* Bold size matching your reference graphic */
        line-height: 0.98 !important; /* Extremely compact line spacing */
        letter-spacing: -2px !important;
        text-transform: none;
    }
    
    .mobile-stack {
        display: block !important; /* Forces words onto their own lines on mobile */
        line-height: 0.98 !important;
    }
    
    .desktop-only-br {
        display: none !important; /* Hides desktop break tag */
    }

    /* Trust Badge Stacking */
    .hero-badge {
        border-radius: 12px !important; /* Converts pill to clean rounded box on mobile */
        align-items: flex-start !important; /* Aligns badge icon to top of stacked text */
        padding: 8px 12px !important;
    }

    .hero-badge .badge-icon {
        margin-top: 1px !important; /* Balances icon vertically with first line */
    }

    .mobile-stack-badge {
        display: block !important; /* Forces TRUSTED BY and BUSINESSES to stack */
        line-height: 1.15 !important;
        white-space: nowrap;
    }

    /* Subtext (Description) Stacking & Size */
    .hero-subtext {
        font-size: 0.875rem !important; /* Mutes text size to match reference image */
        line-height: 1.4 !important;
    }

    .mobile-stack-sub {
        display: block !important; /* Stack subtext sentences neatly */
        line-height: 1.4 !important;
    }

    /* Horizontal Side-by-Side CTA Buttons Layout */
    .hero-cta-group {
        flex-direction: row !important; /* Aligns both buttons on the same row */
        max-width: 100% !important; /* Allows them to span naturally side-by-side */
        gap: 10px !important; /* Tighter spacing gap between the buttons */
        margin-top: 12px !important;
    }

    .hero-btn {
        flex: 1 !important; /* Forces both buttons to maintain exactly the same equal width */
        padding: 8px 6px 8px 12px !important; /* Compact padding so labels fit cleanly on small screens */
    }

    .btn-text-wrapper {
        line-height: 1.1 !important;
    }

    .btn-main-label {
        font-size: 0.825rem !important; /* Slightly optimized text size to fit horizontal space */
    }

    .btn-sub-label {
        font-size: 0.58rem !important; /* Scaled down slightly to fit cleanly */
    }

    .btn-arrow-circle {
        width: 28px !important; /* Marginally scaled-down circular arrow bounds */
        height: 28px !important;
        flex-shrink: 0 !important;
    }

    .btn-arrow-circle svg {
        width: 12px !important;
        height: 12px !important;
    }

    /* Trust Features list stacked one item per row and centered horizontally */
    .hero-trust-features {
        flex-direction: column !important;
        align-items: center !important; /* Centers the vertical checklist on the mobile screen */
        gap: 12px !important; 
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .mobile-stack,
    .mobile-stack-badge,
    .mobile-stack-sub {
        display: inline !important; /* Restores standard inline flow on iPad and Desktop */
    }
    
    .desktop-only-br {
        display: inline !important; /* Restores standard line breaks on iPad and Desktop */
    }
}









/* ==========================================
   MOBILE-ONLY STRICTOR FORCE OVERRIDE: NEON GREEN CIRCULAR HAMBURGER
   ========================================== */
@media (max-width: 767px) {
    /* High-specificity target for the circular lemon green hamburger button - MOBILE ONLY */
    html body .site-header .header-actions .hamburger-btn,
    html body .hamburger-btn {
        background: none !important;
        border: 1px solid var(--accent-green) !important; /* Circular lemon green outline container */
        border-radius: 50% !important;
        cursor: pointer;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important; /* Space between bars */
        width: 44px !important;
        height: 44px !important;
        position: relative;
        z-index: 160;
        transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hamburger-btn .bar {
        display: block !important;
        height: 2px !important;
        width: 18px !important; /* Muted inner width for container alignment */
        background-color: var(--accent-green) !important; /* Lemon green bar nodes */
        border-radius: 2px !important;
        transition: all 0.25s ease-in-out !important;
    }

    .hamburger-btn:hover {
        background-color: rgba(174, 255, 0, 0.08) !important;
        transform: scale(1.05);
    }

    /* Perfect crossing inside the green circular container */
    .hamburger-btn.open .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }
    .hamburger-btn.open .bar:nth-child(2) {
        opacity: 0 !important;
    }
    .hamburger-btn.open .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }
}




/* ==========================================
   TABLET & DESKTOP SECOND VIDEO BLENDING RETOUCH
   ========================================== */
@media (min-width: 768px) {
    /* 1. Keep the top dark gradient completely transparent so it never overlaps their heads */
    html body .video-ad-overlay-vertical {
        background: linear-gradient(to bottom, 
            rgba(5, 9, 20, 0) 0%, /* 100% transparent at the top */
            rgba(5, 9, 20, 0) 85%, 
            #050914 100%
        ) !important;
    }

    /* 2. Position the video at the 22% sweet spot to show both heads and bottom components clearly */
    html body .video-ad-element {
        object-position: center 22% !important; /* Sweet-spot: shifts frame down to clear heads while preserving the bottom */
        transform-origin: center center !important;
        transform: scale(1.04) !important; /* Gentle scale to keep the widescreen context clear */
        filter: brightness(0.9) contrast(1.01) !important; /* Preserves the high-definition natural quality */
    }
}









/* ==========================================
   VIDEO AD SECTION - LAYOUT & GRID ALIGNMENT
   ========================================== */

.video-ad-section {
    position: relative;
    width: 100%;
    min-height: 550px; /* Increased height to match hero-like scale */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 !important; /* Ensure no padding breaks the edge-to-edge video */
}

/* Force video to span extreme left/right */
.video-ad-bg-container {
    position: absolute;
    inset: 0; /* Cover everything */
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content Container - Forces text to start where Hero/Navbar text starts */
.video-ad-content-container.grid-layout-container {
    width: 100%;
    max-width: 1200px; /* Matches your site's standard grid */
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* ==========================================
   HERO-STYLE BLENDING OVERLAYS (DESKTOP)
   ========================================== */

@media (min-width: 768px) {
    /* Identical blending to the hero section */
    .video-ad-overlay-horizontal {
        background: linear-gradient(to right, 
            #050914 0%, 
            rgba(5, 9, 20, 0.85) 35%, 
            rgba(5, 9, 20, 0.4) 60%, 
            rgba(5, 9, 20, 0.1) 100%
        ) !important;
    }
}

/* ==========================================
   MOBILE VIEWPORT REFINEMENTS (UNDER 768px)
   ========================================== */

@media (max-width: 767px) {
    /* Reduce Typing Text size for mobile */
    .ad-dynamic-title {
        font-size: 1.75rem !important; /* Smaller than desktop to fit frame */
        min-height: 70px !important;
        line-height: 1.1 !important;
    }

    /* Reduce CTA Button size for mobile */
    .ad-cta-btn {
        padding: 6px 6px 6px 14px !important; /* Slimmer padding */
        max-width: 220px !important;
    }

    .ad-cta-btn .btn-main-label {
        font-size: 0.8rem !important;
    }

    .ad-cta-btn .btn-sub-label {
        font-size: 0.55rem !important;
    }

    .ad-cta-btn .btn-arrow-circle {
        width: 26px !important;
        height: 26px !important;
    }

    /* Keep the overlay readable but less intense than desktop */
    .video-ad-overlay-horizontal {
        background: linear-gradient(to bottom, 
            rgba(5, 9, 20, 0.6) 0%, 
            rgba(5, 9, 20, 0.8) 100%
        ) !important;
    }
}







/* ==========================================
   FINAL POLISHED VIDEO AD SECTION
   ========================================== */

.video-ad-standard-section {
    padding: 80px 24px;
    background-color: transparent;
}

.video-ad-grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-ad-main-card {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-color: #050914; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden; 
    display: flex;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-ad-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* NATIVE VIDEO PERFORMANCE + FRAMING FIX */
.video-ad-native-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* FIX: This shifts the crop area. center 15% keeps the heads in view on Desktop/Tablet */
    object-position: center 15%; 
    filter: brightness(0.75) contrast(1.1);
}

/* INTERNAL VIGNETTE: Glues video to card edges */
.video-ad-internal-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(
        circle at center, 
        rgba(5, 9, 20, 0) 10%, 
        rgba(5, 9, 20, 0.4) 40%, 
        rgba(5, 9, 20, 0.95) 100%
    );
}

/* Watermark Blocker - Positioned specifically for native tag */
.video-ad-watermark-mask {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 130px;
    height: 45px;
    background-color: #050914;
    filter: blur(12px);
    z-index: 3;
}

/* TEXT CONTENT */
.video-ad-content {
    position: relative;
    z-index: 10;
    padding: 60px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================
   RESPONSIVE OVERRIDES
   ========================================== */

/* Tablet & Large Desktop Framing */
@media (min-width: 768px) {
    .video-ad-native-element {
        /* On wider screens, ensure the heads are perfectly visible */
        object-position: center 12%; 
    }
}

@media (max-width: 767px) {
    .video-ad-main-card {
        min-height: 480px;
    }

    .video-ad-native-element {
        /* Center framing is usually better for the vertical mobile card */
        object-position: center center; 
    }

    .ad-dynamic-title {
        font-size: 1.6rem !important;
        min-height: 65px !important;
    }

    /* iPhone SE (375x667) Optimizations */
    @media (max-width: 380px) {
        .video-ad-main-card {
            min-height: 420px;
        }
        .ad-cta-btn {
            width: 180px !important;
            padding: 8px 14px !important;
        }
        .ad-cta-btn .btn-sub-label {
            display: none !important;
        }
    }
}





/* ==========================================
   BLUEPRINT FLYER: UNIVERSAL VISIBILITY & ALIGNMENT
   ========================================== */

/* 1. Global Overflow & Alignment Fix */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; margin: 0; padding: 0; }

.flyer-layout-wrapper {
    position: relative;
    padding: 100px 0 80px 0;
    background: #050914;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
}

.container-standard {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Perfectly balanced margins left/right */
}

/* Background Grids */
.blueprint-flyer-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(174, 255, 0, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(174, 255, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Badges visible everywhere */
.flyer-badge-stack { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-bottom: 25px; 
}
.floating-pill { padding: 6px 14px; border-radius: 8px; font-size: 0.6rem; font-weight: 900; }
.pill-lime { background: #aeff00; color: #000; transform: rotate(-3deg); }
.pill-white { background: #fff; color: #000; transform: rotate(2deg); }
.pill-neon { border: 1px solid #aeff00; color: #aeff00; }

.flyer-main-title { text-align: center; font-size: clamp(2.5rem, 8vw, 5.5rem); font-weight: 900; line-height: 0.85; text-transform: uppercase; margin-bottom: 40px; }
.title-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3); }

/* --- THE FOLDER HUB --- */
.flyer-central-hub {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.folder-container {
    width: 100%;
    max-width: 800px;
}

.folder-tab-row {
    display: flex;
    gap: 4px;
    padding-left: 20px;
}

.f-tab {
    background: rgba(12, 18, 36, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    color: #8ca39f;
    padding: 10px 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
}

.f-tab.active { background: #aeff00; color: #000; border-color: #aeff00; }

.main-glass-folder {
    background: rgba(12, 18, 36, 0.5);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(174, 255, 0, 0.3);
    border-radius: 0 25px 25px 25px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.path-panel { display: none; margin-bottom: 30px; }
.path-panel.active { display: block; animation: fadeIn 0.4s ease; }

.system-status { font-size: 0.65rem; font-weight: 800; color: #aeff00; display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.pulse-dot { width: 8px; height: 8px; background: #aeff00; border-radius: 50%; animation: pulse 2s infinite; }

/* Fixed Video Box */
.hub-video-box {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.hub-video-element {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Gallery Fix */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .gallery-container { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.eco-frame {
    aspect-ratio: 1 / 1.1;
    background: #0c1224;
    border-radius: 20px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.frame-img-wrapper { width: 100%; height: 100%; border-radius: 14px; position: relative; background: #141c30; background-size: cover; filter: grayscale(100%); }
.frame-overlay { position: absolute; bottom: 12px; left: 12px; }
.frame-overlay h4 { font-size: 0.9rem; font-weight: 800; }
.p-tag { font-size: 0.5rem; color: #aeff00; font-weight: 800; }

/* Meta Footer Centering */
.flyer-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 767px) {
    .flyer-footer-meta { flex-direction: column; gap: 20px; text-align: center; }
    .main-glass-folder { padding: 25px; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(174, 255, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(174, 255, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(174, 255, 0, 0); } }
/* SideGig Africa app design system: navy, electric lime, and clean light surfaces. */
:root {
    --bg-dark: #F4FBF7;
    --bg-card: #FFFFFF;
    --accent-green: #00C853;
    --accent-forest: #10233F;
    --accent-sand: #10233F;
    --text-white: #10233F;
    --text-gray: #526580;
    --border-dark: #E2E8F0;
    --border-glow: rgba(0, 200, 83, 0.18);
    --font-stack: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { background: #F4FBF7 !important; color: #10233F !important; }
.hero-glow-layer,
.mobile-overlay,
.mobile-drawer,
.hamburger-btn { display: none !important; }

.site-header {
    /* Match the app's deep-navy browser/status bar. */
    background: #10233F !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 18px rgba(3, 7, 18, 0.22);
    backdrop-filter: blur(14px);
}
.header-container { min-height: 76px; padding: 10px 24px; }
.logo-link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo-image { height: 42px !important; width: 42px; max-width: 42px !important; object-fit: cover; border-radius: 12px; box-shadow: 0 3px 12px rgba(16,35,63,.16); }
.logo-wordmark { color: #F8FAFC; font-size: 1rem; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.desktop-nav { display: none; }
.nav-item, .nav-item.active { color: #F8FAFC !important; }
.nav-item:hover { color: #00E659 !important; }
.nav-item::after { background: #00C853; }
.header-actions { gap: 10px; }
.theme-toggle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: #0B1526;
    color: #F8FAFC;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { background: #13233C; border-color: #00C853; transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 3px solid rgba(0,200,83,.45); outline-offset: 2px; }
.theme-icon { width: 16px; height: 16px; }
.theme-icon-sun { display: none; }
.btn-register, .btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 14px;
    font-weight: 800;
}
.btn-register { background: #00C853; color: #FFFFFF; }
.btn-register:hover { background: #00A844; color: #FFFFFF; }
.btn-login { color: #F8FAFC; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-login:hover { color: #F8FAFC; border-color: #00C853; }

.hero-section {
    min-height: min(760px, 100vh);
    background: linear-gradient(135deg, #10233F 0%, #07111F 100%) !important;
    color: #FFFFFF;
}
.hero-headline { color: #FFFFFF !important; }
.hero-subtext { color: #D0DBE8 !important; }
.hero-badge { background: rgba(255,255,255,0.08); border-color: rgba(0,200,83,0.5); color: #00E659; }
.accent-text, .section-title .text-green, .star-accent { color: #00C853 !important; }
.btn-hire { background: #00C853; color: #FFFFFF; }
.btn-hire .btn-arrow-circle { background: #10233F; color: #00C853; }
.btn-hire:hover { background: #00A844; }
.btn-earn { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); color: #FFFFFF; }
.btn-earn .btn-arrow-circle { color: #00C853; border-color: rgba(255,255,255,0.25); }
.btn-earn:hover { background: rgba(255,255,255,0.14); border-color: #00C853; }
.trust-feature { color: #D0DBE8; }
.trust-icon { color: #00C853; }

.online-members-ribbon,
.stats-section,
.how-it-works-section,
.explore-section,
.features-section,
.site-footer { background: #F4FBF7 !important; color: #10233F; }
.status-badge-centered { background: #FFFFFF !important; color: #10233F !important; border: 1px solid #E2E8F0; box-shadow: 0 8px 30px rgba(16,35,63,.08); }
.stats-container,
.step-card,
.explore-card,
.feature-card { background: #FFFFFF !important; color: #10233F !important; border-color: #E2E8F0 !important; box-shadow: 0 8px 30px rgba(16,35,63,.08); }
.step-title, .explore-card-title, .feature-card-title, .section-title, .features-section-title, .explore-section-title { color: #10233F !important; }
.step-desc, .feature-card-desc, .explore-section-subtitle { color: #526580 !important; }
.stat-icon { background: #10233F; color: #00C853; border-color: rgba(0,200,83,.3); }

.footer-inner-card { background: #FFFFFF !important; color: #10233F !important; border: 1px solid #E2E8F0; box-shadow: 0 8px 30px rgba(16,35,63,.08); }
.footer-social-link { background: #F4FBF7; color: #10233F; border-color: #E2E8F0; }
.footer-social-link:hover { background: #00C853; color: #FFFFFF; }
.footer-office-card, .newsletter-input { color: #10233F; }

@media (min-width: 768px) {
    .desktop-nav { display: flex; gap: clamp(12px, 2vw, 28px); font-size: .875rem; }
    .header-container { padding-inline: 32px; }
    .btn-login, .btn-register { display: inline-flex; }
}
@media (max-width: 767px) {
    .header-container { min-height: 64px; padding: 8px 10px; gap: 8px; }
    .header-actions { gap: 6px; }
    .logo-image { height: 36px !important; width: 36px; max-width: 36px !important; }
    .logo-link { gap: 7px; }
    .logo-wordmark { font-size: .84rem; }
    .theme-toggle { width: 32px; height: 32px; flex-basis: 32px; }
    .btn-register { min-height: 36px; padding: 7px 10px; font-size: .75rem; }
    .btn-login { display: inline-flex; min-height: 36px; padding: 7px 10px; font-size: .75rem; }
    .hero-section { min-height: 680px; padding-top: 108px; }
    .hero-headline { font-size: clamp(2.2rem, 11vw, 3.2rem); }
}

/* Footer cleanup and accessible social icon colors */
.floating-social-sidebar {
    background: rgba(255,255,255,.97) !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(16,35,63,.14) !important;
}
.social-sidebar-icon,
.social-mobile-icon {
    background: #F4FBF7 !important;
    color: #10233F !important;
    border: 1px solid #E2E8F0 !important;
}
.social-sidebar-icon:hover,
.social-mobile-icon:hover,
.social-mobile-icon:focus-visible {
    background: #00C853 !important;
    border-color: #00C853 !important;
    color: #FFFFFF !important;
}
.mobile-social-bar {
    bottom: 24px !important;
    background: rgba(255,255,255,.97) !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(16,35,63,.16) !important;
}
.footer-office-card,
.footer-brand-mark { display: none !important; }

/* Keep the hero's responsive motion clips visible in either color mode. */
.hero-video-bg-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2;
}
.hero-video-element { visibility: visible !important; }

/* Landing page theme switch, matching the account screen's palette. */
html.theme-dark {
    --bg-dark: #030712;
    --bg-card: #0B1526;
    --accent-green: #00C853;
    --accent-forest: #07111F;
    --accent-sand: #F8FAFC;
    --text-white: #F8FAFC;
    --text-gray: #CBD5E1;
    --border-dark: #1D2F4E;
    --border-glow: rgba(0,200,83,.2);
}
html.theme-dark body { background: #030712 !important; color: #F8FAFC !important; }
html.theme-dark .logo-wordmark { color: #F8FAFC !important; }
html.theme-dark .logo-image { box-shadow: 0 3px 14px rgba(0,0,0,.5); }
html.theme-dark .site-header {
    background: #10233F !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
html.theme-dark .nav-item,
html.theme-dark .nav-item.active,
html.theme-dark .btn-login,
html.theme-dark .theme-toggle { color: #F8FAFC !important; }
html.theme-dark .btn-login,
html.theme-dark .theme-toggle { background: #0B1526 !important; border-color: #1D2F4E !important; }
html.theme-dark .theme-toggle { color: #00C853 !important; }
html.theme-dark .theme-toggle:hover { background: #13233C !important; }
html.theme-dark .theme-icon-moon { display: none; }
html.theme-dark .theme-icon-sun { display: block; }
html.theme-dark .online-members-ribbon,
html.theme-dark .stats-section,
html.theme-dark .how-it-works-section,
html.theme-dark .explore-section,
html.theme-dark .features-section,
html.theme-dark .site-footer { background: #030712 !important; color: #F8FAFC !important; }
html.theme-dark .status-badge-centered { background: #0B1526 !important; color: #F8FAFC !important; border-color: #1D2F4E !important; }
html.theme-dark .stats-container,
html.theme-dark .step-card,
html.theme-dark .explore-card,
html.theme-dark .feature-card,
html.theme-dark .footer-inner-card {
    background: #0B1526 !important;
    color: #F8FAFC !important;
    border-color: #1D2F4E !important;
}
html.theme-dark .step-title,
html.theme-dark .explore-card-title,
html.theme-dark .feature-card-title,
html.theme-dark .section-title,
html.theme-dark .features-section-title,
html.theme-dark .explore-section-title,
html.theme-dark .footer-copyright,
html.theme-dark .newsletter-title { color: #F8FAFC !important; }
html.theme-dark .step-desc,
html.theme-dark .feature-card-desc,
html.theme-dark .explore-section-subtitle { color: #B6C4D8 !important; }
html.theme-dark .footer-social-link { color: #00C853 !important; }
html.theme-dark .newsletter-input { color: #F8FAFC !important; }
html.theme-dark .footer-social-link,
html.theme-dark .social-sidebar-icon,
html.theme-dark .social-mobile-icon { background: #0B1526 !important; color: #00C853 !important; border-color: #1D2F4E !important; }
html.theme-dark .social-sidebar-icon:hover,
html.theme-dark .social-mobile-icon:hover,
html.theme-dark .social-mobile-icon:focus-visible,
html.theme-dark .footer-social-link:hover { background: #00C853 !important; color: #FFFFFF !important; border-color: #00C853 !important; }
html.theme-dark .mobile-social-bar,
html.theme-dark .floating-social-sidebar { background: rgba(11,21,38,.97) !important; border-color: #1D2F4E !important; }

/* Video-backed preview copy stays bright in both page themes for clear contrast. */
.video-ad-main-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5,9,20,.82) 0%, rgba(5,9,20,.58) 58%, rgba(5,9,20,.16) 100%);
}
.video-ad-content { z-index: 5; }
.video-ad-content .ad-dynamic-title .type-row-1 { color: #F8FAFC !important; text-shadow: 0 2px 12px rgba(0,0,0,.65); }
.video-ad-content .ad-dynamic-title .type-row-2 { color: #00E659 !important; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.video-ad-content .seq-text,
.video-ad-content .seq-2 { color: #E2E8F0 !important; text-shadow: 0 1px 8px rgba(0,0,0,.75); }
.video-ad-content .ad-badge {
    color: #A6FF00 !important;
    background: rgba(7,17,31,.78) !important;
    border-color: rgba(124,255,0,.65) !important;
    text-shadow: 0 1px 5px rgba(0,0,0,.65);
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: center;
        gap: 40px;
        min-height: 0;
    }
    .footer-grid .col-left,
    .footer-grid .col-right {
        width: auto !important;
    }
    .footer-grid .col-right {
        align-items: flex-end;
    }
    .footer-grid .footer-social-icons {
        justify-content: flex-end;
        margin: 0;
    }
}
@media (max-width: 767px) {
    body { padding-bottom: 0 !important; }
}
