/**
 * ============================================================================
 * WARAP SERVICES - Main Stylesheet v4.2
 * ============================================================================
 * Production-ready styles for warapservices.com
 * Features: Light/Dark Mode, Premium Design, QuickView Modal
 * Date: 2026-01-08
 * ============================================================================
 */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */

/* Light Mode (Default) */
:root {
    /* Brand Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --whatsapp: #25d366;

    /* Light Mode Backgrounds */
    --bg-body: #f5f7fa;
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-elevated: #f8fafc;
    --bg-hover: #f1f5f9;

    /* Light Mode Text */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;

    /* Borders */
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
    --gradient-africa: linear-gradient(135deg, #10b981, #f59e0b, #ef4444);
    --gradient-success: linear-gradient(135deg, #10b981, #34d399);
    --gradient-danger: linear-gradient(135deg, #ef4444, #f87171);
    --gradient-pink: linear-gradient(135deg, #ec4899, #f472b6);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #22d3ee);

    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 30px rgba(99, 102, 241, 0.2);
    --shadow-gold: 0 10px 30px rgba(245, 158, 11, 0.2);
    --shadow-whatsapp: 0 10px 30px rgba(37, 211, 102, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-body: #0a0a12;
    --bg-dark: #0a0a12;
    --bg-card: #13131f;
    --bg-elevated: #1c1c2e;
    --bg-hover: #252538;

    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.gr {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-block {
    width: 100%;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--gradient-africa);
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
}

.announcement-bar a {
    text-decoration: underline;
    font-weight: 700;
}

.announcement-bar a:hover {
    opacity: 0.8;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 10, 18, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo img {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.logo-badge {
    font-size: 0.55rem;
    background: var(--gradient-africa);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: -8px;
    margin-top: -20px;
    text-transform: uppercase;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 50px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
}

.header-badge--primary {
    background: var(--primary);
}

.header-badge--gold {
    background: var(--accent);
    color: #000;
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    padding: 8px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.mobile-menu:hover {
    color: var(--primary);
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-header .logo {
    font-size: 1.3rem;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.mobile-nav-links {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: 5px;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    color: var(--primary);
}

.mobile-nav-actions {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-icon {
    padding: 12px 16px;
    position: relative;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #000;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-whatsapp);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Hero Cards */
.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 25px;
    transition: all var(--transition-normal);
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.hero-card:nth-child(2),
.hero-card:nth-child(4) {
    transform: translateY(30px);
}

.hero-card:nth-child(2):hover,
.hero-card:nth-child(4):hover {
    transform: translateY(25px);
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.hero-card-icon.gold {
    background: var(--gradient-gold);
    color: #000;
}

.hero-card-icon.green {
    background: var(--gradient-success);
}

.hero-card-icon.red {
    background: var(--gradient-danger);
}

.hero-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.hero-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-card-cta {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.hero-card:hover .hero-card-cta {
    color: var(--secondary);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--bg-hover);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: transform var(--transition-fast);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon--red {
    background: var(--gradient-danger);
}

.category-icon--green {
    background: var(--gradient-success);
}

.category-icon--gold {
    background: var(--gradient-gold);
    color: #000;
}

.category-icon--pink {
    background: var(--gradient-pink);
}

.category-icon--cyan {
    background: var(--gradient-cyan);
}

.category-card h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.category-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-header h2 i {
    color: var(--primary);
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-normal);
}

.view-all:hover {
    gap: 12px;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.product-image.cat-product {
    background: var(--gradient-danger);
}

.product-image.cat-service {
    background: var(--gradient-primary);
}

.product-image.cat-education {
    background: var(--gradient-success);
}

.product-image.cat-immo {
    background: var(--gradient-gold);
    color: #000;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-verified {
    background: var(--success);
    color: #fff;
    border-radius: 50px;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

.badge-new {
    background: var(--primary);
    color: #fff;
}

.product-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-fav:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.product-fav.active {
    color: var(--danger);
}

.product-body {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.seller-avatar {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.seller-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.seller-rating {
    font-size: 0.8rem;
    color: var(--accent);
}

.seller-rating i {
    font-size: 0.7rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.product-price small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.product-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-location i {
    color: var(--primary);
}

.product-actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.btn-contact {
    flex: 1;
    padding: 12px;
    background: var(--whatsapp);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-contact:hover {
    box-shadow: var(--shadow-whatsapp);
}

.btn-view {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-view:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Skeleton Loading */
.product-card.skeleton {
    pointer-events: none;
    cursor: default;
}

.skeleton-image {
    height: 160px;
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-body {
    padding: 20px;
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-line.short {
    width: 40%;
}

.skeleton-line.medium {
    width: 70%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon--gold {
    background: var(--gradient-gold);
    color: #000;
}

.feature-icon--green {
    background: var(--success);
}

.feature-icon--red {
    background: var(--danger);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h3 img {
    height: 35px;
    width: 35px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    visibility: visible !important;
    opacity: 1 !important;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* WhatsApp Float - Mobile specific */
@media (max-width: 768px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .header-actions .btn-text,
    .header-actions .auth-label {
        display: none;
    }

    .btn-gold {
        padding: 12px 16px;
    }

    /* HERO SECTION COMPACT */
    .hero {
        padding: 30px 0 40px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Hide WhatsApp button on small screens - keep only 2 main buttons */
    .hero-buttons .btn-whatsapp {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-around;
    }

    .hero-stat {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .hero-stat h4 {
        font-size: 1.3rem;
    }

    .hero-stat p {
        font-size: 0.75rem;
    }

    /* ANNOUNCEMENT BAR COMPACT */
    .announcement-bar {
        padding: 8px 15px;
        font-size: 0.75rem;
    }

    /* HEADER COMPACT */
    .header-main {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo-badge {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* PRODUCT CARDS COMPACT */
    .product-image {
        height: 140px;
    }

    .product-body {
        padding: 15px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .product-actions {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* HERO ULTRA COMPACT FOR SMALL PHONES */
    .hero {
        padding: 20px 0 30px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .hero-buttons {
        gap: 8px;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stat h4 {
        font-size: 1.1rem;
    }

    .hero-stat p {
        font-size: 0.7rem;
    }

    /* ANNOUNCEMENT BAR ULTRA COMPACT */
    .announcement-bar {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        padding: 15px;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .category-card h4 {
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .cta h2 {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   ADD LISTING MODAL STYLES
   ============================================ */
.add-listing-modal {
    max-width: 600px;
}

.add-listing-header {
    text-align: center;
    margin-bottom: 20px;
}

.add-listing-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-btn {
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.category-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-btn i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.category-btn.product i {
    color: var(--primary);
}

.category-btn.service i {
    color: var(--success);
}

.category-btn.education i {
    color: var(--accent);
}

.category-btn.immo i {
    color: var(--danger);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row.full-width {
    grid-column: 1 / -1;
}

.image-upload-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.image-upload-zone:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-back {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-back:hover {
    border-color: var(--text-secondary);
}

.btn-submit-listing {
    flex: 2;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit-listing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ============================================
   ALERT CTA BANNER
   ============================================ */
.alert-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.alert-cta h3 {
    margin: 0;
    font-size: 1.2rem;
}

.alert-cta p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.alert-cta .btn-light {
    background: white;
    color: var(--primary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.alert-cta .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   INTEREST ALERT MODAL
   ============================================ */
.interest-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.interest-modal.active {
    display: flex;
}

.interest-modal-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.interest-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    transition: color var(--transition-fast);
}

.interest-modal-close:hover {
    color: var(--danger);
}

.interest-modal h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.interest-modal p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .alert-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   PRODUCT CARDS - GAFAM Style v5.0
   ============================================ */

/* Product Badges Container */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

/* Individual Badge Styles */
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    animation: pulse 2s infinite;
}

.badge-popular {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--gradient-gold);
    color: #000;
    border-radius: 50%;
    font-size: 0.8rem;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Stock Warning */
.stock-warning {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 6px 10px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

/* Price Block */
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.old-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-price.promo {
    color: #ef4444;
    font-weight: 800;
}

/* Product Meta */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.product-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-views i {
    font-size: 0.65rem;
}

/* Quick Add Button Animation */
.btn-quick-add {
    transition: all 0.3s ease;
}

.btn-quick-add.added {
    background: var(--success) !important;
    animation: addedPulse 0.5s ease;
}

.btn-quick-add.added .fa-plus {
    display: none;
}

.btn-quick-add.added .fa-check {
    display: inline-block !important;
}

@keyframes addedPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Product Card Hover Enhancement */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image img {
    transition: transform 0.4s ease;
}

/* Favorite Button */
.product-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    color: var(--text-muted);
}

.product-fav:hover {
    background: white;
    transform: scale(1.1);
}

.product-fav.active {
    color: #ef4444;
}

.product-fav.active i {
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================================================
 * GLOBAL MOBILE RESPONSIVE v5.0
 * Optimisé pour l'Afrique (smartphones budget, tactile, connexion lente)
 * ============================================================================ */

/* === TABLET & SMALL DESKTOP (< 900px) === */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* === MOBILE DEVICES (< 600px) === */
@media (max-width: 600px) {

    /* Navigation Mobile */
    .nav-links {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        padding: 10px 0;
        display: flex;
        justify-content: space-around;
        z-index: 1000;
    }

    .nav-links a {
        flex-direction: column;
        gap: 4px;
        font-size: 0.7rem;
        padding: 8px;
    }

    .nav-links a i {
        font-size: 1.2rem;
    }

    /* Corps avec padding pour nav fixe */
    body {
        padding-bottom: 70px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    /* Product Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }

    /* Product Card Mobile */
    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 140px;
    }

    .product-body {
        padding: 12px;
    }

    .product-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-actions {
        padding: 10px;
        gap: 8px;
    }

    .btn-quick-add {
        width: 40px;
        height: 40px;
    }

    .btn-contact,
    .btn-view {
        padding: 10px;
        font-size: 0.8rem;
    }

    /* Product badges mobile */
    .product-badges {
        top: 6px;
        left: 6px;
        gap: 4px;
    }

    .badge-verified,
    .badge-new,
    .badge-popular,
    .badge-promo {
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    /* Favoris button */
    .product-fav {
        width: 32px;
        height: 32px;
        top: 6px;
        right: 6px;
    }

    /* Stock warning */
    .stock-warning {
        font-size: 0.6rem;
        padding: 4px 8px;
    }

    /* Seller info compact */
    .product-seller {
        gap: 8px;
    }

    .seller-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .seller-name {
        font-size: 0.75rem;
    }

    .seller-rating {
        font-size: 0.65rem;
    }

    /* CTA Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 50px;
    }

    /* Search Bar Mobile */
    .search-bar,
    .search-input {
        padding: 14px;
        font-size: 16px;
        /* Prevent zoom */
    }

    /* Filters */
    .filter-section {
        padding: 15px;
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    /* QuickView Modal Mobile */
    #quickViewModal,
    .quickview-modal {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    #quickViewModal .quickview-content,
    .quickview-modal .quickview-content {
        width: 100%;
        max-width: 100%;
        height: 90vh;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        margin: 0;
    }

    .quickview-image {
        height: 200px;
    }

    .quickview-body {
        padding: 15px;
    }

    .quickview-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
    }

    /* WhatsApp Float Button */
    .wa-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    /* Footer sections */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* === SMALL PHONES (< 400px) === */
@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-actions {
        flex-wrap: wrap;
    }

    .btn-contact {
        flex: 1 1 100%;
        order: -1;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .category-pills {
        gap: 8px;
    }

    .category-pill {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* === TOUCH DEVICES === */
@media (hover: none) and (pointer: coarse) {

    /* No hover effects */
    .product-card:hover {
        transform: none;
    }

    /* Active states */
    .product-card:active {
        transform: scale(0.98);
    }

    .btn-quick-add:active,
    .btn-contact:active,
    .btn-view:active {
        transform: scale(0.95);
    }

    /* Larger touch targets */
    .product-fav {
        min-width: 44px;
        min-height: 44px;
    }
}

/* === SAFE AREA (iPhone X+) === */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .nav-links {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .wa-float {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }
}