/* 
   Al-Entlaq Landing Page - Premium Design System (Elevated Version)
   Featuring Custom Fonts (Tajawal & Cairo), Background Mesh Texture,
   Blowing Watermark Glow, Advanced Glassmorphism & Micro-animations.
*/

/* 1. Global Reset & Variables */
:root {
    /* Color Palette - Dark Mode (Default) */
    --bg-main: #060912;
    --bg-surface: rgba(16, 26, 43, 0.45);
    --bg-surface-opaque: #0f192b;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(14, 165, 233, 0.25);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;

    /* Brand Accents */
    --accent-orange: #f97316;
    --accent-orange-hover: #ea580c;
    --accent-orange-glow: rgba(249, 115, 22, 0.12);

    --accent-blue: #0ea5e9;
    --accent-blue-hover: #0284c7;
    --accent-blue-glow: rgba(14, 165, 233, 0.12);

    --success: #10b981;
    --card-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.7);
    --glow-shadow: 0 0 30px rgba(14, 165, 233, 0.15);

    /* Layout & Transitions */
    --container-width: 95%;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Light Mode Variables */
.light-mode {
    --bg-main: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.75);
    --bg-surface-opaque: #ffffff;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(14, 165, 233, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --card-shadow: 0 15px 40px -15px rgba(15, 23, 42, 0.06);
    --glow-shadow: 0 0 25px rgba(14, 165, 233, 0.05);
    --accent-orange-glow: rgba(249, 115, 22, 0.05);
    --accent-blue-glow: rgba(14, 165, 233, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Premium Background Textured Mesh & Glow Grid */
body.dark-mode {
    background-image:
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(249, 115, 22, 0.04) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.003) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.003) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
}

body.light-mode {
    background-image:
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.02) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(249, 115, 22, 0.01) 0px, transparent 50%),
        linear-gradient(rgba(0, 0, 0, 0.004) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.004) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
}

/* 2. Typography - Tajawal & Cairo Assignment */
body.lang-ar {
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar .logo-text,
body.lang-ar .badge,
body.lang-ar .btn {
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

body.lang-en {
    font-family: 'Outfit', sans-serif;
}

/* Multilingual Toggle visibility */
body.lang-ar [lang="en"] {
    display: none !important;
}

body.lang-en [lang="ar"] {
    display: none !important;
}

/* Layout container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography styles */
h1 {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 60%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    cursor: pointer;
}

.brand-logo-img {
    height: 54px;
    width: auto;
    max-width: 100%;
    transition: var(--transition-bounce);
}

.logo:hover .brand-logo-img {
    transform: scale(1.08);
}

/* Background Glowing Watermark Logo */
.bg-watermark-container {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vmin;
    height: 65vmin;
    z-index: -100;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

/* Low-light breathing glow animation for watermark */
@keyframes watermark-glow {

    0%,
    100% {
        filter: blur(1px) drop-shadow(-15px 15px 25px rgba(208, 15, 23, 0.45));
        opacity: 0.28;
    }

    50% {
        filter: blur(1.5px) drop-shadow(-25px 25px 40px rgba(208, 15, 23, 0.65));
        opacity: 0.38;
    }
}

@keyframes watermark-glow-light {

    0%,
    100% {
        filter: grayscale(1) blur(1px) drop-shadow(-10px 10px 20px rgba(0, 0, 0, 0.05));
        opacity: 0.12;
    }

    50% {
        filter: grayscale(1) blur(2px) drop-shadow(-15px 15px 30px rgba(0, 0, 0, 0.08));
        opacity: 0.18;
    }
}

.dark-mode .bg-watermark-container {
    animation: watermark-glow 12s ease-in-out infinite;
}

.light-mode .bg-watermark-container {
    animation: watermark-glow-light 12s ease-in-out infinite;
}

.bg-watermark-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-light-img {
    display: none !important;
}

.logo-dark-img {
    display: block !important;
}

.light-mode .logo-light-img {
    display: block !important;
}

.light-mode .logo-dark-img {
    display: none !important;
}

/* Toggle theme switcher sun/moon icons visibility */
.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

.light-mode .sun-icon {
    display: none;
}

.light-mode .moon-icon {
    display: block;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    max-width: 100%;
    transition: var(--transition-bounce);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* 4. Buttons & Interactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
    position: relative;
    overflow: hidden;
}

/* Subtle gloss shine overlay on primary button hover */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 125%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
    transform: translateY(-3px);
}

.light-mode .btn-secondary {
    background-color: rgba(0, 0, 0, 0.02);
}

.light-mode .btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.light-mode .btn-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-lang {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-lang:hover {
    background-color: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
}

.badge {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue);
    border: 1px solid rgba(14, 165, 233, 0.15);
    margin-bottom: 1.5rem;
}

/* 5. Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 9, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.light-mode .navbar {
    background-color: rgba(248, 250, 252, 0.75);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.75rem;
}

.nav-menu {
    display: flex;
    gap: 2.25rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0;
}

/* Hover underline animation for navigation links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Mobile Nav Overlay & Menu button toggle */
.mobile-only {
    display: none;
}

/* 6. Hero Section */
.hero-section {
    padding: 8rem 0 6rem 0;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    margin: 0;
    margin-inline-end: auto;
    text-align: inherit;
    padding: 2rem 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Align text to read naturally based on language dir */
body.lang-ar .hero-content {
    text-align: right;
}

body.lang-en .hero-content {
    text-align: left;
}

/* Align buttons dynamically */
body.lang-ar .hero-buttons {
    justify-content: flex-start;
}

body.lang-en .hero-buttons {
    justify-content: flex-start;
}

/* Color theme adjustments for visual badges to match blue logo background */
.hero-content .badge {
    background-color: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: #cbd5e1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* Hero visual design - full screen background style */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.visual-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
}

/* Ultra-light gradient for maximum logo illumination */
.visual-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 9, 18, 0.1) 0%, rgba(6, 9, 18, 0.35) 100%);
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    z-index: 2;
    pointer-events: none;
}

.glow-sphere.orange {
    background-color: var(--accent-orange);
    top: 5%;
    left: 15%;
}

.glow-sphere.blue {
    background-color: var(--accent-blue);
    bottom: 5%;
    right: 15%;
}



.visual-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--bg-surface-opaque);
    border: 1px solid var(--border-color);
    padding: 1.1rem;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.visual-badge .number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-orange);
}

.visual-badge .text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Pipe Isometric Art */
.pipe-render-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: rotate(-15deg);
}

.conduit-pipe {
    height: 20px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

.orange-pipe {
    width: 190px;
    background: linear-gradient(90deg, #ea580c, #f97316, #ea580c);
}

.blue-pipe {
    width: 230px;
    background: linear-gradient(90deg, #0284c7, #0ea5e9, #0284c7);
}

.white-pipe {
    width: 160px;
    background: linear-gradient(90deg, #64748b, #cbd5e1, #64748b);
}

.connection-box {
    width: 52px;
    height: 52px;
    background: var(--text-muted);
    border-radius: 10px;
    align-self: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* 7. Metrics Section */
.metrics-section {
    padding: 4.5rem 0;
    background-color: rgba(16, 26, 43, 0.2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.metrics-grid .metric-card:last-child {
    border-right: none;
}

/* Adjust border direction for Arabic RTL */
body.lang-ar .metric-card {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

body.lang-ar .metrics-grid .metric-card:last-child {
    border-left: none;
}

.metric-card h3 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.metric-card h4 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-card p {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* 8. Products Section & Cards */
.products-section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 5rem auto;
}

.section-sub {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 0.6rem;
}

.products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2.5rem;
    padding: 1.5rem 0.5rem 3rem 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-orange) var(--border-color);
}

.products-grid::-webkit-scrollbar {
    height: 8px;
}

.products-grid::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 10px;
}

.products-grid::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 10px;
    border: 2px solid var(--bg-surface);
}

.product-card {
    flex: 0 0 calc(25% - 1.9rem);
    min-width: 280px;
    scroll-snap-align: start;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Responsive adjust for mobile/tablet screens to show 1 or 2 cards */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.333% - 1.7rem);
    }
}

@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 100%;
    }
}

/* Elevate product card hover border glowing */
.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 45px -15px rgba(14, 165, 233, 0.25);
}

.product-image-container {
    height: 320px; /* Taller height to display images completely */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(6, 9, 18, 0.4);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill container completely */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Absolute 'NEW' badge overlay style */
.product-image-container .badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444; /* Bright Red */
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 5;
    letter-spacing: 0.5px;
}

/* Slideshow styling inside product image container */
.product-image-container {
    position: relative;
}

.product-image-container img.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.product-image-container img.slide-img.active {
    opacity: 1;
    z-index: 2;
}

body.lang-en .product-image-container .badge-new {
    right: auto;
    left: 15px;
}

.product-body {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-body p {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.product-specs {
    list-style: none;
    margin-bottom: 1.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.product-specs li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
}

.btn-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-orange);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

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

/* 9. About & Technical Specifications */
.about-section {
    padding: 7rem 0;
    background-color: rgba(16, 26, 43, 0.15);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.specs-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row .label {
    font-weight: 700;
    color: var(--text-secondary);
}

.spec-row .val {
    font-weight: 800;
}

.spec-row .val.success {
    color: var(--success);
}

.specs-bullets {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.bullet-item {
    display: flex;
    gap: 1.15rem;
}

.bullet-item .check {
    width: 32px;
    height: 32px;
    background: var(--accent-orange-glow);
    color: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bullet-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.bullet-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 10. POS Software Section */
.pos-section {
    padding: 7rem 0;
}

.pos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.feature-tag:hover {
    border-color: var(--border-hover);
    transform: translateX(-5px);
}

body.lang-en .feature-tag:hover {
    transform: translateX(5px);
}

.feature-tag span {
    font-size: 1.6rem;
}

/* POS UI Mockup rendering */
.pos-mockup {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    background: #080d16;
}

.mockup-header {
    background: #0f1624;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-header .dots {
    display: flex;
    gap: 6px;
}

.mockup-header .dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444;
}

.mockup-header .dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-header .dots span:nth-child(3) {
    background: #10b981;
}

.mockup-header .title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.mockup-body {
    height: 250px;
    display: flex;
}

.sidebar-mock {
    width: 55px;
    background: #0f1624;
    border-right: 1px solid var(--border-color);
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
}

.sidebar-mock .item {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 7px;
}

.sidebar-mock .item.active {
    background: var(--accent-orange);
}

.main-mock {
    flex-grow: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.stats-row {
    display: flex;
    gap: 1rem;
}

.stat-box {
    flex-grow: 1;
    height: 52px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.table-mock {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table-header-mock {
    height: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.table-line-mock {
    height: 13px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    width: 90%;
}

.table-line-mock:nth-child(even) {
    width: 75%;
}

/* 11. Contact Section */
.contact-section {
    padding: 7rem 0;
    background-color: rgba(16, 26, 43, 0.2);
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
    gap: 2rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
}

.info-card .icon {
    width: 52px;
    height: 52px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: var(--card-shadow);
}

.info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.info-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

input,
select,
textarea {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.15rem;
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

select option {
    background: #0f192b;
    color: var(--text-primary);
}

.light-mode input,
.light-mode select,
.light-mode textarea {
    background: rgba(255, 255, 255, 0.85);
}

.light-mode select option {
    background: #ffffff;
    color: #0f172a;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.15);
}

/* 12. Footer */
.main-footer {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-brand {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* 13. Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll reveal class logic (Progressive Enhancement) */
body.js-active .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.js-active .scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-150 {
    transition-delay: 0.15s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* 14. Responsive overrides */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .hero-grid,
    .about-grid,
    .pos-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-visual,
    .about-visual,
    .pos-visual {
        order: -1;
    }

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

@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
    }

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

    .metric-card {
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid var(--border-color);
    }

    .metrics-grid .metric-card:last-child {
        border-bottom: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Nav Overlay Style */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 2000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-overlay .btn-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
}

/* LTR / English RTL alignments */
body.lang-en {
    direction: ltr;
}

body.lang-ar {
    direction: rtl;
}

/* Adjust Arrow direction in hover states dynamically */
body.lang-en .btn-text:hover {
    transform: translateX(4px);
}

body.lang-ar .btn-text:hover {
    transform: translateX(-4px);
}

/* 19. Interactive Pricing Section Styles */
.pricing-section {
    padding: 6rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.pricing-tabs-container {
    margin-top: 3rem;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tab-btn {
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pricing-tab-btn:hover {
    color: var(--text-primary);
}

.pricing-tab-btn.active {
    color: var(--text-primary);
    background: var(--accent-orange);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.pricing-tab-content {
    display: none;
}

.pricing-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.pricing-category-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-category-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--accent-orange);
    border-radius: 4px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 0.95rem;
}

body.lang-en .pricing-table {
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.light-mode .pricing-table th {
    background: rgba(0, 0, 0, 0.02);
}

.pricing-table td {
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-primary);
}

.light-mode .pricing-table tbody tr:hover td {
    background: rgba(0, 0, 0, 0.01);
}

.pricing-table td:nth-child(5) {
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 1.05rem;
}

.pricing-table td:nth-child(5) s {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-inline-end: 0.5rem;
}

.pricing-table td:nth-child(5) .discount-val {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.discount-badge {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 1px solid rgba(249, 115, 22, 0.25);
    margin-inline-end: 0.5rem;
    display: inline-block;
}

.pricing-note {
    background: rgba(249, 115, 22, 0.05);
    border: 1px dashed rgba(249, 115, 22, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center;
}

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

@media (max-width: 768px) {
    .pricing-tabs {
        border-radius: 20px;
        padding: 4px;
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-tab-btn {
        flex: 1 1 calc(50% - 0.5rem);
        font-size: 0.9rem;
        padding: 8px 12px;
        border-radius: 12px;
        text-align: center;
    }
}