:root{
  --nav-height: 78px;
  --bg: #070a10;
  --panel: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.90);
  --muted: rgba(255,255,255,.65);
  --accent: #37ffb6;     /* neon green */
  --accent2:#c2a46d;     /* coyote tan */
  --danger:#ff3b6a;      /* alert / hot pink */
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

/* Base */
html, body { background: var(--bg); color: var(--text); }
body { padding-top: var(--nav-height); }
a { color: inherit; }

/* Subtle animated background noise */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .08;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  animation: noiseMove 1.2s steps(2) infinite;
}
@keyframes noiseMove {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-2%,1%,0); }
}

/* Scanlines */
.scanlines {
  pointer-events:none;
  position: fixed;
  inset:0;
  z-index: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.06) 0px,
    rgba(255,255,255,.06) 1px,
    rgba(0,0,0,0) 3px,
    rgba(0,0,0,0) 6px
  );
  mix-blend-mode: overlay;
  opacity: .05;
}

/* Typography */
.font-tactical {
  font-family: "Orbitron", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .04em;
}
.font-condensed {
  font-family: "Oswald", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* GLOBAL NAV */
.navbar.theme-nav {
  height: var(--nav-height);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
  border-bottom: 1px solid transparent;
  z-index: 10;
}
.navbar.theme-nav.is-transparent {
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.08));
  box-shadow: none;
  border-color: rgba(255,255,255,.06);
}
.navbar.theme-nav.is-solid {
  background: rgba(7,10,16,.92);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.10);
}
.navbar .nav-link {
  color: rgba(255,255,255,.85) !important;
  position: relative;
  font-weight: 600;
  letter-spacing: .03em;
}
.navbar .nav-link::after{
  content:"";
  position:absolute;
  left: .5rem;
  right: .5rem;
  bottom: .2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
  opacity: .9;
}
.navbar .nav-link:hover::after { transform: scaleX(1); }

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(55,255,182,.35), rgba(124,77,255,.14) 55%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HERO: Full-screen slideshow */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  margin-top: calc(-1 * var(--nav-height));
  z-index: 1;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(55,255,182,.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(124,77,255,.18), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255,59,106,.12), transparent 50%);
  filter: blur(20px);
  animation: drift 10s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes drift {
  0% { transform: translate3d(-1%, -1%, 0) scale(1); }
  100% { transform: translate3d(1%, 1%, 0) scale(1.04); }
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100vh;
}

.slide-media {
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.08);
  animation: kenburn 10s ease-in-out infinite alternate;
}
@keyframes kenburn {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.6%,0); }
}

.slide-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, rgba(0,0,0,.72), rgba(0,0,0,.35) 55%, rgba(0,0,0,.65)),
    radial-gradient(circle at 70% 40%, rgba(55,255,182,.18), transparent 35%),
    radial-gradient(circle at 25% 65%, rgba(124,77,255,.16), transparent 40%);
}

/* HUD frame */
.hud {
  position:absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
  pointer-events:none;
}
.hud::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(55,255,182,.55), rgba(194,164,109,.45), rgba(55,255,182,.35));
  opacity:.18;
  filter: blur(14px);
}

.hero .slide-content{
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-height));
  display:flex;
  align-items:center;
  padding: 7rem 0 4rem;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap: .55rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .78rem;
}

.glow{
  text-shadow:
    0 0 22px rgba(55,255,182,.22),
    0 20px 70px rgba(0,0,0,.65);
}

/* Slide text entrance animation */
.anim-in {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}
.carousel-item.active .anim-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* Action buttons */
.btn-action{
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.95);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .12s ease;
}
.btn-action::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(55,255,182,.45), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(194,164,109,.35), transparent 45%),
    linear-gradient(135deg, rgba(194,164,109,.18), rgba(0,0,0,0));
  z-index:-1;
  transition: transform .2s ease, filter .2s ease;
}
.btn-action:hover { transform: translateY(-2px); }
.btn-action:hover::before {
  filter: saturate(1.25);
  transform: scale(1.05);
}

.btn-outline-action{
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  border: 1px solid rgba(194,164,109,.55);
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .12s ease, border-color .12s ease;
}
.btn-outline-action:hover{
  transform: translateY(-2px);
  border-color: rgba(55,255,182,.75);
}
.btn-outline-action:hover { border-color: rgba(55,255,182,.75); }

/* 50/50 CTA buttons under hero */
.split-cta {
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  z-index: 1;
  position: relative;
}
@media(min-width:768px){
  .split-cta{
    grid-template-columns: 1fr 1fr;
    gap:0;
  }
}
.split-cta a{
  min-height: 112px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .12s ease;
}
@media(min-width:768px){
  .split-cta a{ border-radius:0; }
  .split-cta a:first-child{
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    background-color: #070a10;
  }
  .split-cta a:last-child{
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    background-color: #070a10;
  }
}
.split-cta a:hover { transform: translateY(-2px); }
.split-cta a::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(55,255,182,.35), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(194,164,109,.28), transparent 45%),
    linear-gradient(135deg, rgba(255,59,106,.14), rgba(0,0,0,0));
  transform: rotate(8deg);
  z-index: -1;
  transition: filter .2s ease, transform .2s ease;
  filter: saturate(1.1);
}
.split-cta a:hover::before{
  filter: saturate(1.3);
  transform: rotate(0deg) scale(1.02);
}
.split-cta .tag{
  position:absolute;
  top: 14px;
  left: 14px;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* Section headings */
.section-title{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-title h2{
  margin:0;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: "Oswald", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Cards */
.card.theme-card{
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.theme-card .ratio img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}

/* Featured products strip */
.product-strip{
  display:flex;
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
  padding-bottom: .25rem;
}
.product-item{ flex: 0 0 100%; }
@media(min-width:576px){
  .product-item{ flex-basis: calc(50% - .5rem); }
}
@media(min-width:992px){
  .product-item{ flex-basis: calc(25% - .75rem); }
}

.price{
  font-family: "Orbitron", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,.85);
}
.badge-tactical{
  background:
    radial-gradient(circle at 30% 30%, rgba(55,255,182,.45), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(194,164,109,.35), transparent 50%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(194,164,109,.55);
  color: rgba(255,255,255,.90);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .64rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.strip-controls .btn{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
}
.strip-controls .btn:hover { border-color: rgba(55,255,182,.6); }

/* INTERIOR / EXTERIOR split tiles */
.split-section{
  display:grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media(min-width:992px){
  .split-section{ grid-template-columns: 1fr 1fr; }
}
.split-tile{
  position: relative;
  border-radius: 24px;
  overflow:hidden;
  min-height: 380px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  text-decoration:none;
  isolation: isolate;
  transform: translateZ(0);
}
.split-tile .bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position:center;
  transform: scale(1.06);
  transition: transform .45s ease;
}
.split-tile .shade{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,0,0,.78), rgba(0,0,0,.28));
}
.split-tile .hudline{
  position:absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.14);
  opacity: .7;
  pointer-events:none;
}
.split-tile .content{
  position: relative;
  z-index: 1;
  padding: 2rem;
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .75rem;
}
.split-tile .label{
  display:inline-flex;
  align-items:center;
  gap: .55rem;
  width: fit-content;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}
.split-tile:hover .bg{ transform: scale(1.16); }

/* Reveal-on-scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(7px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Footer */
footer{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,0) 40%), var(--bg);
  border-top: 1px solid rgba(255,255,255,.10);
}
footer a{
  color: rgba(255,255,255,.70);
  text-decoration:none;
}
footer a:hover { color: #fff; }
.footer-logo{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(55,255,182,.35), rgba(124,77,255,.14) 55%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255,255,255,.18);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* Small helpers */
.muted{ color: var(--muted); }
.divider-skew{
  height: 26px;
  background: linear-gradient(90deg, rgba(55,255,182,.18), rgba(124,77,255,.14), rgba(255,59,106,.12));
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  opacity: .55;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  color: rgba(55, 255, 182, .9);
  background-color:#070a10;
}

/* Logo image */
.logo-container {
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(0, 255, 200, 0.4));
}

.logo {
  position: relative;
  z-index: 1;
  animation: holo-pulse 5s ease-in-out infinite, heartbeat-ecg 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: center;
}

/* Glow holographique principal + iridescence légère */
.logo::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 200, 0.35) 10%, transparent 60%);
  opacity: 0.6;
  border-radius: 50%;
  pointer-events: none;
  animation: holo-glow 5s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: -1;
}

/* Scan line subtile verticale */
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 255, 200, 0.15) 48%, transparent 52%);
  height: 4px;
  width: 100%;
  top: 0;
  opacity: 0;
  animation: holo-scan 8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* Animations combinées */
@keyframes holo-pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) contrast(1.1);
  }
  50% {
    transform: scale(1.04) rotate(0.5deg);
    filter: brightness(1.3) contrast(1.2);
  }
}

@keyframes heartbeat-ecg {
  0%, 100% { transform: scale(1); }
  8%  { transform: scale(1.02); }
  10% { transform: scale(0.975); }
  12% { transform: scale(1.055); }
  15% { transform: scale(1.03); }
  20% { transform: scale(1.01); }
  25% { transform: scale(1); }
}

@keyframes holo-glow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes holo-scan {
  0%   { top: -10%; opacity: 0; }
  5%   { opacity: 0.7; }
  15%  { top: 110%; opacity: 0; }
  100% { top: 110%; opacity: 0; }
}

.active{
  color: rgba(55, 255, 182, .9) !important;
}

/* =========================
   MOBILE PERFORMANCE FIXES
   ========================= */
@media (max-width: 991.98px) {
  body {
    background-attachment: scroll !important;
    background-size: cover !important;
  }

  .noise,
  .scanlines {
    display: none !important;
  }

  .navbar.theme-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .btn-outline-action {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}