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

/* Professional Typography Scale System */
:root {
    /* Typography Scale - Based on 1.25 ratio (Major Third) */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    /* Line Height Scale - Perfect ratios for readability */
    --line-height-tight: 1.25;    /* For headings */
    --line-height-snug: 1.375;    /* For subheadings */
    --line-height-normal: 1.5;    /* For body text */
    --line-height-relaxed: 1.625; /* For large text */
    --line-height-loose: 1.75;    /* For very large text */
    
    /* Font Weight Scale - Strategic usage */
    --font-weight-light: 300;     /* For subtle text */
    --font-weight-normal: 400;    /* For body text */
    --font-weight-medium: 500;    /* For emphasis */
    --font-weight-semibold: 600;  /* For subheadings */
    --font-weight-bold: 700;      /* For headings */
    
    /* Letter Spacing - Professional adjustments */
    --letter-spacing-tight: -0.025em;  /* For headings */
    --letter-spacing-normal: 0em;      /* For body text */
    --letter-spacing-wide: 0.025em;    /* For emphasis */
    
    /* Professional Animation Easing System */
    --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);      /* Smooth exit */
    --ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);   /* Smooth transitions */
    --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy exit */
    --ease-in-back: cubic-bezier(0.6, -0.28, 0.735, 0.045);  /* Bouncy entry */
    --ease-out-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Elastic bounce */
    
    /* Animation Timing System */
    --duration-fast: 0.15s;      /* Quick interactions */
    --duration-normal: 0.3s;     /* Standard transitions */
    --duration-slow: 0.6s;       /* Smooth movements */
    --duration-slower: 1.2s;     /* Major transitions */
    --duration-slowest: 2.4s;    /* Page-level animations */
    
    /* Mobile-First Design System */
    --touch-target-min: 44px;    /* iOS minimum touch target */
    --touch-target-ideal: 48px;  /* Android ideal touch target */
    --spacing-xs: 0.25rem;       /* 4px */
    --spacing-sm: 0.5rem;        /* 8px */
    --spacing-md: 1rem;          /* 16px */
    --spacing-lg: 1.5rem;        /* 24px */
    --spacing-xl: 2rem;          /* 32px */
    --spacing-2xl: 3rem;         /* 48px */
    
    /* Responsive Breakpoints - Mobile First */
    --breakpoint-xs: 320px;      /* iPhone SE */
    --breakpoint-sm: 480px;      /* Small phones */
    --breakpoint-md: 768px;      /* Tablets */
    --breakpoint-lg: 1024px;     /* Small laptops */
    --breakpoint-xl: 1200px;     /* Large screens */
    
    /* Professional Polish System */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-moderate: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --shadow-heavy: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --shadow-extreme: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    
    /* Interaction States */
    --state-hover-lift: translateY(-2px);
    --state-active-press: translateY(1px) scale(0.98);
    --state-focus-ring: 0 0 0 3px rgba(0, 128, 128, 0.3);
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Progressive Enhancement - Focus Management */
.mouse-user :focus {
    outline: none !important;
}

.mouse-user :focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* High Contrast Mode Support */
.high-contrast {
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.8);
    --shadow-moderate: 0 4px 8px rgba(0, 0, 0, 0.9);
    --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 1);
}

.high-contrast .contact-link {
    border: 2px solid currentColor;
    background: rgba(255, 255, 255, 0.9);
}

.high-contrast .logo-icon,
.high-contrast .logo-arabic {
    filter: contrast(1.5) brightness(1.2);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .currency-mark {
        animation: none !important;
        opacity: 0.02 !important;
    }
    
    .abstract-graphic::before,
    .abstract-graphic::after {
        animation: none !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-normal);
    background-color: #f1efe7;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* Safari mobile fix */
    margin: 0;
    padding: 0;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-md);
    box-sizing: border-box;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    z-index: 25; /* Higher than ball */
    opacity: 0; /* Start hidden */
    transition: opacity var(--duration-slow) var(--ease-out-quint);
    width: auto;
    text-align: center;
}

.logo.fade-in {
    opacity: 1 !important;
}

.logo-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--duration-slow) var(--ease-out-back);
    filter: drop-shadow(0 0 20px rgba(0, 128, 128, 0.3));
    cursor: pointer;
    will-change: transform, opacity, filter;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
}

.logo-icon.fade-in {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(0, 128, 128, 0.5));
}

.logo-icon:hover {
    filter: drop-shadow(0 0 40px rgba(0, 128, 128, 0.8));
    transform: var(--state-hover-lift) scale(1.05) rotate(2deg);
    transition: all var(--duration-normal) var(--ease-out-quint);
    will-change: transform, filter;
}

.logo-icon:active {
    transform: var(--state-active-press) rotate(1deg);
    transition: all var(--duration-fast) var(--ease-out-quint);
}

.logo-icon:focus {
    outline: none;
    filter: drop-shadow(0 0 40px rgba(0, 128, 128, 0.8)) drop-shadow(var(--state-focus-ring));
}

.logo-arabic {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--duration-slow) var(--ease-out-back);
    filter: drop-shadow(0 0 20px rgba(0, 128, 128, 0.3));
    position: relative;
    top: -8px; /* Move Arabic logo up to align with English logo */
    cursor: pointer;
    will-change: transform, opacity, filter;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
}

.logo-arabic.fade-in {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(0, 128, 128, 0.5));
}

.logo-arabic:hover {
    filter: drop-shadow(0 0 40px rgba(0, 128, 128, 0.8));
    transform: var(--state-hover-lift) scale(1.05) rotate(-2deg);
    transition: all var(--duration-normal) var(--ease-out-quint);
    will-change: transform, filter;
}

.logo-arabic:active {
    transform: var(--state-active-press) rotate(-1deg);
    transition: all var(--duration-fast) var(--ease-out-quint);
}

.logo-arabic:focus {
    outline: none;
    filter: drop-shadow(0 0 40px rgba(0, 128, 128, 0.8)) drop-shadow(var(--state-focus-ring));
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.abstract-graphic {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20; /* Lower than logos */
    transition: all var(--duration-slower) var(--ease-in-out-quint);
    cursor: pointer;
    text-align: center;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
}

.abstract-graphic.move-up {
    top: 20%;
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
}

.abstract-graphic.move-up::before {
    background: linear-gradient(135deg, 
        #4db8b8 0%,
        #66cccc 50%,
        #80d4d4 100%);
    opacity: 0.6;
}

.abstract-graphic.move-up::after {
    background: linear-gradient(45deg,
        #66cccc 0%,
        #4db8b8 100%);
    opacity: 0.4;
}

.abstract-graphic::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, 
        #008080 0%,
        #006666 50%,
        #004d4d 100%);
    border-radius: 50%;
    box-shadow: 
        0 20px 40px rgba(0, 128, 128, 0.3),
        inset 0 10px 20px rgba(255, 255, 255, 0.2);
    animation: float 6s var(--ease-in-out-quint) infinite;
    transition: all var(--duration-slower) var(--ease-in-out-quint);
    --glow-intensity: 0;
    will-change: transform, box-shadow;
}

.abstract-graphic::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg,
        #00a3a3 0%,
        #008080 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 20px rgba(0, 128, 128, 0.2),
        inset 0 5px 10px rgba(255, 255, 255, 0.3);
    animation: float 6s var(--ease-in-out-quint) infinite reverse;
    transition: all var(--duration-slower) var(--ease-in-out-quint);
    --glow-intensity: 0;
    will-change: transform, box-shadow;
}

.abstract-graphic:hover::before {
    box-shadow: 
        0 25px 50px rgba(0, 128, 128, 0.5),
        inset 0 15px 30px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    transition: all var(--duration-normal) var(--ease-out-elastic);
    will-change: transform, box-shadow;
}

.abstract-graphic:hover::after {
    box-shadow: 
        0 15px 50px rgba(0, 128, 128, 0.4),
        inset 0 8px 15px rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    transition: all var(--duration-normal) var(--ease-out-elastic);
    will-change: transform, box-shadow;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-8px) rotate(90deg) scale(1.02);
    }
    50% {
        transform: translateY(-20px) rotate(180deg) scale(1.05);
    }
    75% {
        transform: translateY(-8px) rotate(270deg) scale(1.02);
    }
    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
    }
}

.contact-section {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Visible by default, JS will handle animation */
    transition: all var(--duration-normal) var(--ease-out-quint);
}

/* Enhanced mobile experience */
@media (max-width: 768px) {
    .contact-section {
        bottom: 20px;
    }
    
    /* Responsive blue ball sizing for mobile */
    .abstract-graphic {
        width: 200px;
        height: 200px;
    }
    
    .abstract-graphic::before {
        width: 150px;
        height: 150px;
    }
    
    .abstract-graphic::after {
        width: 100px;
        height: 100px;
    }
    
    /* Better touch targets for mobile */
    .logo-icon,
    .logo-arabic {
        min-height: 44px; /* iOS touch target minimum */
        min-width: 44px;
    }
    
    .abstract-graphic {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Enhanced mobile hover states */
    .logo-icon:active,
    .logo-arabic:active {
        transform: scale(0.98);
        transition: all var(--duration-fast) var(--ease-out-quint);
    }
    
    .abstract-graphic:active::before,
    .abstract-graphic:active::after {
        transform: scale(0.95);
        transition: all var(--duration-fast) var(--ease-out-quint);
    }
}

/* Ensure contact link is always visible */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.025em;
    text-decoration: none;
    color: #008080;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 128, 128, 0.3);
    box-shadow: 0 4px 20px rgba(0, 128, 128, 0.15);
    transition: all 0.3s ease;
    position: relative;
    text-shadow: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    text-align: center;
}

/* Removed complex pseudo-elements that caused mobile issues */

/* Extra small mobile devices */
@media (max-width: 480px) {
    .contact-section {
        bottom: 15px;
    }
    
    .contact-link {
        padding: 10px 20px;
        font-size: var(--font-size-xs);
    }
    
    /* Even smaller blue ball for very small screens */
    .abstract-graphic {
        width: 160px;
        height: 160px;
    }
    
    .abstract-graphic::before {
        width: 120px;
        height: 120px;
    }
    
    .abstract-graphic::after {
        width: 80px;
        height: 80px;
    }
}

.contact-section.animate-in {
    transform: translateX(-50%) translateY(0);
}

/* Removed duplicate contact-link rule to prevent conflicts */

.contact-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(0, 128, 128, 0.5);
    box-shadow: 0 6px 25px rgba(0, 128, 128, 0.25);
    transform: translateY(-2px);
}

.contact-link:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.3);
}

.coming-soon {
    text-align: center;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30; /* Highest z-index */
    opacity: 0; /* Start hidden */
    transition: opacity var(--duration-slow) var(--ease-out-quint);
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    box-sizing: border-box;
    will-change: opacity, transform;
}

.coming-soon.fade-in {
    opacity: 1 !important;
}

.coming-soon h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Removed decorative underline that caused blue line issue */

/* Responsive design with consistent proportional spacing */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        height: 100vh;
        min-height: 100vh;
    }
    
    .logo {
        gap: 30px;
        top: 42%; /* Consistent vertical center */
    }
    
    .logo-icon,
    .logo-arabic {
        width: 140px;
        height: 140px;
    }
    
    .abstract-graphic {
        width: 300px;
        height: 300px;
        top: 42%; /* Same position as logos for alignment */
    }
    
    .abstract-graphic.move-up {
        top: 15%;
    }
    
    .abstract-graphic::before {
        width: 220px;
        height: 220px;
    }
    
    .abstract-graphic::after {
        width: 150px;
        height: 150px;
    }
    
    .coming-soon {
        top: 72%; /* Consistent 30% spacing from logos */
        max-width: 500px;
        padding: 0 15px;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-3xl);
        line-height: var(--line-height-tight);
    }
    
    .contact-section {
        bottom: 20px;
        /* Ensure it's always visible */
        z-index: 50;
        /* Ensure contact button is visible */
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .contact-link {
        font-size: var(--font-size-sm);
        padding: 7px 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        height: 100vh;
        min-height: 100vh;
    }
    
    .logo {
        gap: 15px; /* Reduced gap for stacked layout */
        flex-direction: column;
        top: 38%; /* Consistent center alignment */
    }
    
    .logo-icon,
    .logo-arabic {
        width: 120px;
        height: 120px;
    }
    
    .abstract-graphic {
        width: 250px;
        height: 250px;
        top: 38%; /* Same position as logos */
    }
    
    .abstract-graphic.move-up {
        top: 12%;
    }
    
    .abstract-graphic::before {
        width: 180px;
        height: 180px;
    }
    
    .abstract-graphic::after {
        width: 120px;
        height: 120px;
    }
    
    .coming-soon {
        top: 75%; /* Consistent 37% spacing from logos (38% + 37% = 75%) */
        max-width: 400px;
        padding: 0 10px;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-2xl);
        line-height: var(--line-height-snug);
        padding: 0 15px;
    }
    
    .contact-section {
        bottom: 15px;
    }
    
    .contact-link {
        font-size: var(--font-size-xs);
        padding: 6px 12px;
    }
}

@media (max-width: 360px) {
    .logo {
        top: 35%; /* Consistent center alignment */
        gap: 12px;
    }
    
    .logo-icon,
    .logo-arabic {
        width: 100px;
        height: 100px;
    }
    
    .abstract-graphic {
        width: 200px;
        height: 200px;
        top: 35%; /* Same position as logos */
    }
    
    .abstract-graphic.move-up {
        top: 10%;
    }
    
    .abstract-graphic::before {
        width: 150px;
        height: 150px;
    }
    
    .abstract-graphic::after {
        width: 100px;
        height: 100px;
    }
    
    .coming-soon {
        top: 78%; /* Consistent 43% spacing from logos (35% + 43% = 78%) */
        max-width: 320px;
        padding: 0 8px;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-xl);
        padding: 0 12px;
        line-height: var(--line-height-snug);
    }
    
    .contact-section {
        bottom: 12px;
    }
    
    .contact-link {
        font-size: var(--font-size-xs);
        padding: 5px 10px;
    }
}

@media (max-width: 768px) {
    .logo-arabic {
        top: -8px;
    }
}

@media (max-width: 480px) {
    .logo-arabic {
        top: -5px;
    }
}

@media (max-width: 360px) {
    .logo-arabic {
        top: -3px;
    }
}

/* Currency Watermark Background - Isolated Layer */
.currency-watermarks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    /* Create isolated stacking context */
    isolation: isolate;
    /* Ensure animations are not affected by scrolling */
    will-change: transform;
    /* Hardware acceleration for smooth animations */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Prevent any scroll interference */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Force GPU layer */
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

/* Ensure content is above watermarks on mobile */
@media (max-width: 768px) {
    .logo,
    .abstract-graphic,
    .coming-soon,
    .contact-section {
        z-index: 30;
    }
}

/* Additional isolation for currency animations */
.currency-mark.dirham-mark,
.currency-mark.riyal-mark,
.currency-mark.bahrain-mark,
.currency-mark.qatar-mark,
.currency-mark.oman-mark,
.currency-mark.eur-mark,
.currency-mark.usd-mark,
.currency-mark.gbp-mark {
    /* Force GPU acceleration and isolation */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* Ensure animations run independently */
    animation-play-state: running;
    /* Prevent scroll interference */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Removed smart scroll detection - keeping it simple */

/* Removed webkit scrollbar styling - no scrolling needed */

/* Removed container scroll states - keeping it simple */

.currency-mark {
    position: absolute;
    bottom: -120px;
    opacity: 0.06;
    animation: fountain-rise 15s var(--ease-in-out-quint) infinite;
    animation-delay: var(--delay);
    left: var(--position);
    transform: translateX(-50%);
    /* Prevent overlap with generous spacing */
    margin: 0 20px;
    /* Isolate from scrolling interference */
    will-change: transform, opacity;
    /* Hardware acceleration */
    transform: translateX(-50%) translateZ(0);
    -webkit-transform: translateX(-50%) translateZ(0);
    /* Create isolated stacking context */
    isolation: isolate;
}

.currency-mark.dirham-mark {
    opacity: 0.08;
    width: 70px;
    height: 70px;
    animation-duration: 18s;
    z-index: 5;
}

.currency-mark.riyal-mark {
    opacity: 0.07;
    width: 55px;
    height: 55px;
    animation-duration: 17s;
    z-index: 4;
}

.currency-mark.bahrain-mark,
.currency-mark.qatar-mark,
.currency-mark.oman-mark {
    opacity: 0.05;
    width: 38px;
    height: 38px;
    animation-duration: 16s;
    z-index: 3;
}

.currency-mark.eur-mark,
.currency-mark.usd-mark,
.currency-mark.gbp-mark {
    opacity: 0.04;
    width: 28px;
    height: 28px;
    animation-duration: 15s;
    z-index: 2;
}

.currency-icon {
    width: 100%;
    height: 100%;
    filter: brightness(0.7) contrast(0.7);
    transition: all var(--duration-normal) var(--ease-out-quint);
    /* Ensure icons are isolated from scroll interference */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Prevent any scroll-related interference */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes fountain-rise {
    0% {
        transform: translateX(-50%) translateY(0) scale(0.5) rotate(0deg) translateZ(0);
        opacity: 0;
    }
    15% {
        opacity: 0;
        transform: translateX(-50%) translateY(-15vh) scale(0.8) rotate(0deg) translateZ(0);
    }
    25% {
        opacity: var(--opacity, 0.06);
        transform: translateX(-50%) translateY(-25vh) scale(1.0) rotate(0deg) translateZ(0);
    }
    50% {
        opacity: var(--opacity, 0.06);
        transform: translateX(-50%) translateY(-50vh) scale(1.2) rotate(0deg) translateZ(0);
    }
    80% {
        opacity: var(--opacity, 0.06);
        transform: translateX(-50%) translateY(-80vh) scale(1.4) rotate(0deg) translateZ(0);
    }
    100% {
        transform: translateX(-50%) translateY(-120vh) scale(1.6) rotate(0deg) translateZ(0);
        opacity: 0;
    }
}

/* Responsive adjustments for currency marks */
@media (max-width: 768px) {
    .currency-mark.dirham-mark {
        width: 48px;
        height: 48px;
    }
    
    .currency-mark.riyal-mark {
        width: 40px;
        height: 40px;
    }
    
    .currency-mark.bahrain-mark,
    .currency-mark.qatar-mark,
    .currency-mark.oman-mark {
        width: 28px;
        height: 28px;
    }
    
    .currency-mark.eur-mark,
    .currency-mark.usd-mark,
    .currency-mark.gbp-mark {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .currency-mark.dirham-mark {
        width: 40px;
        height: 40px;
    }
    
    .currency-mark.riyal-mark {
        width: 32px;
        height: 32px;
    }
    
    .currency-mark.bahrain-mark,
    .currency-mark.qatar-mark,
    .currency-mark.oman-mark {
        width: 24px;
        height: 24px;
    }
    
    .currency-mark.eur-mark,
    .currency-mark.usd-mark,
    .currency-mark.gbp-mark {
        width: 16px;
        height: 16px;
    }
}

/* Additional responsive breakpoints for better mobile/tablet support */

/* iPad Pro and large tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo-icon,
    .logo-arabic {
        width: 160px;
        height: 160px;
    }
    
    .abstract-graphic {
        width: 350px;
        height: 350px;
    }
    
    .abstract-graphic::before {
        width: 260px;
        height: 260px;
    }
    
    .abstract-graphic::after {
        width: 180px;
        height: 180px;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-3xl);
    }
    
    /* Ensure contact button is accessible on tablets */
    .contact-section {
        bottom: 25px;
        z-index: 50;
    }
}

/* Small tablets and large phones in landscape */
@media (max-width: 640px) and (min-width: 481px) {
    .logo {
        gap: 25px;
        top: 40%; /* Consistent center alignment */
    }
    
    .logo-icon,
    .logo-arabic {
        width: 130px;
        height: 130px;
    }
    
    .abstract-graphic {
        width: 280px;
        height: 280px;
        top: 40%; /* Same position as logos */
    }
    
    .abstract-graphic.move-up {
        top: 14%;
    }
    
    .abstract-graphic::before {
        width: 200px;
        height: 200px;
    }
    
    .abstract-graphic::after {
        width: 140px;
        height: 140px;
    }
    
    .coming-soon {
        top: 72%; /* Consistent 32% spacing from logos (40% + 32% = 72%) */
        max-width: 450px;
        padding: 0 12px;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-2xl);
        line-height: var(--line-height-tight);
        padding: 0 15px;
    }
    
    .contact-section {
        bottom: 15px;
        z-index: 50;
    }
    
    .contact-link {
        font-size: var(--font-size-xs);
        padding: 6px 14px;
    }
}

/* iPhone SE and very small phones */
@media (max-width: 320px) {
    .logo {
        top: 32%; /* Consistent center alignment */
        gap: 10px;
    }
    
    .logo-icon,
    .logo-arabic {
        width: 90px;
        height: 90px;
    }
    
    .abstract-graphic {
        width: 180px;
        height: 180px;
        top: 32%; /* Same position as logos */
    }
    
    .abstract-graphic.move-up {
        top: 8%;
    }
    
    .abstract-graphic::before {
        width: 130px;
        height: 130px;
    }
    
    .abstract-graphic::after {
        width: 90px;
        height: 90px;
    }
    
    .coming-soon {
        top: 80%; /* Consistent 48% spacing from logos (32% + 48% = 80%) */
        max-width: 280px;
        padding: 0 8px;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-lg);
        padding: 0 10px;
        line-height: var(--line-height-snug);
    }
    
    .contact-section {
        bottom: 10px;
    }
    
    .contact-link {
        font-size: var(--font-size-xs);
        padding: 4px 8px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .logo {
        top: 35%;
        gap: 20px;
    }
    
    .abstract-graphic {
        top: 35%;
    }
    
    .abstract-graphic.move-up {
        top: 10%;
    }
    
    .coming-soon {
        top: 80%;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-xl);
    }
    
    .contact-section {
        bottom: 10px;
    }
}

/* Very short screens (like iPhone 12 mini in landscape) */
@media (max-height: 450px) and (orientation: landscape) {
    .logo {
        top: 30%;
        gap: 15px;
    }
    
    .logo-icon,
    .logo-arabic {
        width: 100px;
        height: 100px;
    }
    
    .abstract-graphic {
        width: 200px;
        height: 200px;
        top: 30%;
    }
    
    .abstract-graphic.move-up {
        top: 8%;
    }
    
    .abstract-graphic::before {
        width: 150px;
        height: 150px;
    }
    
    .abstract-graphic::after {
        width: 100px;
        height: 100px;
    }
    
    .coming-soon {
        top: 85%;
    }
    
    .coming-soon h1 {
        font-size: var(--font-size-lg);
        line-height: var(--line-height-tight);
    }
    
    .contact-section {
        bottom: 8px;
    }
    
    .contact-link {
        font-size: var(--font-size-xs);
        padding: 3px 6px;
    }
}

/* Currency watermarks responsive for additional breakpoints */
@media (max-width: 1024px) and (min-width: 769px) {
    .currency-mark.dirham-mark {
        width: 56px;
        height: 56px;
    }
    
    .currency-mark.riyal-mark {
        width: 44px;
        height: 44px;
    }
    
    .currency-mark.bahrain-mark,
    .currency-mark.qatar-mark,
    .currency-mark.oman-mark {
        width: 30px;
        height: 30px;
    }
    
    .currency-mark.eur-mark,
    .currency-mark.usd-mark,
    .currency-mark.gbp-mark {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 640px) and (min-width: 481px) {
    .currency-mark.dirham-mark {
        width: 44px;
        height: 44px;
    }
    
    .currency-mark.riyal-mark {
        width: 36px;
        height: 36px;
    }
    
    .currency-mark.bahrain-mark,
    .currency-mark.qatar-mark,
    .currency-mark.oman-mark {
        width: 26px;
        height: 26px;
    }
    
    .currency-mark.eur-mark,
    .currency-mark.usd-mark,
    .currency-mark.gbp-mark {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 320px) {
    .currency-mark.dirham-mark {
        width: 32px;
        height: 32px;
    }
    
    .currency-mark.riyal-mark {
        width: 26px;
        height: 26px;
    }
    
    .currency-mark.bahrain-mark,
    .currency-mark.qatar-mark,
    .currency-mark.oman-mark {
        width: 18px;
        height: 18px;
    }
    
    .currency-mark.eur-mark,
    .currency-mark.usd-mark,
    .currency-mark.gbp-mark {
        width: 14px;
        height: 14px;
    }
}

/* Professional Particle System - Minimalist Approach */
.particle-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #008080;
    border-radius: 50%;
    opacity: 0.15;
    animation: float-particle 12s linear infinite;
    box-shadow: 0 0 6px rgba(0, 128, 128, 0.3);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
    animation-duration: 17s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 10s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 12s;
    animation-duration: 19s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 14s;
    animation-duration: 15s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 16s;
    animation-duration: 16s;
}

.particle:nth-child(10) {
    left: 15%;
    animation-delay: 18s;
    animation-duration: 14s;
}

.particle:nth-child(11) {
    left: 25%;
    animation-delay: 20s;
    animation-duration: 17s;
}

.particle:nth-child(12) {
    left: 35%;
    animation-delay: 22s;
    animation-duration: 15s;
}

.particle:nth-child(13) {
    left: 45%;
    animation-delay: 24s;
    animation-duration: 18s;
}

.particle:nth-child(14) {
    left: 55%;
    animation-delay: 26s;
    animation-duration: 16s;
}

.particle:nth-child(15) {
    left: 65%;
    animation-delay: 28s;
    animation-duration: 14s;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-20px) translateX(20px);
        opacity: 0;
    }
}

/* Responsive particle adjustments */
@media (max-width: 768px) {
    .particle {
        width: 3px;
        height: 3px;
        opacity: 0.12;
    }
    
    .particle:nth-child(n+8) {
        display: none; /* Reduce particles on mobile */
    }
}

/* Subtle particle interactions */
.particle:hover {
    opacity: 0.25;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* Particle system performance optimization */
.particle-system {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@media (max-width: 480px) {
    .particle {
        width: 2px;
        height: 2px;
        opacity: 0.1;
    }
    
    .particle:nth-child(n+6) {
        display: none; /* Further reduce on small screens */
    }
}
