/*
 * ═══════════════════════════════════════════════════
 * getNexiro — Modern B2B Software Studio Stylesheet
 * Brand Color Palette derived from the getNexiro Logo
 * ═══════════════════════════════════════════════════
 */

/* ── 1. CSS Custom Properties / Design Tokens ── */
:root {
    /* Brand Colors (Extracted directly from logo) */
    --color-primary:       #0ea5e9;   /* Core Tech Blue */
    --color-primary-dark:  #0284c7;   /* Deep Blue base */
    --color-primary-light: #38bdf8;   /* Electric Sky */
    --color-accent:        #22d3ee;   /* Bright Cyan */
    --color-glow:          #00e5ff;   /* Neon Cyan Glow Aura */

    /* Dark Mode Palette (Cool Obsidian & Circuit Black) */
    --color-bg:            #080b10;
    --color-bg-alt:        #0d1117;
    --color-bg-card:       rgba(15, 23, 42, 0.65);
    --color-bg-elevated:   rgba(30, 41, 59, 0.75);
    --color-surface:       #111827;

    /* Text Tiers */
    --color-text:          #f8fafc;
    --color-text-muted:    #94a3b8;
    --color-text-dim:      #64748b;

    /* Borders & Dividers */
    --color-border:        rgba(56, 189, 248, 0.12);
    --color-border-glow:   rgba(34, 211, 238, 0.45);
    --color-border-subtle: rgba(255, 255, 255, 0.06);

    /* Feedback */
    --color-success:       #10b981;
    --color-error:         #f43f5e;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Space Grotesk', -apple-system, sans-serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono:    'Space Grotesk', 'Fira Code', monospace;

    /* Spacing & Layout */
    --section-padding: 6.5rem 0;
    --container-max:   1240px;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-card:     0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow:     0 0 25px rgba(14, 165, 233, 0.35);
    --shadow-glow-lg:  0 0 45px rgba(0, 229, 255, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px);
    background-size: 32px 32px, 96px 96px;
    background-position: 0 0, 16px 16px;
}

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

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-glow);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ── 3. Atmospheric Ambient Glow Orbs ── */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, rgba(8, 11, 16, 0) 70%);
}

.glow-orb-2 {
    width: 550px;
    height: 550px;
    top: 35%;
    right: -120px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.18) 0%, rgba(8, 11, 16, 0) 70%);
}

/* ── 4. Typography & Utility Classes ── */
.text-center { text-align: center; }
.text-cyan   { color: var(--color-accent); }
.text-dim    { color: var(--color-text-dim); }

.text-gradient {
    background: linear-gradient(135deg, #ffffff 10%, #38bdf8 50%, #22d3ee 80%, #00e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
}

.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    position: relative;
}

.glass-card:hover {
    border-color: var(--color-border-glow);
    box-shadow: var(--shadow-card), 0 0 30px rgba(14, 165, 233, 0.15);
}

/* ── 5. Navigation Bar ── */
.navbar-wrapper {
    position: fixed;
    top: 1rem;
    inset-inline: 0;
    z-index: 1000;
    padding: 0 1.5rem;
    pointer-events: none;
}

.navbar {
    max-width: var(--container-max);
    margin: 0 auto;
    background: rgba(11, 14, 20, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-full);
    padding: 0.4rem 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(14, 165, 233, 0.08);
    pointer-events: auto;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(8, 11, 16, 0.94);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 30px rgba(14, 165, 233, 0.18);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    width: 100%;
    padding: 0;
}

/* ── Logo Styling (VISIBILITY GUARANTEED) ── */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.brand-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.45));
    transition: filter var(--transition-base), transform var(--transition-base);
}

.navbar-logo:hover .brand-logo-img {
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.8));
    transform: scale(1.03);
}

/* Navigation links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: var(--color-text);
    background: rgba(14, 165, 233, 0.1);
}

.nav-link.active {
    color: var(--color-text);
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.badge-soon {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(34, 211, 238, 0.15);
    color: var(--color-accent);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language selector */
.lang-select-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.6rem;
    transition: border-color var(--transition-fast);
}

.lang-select-wrapper:hover,
.lang-select-wrapper:focus-within {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

.lang-globe-icon {
    font-size: 0.85rem;
    margin-right: 0.35rem;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 0.8rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.lang-select option {
    background-color: #0f172a;
    color: #f8fafc;
}

/* Mobile Nav Actions */
.mobile-nav-actions {
    display: none;
}

/* Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 0.55rem;
    width: 40px;
    height: 40px;
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── 6. Modern Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.65rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 229, 255, 0.5), 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    color: var(--color-text);
    border-color: rgba(56, 189, 248, 0.25);
}

.btn-outline:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: var(--color-primary-light);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    transform: rotate(30deg);
    transition: transform 0.6s ease;
}

.btn-glow:hover::after {
    transform: rotate(30deg) translate(50%, 50%);
}

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ── 7. Hero Section ── */
.hero-section {
    position: relative;
    padding-top: clamp(8.5rem, 15vh, 11.5rem);
    padding-bottom: 5.5rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

.hero-bg-wallpaper {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.28;
    z-index: 0;
    filter: brightness(0.75) contrast(1.1);
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.75) contrast(1.15);
}

@media (max-width: 768px), (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
    .hero-bg-video,
    .page-header-video {
        display: none !important;
    }
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(8, 11, 16, 0.45) 0%, rgba(8, 11, 16, 0.96) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 70%, transparent 100%);
    pointer-events: none;
}

.hero-glow-center {
    position: absolute;
    top: 20%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, rgba(0, 229, 255, 0.06) 45%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.28);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-glow);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-badge-text {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.04em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 4.4vw, 3.85rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin-bottom: 2.75rem;
}

.hero-tech-trust {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.trust-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    margin-bottom: 0.75rem;
}

.tech-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.12);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

/* ── 8. Interactive Architecture Console Mockup ── */
.console-mockup-wrapper {
    position: relative;
    padding: 0.5rem;
}

.console-mockup-wrapper::before {
    content: '';
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle at 60% 30%, rgba(14, 165, 233, 0.2), transparent 70%);
    filter: blur(25px);
    z-index: 0;
    pointer-events: none;
}

.console-card {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(14, 165, 233, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(10, 15, 25, 0.94);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.console-header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-width: 0;
}

.console-dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.console-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}
.dot-red   { background-color: #ef4444; }
.dot-amber { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.console-tab {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-primary-light);
}

.console-live-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-glow);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.06em;
    flex-shrink: 0;
    white-space: nowrap;
}

.console-body {
    padding: 1.25rem 1.25rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.65;
    display: flex;
    gap: 1.25rem;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
}

.console-lines-gutter {
    user-select: none;
    text-align: right;
    color: rgba(148, 163, 184, 0.35);
    font-size: 0.78rem;
    line-height: 1.65;
    padding-right: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.console-code {
    flex: 1;
    direction: ltr !important;
    text-align: left !important;
}

.code-comment { color: #64748b; font-style: italic; }
.code-keyword { color: #38bdf8; font-weight: 600; }
.code-var     { color: #f1f5f9; }
.code-prop    { color: #94a3b8; }
.code-str     { color: #34d399; }
.code-val     { color: #22d3ee; font-weight: 600; }
.code-num     { color: #f59e0b; }
.code-indent  { padding-left: 1.25rem; }

.console-outputs {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(56, 189, 248, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.console-output-success {
    color: #34d399;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.console-output-cyan {
    color: var(--color-glow);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Integrated Metrics Dock */
.console-metrics-shelf {
    background: rgba(15, 23, 42, 0.92);
    border-top: 1px solid rgba(56, 189, 248, 0.18);
    padding: 0.85rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.shelf-metric {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}

.shelf-metric:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.25);
}

.shelf-icon {
    font-size: 1.15rem;
}

.shelf-info {
    display: flex;
    flex-direction: column;
}

.shelf-val {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.shelf-lbl {
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

/* Factual Architecture Stack Card */
.architecture-stack-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0.95) 0%, rgba(8, 12, 20, 0.98) 100%);
}

.arch-layer {
    padding: 0.75rem 0.95rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.arch-layer:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(15, 23, 42, 0.85);
}

.arch-layer-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.arch-layer-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-glow);
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
}

.arch-layer-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f1f5f9;
}

.arch-layer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.arch-layer-chips .tech-pill {
    font-size: 0.7rem;
    padding: 0.18rem 0.5rem;
}


/* ── 9. Stats / Metrics Strip ── */
.stats-strip {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(12px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-card {
    padding: 1.5rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 30%, var(--color-primary-light) 70%, var(--color-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.3));
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ── 10. General Section Headers ── */
.section {
    padding: var(--section-padding);
    position: relative;
}

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

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

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.15rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ── 11. Bento Grid (Why getNexiro) ── */
.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.5rem;
}

.bento-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bento-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.25);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color var(--transition-base);
    text-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
}

.bento-card:hover .bento-number {
    color: var(--color-primary-light);
    text-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
}

.bento-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.85rem;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.bento-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.bento-bullets {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── 12. Services Cards ── */
.services-preview-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-preview-card,
.service-card {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
}

.service-icon-box,
.service-card-icon-box,
.service-icon-wrapper {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-md);
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-glow);
    margin-bottom: 1.75rem;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
    transition: all var(--transition-base);
}

.service-preview-card:hover .service-icon-box,
.service-card:hover .service-card-icon-box,
.service-card:hover .service-icon-wrapper {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--color-glow);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    transform: scale(1.08);
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.service-pill-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary-light);
    background: rgba(14, 165, 233, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.service-preview-title,
.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.service-preview-desc,
.service-card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.service-card-link,
.service-card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
}

.service-card-link:hover,
.service-card-action-link:hover {
    color: var(--color-glow);
    gap: 0.65rem;
}

/* ── 13. Projects Grid & Filter ── */
.filter-bar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
    width: 100%;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    border: none;
    padding: 0;
}

.filter-btn {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.16);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(15, 23, 42, 0.85);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.45);
}

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

.project-preview-card,
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.project-card.hidden {
    display: none;
}

.project-preview-img-wrapper,
.project-card-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
}

.project-preview-img-wrapper img,
.project-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    margin: 0;
    display: block;
    transition: transform var(--transition-slow);
}

.project-preview-card:hover .project-preview-img-wrapper img,
.project-card:hover .project-card-img-wrapper img {
    transform: scale(1.05);
}

.project-fallback-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(15, 23, 42, 0.95) 100%);
}

.project-fallback-img img.project-img-fallback {
    width: auto !important;
    height: auto !important;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain !important;
    padding: 1rem;
}

.project-preview-overlay,
.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 16, 0.95) 15%, rgba(8, 11, 16, 0.5) 60%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-preview-card:hover .project-preview-overlay,
.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-category-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-glow);
    background: rgba(14, 165, 233, 0.25);
    border: 1px solid rgba(0, 229, 255, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.project-card-desc {
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.project-action-circle,
.project-view-btn {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    align-self: flex-end;
}

.project-preview-footer,
.project-card-info {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.project-card-text,
.project-preview-footer > div,
.project-card-info > div {
    flex: 1;
    min-width: 0;
}

.project-preview-title,
.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    word-break: break-word;
}

.project-category-small,
.project-card-cat {
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.35rem;
}

.project-verified-badge {
    flex-shrink: 0;
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--color-glow);
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 0.2rem;
}

/* ── 14. Tangier Strategic Gateway Banner ── */
.tangier-banner {
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    border-color: rgba(56, 189, 248, 0.25);
}

.tangier-banner-glow {
    position: absolute;
    right: -100px;
    top: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    filter: blur(60px);
}

.tangier-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.tangier-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 820px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.tangier-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.tangier-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-highlight {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-glow);
}

.stat-highlight-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ── 15. Process Timeline Grid (Services Page) ── */
.process-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-card,
.process-step {
    padding: 2.25rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-glow);
    box-shadow: 0 0 10px var(--color-glow);
    margin-bottom: 1.25rem;
}

.process-title,
.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-desc,
.process-step-desc {
    color: var(--color-text-muted);
    font-size: 0.925rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.process-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary-light);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

/* ── 16. About Page Modern Styles ── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats-mini {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.75rem;
    margin-top: 2rem;
}

.mini-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-glow);
}

.mini-stat-lbl {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.about-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

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

.about-image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mission-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 4rem 3rem;
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: var(--shadow-card), 0 0 35px rgba(14, 165, 233, 0.15);
}

.mission-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
    font-style: italic;
}

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

.value-card {
    padding: 2.5rem 2rem;
}

.value-number-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

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

.team-card {
    padding: 2.75rem 1.75rem;
    text-align: center;
}

.team-img-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.75rem;
    border: 3px solid var(--color-primary-light);
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.3);
    transition: all var(--transition-base);
}

.team-card:hover .team-img-wrapper {
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
    border-color: var(--color-glow);
    transform: scale(1.05);
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    display: inline-block;
    margin-bottom: 0.85rem;
}

.team-bio {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

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

.value-item {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.value-item-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-glow), var(--color-primary));
}

.value-item-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-item-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ── 17. Contact Page Modern Styles ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
}

.contact-form-wrapper {
    padding: 3rem;
}

.form-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-glow);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.15rem;
    background: rgba(10, 15, 25, 0.75);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-glow);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
    background: rgba(15, 23, 42, 0.9);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-error {
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.contact-info-card {
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.contact-info-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: var(--color-text-muted);
    font-size: 0.925rem;
}

.map-placeholder {
    overflow: hidden;
    padding: 0.5rem;
}

/* ── 18. Store Page (Coming Soon) ── */
.store-hero-section {
    padding: 10rem 0 6rem;
}

.store-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    overflow: hidden;
}

.store-glow-bg {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
    filter: blur(80px);
}

.store-desc {
    max-width: 650px;
    margin: 0 auto 3rem;
}

.store-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    text-align: left;
}

.store-item-preview {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.store-item-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-glow);
    margin-bottom: 0.75rem;
}

.store-item-preview h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.store-item-preview p {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.store-cta-box {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.store-msg {
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* ── 19. High Impact Call to Action (CTA) ── */
.cta-section {
    padding: 5rem 0;
    position: relative;
}

.cta-card {
    padding: 4.5rem 3rem;
    max-width: 980px;
    margin: 0 auto;
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: var(--shadow-card), 0 0 50px rgba(14, 165, 233, 0.2);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 2.75rem;
    line-height: 1.75;
}

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

/* ── 20. Page Header (Subpages) ── */
.page-header {
    padding: 10.5rem 0 4.5rem;
    background: radial-gradient(ellipse at top, rgba(14, 165, 233, 0.15), transparent 70%), var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.7) contrast(1.1);
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(8, 11, 16, 0.5) 0%, rgba(8, 11, 16, 0.95) 100%);
    z-index: 0;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

/* ── 21. Alerts & Notifications ── */
.messages-container {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alert {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.alert-success {
    border: 1px solid #10b981;
    color: #10b981;
}

.alert-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ── 22. Modern Footer ── */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-ambient-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    filter: blur(60px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.4));
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #34d399;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.status-indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #34d399;
    box-shadow: 0 0 6px #34d399;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--color-primary-light);
    background: var(--color-primary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-glow);
    padding-left: 3px;
}

.footer-contact-info li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-email-link {
    color: var(--color-primary-light);
}

.footer-lang {
    margin-top: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    color: var(--color-text-dim);
}

.footer-bottom-badges {
    display: flex;
    gap: 0.5rem;
}

.tech-badge-inline {
    font-size: 0.725rem;
    color: var(--color-text-muted);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ── 23. Responsive Queries ── */
@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .services-preview-grid,
    .services-grid,
    .projects-preview-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 860px) {
    .hero-split {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
        gap: 2.5rem;
    }
    .hero-text-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        text-align: center;
        overflow: hidden;
    }
    .hero-visual-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    .hero-subtitle {
        margin-inline: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .tech-pills-row {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .about-split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .value-grid {
        grid-template-columns: 1fr;
    }
    .store-upcoming-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .navbar-wrapper {
        top: 0.5rem;
        padding: 0 0.75rem;
    }

    .navbar {
        border-radius: var(--radius-lg);
        padding: 0.4rem 1rem;
    }

    .brand-logo-img {
        height: 38px;
    }

    .nav-cta-desktop {
        display: none !important;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-links {
        display: none;
        position: fixed;
        top: 4.5rem;
        left: 0.75rem;
        right: 0.75rem;
        max-height: calc(100vh - 5.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(8, 11, 16, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(56, 189, 248, 0.25);
        border-radius: var(--radius-xl);
        padding: 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        z-index: 10000;
        animation: navDrawerFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes navDrawerFade {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .navbar-links.active {
        display: flex;
    }

    .nav-link {
        padding: 0.85rem 1.25rem;
        font-size: 1rem;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--color-border);
    }

    .mobile-nav-actions .btn {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
}

/* Hide floating action buttons (WhatsApp + Back-to-Top) when mobile nav drawer is open */
body.menu-open .whatsapp-float,
body.menu-open #whatsappFloat,
body.menu-open .back-to-top,
body.menu-open #backToTop,
body:has(#navLinks.active) .whatsapp-float,
body:has(#navLinks.active) #whatsappFloat,
body:has(#navLinks.active) .back-to-top,
body:has(#navLinks.active) #backToTop {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.7) translateY(12px) !important;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease !important;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4.5rem 0;
    }

    .nav-cta-desktop {
        display: none !important;
    }

    .services-preview-grid,
    .services-grid,
    .projects-preview-grid,
    .projects-grid,
    .process-timeline-grid,
    .team-grid,
    .values-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tangier-banner {
        padding: 2.5rem 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }

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

    .flag-switcher {
        gap: 0.35rem;
    }
}


/* ══════════════════════════════════════════════════
   FLAG-BASED LANGUAGE SWITCHER
   ══════════════════════════════════════════════════ */

.flag-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag-form {
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.flag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    position: relative;
    text-decoration: none;
}

.flag-btn:hover,
.flag-btn:focus {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-1px);
    text-decoration: none;
    outline: none;
}

.flag-btn.flag-active {
    border-color: var(--color-primary);
    background: rgba(14, 165, 233, 0.15);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}

.flag-btn.flag-active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.flag-icon {
    width: 22px;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.footer-lang {
    margin-top: 1rem;
}


/* ══════════════════════════════════════════════════
   ALERT MESSAGES
   ══════════════════════════════════════════════════ */

.messages-container {
    max-width: 700px;
    margin: 1rem auto;
    padding: 0 1.5rem;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--color-text);
    margin-bottom: 0.75rem;
    animation: slideDown 0.4s ease-out;
}

.alert-success { border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.1); }
.alert-error   { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.1); }
.alert-icon { font-size: 1.2rem; }
.alert-text { flex: 1; font-size: 0.925rem; }
.alert-close {
    background: none; border: none; color: var(--color-text-muted);
    cursor: pointer; font-size: 1.4rem; padding: 0 0.25rem; line-height: 1;
}

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


/* ══════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════════════════ */

.section-testimonials {
    padding: 7rem 0;
}

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

.testimonial-card {
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}

.testimonial-name {
    display: block;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-role {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}


/* ══════════════════════════════════════════════════
   CLIENT LOGOS
   ══════════════════════════════════════════════════ */

.section-clients {
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.clients-label {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2.5rem;
}

.clients-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo-item img {
    height: 52px;
    max-height: 56px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

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


/* ══════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════ */

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats-mini {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-stat-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mini-stat-lbl {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
}

.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(8, 11, 16, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
}

.about-image-badge .pin-icon { font-size: 1.3rem; }
.about-image-badge strong { display: block; color: var(--color-text); font-weight: 600; }
.about-image-badge small { display: block; color: var(--color-text-muted); font-size: 0.75rem; }

.mission-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.mission-quote {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    font-style: italic;
    border: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

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

.value-card { padding: 2rem; text-align: center; }
.value-number-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-title { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-text); margin-bottom: 0.75rem; }
.value-desc { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ══════════════════════════════════════════════════
   CONTACT INFO ITEMS (footer)
   ══════════════════════════════════════════════════ */

.contact-info-item-text {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-info-item-text small { display: block; }
.footer-email-link { color: var(--color-primary); text-decoration: none; }
.footer-email-link:hover { text-decoration: underline; }

.info-emoji { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }


/* ══════════════════════════════════════════════════
   RESPONSIVE (Continued — new sections)
   ══════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-split { grid-template-columns: 1fr; }
    .about-stats-mini { flex-wrap: wrap; }
    .value-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON WITH SOFT PULSE
   ══════════════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow:
        0 6px 20px rgba(37, 211, 102, 0.45),
        0 0 35px rgba(37, 211, 102, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 8px 28px rgba(37, 211, 102, 0.65),
        0 0 45px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-8px);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    background: rgba(8, 11, 16, 0.94);
    color: white;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    border: 1px solid rgba(56, 189, 248, 0.25);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Light ripple animations around WhatsApp icon */
.whatsapp-pulse-ring,
.whatsapp-pulse-ring-delayed {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    pointer-events: none;
    animation: waRingRipple 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}
.whatsapp-pulse-ring-delayed {
    animation-delay: 1.5s;
}

@keyframes waRingRipple {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* ══════════════════════════════════════════════════
   ASK FOR QUOTE NAV & BUTTON ANIMATIONS
   ══════════════════════════════════════════════════ */
.nav-cta-desktop {
    display: inline-flex;
    white-space: nowrap !important;
    flex-shrink: 0;
}
.btn-quote-animated {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap !important;
    flex-shrink: 0;
}
.btn-quote-animated span,
.btn-quote-animated svg,
.btn-quote-animated .quote-pulse-dot {
    white-space: nowrap !important;
    flex-shrink: 0;
}
.btn-quote-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(56, 189, 248, 0.8) !important;
}
.quote-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    animation: quoteDotPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}
@keyframes quoteDotPulse {
    0%, 100% {
        transform: scale(0.9);
        box-shadow: 0 0 4px #34d399;
    }
    50% {
        transform: scale(1.35);
        box-shadow: 0 0 12px #34d399, 0 0 18px rgba(52, 211, 153, 0.6);
    }
}
.nav-quote-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
}
.nav-quote-pill {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}


/* ══════════════════════════════════════════════════
   FOOTER SEO AREAS
   ══════════════════════════════════════════════════ */

.footer-seo-areas {
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    margin-bottom: 0;
}

.footer-seo-areas p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    opacity: 0.65;
    letter-spacing: 0.02em;
}

.footer-seo-areas span {
    color: rgba(14, 165, 233, 0.6);
}


/* ══════════════════════════════════════════════════
   STORE PAGE
   ══════════════════════════════════════════════════ */

.store-coming-soon {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.store-icon-big {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.store-coming-soon h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.store-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.store-preview-item {
    padding: 1.5rem;
    text-align: center;
}

.store-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.store-preview-item h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

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

@media (max-width: 700px) {
    .store-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
    }
    
    .badge-primary-text {
        font-size: 0.75rem;
    }
    .badge-sub-text {
        font-size: 0.65rem;
    }
    .back-to-top {
        bottom: 78px;
        right: 22px;
        width: 40px;
        height: 40px;
    }
}

/* ── Page Loading Transition ── */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 99999;
    pointer-events: none;
}
.loader-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-glow));
    box-shadow: 0 0 15px var(--color-glow);
    animation: loader-progress 0.6s ease-out forwards;
}
@keyframes loader-progress {
    0% { width: 0; opacity: 1; }
    80% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* ── Back to Top Button ── */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
    pointer-events: none;
    z-index: 9998;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 32px;
}

/* ── Client Logos Infinite Marquee ── */
.clients-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    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);
    padding: 1.5rem 0;
}
.clients-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    will-change: transform;
    animation: marquee-scroll 24s linear infinite;
}
.clients-marquee:hover .clients-marquee-track,
.clients-marquee-track:hover {
    animation-play-state: paused;
}
.client-logo-item,
.clients-marquee .client-logo-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 0.9rem 2rem;
    min-width: 190px;
    height: 82px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    outline: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.client-logo-item:hover,
.clients-marquee .client-logo-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 217, 255, 0.28), 0 6px 20px rgba(0, 0, 0, 0.45);
}
.client-logo-item:focus,
.clients-marquee .client-logo-item:focus {
    outline: none;
}
.client-logo-item:focus-visible,
.clients-marquee .client-logo-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 16px;
}
.client-logo-item img,
.clients-marquee .client-logo-item img {
    height: 52px;
    max-height: 56px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.client-logo-item:hover img,
.clients-marquee .client-logo-item:hover img {
    transform: scale(1.06);
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

[dir="rtl"] .clients-marquee-track {
    animation-name: marquee-scroll;
}

@media (prefers-reduced-motion: reduce) {
    .clients-marquee-track {
        animation-duration: 45s;
    }
}
/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.revealed > * {
    /* This selector has lower specificity, so 'revealed' class styles need to be here */
}
.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ══════════════════════════════════════════════════
   PROJECT DETAIL & CAROUSEL GALLERY
   ══════════════════════════════════════════════════ */

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: var(--color-primary);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.25);
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 600;
}

.project-detail-header {
    padding-bottom: 2rem;
}

.project-detail-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.project-detail-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-specs-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.75rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.spec-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.project-spec-item.spec-action {
    margin-left: auto;
}

[dir="rtl"] .project-spec-item.spec-action {
    margin-left: 0;
    margin-right: auto;
}

/* ── Carousel Gallery ── */
.project-gallery-section {
    padding-top: 0;
    padding-bottom: 3rem;
}

.project-carousel-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #050811;
    border-radius: 16px 16px 0 0;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #070b14;
    user-select: none;
}

.carousel-img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.4) 70%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

[dir="rtl"] .carousel-prev { left: auto; right: 1rem; transform: translateY(-50%) rotate(180deg); }
[dir="rtl"] .carousel-next { right: auto; left: 1rem; transform: translateY(-50%) rotate(180deg); }
[dir="rtl"] .carousel-prev:hover { transform: translateY(-50%) rotate(180deg) scale(1.08); }
[dir="rtl"] .carousel-next:hover { transform: translateY(-50%) rotate(180deg) scale(1.08); }

.carousel-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #22d3ee;
    backdrop-filter: blur(6px);
    z-index: 5;
}

[dir="rtl"] .carousel-counter {
    right: auto;
    left: 1rem;
}

.carousel-thumbnails {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    background: rgba(11, 17, 32, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb-btn {
    width: 80px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-btn.active, .thumb-btn:hover {
    opacity: 1;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
    transform: translateY(-2px);
}

/* ── Case Study Content Grid ── */
.project-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.project-narrative {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-block {
    padding: 2.25rem;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-block.highlight-border {
    border-left: 3px solid var(--color-primary);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(17, 24, 39, 0.6) 100%);
}

[dir="rtl"] .project-block.highlight-border {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 3px solid var(--color-primary);
}

.project-block-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.block-icon {
    font-size: 1.25rem;
}

.project-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.project-testimonial-card {
    position: relative;
    padding: 2.25rem 2.25rem 2.25rem 3rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[dir="rtl"] .project-testimonial-card {
    padding: 2.25rem 3rem 2.25rem 2.25rem;
}

.quote-mark {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 3.5rem;
    color: rgba(6, 182, 212, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

[dir="rtl"] .quote-mark {
    left: auto;
    right: 1rem;
}

.client-quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: #f1f5f9;
    margin: 0 0 1.25rem 0;
}

.quote-author-info strong {
    display: block;
    color: #22d3ee;
    font-size: 1rem;
}

.quote-author-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ── Sidebar & Reminder CTAs ── */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 6rem;
}

.sidebar-card {
    padding: 1.75rem;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-pill {
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-sidebar-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(6, 182, 212, 0.35);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.12);
}

.cta-sidebar-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.cta-sidebar-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cta-sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.btn-whatsapp {
    background: #059669;
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #047857;
    box-shadow: 0 0 16px rgba(5, 150, 105, 0.45);
    transform: translateY(-2px);
}

.project-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-title-link:hover {
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .project-content-grid {
        grid-template-columns: 1fr;
    }
    .project-sidebar {
        position: static;
    }
    .project-specs-grid {
        gap: 1.25rem;
    }
    .project-spec-item.spec-action {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}


/* ══════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ══════════════════════════════════════════════════ */

/* ── Global overflow prevention ── */
.hero-title,
.page-title,
.section-title,
.cta-title {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.hero-subtitle,
.page-subtitle,
.section-subtitle,
.cta-subtitle {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.main-content {
    overflow-x: hidden;
}

/* ── Tablet (≤992px) ── */
@media (max-width: 992px) {
    .container {
        padding-inline: 1.25rem;
        max-width: 100%;
    }
    .section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.2rem);
    }
    .hero-subtitle {
        font-size: 1.05rem;
        max-width: 100%;
    }
    .hero-split {
        gap: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
    .container {
        padding-inline: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-header {
        padding: 7.5rem 0 2.5rem;
    }
    .page-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .page-subtitle {
        font-size: 0.88rem;
    }
    .section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: clamp(1.3rem, 4.5vw, 1.75rem);
    }
    .section-subtitle {
        font-size: 0.85rem;
    }
    /* Hero */
    .hero-section {
        min-height: auto;
        padding-top: 6.5rem;
        padding-bottom: 3rem;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .hero-split {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .hero-text-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        overflow: hidden !important;
    }
    .hero-title {
        font-size: clamp(1.35rem, 5.5vw, 1.95rem) !important;
        line-height: 1.25 !important;
        letter-spacing: -0.02em !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 1.25rem !important;
    }
    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-inline: auto !important;
        margin-bottom: 2rem !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    .hero-badge-wrapper {
        padding: 0.35rem 0.85rem;
        font-size: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hero-badge-text {
        font-size: 0.75rem;
        white-space: normal;
        text-align: center;
    }
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.75rem !important;
        box-sizing: border-box !important;
        margin-bottom: 2rem !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.92rem !important;
    }
    .hero-tech-trust {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tech-pills-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tech-pill {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.65rem !important;
        box-sizing: border-box !important;
    }
    /* Console Mockup (Mobile) */
    .hero-visual-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .console-mockup-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    .console-mockup-wrapper::before {
        display: none !important;
    }
    .console-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .console-body {
        overflow-x: auto !important;
        padding: 0.85rem !important;
        font-size: 0.72rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .console-code {
        word-break: break-all !important;
        max-width: 100% !important;
    }
    .console-metrics-shelf {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        padding: 0.75rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .shelf-metric {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Buttons */
    .btn {
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }
    .btn-lg {
        padding: 0.85rem 1.5rem;
        font-size: 0.88rem;
    }
    .btn-sm {
        padding: 0.55rem 1rem;
        font-size: 0.78rem;
    }
    .btn-full {
        width: 100%;
    }
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    /* CTA */
    .cta-card {
        padding: 2rem 1.25rem;
    }
    .cta-title {
        font-size: 1.4rem;
    }
    .cta-subtitle {
        font-size: 0.88rem;
    }
    /* About page */
    .tangier-banner {
        padding: 2rem 1.25rem;
    }
    .tangier-banner h2 {
        font-size: 1.3rem;
    }
    /* Contact form */
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .contact-grid {
        gap: 2rem;
    }
    /* Footer */
    .footer {
        padding-top: 3rem;
    }
    .footer-tagline {
        font-size: 0.85rem;
    }
    .footer-heading {
        font-size: 0.9rem;
    }
    .footer-seo-areas {
        font-size: 0.75rem;
    }
    .footer-seo-areas p {
        line-height: 1.8;
    }
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-text {
        font-size: 0.92rem;
    }
    /* Client logos */
    .client-logos-track {
        gap: 2rem;
    }
    /* Services grid */
    .services-grid .glass-card,
    .projects-grid .glass-card {
        padding: 1.25rem;
    }
    /* Process steps */
    .process-timeline-grid {
        gap: 1.25rem;
    }
    /* Values */
    .value-grid {
        gap: 1.25rem;
    }
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    /* Filter bars (Projects & Blog) */
    .filter-bar-wrapper {
        margin-bottom: 2rem;
    }
    .filter-bar {
        gap: 0.4rem;
        max-width: 100%;
    }
    .filter-btn {
        font-size: 0.78rem;
        padding: 0.4rem 0.85rem;
    }
    .blog-filter-bar {
        gap: 0.4rem;
    }
    .blog-filter-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.9rem;
    }
    /* Ambient glows & orbs - hidden on mobile */
    .glow-orb-1,
    .glow-orb-2,
    .hero-glow-center {
        display: none !important;
    }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
    .container {
        padding-inline: 0.85rem !important;
    }
    .page-header {
        padding: 6.5rem 0 2rem;
    }
    .page-title {
        font-size: 1.35rem;
    }
    .hero-section {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }
    .hero-title {
        font-size: clamp(1.2rem, 5.5vw, 1.55rem) !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
    }
    .hero-badge-wrapper {
        padding: 0.3rem 0.7rem;
    }
    .hero-badge-text {
        font-size: 0.7rem;
    }
    .section {
        padding: 2.25rem 0;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .badge-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .glass-card {
        padding: 1rem;
    }
    .cta-card {
        padding: 1.5rem 1rem;
    }
    .cta-title {
        font-size: 1.15rem;
    }
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.82rem;
    }
    .footer-grid {
        gap: 2rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .footer-bottom-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    /* WhatsApp float */
    
    .whatsapp-float {
        width: 46px;
        height: 46px;
    }
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
    
    .back-to-top {
        width: 36px;
        height: 36px;
        bottom: 4.5rem;
        right: 1rem;
    }
    /* Blog cards */
    .blog-card-body {
        padding: 1rem;
    }
    .blog-card-title {
        font-size: 1rem;
    }
    .blog-card-excerpt {
        font-size: 0.82rem;
    }
    .blog-card-image,
    .blog-card-image-placeholder {
        height: 160px;
    }
    /* Navbar */
    .navbar {
        padding: 0.35rem 0.65rem;
    }
    .brand-logo-img {
        height: 32px;
        max-width: 120px;
    }
    .nav-cta-desktop {
        display: none !important;
    }
    .navbar-actions {
        gap: 0.35rem;
    }
    .flag-switcher {
        gap: 0.25rem;
    }
    .flag-icon {
        width: 18px;
        height: auto;
    }
    .flag-btn {
        width: 28px;
        height: 28px;
    }
    .navbar-toggle {
        width: 36px;
        height: 36px;
        padding: 0.45rem;
    }
    /* Glow orbs hidden */
    .glow-orb-1,
    .glow-orb-2,
    .hero-glow-center {
        display: none !important;
    }
}




/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY: Global Reduced Motion Override
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .ambient-glow,
    .glow-orb-1,
    .glow-orb-2,
    .footer-ambient-glow {
        display: none !important;
    }
    .page-loader {
        display: none !important;
    }
}

/* Performance: will-change for animated elements */
.ambient-glow,
.glow-orb-1,
.glow-orb-2 {
    will-change: transform, opacity;
    contain: layout style paint;
}

/* ═══════════════════════════════════════════════════════════════
   INTERACTIVE ENGAGEMENT SUITE (Curiosity & Navigation System)
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Navbar Spotlight Trigger Button ── */
.nav-spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 6px 13px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}
.nav-spotlight-btn:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}
.spotlight-kbd {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.7rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #94a3b8;
    line-height: 1.2;
}
.nav-spotlight-btn:hover .spotlight-kbd {
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}
.mobile-spotlight-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

@media (max-width: 991px) {
    .nav-spotlight-btn .spotlight-btn-label,
    .nav-spotlight-btn .spotlight-kbd {
        display: none;
    }
    .nav-spotlight-btn {
        padding: 7px;
        width: 34px;
        height: 34px;
        justify-content: center;
    }
}

/* ── 2. Command Palette / Spotlight Modal ── */
.spotlight-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 1.25rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.spotlight-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.spotlight-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.spotlight-box {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 660px;
    background: #090e1a;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(56, 189, 248, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    transform: scale(0.95) translateY(-12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.spotlight-overlay.active .spotlight-box {
    transform: scale(1) translateY(0);
}
.spotlight-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.65);
}
.spotlight-search-icon {
    color: #38bdf8;
    flex-shrink: 0;
}
.spotlight-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 1.05rem;
    font-family: inherit;
}
.spotlight-input::placeholder {
    color: #64748b;
}
.spotlight-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s;
}
.spotlight-close-btn:hover {
    color: #f8fafc;
}
.spotlight-results {
    overflow-y: auto;
    padding: 14px 14px;
    flex: 1;
    max-height: 55vh;
}
.spotlight-group {
    margin-bottom: 16px;
}
.spotlight-group-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 4px 10px;
    margin-bottom: 4px;
}
.spotlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    transition: background 0.15s ease, transform 0.15s ease;
}
.spotlight-item:hover,
.spotlight-item.focused {
    background: rgba(56, 189, 248, 0.14);
    transform: translateX(4px);
}
[dir="rtl"] .spotlight-item:hover,
[dir="rtl"] .spotlight-item.focused {
    transform: translateX(-4px);
}
.spotlight-item-icon {
    font-size: 1.25rem;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}
.spotlight-item-text {
    flex: 1;
    min-width: 0;
}
.spotlight-item-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
}
.spotlight-item-desc {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.spotlight-item-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    flex-shrink: 0;
}
.spotlight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 15, 26, 0.85);
    font-size: 0.75rem;
    color: #64748b;
}
.spotlight-shortcuts-hint {
    display: flex;
    gap: 12px;
}
.spotlight-mini-kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    padding: 1px 4px;
    font-family: monospace;
    color: #94a3b8;
    margin-right: 2px;
}
.spotlight-branding {
    font-weight: 600;
    color: #38bdf8;
}

/* ── 3. Hero Console Interactive Tabs ── */
.console-tabs-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px;
    border-radius: 8px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.console-tabs-nav::-webkit-scrollbar {
    display: none;
}
.console-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.25;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.console-tab-btn:hover {
    color: #f1f5f9;
}
.console-tab-btn.active {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.console-tab-pane {
    display: none;
    animation: consolePaneFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.console-tab-pane.active {
    display: block;
}
@keyframes consolePaneFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Telemetry Grid */
.telemetry-dashboard-body {
    padding: 18px 20px;
}
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.telemetry-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}
.telemetry-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.telemetry-radar-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}
.pulse-cyan { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }
.pulse-amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.telemetry-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}
.telemetry-val {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
}
.telemetry-val small {
    font-size: 0.82rem;
    font-weight: 500;
    color: #94a3b8;
}
.telemetry-bar-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    margin: 8px 0 6px;
    overflow: hidden;
}
.telemetry-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #38bdf8);
    border-radius: 9999px;
}
.bar-cyan { background: #38bdf8; }
.bar-amber { background: #f59e0b; }
.telemetry-sub {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
}

/* Radar Cloud */
.radar-cloud-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.radar-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
    margin-bottom: 8px;
    display: block;
}
.radar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.radar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.82rem;
    color: #e2e8f0;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s ease;
}
.radar-pill:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    transform: translateY(-2px);
}
.radar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
}

/* ── 4. Morocco Regional Hubs Corridor ── */
.hubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 991px) {
    .hubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .hubs-grid {
        grid-template-columns: 1fr;
    }
}
.hub-card {
    padding: 18px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 14px 35px -10px rgba(56, 189, 248, 0.2);
}
.hub-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.hub-radar-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: beaconPulse 2s infinite;
}
@keyframes beaconPulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.hub-city-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
}
.hub-role-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    margin-left: auto;
}
[dir="rtl"] .hub-role-badge {
    margin-left: 0;
    margin-right: auto;
}
.hub-card-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 14px;
}
.hub-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── 5. Interactive Project Estimator ── */
.section-estimator-teaser {
    padding: 3.5rem 0;
}
.estimator-teaser-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(10, 15, 26, 0.9) 100%);
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6), 0 0 35px rgba(56, 189, 248, 0.1);
}
.estimator-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
}
.estimator-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0.75rem 0;
}
.estimator-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}
.estimator-tabs-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.estimator-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 10px 18px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.estimator-tab-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}
.estimator-tab-btn.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45);
}
.est-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .est-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .est-preview-grid {
        grid-template-columns: 1fr;
    }
}
.est-metric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
}
.est-metric-lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
}
.est-metric-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #38bdf8;
}
.est-details-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(10, 15, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 24px;
}
@media (max-width: 768px) {
    .est-details-row {
        flex-direction: column;
        text-align: center;
    }
}
.est-bp-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f1f5f9;
    display: block;
    margin-bottom: 4px;
}
.est-bp-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}
.est-cta-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.est-guarantee-note {
    font-size: 0.75rem;
    color: #64748b;
}

/* ── 6. Card Mouse Spotlight Radial Highlight ── */
.glass-card,
.service-preview-card,
.project-preview-card,
.bento-card,
.estimator-teaser-card,
.hub-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.glass-card::before,
.service-preview-card::before,
.project-preview-card::before,
.bento-card::before,
.estimator-teaser-card::before,
.hub-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        420px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
        rgba(56, 189, 248, 0.12),
        transparent 75%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.glass-card:hover::before,
.service-preview-card:hover::before,
.project-preview-card:hover::before,
.bento-card:hover::before,
.estimator-teaser-card:hover::before,
.hub-card:hover::before {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════
   1. UPGRADED ⌘K COMMAND PALETTE (LIVE SEARCH & HIGHLIGHTS)
   ══════════════════════════════════════════════════════════════════ */
.spotlight-match {
    background: rgba(56, 189, 248, 0.22);
    color: #38bdf8;
    font-weight: 700;
    border-radius: 3px;
    padding: 0 3px;
    text-decoration: none;
}
.spotlight-empty-state {
    padding: 40px 24px;
    text-align: center;
    color: #94a3b8;
}
.spotlight-empty-icon {
    font-size: 2.2rem;
    display: inline-block;
    margin-bottom: 12px;
}
.spotlight-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 6px;
}
.spotlight-empty-sub {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0 0 20px;
}
.spotlight-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
}
.spotlight-loading-spinner {
    padding: 28px;
    text-align: center;
    color: #38bdf8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ══════════════════════════════════════════════════════════════════
   2. STICKY MINI-CTA BAR
   ══════════════════════════════════════════════════════════════════ */
.sticky-mini-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    width: calc(100% - 32px);
    max-width: 860px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
}
.sticky-mini-cta.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.12);
}
.sticky-cta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.sticky-cta-beacon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #38bdf8;
    flex-shrink: 0;
    box-shadow: 0 0 12px #38bdf8;
    animation: sticky-pulse 2s infinite;
}
@keyframes sticky-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.3); }
}
.sticky-cta-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sticky-cta-headline {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-cta-subline {
    font-size: 0.78rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-cta-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.sticky-cta-buttons .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
}
.sticky-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #059669;
    color: #ffffff !important;
}
.sticky-cta-btn-wa:hover {
    background: #047857;
}
.sticky-cta-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
    transition: color 0.15s;
}
.sticky-cta-close:hover {
    color: #f1f5f9;
}

/* Elevate WhatsApp and Back-to-Top when sticky CTA is active on desktop */
body.sticky-cta-active .whatsapp-float {
    bottom: 96px !important;
    transition: bottom 0.3s ease;
}
body.sticky-cta-active .back-to-top {
    bottom: 160px !important;
    transition: bottom 0.3s ease;
}

/* Sticky CTA on Mobile */
@media (max-width: 768px) {
    .sticky-mini-cta {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: translateY(100%);
        border-radius: 0;
    }
    .sticky-mini-cta.active {
        transform: translateY(0);
    }
    .sticky-cta-inner {
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        border-left: none;
        border-right: none;
        padding: 12px 16px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .sticky-cta-copy {
        text-align: center;
    }
    .sticky-cta-headline {
        white-space: normal;
    }
    .sticky-cta-subline {
        display: none; /* Keep mobile bar super compact */
    }
    .sticky-cta-buttons {
        justify-content: center;
        width: 100%;
    }
    .sticky-cta-buttons .btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    .sticky-cta-close {
        position: absolute;
        top: 6px;
        right: 8px;
    }
    body.sticky-cta-active .whatsapp-float {
        bottom: 110px !important;
    }
    body.menu-open .sticky-mini-cta {
        display: none !important;
    }
}

/* RTL for Sticky CTA */
[dir="rtl"] .sticky-cta-buttons {
    flex-direction: row-reverse;
}
[dir="rtl"] .sticky-cta-copy {
    text-align: right;
}
[dir="rtl"] .sticky-cta-btn-quote .btn-arrow {
    transform: scaleX(-1);
}
@media (max-width: 768px) {
    [dir="rtl"] .sticky-cta-close {
        right: auto;
        left: 8px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .sticky-mini-cta {
        transition: none !important;
    }
    .sticky-cta-beacon {
        animation: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   3. NEWSLETTER: "MOROCCO WEB TIPS"
   ══════════════════════════════════════════════════════════════════ */
.newsletter-widget {
    margin: 2.5rem 0 1.5rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.newsletter-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.newsletter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.5rem;
}
.newsletter-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 650px;
}
.newsletter-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 580px;
}
.newsletter-input {
    flex: 1;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: #f1f5f9;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.newsletter-submit-btn {
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.newsletter-compliance-note {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 0.75rem;
    margin-bottom: 0;
}
.newsletter-compliance-note a {
    color: #94a3b8;
    text-decoration: underline;
}
.newsletter-feedback {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    min-height: 1.2rem;
}
.newsletter-feedback.success {
    color: #38bdf8;
}
.newsletter-feedback.error {
    color: #f87171;
}
.newsletter-feedback.info {
    color: #fbbf24;
}

/* Standalone Blog Post Newsletter Card */
.newsletter-card {
    margin: 3rem 0 2rem;
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
}
.newsletter-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0.75rem 0 0.5rem;
}
.newsletter-card-desc {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
    .newsletter-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════════════════════════
   4. ANIMATED 5-STEP DELIVERY PROCESS TIMELINE
   ══════════════════════════════════════════════════════════════════ */
.section-process-timeline {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.timeline-container {
    position: relative;
    margin-top: 3rem;
}
.timeline-track-rail {
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}
.timeline-track-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}
.process-step-node {
    display: flex;
    flex-direction: column;
    opacity: 0.55;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step-node.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.step-card {
    height: 100%;
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.step-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.step-num-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
}
.step-duration-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.step-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.process-step-node.is-visible .step-icon-bubble {
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}
.step-emoji {
    font-size: 1.4rem;
}
.step-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}
.step-card-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Vertical Process Timeline on Tablets and Mobile */
@media (max-width: 960px) {
    .timeline-track-rail {
        top: 24px;
        bottom: 24px;
        left: 28px;
        right: auto;
        width: 3px;
        height: auto;
    }
    .timeline-track-progress {
        width: 100%;
        height: 0%;
        transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .process-timeline-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 60px;
    }
    .process-step-node::before {
        content: '';
        position: absolute;
        left: -42px;
        top: 24px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #0f172a;
        border: 2px solid #38bdf8;
        z-index: 3;
    }
    .process-step-node.is-visible::before {
        background: #38bdf8;
        box-shadow: 0 0 12px #38bdf8;
    }
}

/* RTL for Process Timeline */
[dir="rtl"] .timeline-track-progress {
    background: linear-gradient(270deg, #38bdf8 0%, #6366f1 100%);
}
@media (max-width: 960px) {
    [dir="rtl"] .timeline-track-rail {
        left: auto;
        right: 28px;
    }
    [dir="rtl"] .process-timeline-list {
        padding-left: 0;
        padding-right: 60px;
    }
    [dir="rtl"] .process-step-node::before {
        left: auto;
        right: -42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-step-node {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .timeline-track-progress {
        transition: none !important;
        width: 100% !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   5. CLIENT DASHBOARD DEMO
   ══════════════════════════════════════════════════════════════════ */
.client-demo-page {
    padding-bottom: 5rem;
}
.demo-header {
    padding: 3.5rem 0 2rem;
}
.demo-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}
.demo-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f5a0;
    box-shadow: 0 0 8px #00f5a0;
    animation: sticky-pulse 1.8s infinite;
}
.demo-dashboard-container {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}
.demo-dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}
.demo-project-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}
.demo-avatar {
    font-size: 1.8rem;
}
.demo-project-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
}
.demo-client-name {
    font-size: 0.82rem;
    color: #94a3b8;
}
.demo-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(0, 245, 160, 0.1);
    border: 1px solid rgba(0, 245, 160, 0.3);
    color: #00f5a0;
}
.pulse-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f5a0;
    box-shadow: 0 0 6px #00f5a0;
}
.demo-tabs-nav {
    display: flex;
    background: rgba(11, 17, 32, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}
.demo-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.demo-tab-btn:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.02);
}
.demo-tab-btn.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
    background: rgba(56, 189, 248, 0.06);
}
.tab-counter {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.tab-badge-progress {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}
.demo-tab-pane {
    display: none;
    padding: 28px;
    animation: demo-fade-in 0.25s ease-out;
}
.demo-tab-pane.active {
    display: block;
}
@keyframes demo-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.demo-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
@media (max-width: 900px) {
    .demo-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .demo-metrics-grid {
        grid-template-columns: 1fr;
    }
}
.demo-metric-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
}
.metric-title {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}
.metric-val {
    font-size: 1.7rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
    margin-bottom: 4px;
}
.trend-up {
    font-size: 0.82rem;
    font-weight: 700;
    color: #00f5a0;
    vertical-align: middle;
}
.text-cyan { color: #38bdf8; }
.text-green { color: #00f5a0; }
.metric-caption {
    font-size: 0.75rem;
    color: #64748b;
}

/* SVG Chart */
.demo-chart-section {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
}
.demo-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}
.demo-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}
.demo-chart-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: #94a3b8;
}
.legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 4px;
}
.dot-cyan { background: #38bdf8; }
.dot-indigo { background: #6366f1; }
.svg-chart-wrapper {
    width: 100%;
}
.demo-svg-chart {
    width: 100%;
    height: 180px;
    display: block;
}
.chart-x-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px 0;
    font-size: 0.75rem;
    color: #64748b;
}

/* Tables */
.demo-table-section {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}
.demo-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: 0.88rem;
    text-align: left;
}
[dir="rtl"] .demo-table {
    text-align: right;
}
.demo-table th {
    padding: 12px 14px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-table td {
    padding: 14px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.http-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}
.http-badge.get { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.http-badge.post { background: rgba(0, 245, 160, 0.15); color: #00f5a0; }
.status-indicator-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 6px;
}
.status-indicator-dot.online { background: #00f5a0; box-shadow: 0 0 6px #00f5a0; }

/* Tickets */
.demo-tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.demo-sub-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 4px 0 0;
}
.ticket-filter-bar {
    display: flex;
    gap: 8px;
}
.btn-filter {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
}
.btn-filter.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
}
.demo-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ticket-item-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    transition: border-color 0.2s;
}
.ticket-item-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}
.ticket-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    flex-wrap: wrap;
}
.ticket-id {
    font-weight: 700;
    color: #38bdf8;
}
.ticket-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
}
.badge-in_progress { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.badge-resolved { background: rgba(0, 245, 160, 0.15); color: #00f5a0; }
.badge-open { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.ticket-priority { color: #cbd5e1; }
.ticket-updated { color: #64748b; margin-left: auto; }
[dir="rtl"] .ticket-updated { margin-left: 0; margin-right: auto; }
.ticket-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 10px;
}
.ticket-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 8px;
}

/* Invoices */
.demo-invoices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.invoice-summary-pill {
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #f8fafc;
}
.invoice-summary-pill strong {
    color: #38bdf8;
}
.invoice-amount {
    font-weight: 700;
    color: #f8fafc;
}
.badge-status-paid {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0, 245, 160, 0.15);
    color: #00f5a0;
}
.badge-status-pending {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* Milestones */
.milestones-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}
.milestone-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366f1;
}
.milestone-progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
}
.milestone-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8 0%, #6366f1 100%);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}
.milestones-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.milestone-step-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.milestone-step-row.is-done {
    border-color: rgba(0, 245, 160, 0.25);
}
.milestone-step-row.is-current {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.05);
}
.m-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}
.is-done .m-step-icon { background: rgba(0, 245, 160, 0.15); color: #00f5a0; }
.is-current .m-step-icon { background: rgba(56, 189, 248, 0.18); color: #38bdf8; box-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }
.is-future .m-step-icon { background: rgba(255, 255, 255, 0.05); color: #64748b; }
.m-step-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.m-step-title {
    font-weight: 600;
    color: #f1f5f9;
}
.m-step-date {
    font-size: 0.8rem;
    color: #94a3b8;
}
.is-current .m-step-date {
    color: #38bdf8;
    font-weight: 600;
}

/* Bottom CTA */
.demo-bottom-cta {
    padding: 3.5rem 0;
}
.demo-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

/* Home Demo Teaser Card */
.section-demo-teaser {
    padding: 4rem 0 2rem;
}
.demo-portal-teaser-card {
    padding: 3rem;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.55) 100%);
}
.demo-teaser-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 900px) {
    .demo-teaser-split {
        grid-template-columns: 1fr;
    }
}
.demo-teaser-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.demo-mini-console {
    background: #090e17;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}
.mini-console-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mini-console-header .mini-title {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-left: 8px;
    font-family: monospace;
}
.mini-console-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mini-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 8px;
}
.mini-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 576px) {
    .console-header {
        padding: 0.5rem 0.75rem;
    }
    .console-dots {
        display: none;
    }
    .console-tab-btn {
        font-size: 0.72rem;
        padding: 3px 7px;
    }
}
@media (max-width: 380px) {
    .console-live-pill {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════════════
   6. ADVANCED MOBILE RESPONSIVENESS & TOUCH TARGET POLISH
   ══════════════════════════════════════════════════════════════════ */

/* Generic Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}
.table-responsive::-webkit-scrollbar {
    height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 4px;
}

/* Spotlight Command Palette on Mobile */
@media (max-width: 640px) {
    .spotlight-overlay {
        padding: 10px 8px;
        align-items: flex-start;
        padding-top: max(16px, env(safe-area-inset-top));
    }
    .spotlight-box {
        max-height: 88vh;
        border-radius: 16px;
    }
    .spotlight-search-bar {
        padding: 12px 14px;
        gap: 8px;
    }
    .spotlight-input {
        font-size: 0.95rem;
    }
    .spotlight-results {
        padding: 10px 10px;
        max-height: 60vh;
    }
    .spotlight-item {
        padding: 9px 10px;
        gap: 10px;
    }
    .spotlight-item-title {
        font-size: 0.88rem;
    }
    .spotlight-item-desc {
        font-size: 0.76rem;
        line-height: 1.4;
    }
    .spotlight-item-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .spotlight-shortcuts-hint {
        display: none;
    }
    .spotlight-footer {
        justify-content: center;
        padding: 8px 14px;
        font-size: 0.72rem;
    }
}

/* Newsletter Card Mobile Refinements */
@media (max-width: 600px) {
    .newsletter-card {
        padding: 1.5rem 1.15rem;
        margin: 2rem 0 1.5rem;
        border-radius: 14px;
    }
    .newsletter-card-title {
        font-size: 1.18rem;
        line-height: 1.35;
    }
    .newsletter-card-desc {
        font-size: 0.86rem;
        line-height: 1.6;
    }
    .newsletter-input {
        font-size: 0.9rem;
        padding: 12px 14px;
    }
    .newsletter-submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .newsletter-compliance-note {
        font-size: 0.72rem;
        line-height: 1.5;
    }
}

/* Process Timeline on Small Mobile */
@media (max-width: 480px) {
    .timeline-track-rail {
        left: 18px;
        width: 2px;
    }
    .process-timeline-list {
        padding-left: 44px;
        gap: 1.25rem;
    }
    .process-step-node::before {
        left: -33px;
        width: 14px;
        height: 14px;
        top: 20px;
    }
    .step-card-node {
        padding: 1.25rem 1rem;
    }
    .step-card-title {
        font-size: 0.98rem;
    }
    .step-card-desc {
        font-size: 0.8rem;
    }
}

/* Client Dashboard Demo on Mobile */
@media (max-width: 640px) {
    .demo-portal-card {
        border-radius: 14px;
    }
    .demo-header-bar {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .demo-tab-btn {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    .demo-tab-pane {
        padding: 18px 14px;
    }
    .demo-metric-card {
        padding: 14px;
    }
    .metric-val {
        font-size: 1.45rem;
    }
    .demo-chart-section {
        padding: 16px 12px;
    }
    .demo-chart-legend {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.75rem;
    }
    .ticket-filter-pills {
        gap: 6px;
    }
    .ticket-filter-btn {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    .demo-portal-teaser-card {
        padding: 1.75rem 1.25rem;
    }
}

/* Quote Wizard on Small Mobile */
@media (max-width: 480px) {
    .wizard-card {
        padding: 1.25rem 1rem !important;
    }
    .wizard-card h2 {
        font-size: 1.15rem !important;
    }
    .wizard-nav {
        flex-direction: column-reverse !important;
        gap: 0.75rem !important;
    }
    .btn-wizard {
        width: 100% !important;
        justify-content: center !important;
    }
    .btn-wizard-next {
        margin-left: 0 !important;
    }
}





/* ── Accessibility ── */

/* Skip-to-content link (visible only on keyboard focus) */
.skip-to-content {
    position: fixed;
    top: -200px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(50%);
    background: var(--color-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    z-index: 100000;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.skip-to-content:focus-visible {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: none;
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .page-loader { display: none !important; }
    .ambient-glow { display: none !important; }
    .hero-title .text-gradient { background-size: 100% !important; }
}

/* Print styles */
@media print {
    .navbar-wrapper, .footer, .cookie-consent-banner,
    .sticky-mini-cta, .ambient-glow, .page-loader,
    .mobile-nav-toggle, .navbar-actions { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .main-content { padding: 0 !important; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}


/* ═══════════════════════════════════════════════════
   getNexiro Dev & Dropshipping Store Styles
   ═══════════════════════════════════════════════════ */

.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: var(--color-text);
    transition: all 0.2s ease;
}
.nav-cart-btn:hover {
    border-color: var(--color-primary-light);
    color: var(--color-accent);
    transform: translateY(-1px);
}
.nav-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #020617;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.store-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 1.4rem;
}
.store-trust-pill {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #cbd5e1;
}

.store-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.store-search-form {
    display: flex;
    flex: 1 1 420px;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.store-search-input {
    flex: 1 1 220px;
    min-width: 0;
}
.store-sort-select,
.store-currency-select {
    width: auto;
    min-width: 96px;
}
.store-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.store-cart-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.35);
    font-size: 12px;
    font-weight: 800;
    margin-inline-start: 4px;
}

.store-filters-wrap {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.store-filter-pills,
.store-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-pill,
.type-pill {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(15, 23, 42, 0.6);
    color: #cbd5e1;
    transition: all 0.2s ease;
}
.type-pill {
    font-size: 0.78rem;
    padding: 5px 12px;
}
.filter-pill:hover,
.filter-pill.active,
.type-pill:hover,
.type-pill.active {
    background: rgba(14, 165, 233, 0.22);
    border-color: var(--color-primary-light);
    color: #fff;
}

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.store-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.store-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
}
.store-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #060911;
    overflow: hidden;
}
.store-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.store-product-card:hover .store-card-media img {
    transform: scale(1.03);
}
.store-card-emoji-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.store-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
}
.store-promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(14, 165, 233, 0.9);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}
.store-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.store-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.store-cat-tag {
    color: var(--color-primary-light);
    font-weight: 600;
}
.store-rating {
    color: #fbbf24;
    font-weight: 700;
}
.store-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.45rem;
}
.store-card-title a {
    color: var(--color-text);
}
.store-card-title a:hover {
    color: var(--color-primary-light);
}
.store-card-desc {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0.85rem;
    flex: 1;
}
.store-shipping-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.ship-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}
.ship-badge.ship-cod {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
}
.ship-badge.ship-digital {
    background: rgba(14, 165, 233, 0.16);
    color: #38bdf8;
}
.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(56, 189, 248, 0.12);
}
.store-price-wrap {
    display: flex;
    flex-direction: column;
}
.store-price-now {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}
.store-price-old {
    font-size: 0.82rem;
    color: var(--color-text-dim);
    text-decoration: line-through;
}
.store-card-actions {
    display: flex;
    gap: 0.45rem;
}

/* Product Detail Page */
.store-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    padding: 2rem;
    align-items: start;
}
.store-detail-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #060911;
    border: 1px solid rgba(56, 189, 248, 0.16);
}
.store-detail-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.store-detail-emoji {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}
.store-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
}
.store-thumb-btn {
    width: 64px;
    height: 48px;
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.25);
    background: transparent;
    cursor: pointer;
}
.store-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.store-detail-title {
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    margin: 0.35rem 0 0.3rem;
}
.store-detail-sku {
    font-size: 0.84rem;
    margin-bottom: 1rem;
}
.store-detail-price-box {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    margin-bottom: 1.25rem;
}
.store-detail-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-accent);
}
.store-detail-desc {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.store-buy-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}
.store-qty-input {
    width: 82px;
    text-align: center;
}
.store-fulfillment-box {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.88rem;
}
.store-specs-box {
    margin-top: 1.5rem;
}
.store-specs-box h3 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
}
.store-specs-box ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Cart & Checkout Layouts */
.store-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.store-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
    gap: 1.75rem;
    align-items: start;
}
.store-cart-items,
.store-checkout-form,
.store-summary-box {
    padding: 1.75rem;
}
.store-summary-box {
    position: sticky;
    top: 96px;
}
.store-cart-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}
.store-cart-row:last-child {
    border-bottom: none;
}
.store-cart-thumb {
    width: 76px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #060911;
    display: flex;
    align-items: center;
    justify-content: center;
}
.store-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.store-cart-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.store-cart-unit {
    font-size: 0.86rem;
    color: var(--color-primary-light);
    font-weight: 600;
}
.store-cart-controls {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.store-qty-form {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}
.store-qty-sm {
    width: 64px;
    padding: 6px 8px;
}
.store-cart-line-total {
    font-weight: 800;
    font-size: 1.02rem;
    min-width: 84px;
    text-align: end;
}
.summary-line,
.summary-total,
.checkout-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
}
.summary-total {
    margin-top: 0.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(56, 189, 248, 0.22);
    font-size: 1.2rem;
    color: var(--color-accent);
}
.checkout-mini-items {
    border-bottom: 1px solid rgba(56, 189, 248, 0.14);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
}
.store-payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.15rem;
    font-size: 0.78rem;
    color: #94a3b8;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.payment-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.9rem;
}
.payment-option-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.18);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.payment-option-card:has(input:checked) {
    border-color: var(--color-primary-light);
    background: rgba(14, 165, 233, 0.12);
}
.payment-option-body {
    flex: 1;
}
.payment-option-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}
.badge-pill {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.16);
    color: var(--color-accent);
}
.store-error-banner {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(127, 29, 29, 0.25);
    color: #fecaca;
}
.store-digital-notice,
.store-sandbox-banner,
.store-retry-box {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    margin: 1rem 0;
    text-align: start;
}

/* Order Confirmation & Tracker */
.store-order-card {
    padding: 2rem;
}
.store-order-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}
.store-order-total-pill {
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    display: flex;
    flex-direction: column;
    text-align: end;
}
.store-order-total-pill strong {
    font-size: 1.35rem;
    color: var(--color-accent);
}
.store-order-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.status-cell {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.store-order-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.store-order-item-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.12);
}
.store-shipping-summary {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.5);
}

@media (max-width: 900px) {
    .store-detail-grid,
    .store-two-col {
        grid-template-columns: 1fr;
    }
    .store-summary-box {
        position: static;
    }
    .store-order-status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .store-cart-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }
    .store-cart-controls,
    .store-cart-line-total {
        grid-column: 1 / -1;
        text-align: start;
    }
    .store-detail-grid,
    .store-cart-items,
    .store-checkout-form,
    .store-summary-box,
    .store-order-card {
        padding: 1.25rem;
    }
}


/* ── Hover Cart Popover (Global Navbar) ── */
.nav-cart-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.hover-cart-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 356px;
    max-width: calc(100vw - 24px);
    background: rgba(11, 15, 25, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72), 0 0 28px rgba(14, 165, 233, 0.14);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
/* Invisible hover bridge so cursor never drops hover moving into dropdown */
.hover-cart-dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}
.nav-cart-wrapper:hover .hover-cart-dropdown,
.nav-cart-wrapper:focus-within .hover-cart-dropdown,
.nav-cart-wrapper.hover-cart-open .hover-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.hover-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}
.hover-cart-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #f8fafc;
}
.hover-cart-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    display: none;
}
.hover-cart-close:hover {
    color: #fff;
}
.hover-cart-body {
    max-height: 310px;
    overflow-y: auto;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hover-cart-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.55rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.12);
}
.hover-cart-thumb {
    width: 52px;
    height: 44px;
    border-radius: 7px;
    overflow: hidden;
    background: #060911;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hover-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hover-cart-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.hover-cart-item-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hover-cart-item-title:hover {
    color: var(--color-primary-light);
}
.hover-cart-variant {
    font-size: 0.72rem;
    color: #94a3b8;
}
.hover-cart-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.15rem;
}
.hover-cart-qty-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 6px;
    padding: 1px 5px;
}
.hc-qty-btn {
    background: transparent;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 3px;
}
.hc-qty-btn:hover {
    color: var(--color-accent);
}
.hc-qty-val {
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 14px;
    text-align: center;
}
.hover-cart-price {
    font-size: 0.84rem;
    color: var(--color-accent);
}
.hover-cart-remove {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #fca5a5;
    border-radius: 7px;
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.hover-cart-remove:hover {
    background: rgba(239, 68, 68, 0.28);
    color: #fff;
}
.hover-cart-empty {
    text-align: center;
    padding: 1.5rem 0.75rem;
    color: #94a3b8;
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.hover-cart-footer {
    padding: 0.9rem 1.1rem 1rem;
    border-top: 1px solid rgba(56, 189, 248, 0.14);
}
.hover-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
}
.hover-cart-subtotal-row strong {
    font-size: 1.05rem;
    color: var(--color-accent);
}
.hover-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

@media (max-width: 900px) {
    .hover-cart-close {
        display: inline-block;
    }
}
@media (max-width: 640px) {
    .hover-cart-dropdown {
        position: fixed;
        top: 76px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }
}
