:root {
    --bg-main: #050505;
    --bg-secondary: #0a0a0a;
    --accent: #E2B857; /* Premium Gold */
    --accent-hover: #FFF0D0;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    
    /* Luxury Gold & Bronze Tokens */
    --accent-gold: #E2B857;
    --accent-gold-gradient: linear-gradient(135deg, #FFF0D0 0%, #D4AF37 50%, #8A6623 100%);
    --gold-glow: rgba(226, 184, 87, 0.15);
    --gold-glow-strong: rgba(226, 184, 87, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 40px 80px 0 rgba(0, 0, 0, 0.8);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    
    --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Premium Webkit Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(226, 184, 87, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--gold-glow-strong);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.accent {
    color: var(--accent);
}

.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

/* Glassmorphism Utilities - Double Bezel Technique */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px); /* Reduced for performance */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    position: relative;
    padding: 12px; /* Space for inner core */
    transition: transform 0.6s var(--ease-fluid), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    overflow: hidden; /* Hide the glow-overlay outside the card */
}

.glass-card:hover {
    border-color: rgba(226, 184, 87, 0.25);
    box-shadow: 0 40px 80px 0 rgba(0, 0, 0, 0.9), 0 0 40px var(--gold-glow);
}

/* Inner Core */
.glass-card::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    z-index: 0;
    pointer-events: none;
}

.glass-card .glow-overlay {
    position: absolute;
    top: -150px; left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 50px; /* Pill shape */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-fluid);
    text-align: center;
    position: relative;
}

.btn-icon-wrapper {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.4s var(--ease-fluid);
}

.btn-primary {
    background-color: var(--text-primary);
    color: #000;
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: scale(0.98);
}

.btn-primary:hover .btn-icon-wrapper {
    transform: translate(2px, -2px) scale(1.1);
    background: rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.98);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 14px 0;
}

.btn-text:hover {
    color: var(--text-secondary);
}

.w-100 {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar.glass-nav {
    background: rgba(15, 16, 20, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    background: rgba(15, 16, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    top: 16px;
    padding: 10px 24px;
}

.nav-container {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
}

/* Background Glow (Mesh Gradient) */
.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(0,0,0,0) 60%);
    z-index: 0;
    pointer-events: none;
}
.hero-bg-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(43,226,138,0.1) 0%, rgba(0,0,0,0) 60%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 24px;
    align-items: center;
}

/* Notification Stack Card */
.notification-stack {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.notification-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.05);
}

.notif-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon svg {
    width: 24px;
    height: 24px;
}

.pulse-green {
    background: rgba(39, 201, 63, 0.15);
    color: #27c93f;
    box-shadow: 0 0 20px rgba(39, 201, 63, 0.2);
}

.pulse-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.pulse-gold {
    background: rgba(255, 189, 46, 0.15);
    color: #ffbd2e;
    box-shadow: 0 0 20px rgba(255, 189, 46, 0.2);
}

.notif-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notif-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.notif-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.eyebrow {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}

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

.services-header {
    text-align: left;
    max-width: 600px;
    margin-bottom: 80px;
}
.services-header h2 {
    font-size: 3rem;
    letter-spacing: -1px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Services */
/* Glass Card overrides for services */
.service-card {
    padding: 24px; /* Reduced for more compact look */
    text-align: left;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
}

/* About Container */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(15, 16, 20, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: var(--accent);
    font-weight: bold;
}

.stat-bar-bg {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    background: var(--text-primary);
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}



/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-form-wrapper {
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0,0,0,0.5);
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(39, 201, 63, 0.2);
    color: #27c93f;
    text-align: center;
    border: 1px solid rgba(39, 201, 63, 0.4);
}

.hidden {
    display: none;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    margin-left: 24px;
    font-size: 0.9rem;
}

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Animations - 120fps Optimized */
.reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0); /* Force GPU acceleration */
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-delay { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Per-Letter Staggered Blur Reveal Animation */
.char-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(0, 20px, 0);
    display: inline-block;
    will-change: transform, opacity, filter;
}

.reveal.active .char-blur {
    animation: blurCharFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes blurCharFadeIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translate3d(0, 20px, 0);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0);
    }
}


/* Language Toggle Button */
.lang-toggle-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-fluid);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-fluid);
}

.mobile-menu-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* RTL Layout Support */
html[dir="rtl"] body {
    font-family: 'Tajawal', var(--font-body);
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4,
html[dir="rtl"] .btn,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .stat-label {
    font-family: 'Tajawal', var(--font-heading);
    letter-spacing: 0 !important; /* Remove letter spacing for Arabic text */
}

/* Fix RTL specific alignments and flips */
html[dir="rtl"] .hero-text h1 {
    letter-spacing: 0 !important;
}

@media (max-width: 992px) {
    html[dir="rtl"] .hero-text h1 {
        text-align: center;
    }
}

html[dir="rtl"] .btn-icon-wrapper svg {
    transform: scaleX(-1); /* Flip icons for RTL (e.g. arrows) */
}

@media (min-width: 993px) {
    html[dir="rtl"] .service-card,
    html[dir="rtl"] .services-header,
    html[dir="rtl"] .about-text,
    html[dir="rtl"] .contact-text {
        text-align: right;
    }
}

html[dir="rtl"] .footer-links a {
    margin-left: 0;
    margin-right: 24px;
}

html[dir="rtl"] .btn-primary:hover .btn-icon-wrapper {
    transform: translate(-2px, -2px) scale(1.1); /* Reverse magnetic hover flip */
}

html[dir="rtl"] .notification-item:hover {
    transform: translateX(-8px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 3.5rem; }
    .hero-content { gap: 40px; }
}

@media (max-width: 992px) {
    .section { padding: 80px 0; }
    .hero-content, .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-container { grid-template-columns: 1fr; text-align: center; }
    .services-header { text-align: center; margin-left: auto; margin-right: auto; }
    .service-card { text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-visual { margin-top: 40px; }

    /* Lock layout direction on mobile to exactly match English */
    html[dir="rtl"] body {
        direction: ltr !important;
    }
    html[dir="rtl"] p, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, 
    html[dir="rtl"] label, html[dir="rtl"] input, html[dir="rtl"] textarea,
    html[dir="rtl"] .nav-links a, html[dir="rtl"] .btn {
        direction: rtl;
    }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 20px; top: 15px; border-radius: 30px; width: 95%; }
    .nav-container { justify-content: space-between; }
    .logo { font-size: 1.2rem; flex-shrink: 0; }
    .nav-logo-img { height: auto; width: 180px; max-width: 100%; }
    
    .mobile-menu-btn { display: flex; }
    
    .nav-links { 
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 16, 20, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 24px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        margin-top: 10px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }
    
    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .navbar .btn-outline { display: flex; width: 100%; justify-content: center; margin-top: 10px; }
    
    .hero-text h1 { font-size: 2.5rem; }
    html[dir="rtl"] .hero-text h1 { font-size: 2.2rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2rem; }
    .contact-form-wrapper { padding: 30px 20px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links a { margin: 0 12px; }
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .logo { font-size: 1.1rem; }
    .nav-logo-img { height: auto; width: 140px; }
    .about-visual { height: 300px !important; padding: 20px !important; }
}

/* --- Floating Background Glow Blobs --- */
.bg-glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    opacity: 0.1;
}

.blob-gold {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    top: 25%;
    left: -15%;
    animation: driftSlow 25s infinite alternate ease-in-out;
}

.blob-purple {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(138,43,226,0.6) 0%, transparent 70%);
    bottom: 20%;
    right: -15%;
    animation: driftSlow 30s infinite alternate-reverse ease-in-out;
}

@keyframes driftSlow {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4vw, -4vh, 0) scale(1.08); }
    100% { transform: translate3d(-2vw, 6vh, 0) scale(0.96); }
}

/* --- ROI Calculator Section --- */
.roi-calculator-section {
    position: relative;
    overflow: hidden;
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.roi-inputs-card {
    padding: 40px !important;
}

.roi-inputs-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.slider-group {
    margin-bottom: 35px;
}

.slider-group:last-child {
    margin-bottom: 0;
}

.slider-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.slider-value-badge {
    background: rgba(226, 184, 87, 0.15);
    border: 1px solid rgba(226, 184, 87, 0.3);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Custom Input Range Styling */
.roi-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    outline: none;
    transition: background 0.3s ease;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--gold-glow-strong);
    cursor: pointer;
    transition: transform 0.1s ease, background 0.3s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.roi-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--gold-glow-strong);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.roi-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Results Card */
.roi-results-card {
    padding: 40px !important;
    background: linear-gradient(135deg, rgba(226, 184, 87, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(226, 184, 87, 0.15) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.results-header-text {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.rescued-revenue-display {
    margin-bottom: 30px;
}

.rescued-revenue-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 40px var(--gold-glow-strong);
    display: block;
    margin-bottom: 8px;
}

.rescued-revenue-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.metrics-comparison {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.value-slow {
    color: #ff4a4a;
}

.value-qws {
    color: #27c93f;
    text-shadow: 0 0 15px rgba(39, 201, 63, 0.2);
}

/* --- FAQ Accordion Section --- */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 24px 32px !important;
    cursor: pointer;
    transition: all 0.4s var(--ease-fluid);
}

.faq-item:hover {
    border-color: rgba(226, 184, 87, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    transition: color 0.3s ease;
    font-family: var(--font-heading);
}

.faq-item:hover .faq-question h3 {
    color: var(--accent);
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.4s var(--ease-fluid), color 0.3s ease;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease-fluid), opacity 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 350px;
    opacity: 1;
    padding-top: 16px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* RTL Tweaks for Sliders & FAQs */
html[dir="rtl"] .rescued-revenue-num {
    letter-spacing: 0;
}

html[dir="rtl"] .roi-slider {
    direction: ltr; /* Sliders remain Left-to-Right for standard UI input feel */
}

/* Media Queries for New Sections */
@media (max-width: 992px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .roi-inputs-card, .roi-results-card {
        padding: 30px 24px !important;
    }
    .faq-item {
        padding: 20px 24px !important;
    }
    .faq-question h3 {
        font-size: 1.15rem;
    }
}


