/* =========================================================
   ZXMOTO ALGÉRIE BY ZCARS (ZAKI IN CHINA)
   Landing Page - Futuristic Racing Design
   ========================================================= */

:root {
    --bg-main: #03070d;
    --bg-secondary: #07111f;
    --bg-tertiary: #0a1728;

    --surface: rgba(10, 23, 40, 0.62);
    --surface-strong: rgba(11, 27, 47, 0.85);
    --surface-hover: rgba(16, 36, 61, 0.9);

    --border: rgba(125, 181, 255, 0.15);
    --border-hover: rgba(79, 167, 255, 0.45);

    --text-primary: #f4f8ff;
    --text-secondary: #a9b9cc;
    --text-muted: #71839a;

    --blue: #4ca7ff;
    --blue-bright: #82c8ff;
    --blue-deep: #1675d1;

    --gold: #d6a936;
    --gold-light: #f1cf68;

    --success: #39d98a;

    --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.28);

    --radius-large: 28px;
    --radius-medium: 18px;
    --radius-small: 12px;

    --transition-fast: 180ms ease;
    --transition-normal: 350ms cubic-bezier(0.22, 1, 0.36, 1);

    --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.light-mode {
    --bg-main: #eef4fa;
    --bg-secondary: #e4edf7;
    --bg-tertiary: #dce8f4;

    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 255, 255, 0.88);
    --surface-hover: rgba(255, 255, 255, 0.98);

    --border: rgba(21, 79, 128, 0.14);
    --border-hover: rgba(21, 119, 205, 0.42);

    --text-primary: #0a1727;
    --text-secondary: #40546a;
    --text-muted: #6d8094;

    --blue: #1679d3;
    --blue-bright: #258fe9;
    --blue-deep: #075ca8;

    --gold: #b18416;
    --gold-light: #c99d2b;

    --shadow: 0 24px 70px rgba(25, 66, 103, 0.16);
    --shadow-soft: 0 12px 36px rgba(25, 66, 103, 0.12);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: var(--font-main);
    color: var(--text-primary);
    background:
        radial-gradient(circle at 50% -10%, rgba(42, 118, 210, 0.2), transparent 44%),
        linear-gradient(145deg, var(--bg-main) 0%, var(--bg-secondary) 55%, var(--bg-main) 100%);
    overflow-x: hidden;
    transition: background 700ms ease, color 500ms ease;
}

button, input, select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================================
   BACKGROUND
   ========================================================= */
.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(3, 7, 13, 0.92), rgba(5, 16, 29, 0.9));
    transition: background 700ms ease;
}

.light-mode .page-background {
    background: linear-gradient(145deg, rgba(232, 241, 250, 0.88), rgba(216, 230, 243, 0.9));
}

.background-orb {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.18;
    animation: orbFloat 14s ease-in-out infinite;
}

.background-orb-one {
    top: -240px;
    left: -140px;
    background: #1a7be0;
}

.background-orb-two {
    right: -220px;
    bottom: -280px;
    background: #d09c20;
    animation-delay: -7s;
}

.background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(130, 190, 255, 0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 190, 255, 0.7) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

@keyframes orbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(35px, 25px, 0) scale(1.08); }
}

/* =========================================================
   TOP HEADER BAR
   ========================================================= */
.site-header {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0 10px;
}

.top-controls {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(1180px, calc(100% - 28px));
    min-height: 58px;
    padding: 7px 12px;
    border-radius: 20px;
    background: linear-gradient(
        to bottom,
        rgba(5, 16, 29, 0.75) 0%,
        rgba(5, 16, 29, 0.48) 60%,
        rgba(5, 16, 29, 0.12) 100%
    );
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.light-mode .top-controls {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.48) 60%,
        rgba(255, 255, 255, 0.1) 100%
    );
    box-shadow: 0 10px 35px rgba(25, 66, 103, 0.1);
}

.header-contact-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(10, 23, 40, 0.45);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.light-mode .header-contact-button {
    background: rgba(255, 255, 255, 0.7);
}

.header-contact-button:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(0, 120, 255, 0.18);
}

.header-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.header-whatsapp .header-contact-icon {
    color: #25d366;
}

.header-settings {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* LANGUAGE & THEME SWITCHER */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 20, 34, 0.5);
}

.light-mode .language-switcher {
    background: rgba(255, 255, 255, 0.7);
}

.language-button {
    min-width: 36px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--text-muted);
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    transition: all var(--transition-fast);
}

.language-button.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    box-shadow: 0 0 18px rgba(76, 167, 255, 0.25);
}

.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    width: 74px;
    height: 38px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(8, 20, 34, 0.55);
}

.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.75);
}

.theme-toggle-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, #162d47, #07111f);
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), background 500ms ease;
    z-index: 1;
}

.light-mode .theme-toggle-indicator {
    transform: translateX(36px);
    background: linear-gradient(145deg, #ffe58a, #d6a936);
}

.theme-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 30px;
}

.theme-icon svg {
    width: 16px;
    height: 16px;
}

.theme-icon-moon { color: #d9e9ff; }
.theme-icon-sun { color: #a17816; }

/* =========================================================
   ANIMATION CINÉMATIQUE LOGO ZXMOTO + SIGNATURE BY ZCARS
   ========================================================= */
.brand-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
    text-align: center;
}

.zxmoto-brand-stage {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 24px 38px;
    cursor: pointer;
    user-select: none;
}

.zxmoto-brand-stage::before {
    content: "";
    position: absolute;
    top: 38%;
    left: 54%;
    width: 260px;
    height: 110px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 167, 255, 0.25) 0%, transparent 70%);
    filter: blur(28px);
    opacity: 0;
    animation: zxAmbientGlow 2.4s 0.4s ease-out forwards;
    pointer-events: none;
}

.zx-light-beam {
    position: absolute;
    top: 36%;
    left: -10%;
    width: 120%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, #ffffff, #38bdf8, transparent);
    box-shadow: 0 0 22px #38bdf8, 0 0 40px #2563eb;
    opacity: 0;
    transform: scaleX(0);
    pointer-events: none;
}

.zxmoto-brand-stage.animate-intro .zx-light-beam {
    animation: zxLaserSweep 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.zxmoto-hero-svg {
    width: min(410px, 84vw);
    height: auto;
    color: var(--text-primary);
    overflow: visible;
}

.zx-z-top,
.zx-z-bottom {
    opacity: 0;
    transform-origin: center;
}

.zxmoto-brand-stage.animate-intro .zx-z-top {
    animation: zxTopSlideIn 0.85s 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zxmoto-brand-stage.animate-intro .zx-z-bottom {
    animation: zxBottomSlideIn 0.85s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.zx-z-stroke {
    fill: none;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    opacity: 0;
}

.zxmoto-brand-stage.animate-intro .zx-z-stroke {
    animation: zxStrokeFlash 1.4s 0.15s ease-out forwards;
}

/* Écriture lumineuse des lettres grasses Z X M O T O */
.zx-letter {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    opacity: 0;
}

.zxmoto-brand-stage.animate-intro .l-1 { animation: zxWriteLetter 0.65s 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.zxmoto-brand-stage.animate-intro .l-2 { animation: zxWriteLetter 0.65s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.zxmoto-brand-stage.animate-intro .l-3 { animation: zxWriteLetter 0.65s 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.zxmoto-brand-stage.animate-intro .l-4 { animation: zxWriteLetter 0.65s 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.zxmoto-brand-stage.animate-intro .l-5 { animation: zxWriteLetter 0.65s 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.zxmoto-brand-stage.animate-intro .l-6 { animation: zxWriteLetter 0.65s 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* Signature "by Zcars" + Logo Zaki in China aligné en bas à droite */
.by-zcars-badge {
    position: absolute;
    right: 22px;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(214, 169, 54, 0.28);
    background: rgba(7, 17, 31, 0.68);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
}

.light-mode .by-zcars-badge {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(177, 132, 22, 0.32);
}

.zxmoto-brand-stage.animate-intro .by-zcars-badge {
    animation: badgeFadeIn 0.7s 1.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.by-zcars-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.by-zcars-text strong {
    color: var(--gold-light);
    font-weight: 800;
}

.light-mode .by-zcars-text strong {
    color: var(--gold);
}

.by-zcars-divider {
    width: 1px;
    height: 14px;
    background: var(--border);
}

.zaki-mini-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

@keyframes zxLaserSweep {
    0% { opacity: 0; transform: scaleX(0) translateX(-40%); }
    35% { opacity: 1; transform: scaleX(1) translateX(0%); }
    75% { opacity: 0.85; transform: scaleX(1.05) translateX(15%); }
    100% { opacity: 0; transform: scaleX(0.2) translateX(60%); }
}

@keyframes zxTopSlideIn {
    0% { opacity: 0; transform: translate(-28px, -14px) scale(0.92); filter: brightness(2.2); }
    60% { opacity: 1; filter: brightness(1.4); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); filter: brightness(1); }
}

@keyframes zxBottomSlideIn {
    0% { opacity: 0; transform: translate(28px, 14px) scale(0.92); filter: brightness(2.2); }
    60% { opacity: 1; filter: brightness(1.4); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); filter: brightness(1); }
}

@keyframes zxStrokeFlash {
    0% { stroke-dashoffset: 900; opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.12; }
}

@keyframes zxWriteLetter {
    0% { stroke-dashoffset: 240; opacity: 0; stroke: #78c4ff; }
    40% { opacity: 1; stroke: #78c4ff; }
    100% { stroke-dashoffset: 0; opacity: 1; stroke: currentColor; }
}

@keyframes zxAmbientGlow {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
}

@keyframes badgeFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.brand-text {
    margin-top: 8px;
}

.brand-location {
    display: inline-block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* =========================================================
   MAIN & HERO
   ========================================================= */
.main-content {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 70px;
}

.hero-section {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(76, 167, 255, 0.22);
    border-radius: 999px;
    background: rgba(76, 167, 255, 0.06);
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 12px var(--blue);
}

.hero-section h1 {
    font-size: clamp(34px, 5.5vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 850;
}

.hero-section h1 span {
    background: linear-gradient(100deg, var(--blue-bright), #b9e1ff 50%, var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   FORM CARD
   ========================================================= */
.form-card {
    position: relative;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: linear-gradient(145deg, rgba(13, 30, 50, 0.8), rgba(5, 14, 25, 0.7));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.light-mode .form-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(243, 248, 253, 0.75));
}

.form-card-header {
    display: flex;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.form-card-header h2 {
    font-size: 21px;
    font-weight: 800;
}

.form-card-header p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.vehicle-form {
    padding-top: 26px;
}

.form-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-section-title-spaced {
    margin-top: 34px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    outline: none;
    color: var(--text-primary);
    background: rgba(3, 10, 18, 0.52);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.light-mode .form-group input,
.light-mode .form-group select {
    background: rgba(255, 255, 255, 0.85);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(76, 167, 255, 0.12);
}

/* =========================================================
   SÉLECTEUR VISUEL DE MOTOS ZXMOTO
   ========================================================= */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.category-pill {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(6, 16, 29, 0.45);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.light-mode .category-pill {
    background: rgba(255, 255, 255, 0.65);
}

.category-pill:hover {
    border-color: var(--blue);
    color: var(--text-primary);
}

.category-pill.active {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(22, 117, 209, 0.3);
}

.moto-selector-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: stretch;
}

.moto-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 6px;
}

.moto-list-container::-webkit-scrollbar {
    width: 6px;
}

.moto-list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.moto-list-container::-webkit-scrollbar-thumb {
    background: rgba(76, 167, 255, 0.28);
    border-radius: 10px;
}

.moto-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(4, 12, 22, 0.48);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.light-mode .moto-option-card {
    background: rgba(255, 255, 255, 0.65);
}

.moto-option-card:hover {
    border-color: rgba(76, 167, 255, 0.45);
    transform: translateX(3px);
}

.moto-option-card.selected {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(22, 117, 209, 0.22), rgba(76, 167, 255, 0.08));
    box-shadow: 0 8px 25px rgba(22, 117, 209, 0.18);
}

.moto-option-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.moto-option-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.moto-option-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.moto-option-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(76, 167, 255, 0.14);
    color: var(--blue-bright);
}

.moto-option-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.moto-option-thumb {
    flex: 0 0 84px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 4px;
}

.moto-option-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.moto-option-card:hover .moto-option-thumb img,
.moto-option-card.selected .moto-option-thumb img {
    transform: scale(1.08);
}

.moto-preview-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(76, 167, 255, 0.25);
    border-radius: 20px;
    background: radial-gradient(circle at 50% 30%, rgba(37, 117, 214, 0.16), rgba(4, 12, 22, 0.65));
    overflow: hidden;
}

.light-mode .moto-preview-panel {
    background: radial-gradient(circle at 50% 30%, rgba(37, 143, 233, 0.12), rgba(255, 255, 255, 0.85));
}

.moto-preview-badge {
    align-self: flex-start;
    padding: 5px 11px;
    border-radius: 8px;
    background: rgba(76, 167, 255, 0.15);
    border: 1px solid rgba(76, 167, 255, 0.3);
    color: var(--blue-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.moto-preview-image-box {
    position: relative;
    height: 210px;
    margin: 14px 0;
    display: grid;
    place-items: center;
}
/* =========================================================
   SÉLECTEUR DE COULEURS & EFFET BALAYAGE LASER
   ========================================================= */
.moto-preview-stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 4px;
}

.moto-color-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 7px;
    border-radius: 999px;
    border: 1px solid rgba(125, 181, 255, 0.18);
    background: rgba(4, 12, 22, 0.55);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.light-mode .moto-color-selector {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(21, 79, 128, 0.18);
}

.moto-color-selector:empty {
    display: none;
}

.color-swatch-btn {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.light-mode .color-swatch-btn {
    border-color: rgba(10, 23, 39, 0.22);
}

.color-swatch-btn:hover {
    transform: scale(1.18);
}

.color-swatch-btn.active {
    transform: scale(1.22);
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(76, 167, 255, 0.55), 0 0 14px rgba(76, 167, 255, 0.65);
}

.light-mode .color-swatch-btn.active {
    border-color: var(--blue-deep);
    box-shadow: 0 0 0 3px rgba(22, 121, 211, 0.35);
}

.moto-selected-color-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue-bright);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    min-height: 16px;
}

.moto-selected-color-label:empty {
    display: none;
}

.moto-preview-stage .moto-preview-image-box {
    flex: 1;
    margin: 0;
}

/* Faisceau laser identique au logo ZXMOTO lors du changement de couleur */
.moto-color-beam {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, #ffffff, #38bdf8, transparent);
    box-shadow: 0 0 18px #38bdf8, 0 0 32px #2563eb;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
}

.moto-preview-image-box.color-scanning .moto-color-beam {
    animation: motoColorScan 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes motoColorScan {
    0% {
        top: 10%;
        opacity: 0;
        transform: scaleX(0.3);
    }
    30% {
        opacity: 1;
        transform: scaleX(1);
    }
    80% {
        opacity: 0.9;
    }
    100% {
        top: 90%;
        opacity: 0;
        transform: scaleX(0.4);
    }
}
.moto-color-aura {
    position: absolute;
    inset: 14%;
    border-radius: 24px;
    opacity: 0.18;
    filter: blur(28px);
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease, opacity 0.35s ease;
}

.moto-preview-image-box img {
    position: relative;
    z-index: 2;
    max-height: 195px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.moto-preview-glow {
    position: absolute;
    bottom: 12px;
    width: 75%;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(76, 167, 255, 0.45), transparent 70%);
    filter: blur(8px);
    z-index: 1;
}

.moto-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.moto-preview-header h3 {
    font-size: 20px;
    font-weight: 850;
}

.moto-preview-tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(214, 169, 54, 0.15);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
}

.light-mode .moto-preview-tag {
    color: var(--gold);
}

.moto-preview-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.moto-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.moto-spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.light-mode .moto-spec-item {
    background: rgba(21, 79, 128, 0.06);
}

.spec-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.moto-spec-item strong {
    font-size: 13px;
    color: var(--text-primary);
}

/* =========================================================
   FORM FOOTER & SUBMIT BUTTON
   ========================================================= */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 440px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.privacy-icon {
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(57, 217, 138, 0.1);
    color: var(--success);
}

.privacy-icon svg {
    width: 16px;
    height: 16px;
}

.submit-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid rgba(112, 193, 255, 0.4);
    border-radius: 14px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #116cc0, #268edc 52%, #1169b8);
    box-shadow: 0 12px 32px rgba(13, 105, 182, 0.28);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(13, 105, 182, 0.38);
}

.submit-button-content {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.submit-button-content svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   TRUST SECTION & FOOTER
   ========================================================= */
.trust-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 26px;
    padding: 22px 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(7, 17, 31, 0.38);
    backdrop-filter: blur(18px);
}

.light-mode .trust-section {
    background: rgba(255, 255, 255, 0.55);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(76, 167, 255, 0.18);
    border-radius: 10px;
    background: rgba(76, 167, 255, 0.07);
    color: var(--blue);
}

.trust-icon svg {
    width: 18px;
    height: 18px;
}

.trust-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.trust-item span {
    color: var(--text-muted);
    font-size: 11px;
}

.trust-separator {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.site-footer {
    padding: 0 20px 30px;
    text-align: center;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 11px;
}

.footer-creator {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 7px;
}

.footer-creator a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-separator {
    color: var(--gold);
}

/* =========================================================
   NOTIFICATION & SUCCESS OVERLAY
   ========================================================= */
.notification {
    position: fixed;
    z-index: 1500;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(7, 17, 31, 0.94);
    color: var(--text-primary);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-normal);
}

.light-mode .notification {
    background: rgba(255, 255, 255, 0.95);
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.notification-message {
    font-size: 12px;
    font-weight: 650;
}

.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 9, 17, 0.55);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-card {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(500px, 100%);
    padding: 24px 26px;
    border: 1px solid rgba(76, 167, 255, 0.25);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(8, 24, 42, 0.96), rgba(4, 14, 26, 0.95));
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.light-mode .success-card {
    background: #ffffff;
}

.success-icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: var(--success);
    background: rgba(57, 217, 138, 0.12);
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

.success-content h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.success-content p {
    font-size: 12.5px;
    margin-bottom: 4px;
}

.success-content span {
    font-size: 11px;
    color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 880px) {
    .moto-selector-layout {
        grid-template-columns: 1fr;
    }

    .moto-preview-panel {
        order: -1;
    }

    .form-grid-three {
        grid-template-columns: 1fr;
    }

    .trust-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-separator {
        width: 100%;
        height: 1px;
    }
}

.moto-preview-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.moto-price-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(57, 217, 138, 0.14);
    border: 1px solid rgba(57, 217, 138, 0.35);
    color: var(--success);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.overlay-close-btn {
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue));
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
@media (max-width: 600px) {
    .header-contact-label {
        display: none;
    }

    .header-contact-button {
        width: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
    }

    .by-zcars-badge {
        right: 8px;
        bottom: 0;
        padding: 3px 9px;
    }

    .zaki-mini-logo {
        height: 18px;
    }

    .form-card {
        padding: 20px 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-button {
        width: 100%;
    }
}