/* ============================================================================
   BRICOLE - MOBILE-FIRST OPTIMIZED CSS
   Performance optimized: No backdrop-filter, reduced shadows, CSS containment
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */
:root {
    --primary-blue: #3b82f6;
    --primary-blue-dark: #2563eb;
    --primary-blue-light: #60a5fa;
    --accent-teal: #14b8a6;
    --accent-cyan: #00f5ff;
    --dark-bg-primary: #0f0f23;
    --dark-bg-secondary: #1a1a3e;
    --text-white: #fff;
    --text-light: rgba(255, 255, 255, .9);
    --text-muted: rgba(255, 255, 255, .7);
    --text-subtle: rgba(255, 255, 255, .5);
    --border-light: rgba(255, 255, 255, .1);
    --border-cyan: rgba(0, 245, 255, 0.3);
    --glow-cyan: rgba(0, 245, 255, 0.4);
    --glow-blue: rgba(59, 130, 246, 0.3);
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.2s ease-out;
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --header-height: 64px;
}

/* ============================================================================
   BASE RESET
   ============================================================================ */
*,
*::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, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

body[dir="rtl"] {
    font-family: 'Cairo', 'Inter', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* ============================================================================
   BACKGROUND EFFECTS (Simplified for performance)
   ============================================================================ */
.cursor-reveal-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.06;
}

.cursor-reveal-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DISABLED: Cursor tracking effect - too expensive */
.cursor-reveal-overlay {
    display: none;
}

/* ============================================================================
   HEADER - MOBILE FIRST
   ============================================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 15, 35, 0.98);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    contain: layout style;
}

header.scrolled {
    background: var(--dark-bg-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.logo-icon img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    z-index: 1001;
    border-radius: var(--radius-sm);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--dark-bg-secondary);
    padding: 5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--border-light);
    z-index: 999;
}

.nav-links.active {
    right: 0;
}

.nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.nav-links.active li {
    opacity: 1;
    transform: translateX(0);
}

.nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
.nav-links.active li:nth-child(2) { transition-delay: 0.08s; }
.nav-links.active li:nth-child(3) { transition-delay: 0.11s; }
.nav-links.active li:nth-child(4) { transition-delay: 0.14s; }
.nav-links.active li:nth-child(5) { transition-delay: 0.17s; }
.nav-links.active li:nth-child(6) { transition-delay: 0.20s; }
.nav-links.active li:nth-child(7) { transition-delay: 0.23s; }

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Language Switcher */
.lang-switcher {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.lang-switcher:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--border-cyan);
}

/* Nav CTA Button */
.nav-cta .cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--text-white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    box-shadow: 0 3px 10px var(--glow-blue);
}

/* ============================================================================
   SECTIONS - BASE STYLES
   ============================================================================ */
section {
    position: relative;
    padding: 3rem 1rem;
    border-bottom: 1px solid var(--border-light);
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--border-cyan);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-header-modern h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.section-header-modern p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================================
   HERO SECTION - MOBILE FIRST (FIXED SPACING)
   ============================================================================ */
.hero-modern {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    /* FIXED: Reduced top padding for mobile - was 7rem causing blank space */
    padding: calc(var(--header-height) + 1rem) 1rem 6rem;
    overflow: hidden;
    contain: layout style;
}

.hero-modern__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
}

.hero-modern__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-modern__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Hero Content */
.hero-modern__content {
    text-align: center;
    color: var(--text-white);
    order: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--border-cyan);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.hero-badge__dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-modern__title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    margin-bottom: 0.25rem;
}

.title-line--gradient {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--accent-cyan) 50%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    display: block;
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.hero-modern__subtitle {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-modern__subtitle strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Feature Pills */
.hero-modern__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.feature-pill:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: var(--border-cyan);
}

.feature-pill svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

/* Hero CTA */
.hero-modern__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* Hero Visual */
.hero-modern__visual {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.phone-showcase {
    position: relative;
    width: 100%;
}

.phone-mockup-modern {
    position: relative;
    width: 100%;
}

.phone-mockup-modern .illustration {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    transform: scale(1.1);
}

.phone-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.12), transparent 65%);
    z-index: -1;
    pointer-events: none;
}

/* 3D Cube - Hidden on mobile for performance */
.scene {
    display: none;
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    border-top: 1px solid var(--border-light);
    padding: 0.875rem 1rem;
    z-index: 3;
}

.stats-bar__container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stat-item-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.stat-icon-bar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

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

.stat-number-bar {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
    margin: 0 0 0.125rem;
}

.stat-label-bar {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.btn-modern__content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modern__icon {
    display: flex;
    width: 20px;
    height: 20px;
}

.btn-modern--primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--text-white);
    box-shadow: 0 4px 12px var(--glow-blue);
}

.btn-modern--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--glow-cyan);
}

.btn-modern--secondary {
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid var(--border-cyan);
    color: var(--accent-cyan);
}

.btn-modern--secondary:hover {
    background: rgba(0, 245, 255, 0.15);
}

.btn-modern--outline {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-modern--outline:hover {
    background: var(--accent-cyan);
    color: var(--dark-bg-primary);
}

.btn-modern--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================================================
   WHY BRICOLE SECTION
   ============================================================================ */
.why_bricole {
    contain: layout style paint;
}

.why_bricole_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform var(--transition-base), border-color var(--transition-base);
    contain: layout style;
}

.benefit_card:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
}

.benefit_card_icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(20, 184, 166, 0.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.benefit_card_icon svg {
    width: 24px;
    height: 24px;
}

.benefit_card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.benefit_card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why_bricole_cta {
    text-align: center;
}

/* ============================================================================
   3D CAROUSEL SECTION
   ============================================================================ */
.carousel-3d-section {
    padding: 3rem 1rem;
    min-height: 500px;
    overflow: hidden;
    contain: layout style paint;
}

.carousel-3d-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
}

.carousel-3d-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-3d {
    margin-bottom: 2rem;
    text-align: center;
}

.banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    perspective: 1000px;
}

.slider {
    position: relative;
    width: 120px;
    height: 200px;
    transform-style: preserve-3d;
    animation: sliderRotate 25s linear infinite;
    will-change: transform;
}

@keyframes sliderRotate {
    from { transform: rotateX(-8deg) rotateY(0deg); }
    to { transform: rotateX(-8deg) rotateY(360deg); }
}

.slider.paused {
    animation-play-state: paused;
}

.slider .item {
    position: absolute;
    inset: 0;
    transform: rotateY(calc((var(--position) - 1) * 36deg)) translateZ(250px);
    backface-visibility: hidden;
}

.slider .item img {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* ============================================================================
   SERVICES SECTION
   ============================================================================ */
.services-modern {
    contain: layout style paint;
}

.services-modern__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.1;
}

.category-carousel-modern {
    margin-bottom: 2rem;
}

.carousel-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.carousel-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-emoji {
    font-size: 1.5rem;
}

.carousel-header-modern h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.carousel-nav-modern {
    display: flex;
    gap: 0.375rem;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--border-cyan);
    color: var(--accent-cyan);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

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

.carousel-wrapper-modern {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-wrapper-modern::-webkit-scrollbar {
    display: none;
}

.carousel-track-modern {
    display: flex;
    gap: 0.875rem;
}

.service-card-modern {
    flex: 0 0 200px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    contain: layout style;
}

.service-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
    box-shadow: 0 6px 16px rgba(0, 245, 255, 0.15);
}

.service-card__icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    display: block;
}

.service-card-modern h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--text-white);
}

.service-card__count {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.service-card__rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.rating-stars {
    font-size: 0.75rem;
}

.rating-value {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.8125rem;
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================================================
   FOR WORKERS SECTION
   ============================================================================ */
.for-workers-modern {
    contain: layout style paint;
}

.workers-modern__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.1;
}

.workers-modern__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workers-modern__visual {
    position: relative;
    order: 2;
}

.workers-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
}

.workers-image-wrapper img {
    width: 100%;
    height: auto;
}

.workers-image-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.workers-stat-float {
    position: absolute;
    background: rgba(26, 26, 62, 0.8);
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.workers-stat-float--2 {
    top: -40px;
    left: -80px;
}

.stat-float-icon {
    font-size: 1.5rem;
}

.stat-float-value {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-white);
    margin: 0;
    line-height: 1;
}

.stat-float-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin: 0.125rem 0 0;
}

.workers-modern__content {
    order: 1;
}

.for_workers_header {
    margin-bottom: 1.25rem;
}

.for_workers_header h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.workers-modern__intro {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.workers-benefits-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-item-modern {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.benefit-item-modern:hover {
    background: rgba(0, 245, 255, 0.04);
}

.benefit-icon-modern {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

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

.benefit-content-modern h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.benefit-content-modern p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */
.how-it-works-modern {
    contain: layout style paint;
}

.steps-timeline {
    margin-bottom: 2rem;
}

.steps-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition-base), border-color var(--transition-base);
    contain: layout style;
}

.step-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
}

.step-number-modern {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.step-icon-modern {
    margin: 1rem 0;
    color: var(--accent-cyan);
}

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

.step-card-modern h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.step-card-modern p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.how-it-works-cta {
    text-align: center;
}

.cta-subtext {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ============================================================================
   TIPS SECTION
   ============================================================================ */
.tips-modern {
    contain: layout style paint;
}

.tips-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem; /* Space for number badges */
}

.tip-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    padding-top: 2.5rem; /* Extra top padding for the number badge */
    position: relative;
    transition: transform var(--transition-base), border-color var(--transition-base);
    contain: layout style;
}

.tip-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--border-cyan);
}

.tip-number {
    position: absolute;
    top: -18px;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--border-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--accent-cyan);
}

.tip-icon-modern {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    line-height: 1;
}

.tip-card-modern h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.tip-card-modern p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */
.faq-modern {
    contain: layout style paint;
}

.faq-container-modern {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item-modern:hover,
.faq-item-modern.active {
    border-color: var(--border-cyan);
}

.faq-question-modern {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 1.125rem 1rem;
    background: transparent;
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question-modern:hover {
    background: rgba(0, 245, 255, 0.03);
}

.faq-question-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-white);
    flex: 1;
    padding-right: 0.75rem;
}

.faq-icon-modern {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: transform var(--transition-base);
}

.faq-icon-modern svg {
    width: 16px;
    height: 16px;
}

.faq-item-modern.active .faq-icon-modern {
    transform: rotate(45deg);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 300px;
}

.faq-answer-content-modern {
    padding: 0 1rem 1.125rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================================
   FINAL CTA SECTION
   ============================================================================ */
.cta-final {
    padding: 4rem 1rem;
    contain: layout style paint;
}

.cta-final__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
    pointer-events: none;
}

.cta-gradient {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.cta-gradient--1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    top: -150px;
    right: -100px;
}

.cta-gradient--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-teal), transparent);
    bottom: -175px;
    left: -100px;
}

.cta-final__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-final__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--border-cyan);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-white);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.cta-final__content h2 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-final__content > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-final__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.store-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--text-white);
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
}

.store-btn-modern:hover {
    background: rgba(0, 245, 255, 0.08);
    border-color: var(--border-cyan);
    transform: translateY(-2px);
}

.store-btn-modern svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-btn-text {
    text-align: left;
}

.store-btn-small {
    display: block;
    font-size: 0.6875rem;
    opacity: 0.7;
    line-height: 1;
}

.store-btn-large {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.125rem;
}

.cta-final__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer-modern {
    background: linear-gradient(180deg, var(--dark-bg-secondary), var(--dark-bg-primary));
    border-top: 1px solid var(--border-light);
}

.footer-modern__top {
    padding: 2.5rem 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-logo-icon img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link-modern {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.social-link-modern:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-color: transparent;
}

.social-link-modern svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-modern__bottom {
    padding: 1.5rem 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-subtle);
}

.scroll-to-top {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 18px;
    height: 18px;
}

/* ============================================================================
   FLOATING BUTTONS
   ============================================================================ */
.floating_buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating_btn {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 4px 12px var(--glow-cyan);
    border: none;
    transition: transform var(--transition-fast);
}

.floating_btn:hover {
    transform: scale(1.08);
}

.floating_btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================================================
   MODAL
   ============================================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark-bg-secondary), var(--dark-bg-primary));
    border: 2px solid var(--border-cyan);
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease-out;
    box-shadow: 0 0 25px var(--glow-cyan);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 100, 100, 0.2);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    color: var(--text-white);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.modal-content > p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-notify-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--text-white);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9375rem;
    width: 100%;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 12px var(--glow-cyan);
}

.modal-notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--glow-cyan);
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
.animate-slide-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.animate-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.animate-fade-in.visible {
    opacity: 1;
}

[data-delay="0.1"] { transition-delay: 0.1s; }
[data-delay="0.2"] { transition-delay: 0.15s; }
[data-delay="0.3"] { transition-delay: 0.2s; }
[data-delay="0.4"] { transition-delay: 0.25s; }
[data-delay="0.5"] { transition-delay: 0.3s; }
[data-delay="0.6"] { transition-delay: 0.35s; }
[data-delay="0.7"] { transition-delay: 0.4s; }
[data-delay="0.8"] { transition-delay: 0.45s; }
[data-delay="0.9"] { transition-delay: 0.5s; }
[data-delay="1.0"] { transition-delay: 0.55s; }

/* ============================================================================
   TABLET BREAKPOINT (min-width: 640px)
   ============================================================================ */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .section-header-modern h2 {
        font-size: 2.25rem;
    }

    /* Hero */
    .hero-modern {
        padding: calc(var(--header-height) + 2rem) 1.5rem 7rem;
    }

    .hero-modern__title {
        font-size: 2.5rem;
    }

    .hero-modern__visual {
        max-width: 320px;
    }

    .stats-bar__container {
        gap: 1rem;
    }

    /* Benefits Grid */
    .why_bricole_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Carousel */
    .slider {
        width: 140px;
        height: 230px;
    }

    .slider .item {
        transform: rotateY(calc((var(--position) - 1) * 36deg)) translateZ(300px);
    }

    /* Service Cards */
    .service-card-modern {
        flex: 0 0 220px;
    }

    /* Tips Grid */
    .tips-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    /* CTA Buttons */
    .cta-final__buttons {
        flex-direction: row;
        justify-content: center;
    }

    .store-btn-modern {
        flex: 0 1 auto;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================================
   DESKTOP BREAKPOINT (min-width: 768px)
   ============================================================================ */
@media (min-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .container {
        padding: 0 2rem;
    }

    /* Logo */
    .logo {
        font-size: 1.5rem;
    }

    .logo-icon img {
        width: 36px;
        height: 36px;
    }

    /* Desktop Navigation */
    .mobile-menu-btn {
        display: none;
    }

    .nav-links {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: none;
        padding: 0;
        flex-direction: row;
        gap: 1.75rem;
        box-shadow: none;
        border: none;
    }

    .nav-links li {
        opacity: 1;
        transform: none;
    }

    .nav-links a {
        font-size: 0.9375rem;
        padding: 0;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-cyan);
        transition: width var(--transition-fast);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    /* Hero Desktop Layout */
    .hero-modern {
        padding: calc(var(--header-height) + 2rem) 2rem 6rem;
    }

    .hero-modern__grid {
        flex-direction: row;
        gap: 3rem;
    }

    .hero-modern__content {
        text-align: left;
        flex: 1;
        order: 1;
    }

    .hero-modern__title {
        font-size: 3rem;
    }

    .title-underline {
        margin: 0.75rem 0 0;
    }

    .hero-modern__features {
        justify-content: flex-start;
    }

    .hero-modern__cta {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-modern__visual {
        flex: 1;
        max-width: 380px;
        order: 2;
        position: relative;
    }

    .phone-showcase {
        position: relative;
    }

    .phone-mockup-modern .illustration {
        transform: scale(1.15);
    }

    /* Show 3D Cube on desktop - centered above phone */
    .scene {
        display: block;
        position: absolute;
        top: -140px;
        left: 50%;
        transform: translateX(-50%) scale(0.4);
        width: 160px;
        height: 160px;
        transform-style: preserve-3d;
        will-change: transform;
        pointer-events: none;
        z-index: 10;
    }

    .cube {
        position: relative;
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        animation: cubeRotate 20s linear infinite;
        will-change: transform;
    }

    @keyframes cubeRotate {
        from { transform: rotateX(-20deg) rotateY(0deg); }
        to { transform: rotateX(-20deg) rotateY(360deg); }
    }

    .face {
        position: absolute;
        width: 160px;
        height: 160px;
        background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(0, 100, 255, 0.2));
        border: 2px solid var(--accent-cyan);
        border-radius: 16px;
        box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
        display: flex;
        justify-content: center;
        align-items: center;
        backface-visibility: hidden;
    }

    .face img {
        width: 160px;
        height: 160px;
        filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
    }

    .front { transform: translateZ(80px); }
    .back { transform: rotateY(180deg) translateZ(80px); }
    .right { transform: rotateY(90deg) translateZ(80px); }
    .left { transform: rotateY(-90deg) translateZ(80px); }
    .top { transform: rotateX(90deg) translateZ(80px); }
    .bottom { transform: rotateX(-90deg) translateZ(80px); }

    /* Stats Bar */
    .hero-stats-bar {
        padding: 1.25rem 2rem;
    }

    .stats-bar__container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .stat-icon-bar {
        width: 44px;
        height: 44px;
    }

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

    .stat-number-bar {
        font-size: 1.25rem;
    }

    .stat-label-bar {
        font-size: 0.75rem;
    }

    /* Sections */
    section {
        padding: 5rem 2rem;
    }

    .section-header-modern {
        margin-bottom: 3rem;
    }

    .section-header-modern h2 {
        font-size: 2.75rem;
    }

    /* Benefits */
    .why_bricole_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .benefit_card {
        padding: 2rem;
    }

    /* Carousel */
    .carousel-3d-section {
        min-height: 550px;
        padding: 4rem 2rem;
    }

    .slider {
        width: 160px;
        height: 260px;
    }

    .slider .item {
        transform: rotateY(calc((var(--position) - 1) * 36deg)) translateZ(350px);
    }

    /* Services */
    .carousel-wrapper-modern {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .service-card-modern {
        flex: 0 0 260px;
        padding: 1.5rem;
    }

    /* Workers Section */
    .workers-modern__grid {
        flex-direction: row;
        gap: 4rem;
        align-items: center;
    }

    .workers-modern__visual {
        order: 1;
        flex: 1;
    }

    .workers-modern__content {
        order: 2;
        flex: 1;
    }

    .for_workers_header h2 {
        font-size: 2.25rem;
    }

    /* Steps */
    .steps-grid-modern {
        flex-direction: row;
        gap: 2rem;
    }

    .step-card-modern {
        flex: 1;
        padding: 2.5rem 1.5rem 1.5rem;
    }

    /* Tips */
    .tips-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* CTA */
    .cta-final {
        padding: 5rem 2rem;
    }

    .cta-final__content h2 {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer-modern__top {
        padding: 3rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }

    /* Floating Buttons */
    .floating_buttons {
        bottom: 2rem;
        right: 2rem;
    }

    .floating_btn {
        width: 56px;
        height: 56px;
    }
}

/* ============================================================================
   LARGE DESKTOP BREAKPOINT (min-width: 1024px)
   ============================================================================ */
@media (min-width: 1024px) {
    .hero-modern__grid {
        gap: 4rem;
    }

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

    .hero-modern__visual {
        max-width: 420px;
    }

    .phone-mockup-modern .illustration {
        transform: scale(1.2);
    }

    .section-header-modern h2 {
        font-size: 3rem;
    }

    .service-card-modern {
        flex: 0 0 280px;
    }

    .cta-final__content h2 {
        font-size: 3rem;
    }
}

/* ============================================================================
   RTL SUPPORT - COMPREHENSIVE
   ============================================================================ */
[dir="rtl"] {
    direction: rtl;
}

/* Text Alignment */
[dir="rtl"] .hero-modern__content,
[dir="rtl"] .workers-modern__content,
[dir="rtl"] .for_workers_header {
    text-align: center;
}

[dir="rtl"] .hero-modern__features {
    justify-content: center;
}

/* Flex Direction Reversal */
[dir="rtl"] .benefit-item-modern,
[dir="rtl"] .stat-item-bar,
[dir="rtl"] .workers-stat-float,
[dir="rtl"] .trust-item,
[dir="rtl"] .store-btn-modern,
[dir="rtl"] .hero-badge,
[dir="rtl"] .feature-pill,
[dir="rtl"] .carousel-title-wrapper,
[dir="rtl"] .faq-question-modern {
    flex-direction: row-reverse;
}

/* Service Cards RTL */
[dir="rtl"] .service-card-modern {
    text-align: right;
}

[dir="rtl"] .service-card__rating {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Carousel RTL */
[dir="rtl"] .carousel-wrapper-modern {
    direction: rtl;
}

[dir="rtl"] .carousel-track-modern {
    flex-direction: row-reverse;
}

[dir="rtl"] .carousel-nav-modern {
    flex-direction: row-reverse;
}

/* Swap carousel arrow icons for RTL */
[dir="rtl"] .carousel-btn--prev svg {
    transform: rotate(180deg);
}

[dir="rtl"] .carousel-btn--next svg {
    transform: rotate(180deg);
}

/* Floating Elements */
[dir="rtl"] .workers-stat-float--2 {
    left: auto;
    right: 5%;
}

[dir="rtl"] .tip-number {
    right: auto;
    left: 1rem;
}

/* Footer RTL */
[dir="rtl"] .footer-links {
    text-align: right;
}

[dir="rtl"] .footer-col--brand {
    text-align: right;
}

[dir="rtl"] .footer-social {
    justify-content: flex-start;
}

/* Button Icons RTL */
[dir="rtl"] .btn-modern__content svg:last-child {
    transform: rotate(180deg);
}

/* Modal RTL */
[dir="rtl"] .modal-close {
    right: auto;
    left: 0.75rem;
}

[dir="rtl"] .modal-content {
    text-align: right;
}

/* FAQ RTL */
[dir="rtl"] .faq-question-text {
    padding-right: 0;
    padding-left: 0.75rem;
    text-align: right;
}

[dir="rtl"] .faq-answer-content-modern {
    text-align: right;
}

/* Store Button Text RTL */
[dir="rtl"] .store-btn-text {
    text-align: right;
}

/* Navigation RTL */
[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--border-light);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .nav-links.active {
    left: 0;
    right: auto;
}

[dir="rtl"] .nav-links li {
    transform: translateX(-20px);
}

[dir="rtl"] .nav-links.active li {
    transform: translateX(0);
}

/* Floating Buttons RTL */
[dir="rtl"] .floating_buttons {
    right: auto;
    left: 1rem;
}

/* Benefits Card RTL */
[dir="rtl"] .benefit_card {
    text-align: right;
}

[dir="rtl"] .benefit-content-modern {
    text-align: right;
}

/* Step Cards RTL */
[dir="rtl"] .step-card-modern {
    text-align: right;
}

/* Tip Cards RTL */
[dir="rtl"] .tip-card-modern {
    text-align: right;
}

/* Section Headers RTL */
[dir="rtl"] .section-header-modern,
[dir="rtl"] .section-header-3d {
    text-align: center;
}

@media (min-width: 768px) {
    [dir="rtl"] .hero-modern__content {
        text-align: right;
    }

    [dir="rtl"] .hero-modern__features {
        justify-content: flex-end;
    }

    [dir="rtl"] .hero-modern__cta {
        justify-content: flex-end;
    }

    [dir="rtl"] .title-underline {
        margin: 0.75rem auto 0 0;
    }

    [dir="rtl"] .nav-links a::after {
        left: auto;
        right: 0;
    }

    [dir="rtl"] .hero-modern__grid {
        direction: rtl;
    }

    [dir="rtl"] .hero-modern__content {
        order: 2;
    }

    [dir="rtl"] .hero-modern__visual {
        order: 1;
    }

    [dir="rtl"] .workers-modern__content {
        text-align: right;
    }

    [dir="rtl"] .workers-modern__visual {
        order: 2;
    }

    [dir="rtl"] .workers-modern__content {
        order: 1;
    }

    [dir="rtl"] .for_workers_header {
        text-align: right;
    }

    /* Desktop Navigation RTL */
    [dir="rtl"] .nav-links {
        left: auto;
        right: auto;
        border: none;
        box-shadow: none;
    }

    /* Floating Buttons Desktop RTL */
    [dir="rtl"] .floating_buttons {
        left: 2rem;
    }

    /* Footer Desktop RTL */
    [dir="rtl"] .footer-grid {
        direction: rtl;
    }
}

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .slider,
    .cube {
        animation: none !important;
    }

    .hero-badge__dot,
    .badge-pulse {
        animation: none !important;
    }
}

/* ============================================================================
   FOCUS STYLES FOR ACCESSIBILITY
   ============================================================================ */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */
@media print {
    header,
    .hero-modern__bg,
    .hero-stats-bar,
    .floating_buttons,
    .cta-final,
    .modal-overlay,
    .scene,
    footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}