/* ============================================================
   NERVEN — Template 1: Dark Luxury
   Brand Colors: #E30613 (Red), #0D0D0D (Deep Black), #1A1A1A (Dark Gray),
                 #2A2A2A (Card), #FFFFFF (White), #B0B0B0 (Gray Text)
   ============================================================ */

/* ---- CSS Variables / Design Tokens (BRIGHT OBSIDIAN - BALANCED) ---- */
:root {
    --red: #E30613;
    --red-dark: #9C000B;
    --red-light: #FF2A3A;
    --red-grad: linear-gradient(135deg, var(--red-light) 0%, var(--red) 50%, var(--red-dark) 100%);
    /* Filled buttons / CTAs: bright red → brand red → deeper red */
    --red-btn-grad: linear-gradient(165deg, var(--red-light) 0%, var(--red) 42%, var(--red-dark) 100%);
    --red-glow: rgba(227, 6, 19, 0.25);

    --bg-deep: #1A1A1A;
    --bg-main: #222222;
    --bg-card: #2D2D2D;
    --bg-glass: rgba(255, 255, 255, 0.08);

    --text-high: #FFFFFF;
    --text-mid: #E0E0E0;
    --text-low: #B0B0B0;

    --border: rgba(255, 255, 255, 0.15);
    --border-red: rgba(227, 6, 19, 0.3);

    --white: #FFFFFF;
    --black: #000000;

    --font-main: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Cairo', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;

    --shadow-red: 0 8px 40px rgba(227, 6, 19, 0.3);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.8);

    --nav-height: 72px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Unified heading scale (sections, CTAs, showcase — not body copy) */
    --title-section: clamp(2rem, 4vw, 2.75rem);
    --title-hero: clamp(2.25rem, 4.5vw, 3.1rem);
}

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

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

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

[dir="rtl"] body {
    font-family: var(--font-arabic);
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] .section-title, 
[dir="rtl"] .hero-title-v2, 
[dir="rtl"] .specialist-title {
    font-family: var(--font-arabic) !important;
}

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

ul {
    list-style: none;
}

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

/* ---- Custom Cursor ---- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    top: -4px;
    left: -4px;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(227, 6, 19, 0.6);
    top: -18px;
    left: -18px;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

body:has(a:hover) .cursor-outline,
body:has(button:hover) .cursor-outline {
    width: 52px;
    height: 52px;
    background: rgba(227, 6, 19, 0.1);
}

/* ---- Scroll Progress ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    width: 0%;
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    transition: var(--transition);
    /* Frosted bar over hero so links stay readable */
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar .nav-link:hover {
    color: var(--red);
    background: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .nav-link {
    color: #333333;
}

.navbar.scrolled .nav-link:hover {
    color: var(--red);
    background: rgba(0, 0, 0, 0.03);
}

.navbar.scrolled .nav-link.active {
    color: var(--red);
}

/* Logo specific adaptations */
.navbar .nav-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    filter: none;
}

.nav-logo-r {
    height: 12px !important;
    width: auto !important;
    margin-left: 2px;
    margin-top: -12px;
    filter: none !important;
}

[dir="rtl"] .nav-logo-r {
    margin-left: 0;
    margin-right: 2px;
}

.footer-logo-r {
    height: 14px !important;
    width: auto !important;
    margin-left: 4px;
    margin-top: -14px;
    filter: none !important;
}

[dir="rtl"] .footer-logo-r {
    margin-left: 0;
    margin-right: 4px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex: 1;
}

.logo-text {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--white);
}

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

.logo-badge {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-bottom: 4px;
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-400);
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--red);
}

.chevron {
    font-style: normal;
    font-size: 1rem;
    transition: transform 0.2s;
}

.has-dropdown:hover .chevron {
    transform: rotate(90deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    /* Flush to nav item so there is no hover dead zone; top padding is inside the panel */
    top: 100%;
    left: 50%;
    z-index: 200;
    min-width: 200px;
    padding: 10px 0.5rem 0.5rem 0.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-4px);
    transition: var(--transition);
    background: rgba(16, 16, 16, 0.82);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    justify-content: flex-end;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    padding: 2px 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn.active {
    color: var(--red);
}

.lang-divider {
    color: var(--border);
    font-size: 0.7rem;
}

/* nav-cta now handled by global components */

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
}

.mobile-menu.open {
    display: block;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-menu ul {
    margin-bottom: 1.5rem;
}

.mobile-menu ul li a {
    display: block;
    padding: 0.75rem 0;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-menu ul li a:hover {
    color: var(--red);
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-contact a {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.section-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(227, 6, 19, 0.1);
    border: 1px solid var(--border-red);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-main);
    font-size: var(--title-section);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-high);
    margin: 0;
}

/* Brand title frame — client theme: thin border + corner markers */
.brand-title-frame {
    --frame-line: rgba(255, 255, 255, 0.55);
    --frame-line-strong: rgba(255, 255, 255, 0.85);
    --frame-dot-bg: rgba(13, 13, 13, 0.35);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

/* Dark text on light sections (e.g. light backgrounds) */
.brand-title-frame.title-frame--dark {
    --frame-line: rgba(17, 17, 17, 0.88);
    --frame-line-strong: rgba(17, 17, 17, 1);
    --frame-dot-bg: #ffffff;
}

.brand-title-frame .frame-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--frame-line);
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.brand-title-frame .circle-top {
    position: absolute;
    top: -4px;
    left: 18px;
    width: 8px;
    height: 8px;
    background-color: var(--frame-dot-bg);
    border: 1px solid var(--frame-line-strong);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.brand-title-frame .circle-bottom {
    position: absolute;
    bottom: -4px;
    right: 18px;
    width: 8px;
    height: 8px;
    background-color: var(--frame-dot-bg);
    border: 1px solid var(--frame-line-strong);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.brand-title-frame .section-title,
.brand-title-frame .section-title-v2,
.brand-title-frame .specialist-title,
.brand-title-frame h1.section-title,
.brand-title-frame h2.section-title,
.brand-title-frame h2.section-title-v2 {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.section-center {
    text-align: center;
    margin-bottom: 3rem;
}

.text-red {
    background: var(--red-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--red);
    display: inline-block;
    /* fallback */
}

/* ================================================
   BUTTONS (Unified Design: Sharp Corners & Borders)
   ================================================ */

/* Base Button Styles */
.btn-primary,
.btn-ghost,
.btn-primary-outline,
.btn-white,
.btn-whatsapp,
.btn-outline-light,
.btn-primary-v2,
.btn-outline-v2,
.btn-reveal,
.modal-btn,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-sm);
    /* Sharp corners */
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ================================================
   G L O B A L   B U T T O N S   (Glassmorphism)
   ================================================ */

.btn-primary,
.btn-ghost,
.btn-primary-outline,
.btn-white,
.btn-whatsapp,
.btn-outline-light,
.btn-primary-v2,
.btn-outline-v2,
.btn-reveal,
.modal-btn,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    /* 4px sharp corners */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;

    /* Base State: Glassmorphism */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--red);
    color: var(--red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-primary-outline:hover,
.btn-white:hover,
.btn-whatsapp:hover,
.btn-outline-light:hover,
.btn-primary-v2:hover,
.btn-outline-v2:hover,
.btn-reveal:hover,
.modal-btn:hover,
.nav-cta:hover {
    background: var(--red-btn-grad);
    color: #FFFFFF;
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(227, 6, 19, 0.4);
}

.text-gradient {
    background: var(--red-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Specific Overrides for Hero Premium Look */
.hero-v2 .btn-primary-v2 {
    color: #FFFFFF !important;
    font-weight: 900;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Specific button icons color adjustment on hover */
.btn-primary:hover svg,
.btn-primary-v2:hover svg,
.nav-cta:hover svg {
    stroke: #FFFFFF;
}

.btn-white {
    /* Keeping it same for consistency as requested */
}

.btn-whatsapp {
    /* Special case: WhatsApp green glass? User said "ALL", but maybe keep green for WA? 
       Actually, let's keep it red for brand consistency as requested "ALL buttons" */
    border-color: #25D366;
    color: #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Specific Overrides for Dark Backgrounds */
.hero-v2 .btn-primary-v2,
.hero-v2 .btn-outline-v2,
.news-main-hero .btn-outline-v2 {
    color: #FFFFFF;
}

.hero-v2 .btn-primary-v2:hover,
.hero-v2 .btn-outline-v2:hover,
.news-main-hero .btn-outline-v2:hover {
    color: #FFFFFF;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    border: 2px solid #25D366;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* ================================================
   HERO V2 (SOMFY STYLE)
   ================================================ */
.hero-v2 {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background: #2d2d2d;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-color: #1a1a1a;
}

.hero-slide.active {
    opacity: 1;
}

.hero-tint {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* Darken bright photography so nav + hero copy stay readable */
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.4) 42%,
            rgba(0, 0, 0, 0.48) 100%);
}

.hero-content-v2 {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.hero-text-block-v2 {
    max-width: 550px;
    animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-eyebrow-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1rem;
}

.hero-title-v2 {
    font-family: var(--font-main);
    font-size: var(--title-hero);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-subtitle-v2 {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
}

/* Button now handled by global components */

/* ================================================
   SECTION ONE
   ================================================ */
.section-one {
    padding: 6rem 0;
    background: #fcfcfc;
    overflow: hidden;
}

.s1-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.section-tag-v2 {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.5rem;
}

.section-title-v2 {
    font-family: var(--font-main);
    font-size: var(--title-section);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin-bottom: 2rem;
}

.section-desc-v2 {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.s1-features {
    margin-bottom: 3rem;
}

.s1-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-high);
    margin-bottom: 1rem;
}

.feat-icon {
    width: 24px;
    height: 24px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
}

.s1-visual {
    position: relative;
}

.s1-img-container {
    height: 600px;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
}

.s1-img-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: #FFFFFF;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    animation: float1 6s ease-in-out infinite alternate;
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--red-btn-grad);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    .s1-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .s1-img-container {
        height: 400px;
    }

    .s1-img-floating-card {
        left: 20px;
        bottom: 20px;
    }
}

.image-placeholder.large {
    height: 480px;
}

.image-placeholder span {
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-600);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Animated background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.18), transparent 70%);
    top: -200px;
    right: -100px;
    animation: float1 8s ease-in-out infinite alternate;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.08), transparent 70%);
    bottom: 100px;
    left: -100px;
    animation: float2 10s ease-in-out infinite alternate;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
    top: 30%;
    left: 30%;
    animation: float3 7s ease-in-out infinite alternate;
}

@keyframes float1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 40px) scale(1.1);
    }
}

@keyframes float2 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-20px, 30px) scale(1.05);
    }
}

@keyframes float3 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(20px, -20px);
    }
}

/* Hero Layout */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    width: 100%;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-text-block {
    animation: fadeSlideUp 0.8s ease forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.hero-title {
    font-family: var(--font-main);
    font-size: var(--title-hero);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin-bottom: 1.5rem;
}

.title-accent {
    color: var(--red);
    position: relative;
}

.title-outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
    color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.hero-subtitle strong {
    color: var(--text-high);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-high);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    gap: 1rem;
    animation: fadeSlideUp 0.8s ease 0.2s both;
}

.hero-img-main {
    width: 65%;
    height: 480px;
    flex-shrink: 0;
}

.hero-img-secondary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.hero-img-sm {
    flex: 1;
    min-height: 0;
}

.hero-badge-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: rgba(227, 6, 19, 0.15);
    border: 1px solid var(--border-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-badge-card strong {
    display: block;
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--text-high);
}

.hero-badge-card small {
    color: var(--gray-400);
    font-size: 0.75rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-family: var(--font-main);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(12px);
        opacity: 0;
    }

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

/* ================================================
   INTEGRATIONS BAR
   ================================================ */
.integrations-bar {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 0;
    position: relative;
    z-index: 10;
}

.integration-label {
    flex-shrink: 0;
    padding: 0 3rem;
    border-right: 2px solid white;
    background: var(--bg-deep);
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    align-items: center;
}

.integration-label span {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: white;
    white-space: nowrap;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    padding: 1rem 0; /* Extra room inside the hidden box for scaling */
    margin: -1rem 0;  /* Offset that padding so the bar stays small */
    direction: ltr;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 30s linear infinite;
    width: max-content;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

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

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

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 3rem;
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-high);
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}
.read-more-link {
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--red) !important;
    border-color: var(--red) !important;
    transform: translateX(5px);
}
.ticker-item img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticker-item:hover img {
    transform: scale(1.15);
}

.ticker-item:hover {
    color: var(--white);
}

.ticker-dot {
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ================================================
   BRAND STATEMENT
   ================================================ */
.brand-statement {
    padding: 7rem 0;
}

.brand-statement .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.brand-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pillar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.pillar:hover {
    border-color: var(--border-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(227, 6, 19, 0.1);
}

.pillar-icon {
    margin-bottom: 0.75rem;
}

.pillar h3 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-high);
    margin-bottom: 0.4rem;
}

.pillar p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.brand-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 480px;
}

/* Brand image frame */
.brand-img-frame {
    position: relative;
}

.frame-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--red-btn-grad);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-red);
}

.badge-number {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.frame-badge small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

/* ================================================
   PRODUCTS SECTION
   ================================================ */
.products-section {
    padding: 5rem 0 7rem;
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.products-subtext {
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: right;
    max-width: 280px;
    line-height: 1.5;
}

/* Filter tabs */
.product-filter-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0 2rem;
    max-width: 1300px;
    margin: 0 auto 2.5rem;
}

.filter-tab {
    background: none;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.45rem 1.25rem;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--red-btn-grad);
    border-color: var(--red);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeSlideUp 0.5s ease both;
}

.product-card:hover {
    border-color: var(--border-red);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(227, 6, 19, 0.15);
}

.product-card-img {
    height: 200px;
    border-radius: 0;
    border: none;
    border-bottom: 1px dashed rgba(227, 6, 19, 0.2);
}

.product-card-body {
    padding: 1.5rem;
}

.product-tag {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(227, 6, 19, 0.1);
    border: 1px solid var(--border-red);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.product-name {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-high);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    transition: gap 0.2s;
}

.product-link:hover {
    gap: 10px;
}

/* ================================================
   MOTORS SECTION
   ================================================ */
.motors-section {
    padding: 7rem 0;
}

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

.motors-img-stack {
    position: relative;
}

.motors-main {
    height: 500px;
}

.motors-stat-card {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-card);
}

.motors-stat-icon {
    font-size: 1.5rem;
}

.motors-stat-card strong {
    display: block;
    font-family: var(--font-main);
    font-size: 0.9rem;
    color: var(--text-high);
}

.motors-stat-card small {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.motors-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 480px;
}

.motors-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.motor-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.motor-feature strong {
    display: block;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-high);
    margin-bottom: 0.25rem;
}

.motor-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================================================
   SHOWCASE BANNER
   ================================================ */
.showcase-banner {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(227, 6, 19, 0.25) 50%, rgba(13, 13, 13, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

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

.showcase-content h2,
.showcase-content p {
    color: #FFFFFF !important;
}

.showcase-content h2 {
    font-family: var(--font-main);
    font-size: var(--title-section);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.showcase-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* ================================================
   INTERACTIVE BANNER
   ================================================ */
.interactive-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-link:hover .banner-img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 80%);
    display: flex;
    align-items: center;
    padding: 0 8vw;
    z-index: 2;
}

[dir="rtl"] .banner-overlay {
    background: linear-gradient(270deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 80%);
    text-align: right;
}

.banner-content {
    max-width: 600px;
}

.banner-tag {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.5rem;
}

.banner-content h2 {
    font-family: var(--font-main);
    font-size: var(--title-section);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2.5rem;
}

.banner-link:hover .banner-btn {
    transform: translateX(10px);
}

[dir="rtl"] .banner-link:hover .banner-btn {
    transform: translateX(-10px);
}

/* ================================================
   SMART INTEGRATIONS
   ================================================ */
.smart-section {
    padding: 3rem 0;
    background: var(--dark);
    border-top: 1px solid var(--border);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: default;
}

.integration-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-card);
}

.integration-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.integration-card:hover .integration-logo {
    transform: scale(1.1);
}

.integration-name {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.3;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-top: 1px solid var(--border);
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.12), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(60px);
}

.cta-shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.08), transparent 70%);
    bottom: -100px;
    right: -100px;
    filter: blur(60px);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-main);
    font-size: var(--title-section);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: #1f1f1f;
    color: #ffffff;
    padding: 5rem 4vw 2rem;
}

.footer-glow {
    position: absolute;
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(227, 6, 19, 0.06), transparent 70%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.footer-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-logo {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-logo span {
    color: var(--red);
}

.footer-logo sup {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--red-btn-grad);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

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

.footer-col h4 {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 200;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .brand-statement .section-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .brand-pillars {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions a {
        justify-content: center;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-subtext {
        text-align: left;
        max-width: 100%;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* ================================================
   CLIENTS TICKER SECTION
   ================================================ */
.clients-ticker-section {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    overflow: hidden;
}

.ticker-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    white-space: nowrap;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red);
}

.label-dot {
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
}

.ticker-wrapper-v2 {
    flex: 1;
    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);
}

.ticker-track-v2 {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: ticker-v2 35s linear infinite;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.client-name {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-high);
    letter-spacing: 0.15em;
    opacity: 1;
    text-align: center;
}

@keyframes ticker-v2 {
    0% {
        transform: translateX(0);
    }

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

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition);
}

/* ================================================
   BUSINESS AREAS (SLIDER)
   ================================================ */
.business-areas-section {
    padding: 3rem 0;
    position: relative;
    background: transparent;
    /* Do not clip slider controls (RTL flex reverse used to hide side arrows) */
    overflow-x: visible;
    overflow-y: visible;
}

.business-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.business-areas-section .section-container {
    position: relative;
    z-index: 10;
}

.business-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.business-header .header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.business-slider-outer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    /* Keep prev / track / next in visual LTR order on RTL pages */
    direction: ltr;
    unicode-bidi: isolate;
}

.slider-arrow {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FFFFFF;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    z-index: 20;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.slider-arrow svg {
    display: block;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--red-btn-grad);
    color: #FFFFFF;
    border-color: var(--red);
}

.business-slider-container {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.business-slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    direction: ltr;
    will-change: transform;
}

.business-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    height: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

/* Hover Background Effect */
.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s ease;
    z-index: 1;
}

/* For specific cards (will assign these in HTML) */
.card-shading::before {
    background-image: url('../images/shading_luxury.png');
}

.card-glass::before {
    background-image: url('../images/smart_glass.png');
}

.card-poolcover::before {
    background-image: url('../images/pool_cover_luxury.png');
}

.card-smartsys::before {
    background-image: url('../images/biz-smart.png');
}

.card-alu::before {
    background-image: url('../images/biz-alu.png');
}

.card-motors::before {
    background-image: url('../images/motor_detail.png');
}

.business-card-content {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
}

.business-card h3 {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-high);
}

.business-card p {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.business-card .btn-primary-v2 {
    margin-top: auto;
    width: fit-content;
}

/* btn-reveal now handled by global components */

/* Hover State */
.business-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.business-card:hover .business-card-content h3,
.business-card:hover .business-card-content p {
    color: #FFFFFF;
}

.business-card:hover .btn-reveal {
    background: var(--red-btn-grad);
    color: #FFFFFF;
    border-color: transparent;
}

/* ================================================
   NEWS & STORIES SECTION
   ================================================ */
.news-section {
    padding: 3rem 0;
    background: #2a2a2a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-img-box {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-img-box img {
    transform: scale(1.05);
}

.news-content h3 {
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-high);
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content .news-body {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .business-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }

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

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

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

/* ================================================
   SITE FOOTER V2 (DAAM STYLE)
   ================================================ */
.site-footer-v2 {
    font-family: var(--font-main);
    background: #FFFFFF;
}

.footer-main {
    background-color: #23272b;
    color: #FFFFFF;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

/* Col 1: Branding */
.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    align-self: flex-start;
}

.footer-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.footer-brand-title {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.footer-support-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.support-icon {
    width: 48px;
    height: 48px;
    background: var(--red-btn-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

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

.support-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.support-number {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Common List Styles */
.footer-h3 {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-high);
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.list-icon-red {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
}

/* Bottom Strip */
.footer-bottom-v2 {
    background: var(--bg-deep);
    padding: 24px 0;
}

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

.copyright-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
}

.social-links-v2 {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: var(--red-btn-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(0.9);
}

.social-dot {
    width: 6px;
    height: 6px;
    background: #FFFFFF;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ================================================
   SPECIALIST SECTION (Based on Image Reference)
   ================================================ */
.specialist-section {
    padding: 4rem 0;
    background: transparent;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.specialist-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    /* Soft blur on background only; scale hides edge halos from filter */
    filter: blur(6px);
    transform: scale(1.08);
    transform-origin: center center;
}

.specialist-section .section-container {
    position: relative;
    z-index: 10;
}

.specialist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.specialist-header .brand-title-frame {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: min(100%, 560px);
}

.specialist-title {
    font-family: var(--font-main);
    font-size: var(--title-section);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin: 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* Single subtle brand accent (not full gradient) */
.specialist-title .specialist-title-accent {
    color: var(--red);
    font-weight: 900;
}

.specialist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.specialist-text-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.specialist-text-content p {
    font-size: 1.05rem;
    color: var(--text-high);
    line-height: 1.55;
    margin-bottom: 0;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.specialist-badges-row {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
}

.badge-block {
    flex: 1;
}

.badge-block .main-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-high);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 2px;
}

.badge-block .copyright-text {
    font-size: 0.9rem;
    color: var(--text-mid);
}

.badge-block .sub-text {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 8px;
}

.badge-block .by-text {
    font-size: 0.85rem;
    margin-top: 10px;
    color: #888;
}

.badge-block .by-text strong {
    color: var(--red);
}

.specialist-visual-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Balanced 50/50 split for height matching */
    grid-template-rows: 240px 180px 240px;
    /* Explicit row heights to force total height match at 715px (inc gaps) */
    gap: 15px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
}

.mosaic-main-img {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    /* Matches height of Badge1 + Team Part 1 */
    height: 100%;
    /* Fill the grid area */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mosaic-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.mosaic-badge-red {
    background: var(--red-btn-grad);
    color: #FFFFFF;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    border-radius: 8px;
    transition: var(--transition);
    height: 100%;
    /* Fill the grid area */
}

.mosaic-badge-red:hover {
    background: var(--red-dark);
    transform: translateY(-5px);
}

.mosaic-badge-red svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.mosaic-badge-red .badge-label {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.mosaic-team-img {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    /* Matches height of Portrait Part 2 + Badge2 */
    height: 100%;
    /* Fill the grid area */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mosaic-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .specialist-grid {
        grid-template-columns: 1fr;
    }

    .specialist-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* ================================================
   PARTNER POPUP (MODAL)
   ================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.modal-content {
    background: url('../images/partner_modal_bg.png') center/cover no-repeat;
    width: 90%;
    max-width: 650px;
    border-radius: 24px;
    padding: 0;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: bgPan 20s linear infinite alternate;
}

@keyframes bgPan {
    from {
        background-position: center left;
    }

    to {
        background-position: center right;
    }
}

.modal-content-inner {
    padding: 4rem 3.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    backdrop-filter: blur(4px);
    height: 100%;
    width: 100%;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--red-btn-grad);
    transform: rotate(90deg);
    border-color: var(--red);
}

.modal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--title-section);
    font-weight: 900;
    line-height: 1.1;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    color: #E30613;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.modal-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    background: var(--red-btn-grad);
    color: #FFFFFF;
    padding: 1.4rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(227, 6, 19, 0.5);
    color: #FFFFFF;
}

/* RTL Support */
[dir="rtl"] .modal-content,
.lang-ar .modal-content {
    text-align: right;
}

[dir="rtl"] .modal-close,
.lang-ar .modal-close {
    right: auto;
    left: 1.5rem;
}
/* ================================================
   FLOATING WIDGET STACK
   ================================================ */
.floating-widget-stack {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 9999;
}

[dir="rtl"] .floating-widget-stack {
    right: auto;
    left: 2rem;
}

.widget-item {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: #FFFFFF;
    color: #1a1a1a;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.widget-item svg {
    width: 24px;
    height: 24px;
}

.widget-item.whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.widget-item.chatbot {
    background: #FFFFFF;
    color: #E30613; /* Brand Red for robot */
}

.widget-item.scroll-top {
    background: #E30613;
    color: #FFFFFF;
    border: none;
    margin-top: 0.5rem;
}

.widget-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
}

.widget-item:active {
    transform: scale(0.95);
}

/* Hide legacy float */
.whatsapp-float {
    display: none !important;
}

@media (max-width: 768px) {
    .floating-widget-stack {
        bottom: 1.25rem;
        right: 1.25rem;
    }
    [dir="rtl"] .floating-widget-stack {
        left: 1.25rem;
    }
    .widget-item {
        width: 44px;
        height: 44px;
    }
}
