/* ===== CSS Variables ===== */
:root {
    --color-primary: #085e55;
    --color-primary-light: #dcf8c7;
    --color-dark: #30192f;
    --color-white: #FFFFFF;
    --color-gray-100: #F5F7F9;
    --color-gray-200: #DFE5EB;
    --color-gray-500: #6B7280;

    --font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-2xl: 48px;

    --transition: all 0.3s ease;
}

/* ===== to be checked ===== */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 32px;
        --spacing-xl: 40px;
        --spacing-2xl: 48px;
    }
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* LTR Support */
html[dir="ltr"] body {
    direction: ltr;
}

html[dir="ltr"] .loading-bar {
    right: auto;
    left: 0;
}

html[dir="ltr"] .nav-main-links {
    flex-direction: row;
}

html[dir="ltr"] .btn svg {
    transform: rotate(180deg);
}

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

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

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

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 64px;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 48px;
    }
}

/* ===== Loading Bar ===== */
.loading-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    z-index: 9999;
    transition: width 0.3s ease;
}

.loading-bar.active {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--color-white);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.72);
    /* border-radius: 16px; */
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--color-gray-200);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
} */


.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }

    .nav-mobile {
        display: none !important;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.logo {
    display: flex;
    align-items: center;
    color: var(--color-dark);
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

/* Main Nav Links with Dropdowns */
.nav-main-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-main-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    padding: 8px 0;
    transition: color var(--transition);
}

.nav-main-link:hover {
    color: var(--color-gray-500);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    padding: 8px 0;
    cursor: pointer;
    transition: color var(--transition);
}

.nav-dropdown-trigger:hover {
    color: var(--color-gray-500);
}

.nav-dropdown-trigger svg {
    transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    padding-top: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* smooth transition for appear/disappear */
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
} */

.dropdown-content {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    padding: var(--spacing-md);
    border: 1px solid var(--color-gray-200);
}

.dropdown-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-gray-200);
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 15px;
    color: var(--color-gray-500);
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition);
}

.dropdown-link:hover {
    background: var(--color-gray-100);
    color: var(--color-dark);
}

.dropdown-link.external svg {
    opacity: 0.5;
    transform: scaleX(-1);
    width: 12px;
    height: 12px;
}

.nav-dropdown-menu-mega {
    min-width: 560px;
}

.dropdown-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: var(--spacing-xs) 32px;
}

.dropdown-column {
    display: contents;
}

.dropdown-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover {
    border-bottom-color: var(--color-primary);
}

.nav-link svg {
    width: 24px;
    height: 24px;
}

.locale-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--color-gray-100);
    border-radius: 100px;
}

.locale-btn,
.lang-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    transition: var(--transition);
}

.locale-btn:hover,
.lang-btn:hover {
    opacity: 0.7;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.locale-divider {
    width: 1px;
    height: 16px;
    background: var(--color-gray-200);
}

/* Mobile Navigation */
.nav-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0;
}

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

.menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--color-gray-100);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: var(--spacing-md);
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    background: var(--color-gray-100);
}

.mobile-menu-link svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-500);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--color-gray-200);
    margin: var(--spacing-sm) 0;
}

.mobile-locale {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--spacing-sm);
    font-size: 14px;
    color: var(--color-gray-500);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg {
    transform: rotate(180deg);
}

.flip-icon {
    transform: scaleX(-1);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.btn-black {
    background: #e9f2e5;
    color: var(--color-dark);
    border: 2px solid #e9f2e5;
}

.btn-black:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Fix overlap */
}

@media (min-width: 1024px) {
    .hero {
        min-height: 480px;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@media (max-width: 1023px) {
    .home-page-hero .hero-bg {
        position: relative;
        height: auto;
        width: 100%;
        inset: auto;
        z-index: auto;
    }

    .home-page-hero .hero-bg img {
        position: relative;
        height: auto;
        max-height: 480px;
        width: 100%;
        object-fit: cover;
    }

    .hero-bg {
        position: relative;
        height: auto;
        min-height: 264px;
        z-index: 0;
    }

    .hero {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-bg {
        height: 480px;
    }
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

html[dir="ltr"] .home-page-hero .hero-bg-img {
    object-position: right center;
}

/* Sticky CTA Visibility */
.sticky-cta.hidden,
.floating-qr-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.hero-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-lg) 20px var(--spacing-xl);
}

@media (min-width: 768px) {
    .hero-content {
        padding: var(--spacing-lg) 64px var(--spacing-2xl);
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: var(--spacing-xl) 48px;
    }
}


.hero-text {
    max-width: 470px;
}

@media (min-width: 1024px) {
    .hero-text {
        color: var(--color-white);
    }
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 60px;
        line-height: 68px;
    }
}

.hero-description {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        align-items: center;
    }
}

/* Floating QR - Default Hidden (Mobile) */
.floating-qr-container {
    display: none;
}

@media (min-width: 1024px) {
    .cta-btn-mobile {
        display: none !important;
    }

    .floating-qr-container {
        display: block;
        /* Ensure it is visible on desktop */
        position: fixed;

        bottom: 30px;
        z-index: 990;
        opacity: 1;
        /* No fade */
        visibility: hidden;
        transform: translateY(120%);
        /* Start fully offscreen */
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.6s;
    }

    html[dir="rtl"] .floating-qr-container {
        left: 48px;
    }

    html[dir="ltr"] .floating-qr-container {
        right: 48px;
    }

    .floating-qr-container.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Style the QR box within floating container */
    .floating-qr-container .qr-box {
        background: var(--color-white);
        border: 1px solid var(--color-gray-200);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        padding: 12px;
        gap: 16px;
        display: flex;
        align-items: center;
        border-radius: var(--border-radius-md);
    }

    .floating-qr-container .qr-code {
        width: 80px;
        height: 80px;
        padding: 0;
        border-radius: 8px;
    }

    .floating-qr-container .qr-text {
        font-size: 25px;
        line-height: 1.4;
        margin-bottom: 4px;
        display: block;
        padding-inline-start: 10px;
    }

    .floating-qr-container .qr-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .floating-qr-container .rating-value {
        color: var(--color-dark);
    }
}

/* QR Box */
.qr-box {
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 24px 8px 8px;
    border: 2px solid var(--color-dark);
    border-radius: var(--border-radius-md);
}

@media (min-width: 768px) {
    .qr-box {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .qr-box {
        border-color: var(--color-white);
        color: var(--color-white);
    }
}

.qr-box-white {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
}

.qr-code {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.qr-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.app-logo svg {
    width: 20px;
    height: 20px;
}

.rating-value {
    font-size: 14px;
    font-weight: 700;
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--color-dark);
}

.stars svg {
    width: 16px;
    height: 16px;
}

.rating-label {
    font-size: 14px;
    color: var(--color-gray-500);
    white-space: nowrap;
}

/* ===== Logo Grid Carousel Section ===== */
.logo-grid {
    padding: var(--spacing-lg) 0;
    background: #fff;
    overflow: hidden;
}

.logo-grid .section-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-gray-500);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .logo-grid .section-subtitle {
        font-size: 20px;
        margin-bottom: var(--spacing-lg);
    }
}

.logo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-carousel-track {
    display: flex;
    gap: var(--spacing-lg);
    animation: scroll 25s linear infinite;
    width: max-content;
}

@media (min-width: 768px) {
    .logo-carousel-track {
        gap: var(--spacing-xl);
    }
}

.logo-carousel:hover .logo-carousel-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

html[dir="ltr"] .logo-carousel-track {
    animation: scroll-ltr 25s linear infinite;
}

@keyframes scroll-ltr {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo-grid-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .logo-grid-item img {
        height: 40px;
    }
}

.logo-grid-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ===== Features Section ===== */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

@media (min-width: 768px) {
    .features {
        padding: var(--spacing-2xl) 0;
    }
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 44px;
        line-height: 52px;
    }
}

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 44px;
    height: 44px;
    stroke-width: 2;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 15px;
}

.feature-description {
    font-size: 16px;
    line-height: 28px;
    color: var(--color-dark);
}

/* ===== Product Sections ===== */
.product-section {
    padding: var(--spacing-xl) 0;
}

@media (min-width: 768px) {
    .product-section {
        padding: var(--spacing-2xl) 0;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .product-grid.reverse .product-image {
        order: 2;
    }
}

.product-image {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    min-height: 335px;
    max-height: 572px;
}

@media (min-width: 768px) {
    .product-image {
        border-radius: var(--border-radius-2xl);
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-content {
        max-width: 470px;
    }
}

.product-eyebrow {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 28px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 44px;
        line-height: 52px;
    }
}

.product-description {
    font-size: 20px;
    line-height: 32px;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--color-dark);
}

@media (min-width: 768px) {
    .cta-section {
        padding: var(--spacing-2xl) 0;
    }
}

@media (min-width: 1024px) {
    .cta-section {
        color: var(--color-white);
    }
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    margin: 0 20px;
}

@media (min-width: 768px) {
    .cta-bg {
        border-radius: var(--border-radius-2xl);
        margin: 0 32px;
    }
}

@media (max-width: 1023px) {
    .cta-bg {
        height: 360px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .cta-bg {
        height: 600px;
    }
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

html[dir="ltr"] .cta-bg img {
    object-position: right center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding-top: 380px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .cta-content {
        padding-top: 620px;
        max-width: 470px;
    }
}

@media (min-width: 1024px) {
    .cta-content {
        padding: var(--spacing-xl) 0;
        max-width: 500px;
    }
}

.cta-eyebrow {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 44px;
        line-height: 52px;
    }
}

.cta-description {
    font-size: 20px;
    line-height: 32px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .cta-actions {
        flex-direction: row;
        align-items: center;
    }
}

/* ===== Footer ===== */
.footer {
    background: #000000;
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 40px;
}

@media (min-width: 768px) {
    .footer {
        padding: var(--spacing-2xl) 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-logo {
    color: var(--color-white);
    display: inline-block;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-4px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-bottom-content {
        max-width: 70%;
    }
}

.footer-meta-logo {
    display: flex;
    justify-content: flex-start;
}

html[dir="rtl"] .footer-meta-logo {
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .footer-meta-logo {
        justify-content: flex-end;
    }

    html[dir="rtl"] .footer-meta-logo {
        justify-content: flex-end;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-info p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-xs);
}

.footer-copyright {
    margin-top: var(--spacing-md) !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-200);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-gray-100);
}

.modal-body {
    padding: var(--spacing-sm);
    max-height: 60vh;
    overflow-y: auto;
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.country-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    width: 100%;
    text-align: right;
}

.country-item:hover {
    background: var(--color-gray-100);
}

.country-item.active {
    background: var(--color-primary);
    color: var(--color-dark);
}

.country-item img {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
}

/* ===== Sticky CTA ===== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 36px 36px;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: var(--spacing-md);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

@media (min-width: 1024px) {
    .back-to-top {
        bottom: var(--spacing-lg);
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-description,
.hero-cta {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-description {
    animation-delay: 0.1s;
}

.hero-cta {
    animation-delay: 0.2s;
}

.feature-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ===== Utility Classes ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Logo Grid Carousel */
.logo-carousel .logo-carousel-track {
    display: flex;
    gap: 12px;
    animation: logo-scroll 90s linear infinite;
    width: max-content;
    will-change: transform;
}

@media (min-width: 480px) {
    .logo-carousel .logo-carousel-track {
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .logo-carousel .logo-carousel-track {
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .logo-carousel .logo-carousel-track {
        gap: 24px;
    }
}

.logo-carousel:hover .logo-carousel-track {
    animation-play-state: paused;
}

/* Infinite scroll - moves exactly 1/3 of the track (6 items out of 18) */
@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}

html[dir="rtl"] .logo-carousel .logo-carousel-track {
    animation: logo-scroll-rtl 90s linear infinite;
}

@keyframes logo-scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(100% / 3));
    }
}

/* Responsive card sizing */
.logo-carousel .logo-grid-card {
    flex-shrink: 0;
    width: 100px;
    aspect-ratio: 184/128;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 380px) {
    .logo-carousel .logo-grid-card {
        width: 120px;
        border-radius: 14px;
    }
}

@media (min-width: 480px) {
    .logo-carousel .logo-grid-card {
        width: 140px;
        border-radius: 16px;
    }
}

@media (min-width: 768px) {
    .logo-carousel .logo-grid-card {
        width: 160px;
        border-radius: 18px;
    }
}

@media (min-width: 1024px) {
    .logo-carousel .logo-grid-card {
        width: 184px;
        border-radius: 20px;
    }
}

.logo-carousel .logo-grid-card:hover img {
    filter: grayscale(0%);
}

.logo-carousel .logo-grid-card img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    object-fit: cover;
}

.logo-carousel .logo-grid-card:hover img {
    filter: grayscale(0%);
}

/* ===== Features Page - Component Styles (from components/index.html) ===== */
/* Scoped with '.features-page' parent class to avoid conflicts */

/* Hero Section (Yafe Features Style) */
.features-page .hero {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.features-page .hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.features-page .hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

html[dir="rtl"] .features-page .hero .hero-bg img {
    object-position: left;
}

.features-page .hero .hero-content {
    padding: 60px 0;
    max-width: 470px;
    color: #FFFFFF;
}

.features-page .hero h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: yafeFadeInUp 0.6s ease forwards;
}

.features-page .hero p {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: yafeFadeInUp 0.6s ease 0.2s forwards;
}

.features-page .hero .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: yafeFadeInUp 0.6s ease 0.4s forwards;
}

/* Stats Section (Yafe Features Style) */
.features-page .stats-section {
    background: #f2f5f7;
    padding: 80px 0;
}

.features-page .stats-section .section-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 24px;
}

.features-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.features-page .stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-page .stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-page .stat-card h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.features-page .stat-card .feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    stroke: var(--color-primary);
}

.features-page .stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 16px;
}

.features-page .stat-card p {
    font-size: 16px;
    line-height: 24px;
}

/* Partners Section (Yafe Features Style) */
.features-page .partners-section {
    padding: 80px 0;
    background: var(--color-white);
}

.features-page .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-page .two-col-content h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 32px;
}

.features-page .two-col-content p {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 40px;
}

.features-page .partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.features-page .partner-logo {
    background: #FFFFFF;
    border-radius: 20px;
    aspect-ratio: 756/526;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 20px; */
}

.features-page .partner-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;

    object-fit: contain;
    filter: grayscale(100%);
}

/* CTA Section (Yafe Features Style) */
/* 
.features-page .cta-section {
    position: relative;
    padding: 80px 0;
}

.features-page .cta-bg {
    position: absolute;
    top: 0;
    left: 48px;
    right: 48px;
    bottom: 0;
    border-radius: 48px;
    overflow: hidden;
    z-index: -1;
}

.features-page .cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

html[dir="rtl"] .features-page .cta-bg img {
    object-position: left;
}

.features-page .cta-content {
    max-width: 470px;
    padding: 80px;
    color: #FFFFFF;
}

.features-page .cta-content h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 24px;
}

.features-page .cta-content p {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 40px;
} */

/* Button Styles (Yafe Features) */
.features-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 36px;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.features-page .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.features-page .btn-primary:hover {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.features-page .btn-dark {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.features-page .btn-dark:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.features-page .btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.features-page .btn:hover .btn-icon {
    transform: translateX(4px);
}

html[dir="rtl"] .features-page .btn:hover .btn-icon {
    transform: translateX(-4px);
}

.features-page .btn-icon-white {
    filter: invert(1);
}

.features-page .btn-dark:hover .btn-icon-white {
    filter: invert(0);
}

/* Yafe Features Animations */
@keyframes yafeFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Yafe Features Responsive */
@media (max-width: 1024px) {
    .features-page .hero h1 {
        font-size: 44px;
        line-height: 48px;
    }

    .features-page .stats-section .section-title,
    .features-page .two-col-content h2,
    .features-page .cta-content h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .features-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-page .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .features-page .hero {
        min-height: auto;
    }

    .features-page .hero .hero-bg {
        position: relative;
        height: 264px;
    }

    .features-page .hero .hero-content {
        color: var(--color-dark);
        background: var(--color-white);
        padding: 40px 0 60px;
    }

    .features-page .hero h1 {
        font-size: 44px;
        line-height: 48px;
    }

    .features-page .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .features-page .stat-card h2 {
        font-size: 44px;
        line-height: 48px;
    }

    .features-page .cta-bg {
        left: 20px;
        right: 20px;
        border-radius: 32px;
    }

    .features-page .cta-content {
        padding: 40px 20px;
    }

    .features-page .cta-content h2 {
        font-size: 36px;
        line-height: 40px;
    }
}

@media (max-width: 480px) {
    .features-page .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Support Center Page Styles ===== */
.support-center-page {
    --sc-color-primary: #085e55;
    --sc-color-primary-light: #dcf8c7;
    --sc-color-text: #131C26;
    --sc-color-text-secondary: #7F90A3;
    --sc-color-background: #FFFFFF;
    --sc-color-background-gray: #f2f5f7;
    --sc-color-border: #DFE5EB;
}

/* Hero Section */
.support-center-page .hero {
    position: relative;
    min-height: 336px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.support-center-page .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.support-center-page .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-center-page .hero-content {
    text-align: center;
    color: #FFFFFF;
    padding: 60px 20px 80px;
    max-width: 470px;
}

.support-center-page .hero-eyebrow {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
}

.support-center-page .hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 68px;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.support-center-page .hero-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 40px;
}

.support-center-page .hero .search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.support-center-page .search-input {
    width: 100%;
    height: 60px;
    padding: 18px 24px 18px 50px;
    border: none;
    border-radius: 30px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    outline: none;
}

html[dir="rtl"] .support-center-page .search-input {
    direction: rtl;
}

.support-center-page .search-input::placeholder {
    color: var(--sc-color-text-secondary);
    font-weight: 700;
}

.support-center-page .search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sc-color-text);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-center-page .search-icon:hover {
    opacity: 0.7;
}

html[dir="rtl"] .support-center-page .search-icon {
    /* left: auto;
    right: 24px; */
}

html[dir="ltr"] .support-center-page .search-icon {
    left: auto;
    right: 24px;
}

/* Cards Section */
.support-center-page .cards-section {
    padding: 60px 20px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.support-center-page .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .support-center-page .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .support-center-page .cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.support-center-page .card {
    background-color: var(--sc-color-background-gray);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* .support-center-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
} */

.support-center-page .card-icon {
    font-size: 48px;
    color: var(--sc-color-text);
}

.support-center-page .card-icon svg {
    width: 48px;
    height: 48px;
}

.support-center-page .card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-center-page .card-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: var(--sc-color-text);
}

.support-center-page .card-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: var(--sc-color-text);
}

/* Contact Section */
.support-center-page .contact-section {
    background-color: var(--sc-color-background-gray);
    padding: 60px 20px 80px;
}

.support-center-page .contact-container {
    max-width: 1280px;
    margin: 0 auto;
}

.support-center-page .contact-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 52px;
    margin-bottom: 40px;
}

.support-center-page .contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .support-center-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.support-center-page .contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #fff;
    border-radius: 20px;
    text-decoration: none;
    color: var(--sc-color-text);
}

/* .support-center-page .contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
} */

.support-center-page .contact-icon {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-center-page .contact-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--sc-color-text);
}

.support-center-page .contact-info {
    flex: 1;
    min-width: 0;
}

.support-center-page .contact-info-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-center-page .contact-info-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--sc-color-text);
}

.support-center-page .contact-arrow {
    flex-shrink: 0;
    transform: rotate(90deg);
}

html[dir="ltr"] .support-center-page .contact-arrow {
    transform: rotate(-90deg);
}

/* Mobile Responsive Styles */
@media (max-width: 1279px) {
    .support-center-page .hero-title {
        font-size: 44px;
        line-height: 52px;
    }

    .support-center-page .contact-title {
        font-size: 36px;
        line-height: 44px;
    }
}

/* Card Mobile Styles */
@media (max-width: 768px) {
    .support-center-page .card {
        flex-direction: row;
        padding: 16px;
        gap: 16px;
    }

    .support-center-page .card-icon {
        font-size: 24px;
        padding: 12px;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .support-center-page .card-icon svg {
        width: 24px;
        height: 24px;
    }

    .support-center-page .card-content {
        gap: 8px;
    }
}

/* Support Center Show Page Styles */
.support-center-page .main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.support-center-page .breadcrumb-section {
    padding: 20px 0;
}

.support-center-page .breadcrumb-container {
    display: flex;
    flex-direction: column;
}

.support-center-page .search-wrapper {
    margin-bottom: 40px;
}

.support-center-page .search-box {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 22px;
    padding: 6px 16px 6px 12px;
    border: 1px solid var(--sc-color-border);
    transition: border-color 280ms ease-in-out;
    max-width: 320px;
    height: 44px;
}

html[dir="rtl"] .support-center-page .search-box {
    margin-right: auto;
}

html[dir="ltr"] .support-center-page .search-box {
    margin-left: auto;
}

.support-center-page .search-box:focus-within {
    border-color: var(--sc-color-text);
}

.support-center-page .search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--sc-color-text);
    background: transparent;
    padding-left: 8px;
}

.support-center-page .search-box input::placeholder {
    color: var(--sc-color-text-secondary);
    font-weight: 700;
}

.support-center-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 28px;
}

.support-center-page .breadcrumb-link {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.support-center-page .breadcrumb-link svg {
    transform: rotate(180deg);
    margin-right: 5px;
}

html[dir="ltr"] .support-center-page .breadcrumb-link svg {
    transform: rotate(0deg);
    margin-right: 0;
    margin-left: 5px;
}

.support-center-page .breadcrumb-current {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding-top: 4px;
}

.support-center-page .content-section {
    padding: 60px 0 80px;
}

.support-center-page .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.support-center-page .page-title {
    font-family: var(--font-family);
    font-size: 44px;
    font-weight: 700;
    line-height: 52px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.support-center-page .faq-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.support-center-page .faq-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.support-center-page .faq-group-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 0;
}

.support-center-page .faq-list {
    list-style: none;
}

.support-center-page .faq-item {
    border-bottom: 1px solid rgba(19, 28, 38, 0.12);
}

.support-center-page .faq-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 40px;
    text-decoration: none;
    color: var(--sc-color-text);
    transition: opacity 0.2s;
}

.support-center-page .faq-link:hover {
    opacity: 0.7;
}

.support-center-page .faq-link-text {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    flex: 1;
}

.support-center-page .faq-arrow {
    display: block;
    min-width: 24px;
    height: 24px;
    transform: rotate(90deg);
}

html[dir="rtl"] .support-center-page .faq-arrow {
    margin-right: auto;
}

html[dir="ltr"] .support-center-page .faq-arrow {
    margin-left: auto;
    transform: rotate(-90deg);
}

/* Support Center Show Page Responsive */
@media (max-width: 1279px) {
    .support-center-page .main-container {
        padding: 0 64px;
    }
}

@media (max-width: 767px) {
    .support-center-page .main-container {
        padding: 0 20px;
    }

    .support-center-page .page-title {
        font-size: 36px;
        line-height: 44px;
    }

    .support-center-page .search-wrapper {
        margin-bottom: 40px;
    }

    .support-center-page .search-box {
        max-width: 100%;
    }

    .support-center-page .breadcrumb-container {
        flex-direction: column;
    }

    .support-center-page .content-section {
        padding: 40px 0 60px;
    }

    .support-center-page .faq-group-title {
        font-size: 24px;
        line-height: 32px;
    }

    .support-center-page .faq-link-text {
        font-size: 16px;
        line-height: 20px;
    }
}

/* @media (max-width: 1024px) {
    .hero-content {
        background-color: #fff;
    }
} */
@media (min-width: 1024px) {
    .support-center-page .breadcrumb-container {
        flex-direction: row-reverse;
        align-items: center;
    }

    .support-center-page .search-wrapper {
        width: auto;
        margin-bottom: 0;
    }

    html[dir="rtl"] .support-center-page .search-wrapper {
        margin-right: auto;
    }

    html[dir="ltr"] .support-center-page .search-wrapper {
        margin-left: auto;
    }

    html[dir="ltr"] .support-center-page .footer-meta-logo {
        margin-left: auto;
    }
}

@media (max-width: 1023px) {
    .footer-bottom {
        flex-direction: column-reverse;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-bottom-content {
        width: 100%;
        align-items: center;
    }

    .footer-meta-logo {
        margin: 0 auto;
    }

    .footer-copyright {
        text-align: center;
        width: 100%;
    }
}

/* ===== Static Page Content ===== */
.static-page-content {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.8;
    color: var(--color-dark);
    margin-top: var(--spacing-md);
}

.static-page-content h1,
.static-page-content h2,
.static-page-content h3,
.static-page-content h4,
.static-page-content h5,
.static-page-content h6 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--color-dark);
}

.static-page-content p {
    margin-bottom: var(--spacing-md);
}

.static-page-content ul,
.static-page-content ol {
    margin-bottom: var(--spacing-md);
    padding-inline-start: var(--spacing-lg);
}

.static-page-content li {
    margin-bottom: var(--spacing-xs);
}

.static-page-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.static-page-content a:hover {
    color: var(--color-primary-light);
}

.static-page-content blockquote {
    border-inline-start: 4px solid var(--color-primary);
    padding-inline-start: var(--spacing-md);
    font-style: italic;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
}

.static-page-content img {
    border-radius: var(--border-radius-md);
    margin: var(--spacing-md) 0;
}

[dir="rtl"] .small-arrow {
    transform: scaleX(-1);
}