/* ============================================
   Gateway.sa - Modern Design System
   Color Scheme: Dark Blue + Orange + White
   ============================================ */

:root {
    /* Primary Colors - Matching Logo */
    --color-dark-blue: #004080;
    --color-dark-blue-light: #0055AA;
    --color-blue: #0066CC;
    --color-blue-light: #1A7AE6;
    --color-blue-dark: #003366;
    
    /* Accent Colors - Matching Logo */
    --color-orange: #FF8C00;
    --color-orange-light: #FFA500;
    --color-orange-dark: #E67E00;
    --color-orange-gradient: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    --color-orange-gradient-soft: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-gray-50: #F8F9FA;
    --color-gray-100: #E9ECEF;
    --color-gray-200: #DEE2E6;
    --color-gray-300: #CED4DA;
    --color-gray-400: #ADB5BD;
    --color-gray-500: #6C757D;
    --color-gray-600: #495057;
    --color-gray-700: #343A40;
    --color-gray-800: #212529;
    
    /* Text Colors */
    --color-text-primary: #004080;
    --color-text-secondary: #495057;
    --color-text-light: #6C757D;
    --color-text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: #004080;
    --bg-dark-light: #0055AA;
    --bg-gradient-blue: linear-gradient(135deg, #004080 0%, #0055AA 50%, #0066CC 100%);
    --bg-gradient-hero: linear-gradient(135deg, #F0F7FF 0%, #E6F2FF 50%, #D6E8FF 100%);
    
    /* Typography */
    --font-primary: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Cairo', 'Tajawal', system-ui, sans-serif;
    --font-heading: 'Montserrat', 'Poppins', system-ui, sans-serif;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;    /* 12px */
    --fs-sm: 0.875rem;   /* 14px */
    --fs-base: 1rem;     /* 16px */
    --fs-lg: 1.125rem;   /* 18px */
    --fs-xl: 1.25rem;    /* 20px */
    --fs-2xl: 1.5rem;    /* 24px */
    --fs-3xl: 1.875rem;  /* 30px */
    --fs-4xl: 2.25rem;   /* 36px */
    --fs-5xl: 3rem;      /* 48px */
    --fs-6xl: 3.75rem;   /* 60px */
    
    /* Spacing */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-2xl: 4rem;     /* 64px */
    --spacing-3xl: 6rem;     /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 64, 128, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 64, 128, 0.1), 0 2px 4px -1px rgba(0, 64, 128, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 64, 128, 0.1), 0 4px 6px -2px rgba(0, 64, 128, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 64, 128, 0.1), 0 10px 10px -5px rgba(0, 64, 128, 0.04);
    --shadow-orange: 0 10px 30px rgba(255, 140, 0, 0.4);
    --shadow-orange-glow: 0 0 30px rgba(255, 140, 0, 0.5);
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 300ms ease-out;
    --transition-slow: 500ms ease-out;
    
    /* Layout */
    --container-max-width: 1400px;
    --header-height: 80px;
    --header-height-scrolled: 70px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--fs-5xl);
    font-weight: 800;
}

h2 {
    font-size: var(--fs-4xl);
}

h3 {
    font-size: var(--fs-3xl);
}

h4 {
    font-size: var(--fs-2xl);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

/* ============================================
   Container
   ============================================ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 64, 128, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: var(--header-height);
    border-bottom: 1px solid rgba(0, 64, 128, 0.1);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    box-shadow: 0 4px 20px rgba(0, 64, 128, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 64, 128, 0.1);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.header__logo {
    display: flex;
    align-items: center;
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--color-dark-blue);
    z-index: 1001;
    transition: all var(--transition-base);
}

.header__logo:hover {
    transform: scale(1.05);
}

.header__logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 64, 128, 0.2));
    transition: all var(--transition-base);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header__nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-text-primary);
    padding: var(--spacing-xs) 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__nav-link:hover {
    color: var(--color-orange);
    font-weight: 600;
    transform: translateY(-2px);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-orange-gradient);
    border-radius: var(--radius-full);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.header__nav-item--dropdown {
    position: relative;
}

.header__nav-item--dropdown:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.header__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: var(--spacing-sm);
    min-width: 250px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    transition: all var(--transition-base);
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    white-space: nowrap;
}

.header__dropdown--wide {
    min-width: 400px;
}

.header__dropdown li {
    padding: 0;
    flex-shrink: 0;
}

.header__dropdown a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.header__dropdown a:hover {
    background: var(--color-orange-gradient-soft);
    color: var(--color-orange);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    font-weight: 600;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Language Toggle */
.header__lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 4px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: var(--fs-sm);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    background: rgba(0, 64, 128, 0.1);
}

.lang-btn--active {
    background: var(--color-orange-gradient);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4), 0 0 0 2px rgba(255, 140, 0, 0.3);
}

.lang-btn--active:hover {
    background: var(--color-orange-gradient);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5), 0 0 0 2px rgba(255, 140, 0, 0.4);
}

/* RTL support for language toggle */
html[dir="rtl"] .header__lang-toggle {
    flex-direction: row-reverse;
}

/* Country Selector */
.header__country-selector {
    position: relative;
}

.country-selector-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-weight: 500;
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-width: 140px;
    justify-content: space-between;
}

.country-selector-btn:hover {
    background: rgba(0, 64, 128, 0.15);
    border-color: rgba(0, 64, 128, 0.3);
}

.country-selector-btn:focus {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

.country-selector-btn i.fa-globe {
    font-size: var(--fs-base);
    opacity: 0.9;
}

.country-selector-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-selector-chevron {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.header__country-selector.active .country-selector-chevron {
    transform: rotate(180deg);
}

.country-selector-dropdown {
    position: absolute;
    top: calc(100% + var(--spacing-xs));
    right: 0;
    min-width: 200px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    padding: var(--spacing-xs) 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.header__country-selector.active .country-selector-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-selector-dropdown li {
    padding: 0;
    margin: 0;
}

.country-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.country-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
    margin-right: 8px;
}

.country-flag-btn {
    width: 20px;
    height: 15px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 2px;
}

.country-option a {
    font-size: var(--fs-sm);
    font-weight: 400;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.country-option:hover {
    background: var(--color-orange-gradient-soft);
    color: var(--color-orange);
    font-weight: 600;
}

.country-option--active {
    background: var(--color-orange-gradient-soft);
    color: var(--color-orange);
    font-weight: 600;
    position: relative;
}

.country-option--active::before {
    content: '✓';
    position: absolute;
    right: var(--spacing-lg);
    color: var(--color-orange);
    font-weight: 700;
}

/* RTL support for country selector */
html[dir="rtl"] .country-selector-text {
    text-align: right;
}

html[dir="rtl"] .country-selector-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .country-option {
    text-align: right;
}

html[dir="rtl"] .country-option--active::before {
    right: auto;
    left: var(--spacing-lg);
}

/* Mobile Menu Toggle */
.header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.header__menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-dark-blue);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    font-size: var(--fs-base);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-orange-gradient);
    background-size: 200% 200%;
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease-out;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.6), 0 0 30px rgba(255, 140, 0, 0.4);
    background-position: 100% 50%;
    animation: gradientShift 3s ease infinite;
}

.btn--secondary {
    background: transparent;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn--secondary:hover {
    background: var(--color-orange);
    color: var(--color-white);
}

.btn--dark {
    background: var(--color-dark-blue);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 64, 128, 0.3);
}

.btn--dark:hover {
    background: var(--color-dark-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 64, 128, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

.btn--outline:hover {
    background: var(--color-dark-blue);
    color: var(--color-white);
}

.btn--large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--fs-lg);
}

.btn--small {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--fs-sm);
}

/* ============================================
   Hero Section / Slider
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient-blue);
    background-size: 200% 200%;
    overflow: hidden;
    padding-top: var(--header-height);
    z-index: 0;
    transform: none !important;
    animation: gradientShift 10s ease infinite;
}

.hero__background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero__shape--1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    bottom: -15%;
    left: -5%;
    animation-delay: 5s;
}

.hero__shape--3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    top: 50%;
    right: 20%;
    animation-delay: 10s;
}


@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-50px, -50px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(50px, 50px) scale(0.9) rotate(240deg);
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    transform: none !important;
    max-width: 1400px;
    margin: 0 auto;
}

.hero__left {
    color: var(--color-white);
    animation: fadeInLeft 1s ease-out;
    padding: 0;
    margin: 0;
}

.hero__right {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero__title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xl);
    line-height: 1.1;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

/* Typing Text Animation */
.hero__title {
    color: var(--color-white);
}

.hero__title .typing-wrapper {
    display: inline-block;
    position: relative;
}

.hero__title .typing-line {
    color: var(--color-white);
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--color-white);
    width: 0ch;
}

.hero__title .typing-line-1 {
    color: var(--color-white);
    -webkit-text-fill-color: var(--color-white);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    animation: typingLine1 2s steps(12, end) forwards, 
               cursorBlink 0.75s step-end infinite;
}

.hero__title .typing-line-2 {
    color: var(--color-white);
    -webkit-text-fill-color: var(--color-white);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    animation: typingLine2 2.2s steps(15, end) 2.2s forwards, 
               cursorBlink 0.75s step-end infinite 2.2s;
}

.hero__title .typing-cursor {
    color: var(--color-white);
    font-weight: 100;
    animation: cursorBlinkFinal 0.75s step-end infinite 4.4s;
    margin-left: 2px;
    display: inline-block;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes typingLine1 {
    from {
        width: 0ch;
    }
    to {
        width: 12ch;
        border-right-color: transparent;
    }
}

@keyframes typingLine2 {
    from {
        width: 0ch;
    }
    to {
        width: 15ch;
        border-right-color: transparent;
    }
}

@keyframes cursorBlink {
    0%, 49% {
        border-right-color: var(--color-white);
    }
    50%, 100% {
        border-right-color: transparent;
    }
}

@keyframes cursorBlinkFinal {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes textGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 165, 0, 1))
                drop-shadow(0 0 40px rgba(255, 140, 0, 0.9))
                drop-shadow(0 0 60px rgba(255, 215, 0, 0.7))
                drop-shadow(0 0 80px rgba(255, 165, 0, 0.5))
                brightness(1);
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 165, 0, 1))
                drop-shadow(0 0 60px rgba(255, 140, 0, 1))
                drop-shadow(0 0 90px rgba(255, 215, 0, 0.9))
                drop-shadow(0 0 120px rgba(255, 165, 0, 0.7))
                brightness(1.4);
        transform: scale(1.03);
    }
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero__subtitle {
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: left;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    position: relative;
}

.hero__subtitle-rotating {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0;
    margin: 0;
    min-height: 4.8em;
}

.rotating-text-placeholder {
    opacity: 0;
    visibility: hidden;
    display: block;
    pointer-events: none;
    width: 100%;
    line-height: 1.6;
    height: auto;
}

.rotating-text-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
    transform: translateY(20px);
    text-align: left;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

.rotating-text-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: absolute;
}

.rotating-text-item.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    position: absolute;
}

.hero__actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero__cta {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: var(--color-white);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--fs-base);
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #ff7b45 0%, #ffa31e 100%);
}

/* Hero Image Frame */
.hero__image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 64, 128, 0.05) 0%, rgba(255, 140, 0, 0.03) 100%);
    border-radius: var(--radius-2xl);
    overflow: visible;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0, 64, 128, 0.25),
        0 0 40px rgba(255, 140, 0, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Creative Video Frame with Corners */
.hero__video-frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 4;
    border: 3px solid var(--color-orange);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero__video-frame-corner--tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: var(--radius-lg) 0 0 0;
}

.hero__video-frame-corner--tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-radius: 0 var(--radius-lg) 0 0;
}

.hero__video-frame-corner--bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 var(--radius-lg);
}

.hero__video-frame-corner--br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 var(--radius-lg) 0;
}

.hero__image-frame:hover .hero__video-frame-corner {
    width: 50px;
    height: 50px;
    opacity: 1;
    border-color: var(--color-orange);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

/* Hero Video - Full Resolution Display (16:9 Aspect Ratio) */
.hero__video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: var(--radius-xl);
    z-index: 1;
    background: #000;
    transition: transform 0.5s ease, filter 0.5s ease;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 140, 0, 0.2);
}

.hero__image-frame:hover .hero__video {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 140, 0, 0.3);
}

/* Video Controls Container */
.hero__video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 5;
    display: flex;
    gap: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hero__image-frame:hover .hero__video-controls {
    opacity: 1;
    visibility: visible;
}

/* Video Play/Pause Control Button */
.hero__video-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 64, 128, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: var(--fs-lg);
}

.hero__video-play-btn:hover {
    background: var(--color-orange-gradient);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Video Sound Control Button */
.hero__video-sound-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 64, 128, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: var(--fs-lg);
}

.hero__video-sound-btn:hover {
    background: var(--color-orange-gradient);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Video Zoom Control Button */
.hero__video-zoom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 64, 128, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: var(--fs-lg);
}

.hero__video-zoom-btn:hover {
    background: var(--color-orange-gradient);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero__video-sound-btn.active {
    background: var(--color-orange-gradient);
    border-color: var(--color-orange);
}

/* Video Overlay - Subtle */
.hero__video-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(
        135deg,
        rgba(0, 64, 128, 0.05) 0%,
        transparent 50%,
        rgba(255, 140, 0, 0.05) 100%
    );
    border-radius: var(--radius-xl);
    z-index: 2;
    pointer-events: none;
}

/* Animated Glow Effect */
.hero__image-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.3) 0%,
        rgba(0, 64, 128, 0.2) 50%,
        rgba(255, 140, 0, 0.3) 100%
    );
    border-radius: var(--radius-xl);
    z-index: 0;
    opacity: 0.4;
    filter: blur(15px);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Hero Logo with Shadows and Effects - Kept for backward compatibility */
.hero__logo {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3))
            drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: logoFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero__logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4))
            drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Gateway Diagram Container */
.gateway-diagram {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Central Cloud Icon */
.diagram-center-cloud {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 180px;
    background: var(--color-white);
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
    position: relative;
}

.diagram-center-cloud::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 50%;
}

.diagram-center-cloud::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
}

.diagram-center-cloud i {
    font-size: 80px;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
}

.cloud-text {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    font-family: var(--font-heading);
}

/* Connection Lines SVG */
.diagram-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-line {
    stroke: var(--color-white);
    stroke-width: 2;
    stroke-dasharray: 8, 4;
    opacity: 0.8;
    animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 24;
    }
}

/* Channel Circles Container */
.diagram-channel {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 5;
}

.channel-circle {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.channel-circle i {
    font-size: 40px;
    color: var(--color-dark-blue);
}

.channel-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
}

/* Position Channels in Semi-Circle */
.diagram-channel--1 {
    top: 12%;
    left: 8%;
}

.diagram-channel--2 {
    top: 8%;
    left: 20%;
}

.diagram-channel--3 {
    top: 5%;
    left: 35%;
}

.diagram-channel--4 {
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
}

.diagram-channel--5 {
    top: 5%;
    right: 35%;
}

.diagram-channel--6 {
    top: 8%;
    right: 20%;
}

.diagram-channel--7 {
    top: 12%;
    right: 12%;
}

.diagram-channel--8 {
    top: 18%;
    right: 5%;
}

/* Special Icon Styling */
.support-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.support-dots span {
    width: 6px;
    height: 6px;
    background: var(--color-dark-blue);
    border-radius: 50%;
}

.mobile-bell {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: var(--color-orange);
    animation: bellRing 2s ease-in-out infinite;
}

.mobile-bubble {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
}

.mobile-bubble span {
    width: 5px;
    height: 5px;
    background: var(--color-dark-blue);
    border-radius: 50%;
}

/* Animations */
@keyframes bellRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

.sms-phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 40px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 8px solid #0a0a0a;
}

.sms-phone-screen {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.sms-phone-header {
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 32px 32px 0 0;
}

.sms-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 0 0 20px 20px;
}

.sms-phone-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex !important;
    flex-direction: column;
    gap: var(--spacing-md);
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    min-height: 0; /* Ensure flex child can shrink */
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2;
    border-radius: 0;
}

.sms-phone-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Ensure messages are visible */
.sms-phone-content .sms-bubble {
    visibility: visible !important;
    display: flex !important;
    opacity: 1 !important;
    position: relative;
    z-index: 3;
}

.sms-bubble {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    max-width: 75%;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.5s ease-out;
    animation-fill-mode: both;
    will-change: opacity, transform;
    visibility: visible !important;
    position: relative;
}

.sms-bubble--incoming {
    align-self: flex-start;
}

.sms-bubble--outgoing {
    align-self: flex-end;
}

/* Sequential message appearance - Initial load */
.sms-bubble--msg1 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.4s ease-out 0.2s both;
}

.sms-bubble--msg2 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.4s ease-out 0.6s both;
}

.sms-bubble--msg3 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.4s ease-out 1s both;
}

.sms-bubble--msg4 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.4s ease-out 1.4s both;
}

.sms-bubble--msg5 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.4s ease-out 1.8s both;
}

.sms-bubble--msg6 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: bubbleAppear 0.4s ease-out 2.2s both;
}

.sms-bubble-content {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 18px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: bubblePulse 0.3s ease-out;
}

.sms-bubble--incoming .sms-bubble-content {
    background: var(--color-white);
    border-bottom-left-radius: 4px;
}

.sms-bubble--outgoing .sms-bubble-content {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: var(--color-white);
    border-bottom-right-radius: 4px;
}

.sms-bubble-text {
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.4;
    animation: textType 0.4s ease-out;
}

.sms-bubble-time {
    font-size: 10px;
    opacity: 0.6;
    padding: 0 var(--spacing-xs);
    animation: fadeIn 0.3s ease-out 0.2s backwards;
}

.sms-bubble-status {
    display: flex;
    align-items: center;
    padding: 2px 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeIn 0.3s ease-out 0.4s backwards;
}

.sms-bubble-status i {
    font-size: 10px;
}

.sms-phone-footer {
    height: 70px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-xs);
    border-radius: 0 0 32px 32px;
}

.sms-input-area {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
}

.sms-input-box {
    flex: 1;
    background: #f0f0f0;
    border-radius: 20px;
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
    min-height: 36px;
    display: flex;
    align-items: center;
    animation: inputPulse 2s ease-in-out infinite;
}

.sms-input-placeholder {
    font-size: var(--fs-sm);
    color: #999;
    animation: placeholderBlink 1.5s ease-in-out infinite;
}

.sms-send-button {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    animation: sendButtonPulse 2s ease-in-out infinite;
}

.sms-send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.sms-send-button i {
    font-size: 14px;
    animation: sendIconMove 0.5s ease-in-out infinite;
}

.sms-typing-indicator {
    display: flex;
    gap: 6px;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.sms-typing-indicator--active {
    opacity: 1;
    transform: translateY(0);
    animation: typingAppear 0.3s ease-out;
}

.sms-typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.sms-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.sms-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Floating Particles - Removed */

.sms-particle:nth-child(5) {
    bottom: 10%;
    right: 20%;
    animation-delay: 6s;
}

/* SMS Badge */
.sms-badge {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-full);
    box-shadow: 
        0 8px 24px rgba(255, 107, 53, 0.4),
        0 0 20px rgba(255, 107, 53, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.sms-badge span {
    font-size: var(--fs-xl);
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.2em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes bubbleAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bubblePulse {
    0% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes textType {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes contentScroll {
    0% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-30px);
    }
    40% {
        transform: translateY(-60px);
    }
    60% {
        transform: translateY(-90px);
    }
    80% {
        transform: translateY(-60px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes typingAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inputPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    }
}

@keyframes placeholderBlink {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes sendButtonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    }
}

@keyframes sendIconMove {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(2px) translateY(-2px);
    }
}

/* particleFloat animation removed */

@keyframes badgePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 
            0 8px 24px rgba(255, 107, 53, 0.4),
            0 0 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 
            0 12px 32px rgba(255, 107, 53, 0.5),
            0 0 30px rgba(255, 107, 53, 0.4);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__right {
        order: -1;
    }
    
    .hero__image-frame {
        max-height: 750px;
        padding: 10px;
    }

    .sms-phone-device {
        width: 280px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero__image-frame {
        max-height: 500px;
        padding: 8px;
    }
    
    .sms-phone-device {
        width: 240px;
        height: 420px;
    }

    .sms-badge {
        bottom: -30px;
        padding: var(--spacing-xs) var(--spacing-lg);
    }

    .sms-badge span {
        font-size: var(--fs-lg);
    }

    .hero__title {
        font-size: 2rem;
    }
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: var(--bg-primary);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,64,128,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.section--alt {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.section--alt::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
    filter: blur(30px);
    pointer-events: none;
}

.section--dark {
    background: var(--bg-gradient-blue);
    color: var(--color-white);
    position: relative;
}

.section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid-dark" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid-dark)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    position: relative;
}

.section__header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-orange-gradient);
    background-size: 200% 200%;
    border-radius: var(--radius-full);
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

.section__title {
    font-size: var(--fs-4xl);
    margin-bottom: var(--spacing-md);
    color: inherit;
}

.section__subtitle {
    font-size: var(--fs-lg);
    color: var(--color-text-light);
}

.section--dark .section__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Cards
   ============================================ */

.card {
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(248, 250, 252, 0.95) 50%,
            rgba(255, 255, 255, 0.98) 100%
        ),
        radial-gradient(circle at 0% 0%, rgba(255, 140, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 64, 128, 0.03) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cardPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="0.5" fill="rgba(0,64,128,0.03)"/></pattern></defs><rect width="60" height="60" fill="url(%23cardPattern)"/></svg>');
    background-size: 100% 100%, 200% 200%, 200% 200%, 60px 60px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: 
        0 8px 32px rgba(0, 64, 128, 0.12),
        0 4px 16px rgba(0, 64, 128, 0.08),
        0 2px 8px rgba(0, 64, 128, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 64, 128, 0.02);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: 2px solid rgba(0, 64, 128, 0.12);
    border-top: 3px solid rgba(255, 140, 0, 0.2);
    position: relative;
    overflow: hidden; /* Keep for decorative elements */
    animation: fadeInUp 0.6s ease-out backwards, subtleFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    opacity: 1; /* Ensure cards are visible by default */
    visibility: visible;
}

/* Once animated, keep visible */
.card.animated,
.card.card-animated {
    opacity: 1 !important;
    visibility: visible !important;
}


@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.card > * {
    position: relative;
    z-index: 2;
    opacity: 1 !important; /* Ensure content is always visible */
    visibility: visible !important;
}

/* Decorative top accent bar - visible by default */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(255, 140, 0, 0.4) 0%, 
        rgba(255, 140, 0, 0.6) 50%,
        rgba(255, 140, 0, 0.4) 100%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.2);
    animation: gradientShift 4s ease infinite;
    z-index: 3;
    opacity: 0.8;
}

/* Background gradient overlay - subtle by default */
.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 64, 128, 0.04) 0%, transparent 40%);
    opacity: 0.5;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    pointer-events: none;
    transform: rotate(0deg);
    z-index: 1;
    animation: subtleRotate 20s linear infinite;
}

@keyframes subtleRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card:hover::before {
    height: 5px;
    opacity: 1;
    box-shadow: 0 4px 25px rgba(255, 140, 0, 0.6), 0 0 20px rgba(255, 140, 0, 0.3);
}

.card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

.card:hover {
    transform: translateY(-16px) scale(1.03) rotateX(2deg);
    box-shadow: 
        0 30px 60px rgba(0, 64, 128, 0.2),
        0 0 40px rgba(255, 140, 0, 0.15),
        0 10px 30px rgba(0, 64, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(255, 140, 0, 0.3);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cardPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(0,64,128,0.02)"/></pattern></defs><rect width="60" height="60" fill="url(%23cardPattern)"/></svg>');
    background-size: 100% 100%, 60px 60px;
}


.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-orange-gradient);
    background-size: 200% 200%;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    font-size: var(--fs-2xl);
    color: var(--color-white);
    box-shadow: 
        0 8px 20px rgba(255, 140, 0, 0.2),
        0 4px 10px rgba(255, 140, 0, 0.15),
        0 2px 6px rgba(255, 140, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: visible;
    animation: scaleIn 0.6s ease-out backwards, iconPulse 3s ease-in-out infinite;
    z-index: 2;
}

/* Force white icons in Communication Channels and Why Gateway.sa sections */
#channels .card__icon,
#why-gateway .card__icon {
    color: #FFFFFF !important;
}

#channels .card__icon i,
#why-gateway .card__icon i,
#channels .card__icon .fa,
#why-gateway .card__icon .fa,
#channels .card__icon .fab,
#why-gateway .card__icon .fab,
#channels .card__icon .fas,
#why-gateway .card__icon .fas {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

#channels .card__icon svg,
#why-gateway .card__icon svg {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* Remove any existing color filters and force white */
#channels .card__icon *,
#why-gateway .card__icon * {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* Apply filter to make brand icons (like WhatsApp) white */
#channels .card__icon .fab,
#why-gateway .card__icon .fab {
    filter: brightness(0) invert(1) !important;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(255, 140, 0, 0.25),
            0 5px 15px rgba(255, 140, 0, 0.2),
            0 2px 8px rgba(255, 140, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(255, 140, 0, 0.3),
            0 6px 18px rgba(255, 140, 0, 0.25),
            0 3px 10px rgba(255, 140, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

.card__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.card__icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 70%
    );
    transform: rotate(45deg);
    transition: transform 1s ease-out, opacity 0.6s ease-out;
    opacity: 0;
    z-index: 1;
}

.card:hover .card__icon {
    transform: scale(1.1) rotate(5deg) translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(255, 140, 0, 0.4),
        0 0 40px rgba(255, 140, 0, 0.3),
        0 0 60px rgba(255, 140, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    background-position: 100% 50%;
    animation: gradientShift 3s ease infinite, iconFloat 3s ease-in-out infinite;
}

.card:hover .card__icon::before {
    width: 100px;
    height: 100px;
    animation: pulse 2s ease-in-out infinite;
}

.card:hover .card__icon::after {
    opacity: 1;
    transform: rotate(45deg) translate(120%, 120%);
    transition: transform 1.2s ease-out;
}

@keyframes iconFloat {
    0%, 100% {
        transform: scale(1.1) rotate(5deg) translateY(-2px);
    }
    50% {
        transform: scale(1.15) rotate(6deg) translateY(-4px);
    }
}

.card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    font-weight: 700;
    transition: all 0.4s ease-out;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 64, 128, 0.05);
    opacity: 1 !important; /* Always visible */
    visibility: visible !important;
    z-index: 3;
}

.card__title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-orange-gradient);
    border-radius: var(--radius-full);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card__title {
    color: var(--color-dark-blue);
    transform: translateX(4px);
}

.card:hover .card__title::after {
    width: 60px;
}

.card__text {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
    transition: color 0.4s ease-out;
    font-size: var(--fs-base);
    letter-spacing: 0.01em;
    opacity: 1 !important; /* Always visible */
    visibility: visible !important;
    position: relative;
    z-index: 3;
}

.card:hover .card__text {
    color: var(--color-text-primary);
}

.card .btn {
    margin-top: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    border-width: 2px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 64, 128, 0.1);
}

.card .btn--outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-color: rgba(0, 64, 128, 0.2);
    color: var(--color-dark-blue);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.card:hover .btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.25), 0 0 10px rgba(255, 140, 0, 0.1);
}

.card:hover .btn--outline {
    background: var(--color-dark-blue);
    color: var(--color-white);
    border-color: var(--color-dark-blue);
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.3);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Ensure Why Gateway section always uses 3 columns */
#why-gateway .grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   Industries Section - Creative Design
   ============================================ */

/* ============================================
   Industries We Serve - Wave Flow Design
   ============================================ */

.industries-wave {
    position: relative;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #f8fafc 30%, 
        #f0f4f8 60%, 
        #ffffff 100%);
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
}

.industries-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(255, 140, 0, 0.05) 0%, 
        transparent 100%);
    pointer-events: none;
}

.industries-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, 
        rgba(0, 64, 128, 0.05) 0%, 
        transparent 100%);
    pointer-events: none;
}

.industries-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) 0;
}

.industry-bubble {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border: 3px solid rgba(255, 140, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 30px rgba(0, 64, 128, 0.1),
        0 3px 10px rgba(0, 64, 128, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.industry-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 140, 0, 0.1) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.industry-bubble:hover::before {
    opacity: 1;
}

.industry-bubble:hover {
    transform: scale(1.15) translateY(-10px);
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow: 
        0 20px 60px rgba(255, 140, 0, 0.3),
        0 10px 30px rgba(0, 64, 128, 0.2),
        0 0 0 4px rgba(255, 140, 0, 0.1);
}

.bubble-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.15) 0%, 
        rgba(0, 64, 128, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 140, 0, 0.3);
}

.industry-bubble:hover .bubble-icon {
    background: var(--color-orange-gradient);
    border-color: transparent;
    transform: scale(1.2) rotate(360deg);
    box-shadow: 
        0 10px 30px rgba(255, 140, 0, 0.5),
        0 0 20px rgba(255, 140, 0, 0.3);
}

.bubble-icon i {
    font-size: 2rem;
    color: var(--color-orange);
    transition: color 0.3s ease;
}

.industry-bubble:hover .bubble-icon i {
    color: white;
}

.bubble-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bubble-content h3 {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--color-dark-blue);
    margin: 0 0 var(--spacing-xs);
    transition: color 0.3s ease;
}

.industry-bubble:hover .bubble-content h3 {
    color: var(--color-orange);
}

.bubble-content p {
    font-size: var(--fs-xs);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

.bubble-link {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    text-decoration: none;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.industry-bubble:hover .bubble-link {
    opacity: 1;
    transform: scale(1);
    background: var(--color-orange-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.bubble-link:hover {
    transform: scale(1.1) rotate(90deg);
}

/* More Box Styling */
.industry-bubble--more {
    border: 3px dashed rgba(0, 64, 128, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 250, 252, 0.9) 100%);
}

.industry-bubble--more:hover {
    border-color: var(--color-orange);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 248, 240, 0.95) 100%);
}

.bubble-icon--more {
    background: linear-gradient(135deg, #0066CC 0%, #1A7AE6 100%);
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.industry-bubble--more:hover .bubble-icon--more {
    background: var(--color-orange-gradient);
    transform: scale(1.2) rotate(360deg);
    border-color: transparent;
}

.industry-bubble--more .bubble-icon--more i {
    color: white;
}

.industry-bubble--more .bubble-content h3 {
    color: var(--color-dark-blue);
    font-weight: 700;
}

.industry-bubble--more:hover .bubble-content h3 {
    color: var(--color-orange);
}

.industries-footer {
    text-align: center;
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 2px solid rgba(0, 64, 128, 0.1);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.industries-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.stat-big {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-orange), var(--color-dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: var(--fs-lg);
    color: var(--color-text-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .industry-bubble {
        width: 160px;
        height: 160px;
    }
    
    .bubble-icon {
        width: 60px;
        height: 60px;
    }
    
    .bubble-icon i {
        font-size: 1.5rem;
    }
    
    .bubble-content h3 {
        font-size: var(--fs-base);
    }
    
    .stat-big {
        font-size: 3rem;
    }
}

/* ============================================
   Communication Channels - Innovative Design
   ============================================ */

.channels-innovative {
    background: linear-gradient(135deg, 
        #f0f4f8 0%, 
        #ffffff 25%, 
        #f8fafc 50%, 
        #ffffff 75%, 
        #f0f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
}

.channels-innovative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        #10b981 0%, 
        #25d366 25%, 
        #3b82f6 50%, 
        #8b5cf6 75%, 
        #10b981 100%);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
}

.channels-innovative::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
    filter: blur(60px);
    pointer-events: none;
}

.channels-grid-innovative {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: var(--spacing-2xl) auto;
    position: relative;
    z-index: 1;
}

.channel-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 8px 32px rgba(0, 64, 128, 0.08),
        0 4px 16px rgba(0, 64, 128, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.channel-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.channel-card--sms .channel-card-bg {
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.08) 0%, 
        rgba(255, 165, 0, 0.12) 100%);
}

.channel-card--whatsapp .channel-card-bg {
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.08) 0%, 
        rgba(18, 140, 126, 0.12) 100%);
}

.channel-card--call .channel-card-bg {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.08) 0%, 
        rgba(30, 64, 175, 0.12) 100%);
}

.channel-card--email .channel-card-bg {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(109, 40, 217, 0.12) 100%);
}

.channel-card--social .channel-card-bg {
    background: linear-gradient(135deg, 
        rgba(236, 72, 153, 0.08) 0%, 
        rgba(219, 39, 119, 0.12) 100%);
}

.channel-card--automation .channel-card-bg {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(109, 40, 217, 0.12) 100%);
}

.channel-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 
        0 25px 80px rgba(0, 64, 128, 0.15),
        0 10px 30px rgba(0, 64, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.9);
}

.channel-card:hover .channel-card-bg {
    opacity: 1;
}

.channel-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
    height: 100%;
}

.channel-icon-modern {
    position: relative;
    margin-bottom: var(--spacing-xs);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.icon-circle i {
    font-size: 1.75rem;
}

.icon-circle--sms {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 50%, #FFB84D 100%);
}

.icon-circle--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 50%, #075e54 100%);
}

.icon-circle--call {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
}

.icon-circle--email {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #5b21b6 100%);
}

.icon-circle--social {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
}

.icon-circle--automation {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 50%, #5b21b6 100%);
}

.channel-card:hover .icon-circle {
    transform: scale(1.15) rotate(10deg) translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 12px 32px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.icon-circle i {
    font-size: 1.75rem;
    color: white;
    z-index: 3;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.icon-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: ripple-expand 2.5s ease-out infinite;
}

.icon-ripple--delay {
    animation-delay: 1.25s;
}

@keyframes ripple-expand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.channel-stats-modern {
    width: 100%;
    margin: var(--spacing-xs) 0;
}

.stat-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 64, 128, 0.08);
}

.stat-value {
    font-size: var(--fs-xl);
    font-weight: 900;
    background: linear-gradient(135deg, #0066CC 0%, #1A7AE6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-text {
    font-size: var(--fs-sm);
    color: var(--color-text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.channel-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
    justify-content: space-between;
    align-items: center;
}

.channel-name {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: var(--color-dark-blue);
    margin: 0;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.channel-card:hover .channel-name {
    color: var(--color-orange);
}

.channel-desc {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin: var(--spacing-sm) 0;
}

.tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.1) 0%, 
        rgba(255, 140, 0, 0.05) 100%);
    color: var(--color-orange);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
}

.channel-card:hover .tag {
    background: var(--color-orange-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.channel-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-orange-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--fs-sm);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: auto;
    position: relative;
    overflow: hidden;
    width: auto;
    max-width: 200px;
}

.channel-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.channel-action:hover::before {
    left: 100%;
}

.channel-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.channel-action i {
    transition: transform 0.3s ease;
}

.channel-action:hover i {
    transform: translateX(5px);
}

@media (max-width: 1400px) {
    .channels-grid-innovative {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--spacing-sm);
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 1200px) {
    .channels-grid-innovative {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .channels-grid-innovative {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .channel-card {
        padding: var(--spacing-md);
        min-height: 280px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .icon-circle i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .channels-grid-innovative {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .channel-card {
        min-height: auto;
    }
    
    .icon-circle i {
        font-size: 2rem;
    }
}

/* ============================================
   Why Gateway.sa - Stats Showcase
   ============================================ */

.why-gateway-features {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.why-gateway-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 64, 128, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.why-gateway-features .container {
    position: relative;
    z-index: 1;
}

.why-gateway-features .section__title {
    color: var(--color-dark-blue);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: var(--fs-3xl);
    font-weight: 900;
}

.why-gateway-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-sm);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.why-feature-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: center;
    text-align: center;
}

.why-feature-item:hover {
    transform: translateY(-5px);
}

.why-feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}

.why-feature-item:hover .why-feature-icon {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
}

.why-feature-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 0;
    line-height: 1.3;
}

.why-feature-description {
    font-size: var(--fs-xs);
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin: 0;
    display: none;
}

@media (max-width: 1400px) {
    .why-gateway-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: var(--spacing-xs);
    }
}

@media (max-width: 1200px) {
    .why-gateway-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .why-gateway-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .why-gateway-features .section__title {
        text-align: center;
        font-size: var(--fs-3xl);
    }
}

@media (max-width: 480px) {
    .why-gateway-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    margin: var(--spacing-3xl) 0;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 
        0 20px 60px rgba(255, 140, 0, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-card--primary .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card--secondary .stat-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.stat-card--accent .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
}

.stat-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.6;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-orange);
    display: inline-block;
    margin-left: 4px;
}

.stat-badge {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-orange-gradient);
    border-radius: var(--radius-full);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.stat-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-white);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.stat-description {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.stat-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-orange-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-card:hover .stat-decoration {
    transform: scaleX(1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 140, 0, 0.3);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: var(--color-orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.feature-icon i {
    color: white;
    font-size: var(--fs-xl);
}

.feature-text h4 {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 var(--spacing-xs);
}

.feature-text p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 968px) {
    .stats-showcase {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Technology Stack - Compact Layout
   ============================================ */

.tech-stack-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

/* Statistics Banner */
.tech-stats-header {
    text-align: center;
    margin: var(--spacing-3xl) auto 0;
    padding: var(--spacing-lg) 0 0;
    max-width: 1400px;
}

.tech-stats-title {
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    padding: 0;
}

.tech-stats-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    margin: var(--spacing-xl) auto 0;
    padding: var(--spacing-xl) 0;
    max-width: 1400px;
    flex-wrap: wrap;
    background: transparent;
}

.tech-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: var(--spacing-md);
}

.tech-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.tech-stat-label {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .tech-stats-banner {
        gap: var(--spacing-xl);
        padding: var(--spacing-lg) 0;
    }
    
    .tech-stat-item {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .tech-stats-header {
        margin: var(--spacing-2xl) auto 0;
        padding: var(--spacing-md) 0 0;
    }
    
    .tech-stats-title {
        font-size: var(--fs-2xl);
    }
    
    .tech-stats-banner {
        gap: var(--spacing-lg);
        padding: var(--spacing-md) 0;
    }
    
    .tech-stat-item {
        min-width: 100px;
        flex: 0 0 calc(50% - var(--spacing-md));
    }
}

@media (max-width: 480px) {
    .tech-stats-header {
        margin: var(--spacing-xl) auto 0;
    }
    
    .tech-stats-title {
        font-size: var(--fs-xl);
    }
    
    .tech-stats-banner {
        flex-direction: column;
        gap: var(--spacing-lg);
        padding: var(--spacing-md) 0;
    }
    
    .tech-stat-item {
        width: 100%;
        flex: 1;
    }
}

.tech-more-link {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
    margin-left: var(--spacing-xs);
    transition: color 0.3s ease;
    cursor: pointer;
}

.tech-more-link:hover {
    color: var(--color-orange-dark);
    text-decoration: underline;
}

.tech-compact-container {
    max-width: 1200px;
    margin: var(--spacing-2xl) auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Top Card (Card 1) - Horizontal Layout */
.tech-item--top {
    align-self: center;
    max-width: 700px;
    width: 100%;
}

.tech-item--horizontal {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
}

.tech-item--horizontal .tech-item-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 70px;
    height: 70px;
}

.tech-item--horizontal .tech-item-content {
    flex: 1;
}

.tech-item--horizontal .tech-item-link {
    position: static;
    flex-shrink: 0;
    margin-left: auto;
}

/* Three Cards Row Layout */
.tech-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    align-items: stretch;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 1024px) {
    .tech-cards-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .tech-cards-row .tech-item:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .tech-cards-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .tech-cards-row .tech-item {
        max-width: 100%;
    }
}

/* Central Cloud Infrastructure Logo - Compact */
.tech-center-logo {
    text-align: center;
    padding: 0 var(--spacing-lg);
}

.tech-core-icon {
    width: 160px;
    height: 160px;
    background: var(--color-orange-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: 
        0 15px 40px rgba(255, 140, 0, 0.3),
        0 8px 20px rgba(0, 64, 128, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
    animation: tech-core-pulse 3s ease-in-out infinite;
}

@keyframes tech-core-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 15px 40px rgba(255, 140, 0, 0.3),
            0 8px 20px rgba(0, 64, 128, 0.15),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 20px 50px rgba(255, 140, 0, 0.5),
            0 10px 25px rgba(0, 64, 128, 0.2),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
}

.tech-core-icon:hover {
    animation-play-state: paused;
    transform: scale(1.08);
    box-shadow: 
        0 25px 60px rgba(255, 140, 0, 0.6),
        0 12px 30px rgba(0, 64, 128, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.tech-core-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-orange-gradient);
    opacity: 0.6;
    animation: pulse-expand 2s ease-out infinite;
}

@keyframes pulse-expand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.tech-core-icon:hover .tech-core-pulse {
    animation-play-state: paused;
}

.tech-core-icon i {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
}

.tech-core-title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 0 0 var(--spacing-xs);
}

.tech-core-subtitle {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* Tech Item Styling */
.tech-item {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    border: 2px solid rgba(0, 64, 128, 0.1);
    box-shadow: 
        0 10px 40px rgba(0, 64, 128, 0.08),
        0 4px 16px rgba(0, 64, 128, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-orange-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 
        0 20px 60px rgba(255, 140, 0, 0.15),
        0 8px 24px rgba(0, 64, 128, 0.1);
}

.tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item--smpp .tech-item-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tech-item--api .tech-item-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.tech-item--cloud .tech-item-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.tech-item-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.tech-item:hover .tech-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.tech-item-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
}

.tech-item-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.tech-item:hover .tech-item-glow {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
}

.tech-item-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 0 0 var(--spacing-sm);
}

.tech-item-description {
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--spacing-md);
}

.tech-item-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 140, 0, 0.1);
    color: var(--color-orange);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.tech-item-link {
    position: absolute;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.tech-item-link:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}

.tech-orbit .tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    border: 2px solid rgba(0, 64, 128, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 10px 40px rgba(0, 64, 128, 0.08),
        0 4px 16px rgba(0, 64, 128, 0.04);
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-orange-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.tech-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 
        0 20px 60px rgba(255, 140, 0, 0.15),
        0 8px 24px rgba(0, 64, 128, 0.1);
}

.tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item--smpp .tech-item-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tech-item--api .tech-item-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.tech-item--cloud .tech-item-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.tech-item-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.tech-item:hover .tech-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.tech-item-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
}

.tech-item-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    animation: tech-glow 2s ease-in-out infinite;
}

@keyframes tech-glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.tech-item-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 0 0 var(--spacing-sm);
}

.tech-item-description {
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--spacing-md);
}

.tech-item-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 140, 0, 0.1);
    color: var(--color-orange);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.tech-item-link {
    position: absolute;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.tech-item-link:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}

@media (max-width: 968px) {
    .tech-compact-container {
        gap: var(--spacing-md);
    }
    
    .tech-item--horizontal {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }
    
    .tech-item--horizontal .tech-item-icon {
        margin-bottom: var(--spacing-md);
    }
    
    .tech-item--horizontal .tech-item-link {
        position: absolute;
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
        margin-left: 0;
    }
    
    .tech-bottom-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .tech-center-logo {
        order: 2;
        padding: var(--spacing-md) 0;
    }
    
    .tech-item--left {
        order: 1;
    }
    
    .tech-item--right {
        order: 3;
    }
    
    .tech-core-icon {
        width: 100px;
        height: 100px;
    }
    
    .tech-core-icon i {
        font-size: 2.5rem;
    }
    
    .tech-item {
        max-width: 100%;
    }
}

/* ============================================
   Developers - Code Editor Style
   ============================================ */

.developers-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    color: var(--color-white);
    position: relative;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.developers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.developers-section .section__title,
.developers-section .section__subtitle {
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.code-editor-container {
    max-width: 1400px;
    margin: var(--spacing-3xl) auto;
    position: relative;
    z-index: 1;
}

.code-editor {
    background: #0d1117;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-3xl);
}

.code-editor-header {
    background: #161b22;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-editor-buttons {
    display: flex;
    gap: var(--spacing-xs);
}

.code-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.code-btn--close {
    background: #ff5f56;
}

.code-btn--minimize {
    background: #ffbd2e;
}

.code-btn--maximize {
    background: #27c93f;
}

.code-editor-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-sm);
    font-family: 'Monaco', 'Menlo', monospace;
}

.code-editor-body {
    display: flex;
    background: #0d1117;
    padding: var(--spacing-lg);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: var(--fs-base);
    line-height: 1.8;
}

.code-line-numbers {
    color: rgba(255, 255, 255, 0.3);
    margin-right: var(--spacing-lg);
    text-align: right;
    user-select: none;
}

.code-line-numbers span {
    display: block;
    padding: 2px 0;
}

.code-content {
    flex: 1;
}

.code-line {
    padding: 2px 0;
    color: #c9d1d9;
}

.code-keyword {
    color: #ff7b72;
}

.code-string {
    color: #a5d6ff;
}

.code-variable {
    color: #79c0ff;
}

.code-function {
    color: #d2a8ff;
}

.code-property {
    color: #79c0ff;
}

.languages-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-xl) 0;
}

.language-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.language-logo:hover {
    transform: translateY(-8px) scale(1.15);
}

.language-logo i {
    font-size: 4.5rem;
    transition: all 0.3s ease;
}

/* Language-specific colors */
.language-logo[data-lang="react"] i {
    color: #61dafb;
}

.language-logo[data-lang="angular"] i {
    color: #dd0031;
}

.language-logo[data-lang="unity"] i {
    color: #d8d8d8;
}

.language-logo[data-lang="laravel"] i {
    color: #ff2d20;
}

.language-logo[data-lang="python"] i {
    color: #3776ab;
}

.language-logo[data-lang="nodejs"] i {
    color: #339933;
}

.language-logo[data-lang="android"] i {
    color: #3ddc84;
}

.language-logo[data-lang="swift"] i {
    background: linear-gradient(135deg, #fa7343 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.language-see-more {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: var(--color-white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-base);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.language-see-more:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.language-see-more i {
    font-size: var(--fs-sm);
}

@media (max-width: 768px) {
    .languages-showcase {
        gap: var(--spacing-lg);
    }
    
    .language-logo i {
        font-size: 3.5rem;
    }
    
    .code-editor-body {
        flex-direction: column;
    }
    
    .code-line-numbers {
        display: none;
    }
}

/* ============================================
   System Features - Dashboard Style
   ============================================ */

.features-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
    position: relative;
}

/* Asymmetric card positioning for unique layout */
.dashboard-widget:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
}

.dashboard-widget:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
}

.dashboard-widget:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(9) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(10) {
    grid-column: span 1;
    grid-row: span 1;
}

.dashboard-widget:nth-child(11) {
    grid-column: span 2;
    grid-row: span 1;
}

.dashboard-widget:nth-child(12) {
    grid-column: span 2;
    grid-row: span 1;
}

.dashboard-widget {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    border: 2px solid rgba(0, 64, 128, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 4px 20px rgba(0, 64, 128, 0.06),
        0 2px 8px rgba(0, 64, 128, 0.04);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: cardFloat 6s ease-in-out infinite;
}

/* Staggered animation delays for wave effect */
.dashboard-widget:nth-child(1) { animation-delay: 0s; }
.dashboard-widget:nth-child(2) { animation-delay: 0.5s; }
.dashboard-widget:nth-child(3) { animation-delay: 1s; }
.dashboard-widget:nth-child(4) { animation-delay: 1.5s; }
.dashboard-widget:nth-child(5) { animation-delay: 2s; }
.dashboard-widget:nth-child(6) { animation-delay: 2.5s; }
.dashboard-widget:nth-child(7) { animation-delay: 0.3s; }
.dashboard-widget:nth-child(8) { animation-delay: 0.8s; }
.dashboard-widget:nth-child(9) { animation-delay: 1.3s; }
.dashboard-widget:nth-child(10) { animation-delay: 1.8s; }
.dashboard-widget:nth-child(11) { animation-delay: 2.3s; }
.dashboard-widget:nth-child(12) { animation-delay: 2.8s; }

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-5px) rotateX(1deg);
    }
}

.dashboard-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-orange-gradient);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.dashboard-widget::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.dashboard-widget:hover::after {
    opacity: 1;
}

.dashboard-widget:hover {
    transform: translateY(-12px) rotateX(3deg) scale(1.02);
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 
        0 20px 60px rgba(255, 140, 0, 0.15),
        0 10px 30px rgba(0, 64, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.dashboard-widget:hover::before {
    transform: scaleX(1);
}

.widget-large {
    grid-column: span 2;
}

/* Responsive styles for asymmetric grid */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dashboard-widget:nth-child(1),
    .dashboard-widget:nth-child(6),
    .dashboard-widget:nth-child(11),
    .dashboard-widget:nth-child(12) {
        grid-column: span 2;
    }
    
    .dashboard-widget:nth-child(2),
    .dashboard-widget:nth-child(3),
    .dashboard-widget:nth-child(4),
    .dashboard-widget:nth-child(5),
    .dashboard-widget:nth-child(7),
    .dashboard-widget:nth-child(8),
    .dashboard-widget:nth-child(9),
    .dashboard-widget:nth-child(10) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-widget:nth-child(n) {
        grid-column: span 1;
    }
    
    .dashboard-widget:nth-child(1),
    .dashboard-widget:nth-child(6),
    .dashboard-widget:nth-child(11) {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-widget:nth-child(n) {
        grid-column: span 1;
    }
}

.widget-medium {
    grid-column: span 1;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.widget-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--color-orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.widget-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.dashboard-widget:hover .widget-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.dashboard-widget:hover .widget-icon {
    transform: scale(1.15) rotate(10deg) translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 140, 0, 0.5);
}

.widget-icon i {
    font-size: 1.5rem;
    color: white;
}

.widget-icon--security {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.widget-icon--analytics {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.widget-icon--automation {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.widget-icon--sms {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.widget-icon--otp {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.widget-icon--control {
    background: linear-gradient(135deg, #0066CC 0%, #1A7AE6 100%);
}

.widget-icon--groups {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.widget-icon--bulk {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
}

.widget-icon--schedule {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.widget-icon--setup {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.widget-icon--gateways {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.widget-icon--contacts {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.widget-icon--integration {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.widget-icon--language {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.widget-icon--reports {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.widget-icon--balance {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.widget-icon--support {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.widget-title-group {
    flex: 1;
}

.widget-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 0 0 var(--spacing-xs);
}

.widget-subtitle {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

.widget-content {
    position: relative;
}

.widget-stat {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-dark-blue);
    line-height: 1;
}

.stat-unit {
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    font-weight: 600;
}

.widget-description {
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.widget-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    margin-top: var(--spacing-md);
    transition: all 0.3s ease;
}

.widget-link:hover {
    gap: var(--spacing-sm);
    color: var(--color-dark-blue);
}

.widget-link i {
    transition: transform 0.3s ease;
}

.widget-link:hover i {
    transform: translateX(5px);
}

.widget-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-sm);
    height: 80px;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(0, 64, 128, 0.03);
    border-radius: var(--radius-md);
}

.chart-bar {
    flex: 1;
    background: var(--color-orange-gradient);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    min-height: 20px;
    animation: chart-grow 1s ease-out;
}

@keyframes chart-grow {
    from {
        height: 0;
    }
}

.automation-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    width: fit-content;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8b5cf6;
    animation: indicator-pulse 2s ease-in-out infinite;
}

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

.automation-indicator span {
    font-size: var(--fs-sm);
    color: var(--color-text-primary);
    font-weight: 600;
}

.sms-preview {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.sms-bubble {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--fs-sm);
    max-width: 80%;
    animation: sms-slide 0.5s ease-out;
}

@keyframes sms-slide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sms-bubble--incoming {
    background: rgba(0, 64, 128, 0.1);
    color: var(--color-text-primary);
    align-self: flex-start;
}

.sms-bubble--outgoing {
    background: var(--color-orange-gradient);
    color: white;
    align-self: flex-end;
}

.otp-display {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    justify-content: center;
}

.otp-digit {
    width: 50px;
    height: 60px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--color-dark-blue);
    font-family: 'Monaco', 'Menlo', monospace;
    animation: otp-pop 0.3s ease-out;
}

@keyframes otp-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    .widget-large {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .widget-large,
    .widget-medium {
        grid-column: span 1;
    }
}

/* ============================================
   Software Solutions - Platform Integration
   ============================================ */

/* ============================================
   Software Solutions - Mosaic Tile Design
   ============================================ */

.solutions-hexagonal {
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f1b2d 100%);
    position: relative;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.solutions-hexagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 64, 128, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.solutions-hexagonal .section__title {
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.solutions-hexagonal .section__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.solutions-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

.solution-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.solution-tile--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
}

.tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.2) 0%, 
        rgba(0, 64, 128, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.solution-tile:hover .tile-bg {
    opacity: 1;
}

.tile-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    text-align: center;
    gap: var(--spacing-md);
}

.tile-icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    background: var(--color-orange-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(255, 140, 0, 0.4),
        0 0 20px rgba(255, 140, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: var(--spacing-sm);
}

.solution-tile:hover .tile-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 
        0 15px 40px rgba(255, 140, 0, 0.6),
        0 0 30px rgba(255, 140, 0, 0.4);
}

.tile-icon i {
    font-size: 4rem;
    color: white;
}

.solution-tile--large .tile-icon {
    width: 160px;
    height: 160px;
}

.solution-tile--large .tile-icon i {
    font-size: 5.5rem;
}

.tile-title {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--color-white);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.solution-tile:hover .tile-title {
    color: var(--color-orange);
}

.solution-tile--large .tile-title {
    font-size: var(--fs-2xl);
}

.tile-desc {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.tile-action {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    margin-top: var(--spacing-sm);
}

.solution-tile:hover .tile-action {
    background: var(--color-orange-gradient);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
}

.solution-tile:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 
        0 20px 60px rgba(255, 140, 0, 0.3),
        0 0 40px rgba(255, 140, 0, 0.2);
}

.solutions-footer {
    text-align: center;
    margin-top: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .solution-tile--large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .solutions-mosaic {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* ============================================
   Features / Blocks
   ============================================ */

.feature-block {
    padding: var(--spacing-2xl) 0;
}

.feature-block__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.feature-block--reverse .feature-block__content {
    direction: rtl;
}

.feature-block--reverse .feature-block__content > * {
    direction: ltr;
}

.feature-block__text {
    flex: 1;
}

.feature-block__visual {
    flex: 1;
    text-align: center;
}

/* ============================================
   Map Section (Countries) - Enhanced
   ============================================ */

.map-section {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0a1929 100%);
    overflow: hidden;
    padding: var(--spacing-3xl) 0;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(7, 137, 255, 0.15) 0%, transparent 50%);
    animation: mapGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes mapGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

.coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.coverage-stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.coverage-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.2), transparent);
    transition: left 0.6s ease-out;
}

.coverage-stat-item:hover::before {
    left: 100%;
}

.coverage-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.coverage-stat-number {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    position: relative;
    z-index: 1;
}

.coverage-stat-number::after {
    content: '+';
    font-size: 0.6em;
    vertical-align: super;
}

.coverage-stat-label {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: var(--spacing-xl) auto;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(255, 140, 0, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 100px rgba(255, 140, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    opacity: 0.8;
    filter: brightness(0) invert(1); /* Makes SVG white */
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.world-map-image:hover {
    opacity: 1;
}

.map-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-orange);
    border-radius: 50%;
    box-shadow: 
        0 0 10px rgba(255, 140, 0, 0.8),
        0 0 20px rgba(255, 140, 0, 0.5);
    animation: mapPointPulse 3s ease-in-out infinite, mapPointGlow 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Yellow highlighted dots for gateway.sa global coverage */
.map-point-highlight {
    width: 12px;
    height: 12px;
    background: #FFD700; /* Gold/Yellow */
    border: 2px solid #FFA500; /* Orange border */
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 1),
        0 0 30px rgba(255, 215, 0, 0.8),
        0 0 45px rgba(255, 215, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: yellowDotPulse 2s ease-in-out infinite, yellowDotGlow 3s ease-in-out infinite;
    z-index: 5;
}

.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.4);
    animation: ripple 2s ease-out infinite;
}

.map-point-highlight::before {
    background: rgba(255, 215, 0, 0.6);
    animation: yellowRipple 2s ease-out infinite;
}

.map-point::after {
    content: attr(data-country);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 140, 0, 0.5);
}

.map-point:hover::after {
    opacity: 1;
}

.map-point:hover {
    transform: scale(1.8);
    z-index: 10;
    box-shadow: 
        0 0 20px rgba(255, 140, 0, 1),
        0 0 40px rgba(255, 140, 0, 0.7),
        0 0 60px rgba(255, 140, 0, 0.4);
}

@keyframes mapPointPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes mapPointGlow {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(255, 140, 0, 0.8),
            0 0 20px rgba(255, 140, 0, 0.5);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(255, 140, 0, 1),
            0 0 30px rgba(255, 140, 0, 0.7);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

/* Yellow dot animations */
@keyframes yellowDotPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
}

@keyframes yellowDotGlow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 1),
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 45px rgba(255, 215, 0, 0.5),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 1),
            0 0 40px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.8),
            inset 0 0 15px rgba(255, 255, 255, 0.5);
    }
}

@keyframes yellowRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

.map-point-highlight:hover {
    transform: scale(2);
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 1),
        0 0 50px rgba(255, 215, 0, 1),
        0 0 75px rgba(255, 215, 0, 0.9),
        inset 0 0 20px rgba(255, 255, 255, 0.6);
}

.map-point-highlight::after {
    border: 1px solid rgba(255, 215, 0, 0.8);
}

.coverage-regions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.region-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all 0.4s ease-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.region-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 140, 0, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease-out, height 0.4s ease-out;
}

.region-badge:hover::before {
    width: 200px;
    height: 200px;
}

.region-badge:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    color: var(--color-white);
}

.region-badge i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.region-badge span {
    position: relative;
    z-index: 1;
}

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

/* ============================================
   FAQ Section
   ============================================ */

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-lg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-orange-gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-question:hover {
    background: var(--color-orange-gradient-soft);
    color: var(--color-dark-blue);
    padding-left: calc(var(--spacing-lg) + 10px);
    transform: translateX(5px);
}

.faq-question:hover::before {
    transform: scaleY(1);
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
    color: var(--color-text-secondary);
}

.faq-item.active .faq-answer {
    padding: var(--spacing-lg);
    max-height: 500px;
    background: var(--color-orange-gradient-soft);
}

.faq-item.active .faq-question {
    background: var(--color-orange-gradient-soft);
    color: var(--color-dark-blue);
}

.faq-icon {
    transition: transform var(--transition-base);
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-gradient-blue);
    background-size: 200% 200%;
    color: var(--color-white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
    animation: gradientShift 10s ease infinite;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-orange-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 30s ease-in-out infinite;
    filter: blur(40px);
    pointer-events: none;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.footer__section-title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.footer__section-title:has(+ .footer__badges) {
    margin-bottom: calc(var(--spacing-md) - 15px);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

.footer__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange-gradient);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__link:hover {
    color: var(--color-orange);
    transform: translateX(5px);
}

.footer__link:hover::before {
    width: 100%;
}

.footer__links .btn {
    display: inline-block;
    margin-top: var(--spacing-xs);
    text-decoration: none;
}

.footer__social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--color-orange-gradient);
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.5), 0 0 20px rgba(255, 140, 0, 0.3);
    animation: bounce 0.6s ease-in-out;
}

.footer__badges {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: -10px !important;
    margin-bottom: 0;
    align-items: center;
    transform: translateY(0);
}

.footer__badge-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 74%);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.35s ease;
    padding: 6px;
    overflow: hidden;
}

.footer__badge-wrapper:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08) 72%);
}

.footer__badge {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.footer__badge-wrapper:hover .footer__badge {
    transform: scale(1.06);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    color: var(--color-white);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    filter: blur(30px);
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-size: var(--fs-4xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-blue);
}

.cta-section__text {
    font-size: var(--fs-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--color-blue);
    font-weight: 400;
}

.cta-section__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.btn--cta-primary {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #003366 100%);
    color: var(--color-white);
    border: none;
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.3);
}

.btn--cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 64, 128, 0.4);
    background: linear-gradient(135deg, #004080 0%, #002244 100%);
}

.btn--cta-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.btn--cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 140, 0, 0.8), 0 0 60px rgba(255, 140, 0, 0.4);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* particleFloat animation removed */

.animate-on-scroll {
    opacity: 0.3; /* Start partially visible instead of fully invisible */
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.4s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.animated {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
}

/* Cards should always be readable - faster fade-in */
.card.animate-on-scroll {
    opacity: 0.5; /* Start more visible */
    transition: opacity 0.3s ease-out, transform 0.4s ease-out;
}

.card.animate-on-scroll.animated {
    opacity: 1 !important;
}

/* For cards with animate-on-scroll: use transform-only to preserve text visibility */
.card.animate-on-scroll {
    /* Keep opacity animation but ensure content stays readable */
    position: relative;
}

/* Critical fix: Use CSS to ensure card content is never affected by parent opacity */
.card.animate-on-scroll::before,
.card.animate-on-scroll::after {
    /* Decorative elements can animate */
    content: '';
}

/* Force content visibility using isolation and z-index layering */
.card.animate-on-scroll {
    isolation: isolate;
}

.card.animate-on-scroll > * {
    isolation: isolate;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure card content inside animate-on-scroll is always visible */
.animate-on-scroll.card .card__title,
.animate-on-scroll.card .card__text,
.animate-on-scroll.card .card__icon,
.animate-on-scroll.card .btn,
.animate-on-scroll .card__title,
.animate-on-scroll .card__text,
.animate-on-scroll .card__icon,
.animate-on-scroll .btn {
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
}

/* Fix: Ensure card content is visible even when parent has opacity 0 */
.card.animate-on-scroll:not(.animated) .card__title,
.card.animate-on-scroll:not(.animated) .card__text,
.card.animate-on-scroll:not(.animated) .card__icon,
.card.animate-on-scroll:not(.animated) .btn {
    opacity: 1 !important;
    visibility: visible !important;
}

.animate-on-scroll--delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll--delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll--delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll--delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   RTL Support (Arabic)
   ============================================ */

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

[dir="rtl"] .header__nav-list {
    flex-direction: row !important;
    direction: rtl;
}

[dir="rtl"] .header__dropdown {
    left: 50%;
    right: auto;
    transform: translate(-50%, -10px);
}

[dir="rtl"] .header__nav-item--dropdown:hover .header__dropdown {
    transform: translate(-50%, 0);
}

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

[dir="rtl"] .footer__content {
    direction: rtl;
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

/* ============================================
   WhatsApp Float Button
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Left bottom */
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-base);
}

.whatsapp-float__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px; /* Same bottom level */
    right: 30px; /* Right bottom */
    width: 50px;
    height: 50px;
    background: var(--color-orange-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    border: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-6xl: 3rem;
    }
    
    /* Tablet: 2 columns for grid--3 */
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep 3 columns for Why Gateway on larger tablets */
    #why-gateway .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .header__nav.active {
        transform: translateX(0);
    }
    
    .header__nav-list {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-md);
    }
    
    .header__menu-toggle {
        display: flex;
    }
    
    /* Country selector mobile styles */
    .country-selector-btn {
        min-width: auto;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .country-selector-text {
        display: none;
    }
    
    .country-selector-dropdown {
        right: 0;
        left: auto;
        min-width: 180px;
    }
    
    html[dir="rtl"] .country-selector-dropdown {
        left: 0;
        right: auto;
    }
    
    .hero__title {
        font-size: var(--fs-4xl);
    }
    
    .grid--4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
        --fs-4xl: 2rem;
        --fs-5xl: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero__title {
        font-size: var(--fs-3xl);
    }
    
    .hero__subtitle {
        font-size: var(--fs-base);
    }
    
    .section__title {
        font-size: var(--fs-3xl);
    }
    
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
    
    .coverage-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .coverage-stat-number {
        font-size: var(--fs-3xl);
    }
    
    .map-container {
        height: 400px;
    }
    
    .map-section {
        min-height: 600px;
        padding: var(--spacing-2xl) 0;
    }
    
    .coverage-regions {
        gap: var(--spacing-sm);
    }
    
    .region-badge {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--fs-xs);
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero__image-frame {
        max-height: 450px;
        padding: 12px;
    }
    
    .hero__video {
        object-fit: fill;
    }
    
    .hero__video-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .hero__video-play-btn,
    .hero__video-sound-btn,
    .hero__video-zoom-btn {
        width: 45px;
        height: 45px;
        font-size: var(--fs-base);
    }
    
    .hero__logo {
        max-width: 90%;
        max-height: 90%;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 70px;
        --header-height-scrolled: 60px;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero__image-frame {
        max-height: 450px;
        padding: 8px;
    }
    
    .hero__video {
        object-fit: fill;
    }
    
    .hero__video-frame-corner {
        width: 30px;
        height: 30px;
    }
    
    .hero__video-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .hero__video-play-btn,
    .hero__video-sound-btn,
    .hero__video-zoom-btn {
        width: 40px;
        height: 40px;
        font-size: var(--fs-sm);
    }
    
    .hero__logo {
        max-width: 85%;
        max-height: 85%;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25))
                drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15))
                drop-shadow(0 0 20px rgba(255, 140, 0, 0.3));
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   RTL Support for Arabic Language
   ============================================ */

html[dir="rtl"],
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .header__wrapper {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header__logo {
    order: 3;
}

html[dir="rtl"] .header__nav {
    order: 2;
    direction: rtl;
}

html[dir="rtl"] .header__actions {
    order: 1;
    display: flex;
    flex-direction: row-reverse;
}

html[dir="rtl"] .header__nav-list,
[dir="rtl"] .header__nav-list,
.is-arabic .header__nav-list {
    flex-direction: row !important;
    direction: rtl;
}

html[dir="rtl"] .header__nav-list li,
[dir="rtl"] .header__nav-list li,
.is-arabic .header__nav-list li {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .header__nav-link,
[dir="rtl"] .header__nav-link,
.is-arabic .header__nav-link {
    direction: rtl;
    text-align: right;
}

/* RTL order for header actions (left to right): Login | Lang Toggle | Country Selector | Menu */
html[dir="rtl"] .header__actions > .btn--primary,
html[dir="rtl"] .header__actions > a.btn--primary {
    order: 1;
}

html[dir="rtl"] .header__actions > .header__lang-toggle {
    order: 2;
}

html[dir="rtl"] .header__actions > .header__country-selector {
    order: 3;
}

html[dir="rtl"] .header__actions > .header__menu-toggle {
    order: 4;
}

html[dir="rtl"] .header__dropdown {
    right: auto;
    left: 50%;
    text-align: right;
    transform: translate(-50%, -10px);
}

html[dir="rtl"] .header__nav-item--dropdown:hover .header__dropdown {
    transform: translate(-50%, 0);
}

html[dir="rtl"] .country-selector-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .hero__content {
    flex-direction: row-reverse;
}

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

html[dir="rtl"] .btn {
    text-align: center;
}

html[dir="rtl"] .container {
    direction: rtl;
}

/* Arabic Font Support */
html[dir="rtl"] body,
html[dir="rtl"] .section__title,
html[dir="rtl"] .section__subtitle,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: var(--font-arabic), var(--font-primary), sans-serif;
}

html[dir="rtl"] .header__nav-link i.fa-chevron-down {
    margin-left: 0;
    margin-right: var(--spacing-xs);
}

html[dir="rtl"] .sms-bubble--outgoing {
    align-self: flex-start;
}

html[dir="rtl"] .sms-bubble--incoming {
    align-self: flex-end;
}

html[dir="rtl"] .footer__content {
    direction: rtl;
    text-align: right;
}

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

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

/* RTL Support for Industries Section */
html[dir="rtl"] .industries-flow {
    direction: rtl;
}

html[dir="rtl"] .industry-bubble {
    text-align: center !important;
}

html[dir="rtl"] .bubble-content {
    text-align: center !important;
}

html[dir="rtl"] .bubble-content h3 {
    text-align: center !important;
}

html[dir="rtl"] .bubble-content p {
    text-align: center !important;
}

html[dir="rtl"] .bubble-link {
    left: var(--spacing-sm);
    right: auto;
}

html[dir="rtl"] .bubble-link i {
    transform: scaleX(-1);
}

/* RTL Support for Features Dashboard */
html[dir="rtl"] .dashboard-grid {
    direction: rtl;
}

html[dir="rtl"] .dashboard-widget {
    text-align: right;
}

html[dir="rtl"] .widget-header {
    flex-direction: row-reverse;
}

/* RTL: Specific cards with icons and titles on the right side */
/* Control Panel (1st card), Multiple Gateways (6th card), Balance Tracking (11th card), Technical Support (12th card) */
html[dir="rtl"] .dashboard-widget:nth-child(1) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(6) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(11) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(12) .widget-header {
    flex-direction: row !important; /* Override row-reverse */
    justify-content: flex-start !important; /* In RTL, flex-start is on the right - align both to right */
    align-items: center;
}

html[dir="rtl"] .dashboard-widget:nth-child(1) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(6) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(11) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(12) .widget-title {
    text-align: right;
    margin-left: var(--spacing-md); /* Space between title and icon */
    margin-right: 0;
    order: 2; /* Title comes second (to the left of icon, but both on right side) */
}

html[dir="rtl"] .dashboard-widget:nth-child(1) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(6) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(11) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(12) .widget-icon {
    margin-left: 0;
    margin-right: 0;
    order: 1; /* Icon comes first (on the rightmost position) */
}

/* RTL: Swap icon and title positions for specific cards */
/* Creating Unlimited Groups (2nd), BulkSMS (3rd), Schedule Sending (4th), Easy Setup (5th), */
/* Import and Export Contacts (7th), Integration (8th), Language Support (9th), Delivery Reports (10th) */
html[dir="rtl"] .dashboard-widget:nth-child(2) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(3) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(4) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(5) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(7) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(8) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(9) .widget-header,
html[dir="rtl"] .dashboard-widget:nth-child(10) .widget-header {
    flex-direction: row !important; /* Override row-reverse */
    direction: ltr !important; /* Force LTR direction for flex container */
    justify-content: flex-start !important; /* Start from left */
    gap: 0 !important; /* Remove gap, use margins instead */
}

html[dir="rtl"] .dashboard-widget:nth-child(2) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(3) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(4) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(5) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(7) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(8) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(9) .widget-title,
html[dir="rtl"] .dashboard-widget:nth-child(10) .widget-title {
    order: 1 !important; /* Title first (on left) */
    text-align: right;
    direction: rtl !important; /* Text itself is RTL */
    margin-left: 0 !important;
    margin-right: var(--spacing-md) !important; /* Space to the right of title */
    flex: 1; /* Take remaining space */
}

html[dir="rtl"] .dashboard-widget:nth-child(2) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(3) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(4) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(5) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(7) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(8) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(9) .widget-icon,
html[dir="rtl"] .dashboard-widget:nth-child(10) .widget-icon {
    order: 2 !important; /* Icon second (on right) */
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0; /* Don't shrink */
}

/* RTL Support for Tech Section */
html[dir="rtl"] .tech-grid {
    direction: rtl;
}

html[dir="rtl"] .tech-item {
    text-align: right;
}

html[dir="rtl"] .tech-item-link {
    left: var(--spacing-md);
    right: auto;
}

html[dir="rtl"] .tech-item-link i {
    transform: scaleX(-1);
}

html[dir="rtl"] .tech-stats-banner {
    direction: rtl;
}

/* RTL Support for Pricing Page */
html[dir="rtl"] .pricing-tabs {
    direction: rtl;
    flex-wrap: nowrap !important;
}

html[dir="rtl"] .pricing-tab {
    white-space: nowrap;
    flex-shrink: 0;
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .pricing-tab i {
    order: 2 !important;
}

html[dir="rtl"] .pricing-tab span {
    order: 1 ;
}

html[dir="rtl"] .pricing-table {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .pricing-table th,
html[dir="rtl"] .pricing-table td {
    text-align: right;
}

html[dir="rtl"] .pricing-table th:last-child,
html[dir="rtl"] .pricing-table td:last-child {
    text-align: center;
}

html[dir="rtl"] .network-table {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .network-table th,
html[dir="rtl"] .network-table td {
    text-align: right;
}

html[dir="rtl"] .payment-methods {
    direction: rtl;
}

html[dir="rtl"] .faq-container {
    direction: rtl;
}

html[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .faq-question span {
    text-align: right;
    flex: 1;
    margin-right: var(--spacing-md);
    margin-left: 0;
}

html[dir="rtl"] .faq-icon {
    margin-right: 0;
    margin-left: 0;
    flex-shrink: 0;
    order: 1; /* Icon appears on the right in RTL */
}

html[dir="rtl"] .faq-question:hover {
    padding-right: var(--spacing-lg);
    padding-left: calc(var(--spacing-lg) + 10px);
    transform: translateX(-5px);
}

html[dir="rtl"] .faq-question::before {
    left: auto;
    right: 0;
}

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

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

/* RTL Support for Cards */
html[dir="rtl"] .card {
    text-align: right;
}

html[dir="rtl"] .card__header {
    flex-direction: row-reverse;
}

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

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

html[dir="rtl"] .card__footer {
    flex-direction: row-reverse;
}

/* RTL Support for Grids */
html[dir="rtl"] .grid {
    direction: rtl;
}

html[dir="rtl"] .grid--2,
html[dir="rtl"] .grid--3,
html[dir="rtl"] .grid--4 {
    direction: rtl;
}

/* RTL Support for Lists */
html[dir="rtl"] ul,
html[dir="rtl"] ol {
    padding-left: 0;
    padding-right: var(--spacing-lg);
}

html[dir="rtl"] li {
    text-align: right;
}

/* RTL Support for Buttons with Icons */
html[dir="rtl"] .btn i,
html[dir="rtl"] .btn svg {
    margin-left: 0;
    margin-right: var(--spacing-xs);
}

html[dir="rtl"] .btn--icon-right i,
html[dir="rtl"] .btn--icon-right svg {
    margin-right: 0;
    margin-left: var(--spacing-xs);
}

/* RTL Support for Form Elements */
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

html[dir="rtl"] label {
    text-align: right;
}

/* RTL Support for Arrows/Chevrons */
html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .fa-chevron-right {
    transform: scaleX(-1);
}

html[dir="rtl"] .fa-arrow-left,
html[dir="rtl"] .fa-chevron-left {
    transform: scaleX(-1);
}

/* RTL Support for Features Section */
html[dir="rtl"] .features__grid {
    direction: rtl;
}

html[dir="rtl"] .feature-card {
    text-align: right;
}

html[dir="rtl"] .feature-card__header {
    flex-direction: row-reverse;
}

/* RTL Support for CTA Section */
html[dir="rtl"] .cta__content {
    text-align: center;
}

html[dir="rtl"] .cta__buttons {
    flex-direction: row-reverse;
}

/* RTL Support for Hero Section */
html[dir="rtl"] .hero__left {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

html[dir="rtl"] .hero__title {
    text-align: right;
    width: 100%;
}

/* Ensure Arabic hero title stays on one line */
html[dir="rtl"] .hero__title {
    white-space: nowrap;
}

@media (max-width: 768px) {
    html[dir="rtl"] .hero__title {
        white-space: normal;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

html[dir="rtl"] .hero__subtitle {
    text-align: right;
    width: 100%;
}

/* RTL support for rotating text elements */
html[dir="rtl"] .hero__subtitle-rotating {
    text-align: right;
}

html[dir="rtl"] .rotating-text-item {
    text-align: right;
    left: auto;
    right: 0;
}

html[dir="rtl"] .rotating-text-placeholder {
    text-align: right;
}

/* RTL support for stat values - move % and + to left of number */
html[dir="rtl"] .stat-value {
    direction: rtl;
    unicode-bidi: bidi-override;
}

/* RTL support for tech-stat-number (Proven Communication Technology section) */
/* Removed direction: rtl to prevent text reversal - JavaScript handles the translation */
html[dir="rtl"] .tech-stat-number {
    /* Let the parent container handle RTL layout, not the text itself */
    text-align: right;
}

/* RTL support for coverage-stat-number (Global Coverage section) */
html[dir="rtl"] .coverage-stat-number {
    direction: rtl;
    unicode-bidi: bidi-override;
}

/* Move the + symbol to the left in RTL for coverage-stat-number */
html[dir="rtl"] .coverage-stat-number::after {
    content: '+';
    left: auto;
    right: 0;
}

/* RTL support for coverage-stat-label (for "Uptime %" and "+ Networks") */
html[dir="rtl"] .coverage-stat-label {
    direction: rtl;
    unicode-bidi: bidi-override;
}

/* RTL support for other stat classes (used in other sections/pages) */
html[dir="rtl"] .stat-number {
    direction: rtl;
    unicode-bidi: bidi-override;
}

html[dir="rtl"] .stat-suffix {
    margin-left: 0;
    margin-right: 4px;
}

html[dir="rtl"] .stat-unit {
    direction: rtl;
    unicode-bidi: bidi-override;
}

html[dir="rtl"] .hero__actions {
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .hero__actions .btn,
html[dir="rtl"] .hero__actions .hero__cta {
    margin-left: auto;
    margin-right: 0;
}

/* RTL Support for Section Headers */
html[dir="rtl"] .section__header {
    text-align: center;
}

html[dir="rtl"] .section__title,
html[dir="rtl"] .section__subtitle {
    text-align: center;
}

/* Responsive RTL adjustments */
@media (max-width: 768px) {
    html[dir="rtl"] .header__nav {
        right: auto;
        left: 0;
    }
    
    html[dir="rtl"] .hero__content {
        flex-direction: column;
    }
    
    html[dir="rtl"] .hero__left {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    html[dir="rtl"] .hero__actions {
        flex-direction: column;
        align-items: flex-end;
        width: auto !important;
        margin-left: auto;
    }
    
    html[dir="rtl"] .hero__actions .btn,
    html[dir="rtl"] .hero__actions .hero__cta {
        width: auto !important;
    }
    
    html[dir="rtl"] .cta__buttons {
        flex-direction: column;
    }
}


