/* ==========================
   UX PRO MAX — HASSAN ACCESSOIRES
   Style: Liquid Glass | Dark Premium
   Palette: Deep Charcoal + Electric Blue + Fire Orange
   Typography: DM Sans
   ========================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ── DESIGN TOKENS ─────────────────────────── */
:root {
    /* Brand Colors */
    --color-primary: #3B82F6;
    /* Electric Blue */
    --color-secondary: #60A5FA;
    /* Sky Blue */
    --color-cta: #F97316;
    /* Fire Orange */
    --color-cta-dark: #EA6C0A;
    /* CTA Hover */

    /* Backgrounds */
    --color-bg: #06090F;
    /* Deep Void */
    --color-bg-2: #0D1117;
    /* Surface */
    --color-bg-3: #111827;
    /* Elevated Surface */

    /* Text */
    --color-text: #F1F5F9;
    /* Primary Text */
    --color-muted: #94A3B8;
    /* Muted Text */
    --color-subtle: #64748B;
    /* Very Muted */

    /* WhatsApp */
    --color-wa: #22C55E;
    --color-wa-hover: #16A34A;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.6);
    --shadow-cta: 0 10px 25px rgba(249, 115, 22, 0.35);
    --shadow-wa: 0 10px 25px rgba(34, 197, 94, 0.35);
    --shadow-blue: 0 10px 30px rgba(59, 130, 246, 0.25);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --trans: all 0.3s var(--ease-out);
    --trans-fast: all 0.15s ease;
}

/* ── RESET ──────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* LTR */
body.lang-fr {
    text-align: left;
    direction: ltr;
}

/* RTL */
body.lang-ar {
    text-align: right;
    direction: rtl;
    font-family: 'Cairo', 'DM Sans', sans-serif;
}

/* Ambient mesh background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(249, 115, 22, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(96, 165, 250, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* ── UTILITIES ──────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-title h2 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-cta), var(--color-primary));
    margin: 1rem auto 0;
    border-radius: 99px;
}

/* ── HEADER ─────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 9, 15, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--trans);
}

header.scrolled {
    background: rgba(6, 9, 15, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.logo span {
    background: linear-gradient(135deg, var(--color-cta), #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 4px;
}

body.lang-ar .logo span {
    margin-left: 0;
    margin-right: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-muted);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--trans-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-cta);
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.lang-switch a {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.45rem 1rem;
    border-radius: 12px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--trans);
}

.lang-switch a:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.lang-switch a::after {
    display: none;
}

.btn-whatsapp.nav-btn {
    background: linear-gradient(135deg, var(--color-wa), #16A34A);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--trans);
    box-shadow: var(--shadow-wa);
}

.btn-whatsapp.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.45);
}

/* ── HERO ────────────────────────────────────── */
.hero {
    padding-top: 200px;
    padding-bottom: 130px;
    position: relative;
    overflow: hidden;
}

/* Glow orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.10) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-overlay {
    display: none;
}

/* replaced by ::before/::after */

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #FBBF24;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
}

.badge i {
    font-size: 0.8rem;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    line-height: 1.0;
    font-weight: 800;
    letter-spacing: -2.5px;
    margin-bottom: 1.75rem;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text>p {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cta), var(--color-cta-dark));
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--trans);
    box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text);
    padding: 1rem 2.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--trans);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

/* ── COMPARISON SLIDER ───────────────────────── */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.comparison-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--glass-border);
    cursor: col-resize;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.after-image {
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

body.lang-fr .after-image {
    left: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
}

body.lang-ar .after-image {
    right: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
}

body.lang-ar .after-image img {
    position: absolute;
    right: 0;
    width: 560px;
    max-width: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 3;
    pointer-events: none;
}

body.lang-fr .slider-handle {
    left: 50%;
    transform: translateX(-50%);
}

body.lang-ar .slider-handle {
    right: 50%;
    transform: translateX(50%);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
    font-size: 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s var(--ease-spring);
}

.comparison-container:hover .handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
}

.label-before,
.label-after {
    position: absolute;
    bottom: 18px;
    padding: 4px 14px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 50px;
    z-index: 4;
}

body.lang-fr .label-before {
    right: 18px;
}

body.lang-fr .label-after {
    left: 18px;
}

body.lang-ar .label-before {
    left: 18px;
}

body.lang-ar .label-after {
    right: 18px;
}

/* ── SERVICES ────────────────────────────────── */
.services {
    padding: 110px 0;
    background: var(--color-bg-2);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.25rem;
    border-radius: 24px;
    cursor: pointer;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.service-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: block;
    background: linear-gradient(135deg, var(--color-cta), #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.service-card p {
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── TRANSFORMATION ──────────────────────────── */
.transformation {
    padding: 110px 0;
    background: var(--color-bg);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.trans-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.trans-text h2 span {
    background: linear-gradient(135deg, var(--color-cta), #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trans-text>p {
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--color-text);
}

.features li i {
    color: var(--color-wa);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.shop-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
    transition: var(--trans);
}

.shop-image:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
}

/* ── CTA SECTION ─────────────────────────────── */
.cta-section {
    padding: 110px 0;
    background: var(--color-bg-2);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.cta-box {
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.12) 0%,
            rgba(249, 115, 22, 0.08) 50%,
            rgba(59, 130, 246, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.cta-box>p {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    color: var(--color-muted);
}

.info-item i {
    color: var(--color-primary);
}

.btn-whatsapp-large {
    background: linear-gradient(135deg, var(--color-wa), #16A34A);
    color: white;
    padding: 1.1rem 2.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--trans);
    box-shadow: var(--shadow-wa);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.45);
}

/* ── MAP ─────────────────────────────────────── */
.map-section {
    padding-bottom: 110px;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
    line-height: 0;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
    background: var(--color-bg-2);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: var(--color-subtle);
    font-size: 0.875rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    color: var(--color-subtle);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--trans-fast);
    text-decoration: none;
}

.socials a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {

    .hero-content,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding-top: 160px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .grid-2 .trans-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.4rem;
        letter-spacing: -1.5px;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text>p {
        margin-left: auto;
        margin-right: auto;
    }

    .badge {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .comparison-container {
        height: 280px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-text {
    animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-image {
    animation: fadeUp 0.8s 0.15s var(--ease-out) both;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}