@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap&font-display=swap');

:root {
  --primary: #00e5ff;
  --primary-rgb: 0, 229, 255;
  --accent: #7b5cff;
  --green: #00ff94;
  --bg: #030811;
  --bg2: #060d1c;
  --card: rgba(6, 13, 28, 0.9);
  --border: rgba(0, 229, 255, 0.1);
  --border-h: rgba(0, 229, 255, 0.3);
  --text: #dce6f0;
  --muted: rgba(220, 230, 240, 0.5);
  --nav-h: 76px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, sans-serif;
  line-height: 1.65;
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Cursor injected by main.js */

/* ── SCROLLBAR */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* ── CANVAS */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* ── NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  background: rgba(3, 8, 17, .5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background .4s, box-shadow .4s;
}

nav.scrolled {
  background: rgba(3, 8, 17, .94);
  box-shadow: 0 8px 48px rgba(0, 0, 0, .5);
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: color .3s;
}

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

.nav-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
  animation: dotBlink 2s ease infinite;
}

@keyframes dotBlink {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px var(--primary);
  }

  50% {
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(var(--primary-rgb), .3);
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a:not(.nav-logo):not(.nav-cta) {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color .25s;
}

nav a:not(.nav-logo):not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width .35s cubic-bezier(.4, 0, .2, 1);
}

nav a:not(.nav-logo):not(.nav-cta):hover,
nav a[aria-current="page"] {
  color: #fff;
}

nav a:not(.nav-logo):not(.nav-cta):hover::after,
nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  padding: .55rem 1.3rem;
  border: 1px solid rgba(var(--primary-rgb), .5);
  border-radius: 4px;
  color: var(--primary) !important;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all .25s;
  background: transparent;
}

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

.nav-cta:hover {
  background: var(--primary);
  color: var(--bg) !important;
  box-shadow: 0 0 24px rgba(var(--primary-rgb), .35);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.burger-menu span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO */
header {
  min-height: 100vh;
  position: relative;
  background: url("/image/quantik-header.webp") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7%;
  overflow: hidden;
  z-index: 1;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(3, 8, 17, .96) 0%, rgba(3, 8, 17, .78) 55%, rgba(3, 8, 17, .35) 100%);
  z-index: 1;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .8s .1s ease forwards;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.hero-tag-pill {
  background: rgba(var(--primary-rgb), .1);
  border: 1px solid rgba(var(--primary-rgb), .2);
  border-radius: 20px;
  padding: .15rem .7rem;
  font-size: .65rem;
}

header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}

header h1 em {
  color: var(--primary);
  font-style: normal;
  text-shadow: 0 0 60px rgba(var(--primary-rgb), .4);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp .8s .3s ease forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp .8s .4s ease forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .15);
  transform: translateX(-101%);
  transition: transform .35s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), .4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  background: transparent;
  border: 1px solid rgba(220, 230, 240, .2);
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: .9rem;
  transition: all .25s;
}

.btn-ghost:hover {
  border-color: rgba(220, 230, 240, .5);
  transform: translateY(-2px);
  background: rgba(220, 230, 240, .04);
}

.hero-metrics {
  display: flex;
  gap: 3.5rem;
  opacity: 0;
  animation: fadeUp .8s .5s ease forwards;
}

.hero-metric-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 30px rgba(var(--primary-rgb), .3);
}

.hero-metric-label {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .3rem;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 7%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp .8s .8s ease forwards;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(220, 230, 240, .2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: lineAnim 2s 1.5s ease infinite;
}

@keyframes lineAnim {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

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

/* ── MARQUEE */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: var(--bg2);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-item em {
  color: var(--primary);
  font-style: normal;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary);
}

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

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

/* ── SECTIONS */
section {
  padding: 7rem 7%;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: .95rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.8;
  font-weight: 300;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal-d1 {
  transition-delay: .1s;
}

.reveal-d2 {
  transition-delay: .2s;
}

.reveal-d3 {
  transition-delay: .3s;
}

.reveal-d4 {
  transition-delay: .4s;
}

/* ── SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg2);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--primary-rgb), .07), transparent 55%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(var(--primary-rgb), .35);
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--primary-rgb), .07);
  border: 1px solid rgba(var(--primary-rgb), .14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all .3s;
}

.service-card:hover .service-icon {
  background: rgba(var(--primary-rgb), .14);
  border-color: rgba(var(--primary-rgb), .3);
  transform: scale(1.08);
}

.service-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .65rem;
}

.service-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s, transform .3s;
  text-decoration: none;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── PROCESS STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.step {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.step:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}

.step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(var(--primary-rgb), .07);
  line-height: 1;
  margin-bottom: .5rem;
}

.step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}

.step p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CTA BAND */
.cta-band {
  margin: 0 7%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), .05), rgba(123, 92, 255, .05));
  border: 1px solid rgba(var(--primary-rgb), .12);
  border-radius: 20px;
  padding: 5rem 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), .07), transparent 65%);
  pointer-events: none;
}

.cta-band .section-title {
  max-width: 100%;
}

.cta-band .section-desc {
  max-width: 400px;
  margin: 0 auto 2.5rem;
}

/* ── EXAMPLE CARDS */
.site-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.example-card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), border-color .3s, box-shadow .35s;
}

.example-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-h);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(var(--primary-rgb), .15);
}

.example-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.example-card h3 {
  padding: 1.2rem 1.5rem .4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.example-card p {
  padding: 0 1.5rem 1rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.demo-btn {
  margin: 0 1.5rem 1.5rem;
  padding: .65rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: .8rem;
  transition: all .25s;
  width: calc(100% - 3rem);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .02em;
}

.demo-btn:hover {
  background: rgba(var(--primary-rgb), .07);
  border-color: var(--border-h);
}

/* ── FORM */
form {
  max-width: 560px;
  margin: 0 auto;
}

.form-label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

input,
textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  background: rgba(6, 13, 28, .95);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .93rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
  margin-bottom: 1.1rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(220, 230, 240, .22);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(var(--primary-rgb), .45);
  background: rgba(var(--primary-rgb), .02);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .06);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

button,
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .04em;
  border: none;
  border-radius: 6px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .12);
  transform: translateX(-101%);
  transition: transform .3s ease;
}

button:hover::before {
  transform: translateX(0);
}

button:hover {
  background: #fff;
  box-shadow: 0 10px 32px rgba(var(--primary-rgb), .35);
  transform: translateY(-2px);
}

/* contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-detail-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), .07);
  border: 1px solid rgba(var(--primary-rgb), .14);
  border-radius: 8px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
  font-weight: 500;
}

.contact-detail-text span {
  font-size: .93rem;
  color: var(--text);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
}

.form-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.form-card .form-subtitle {
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-divider span {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .85rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: all .25s;
}

.whatsapp-link:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, .05);
}

/* ── MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--bg2);
  border-radius: 16px;
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
  animation: slideUp .35s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(40px) scale(.97);
    opacity: 0;
  }

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

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, transform .3s;
  line-height: 1;
  z-index: 10001;
}

.close-btn:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.demo-preview {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.demo-section {
  border-bottom: 1px solid rgba(var(--primary-rgb), .05);
}

.demo-section:last-child {
  border-bottom: none;
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* ── FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding: 5rem 7%;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  margin-bottom: 1.4rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-section p {
  color: var(--muted);
  line-height: 1.8;
  font-size: .85rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .25s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

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

.social-links {
  display: flex;
  gap: .7rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: all .25s;
}

.social-links a:hover {
  background: rgba(var(--primary-rgb), .07);
  border-color: rgba(var(--primary-rgb), .3);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--muted);
  font-size: .83rem;
}

.contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--muted);
  font-size: .78rem;
}

/* ── NOTIFICATION */
.notification {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: .9rem 1.6rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .85rem;
  z-index: 99999;
  opacity: 0;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: 440px;
  backdrop-filter: blur(20px);
  border: 1px solid;
}

.notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.notification.success {
  background: rgba(0, 255, 148, .1);
  color: var(--green);
  border-color: rgba(0, 255, 148, .2);
}

.notification.error {
  background: rgba(255, 80, 80, .1);
  color: #ff5050;
  border-color: rgba(255, 80, 80, .2);
}

#submitBtn.sending {
  pointer-events: none;
  opacity: .7;
}

#submitBtn.sending::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid var(--bg);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── RESPONSIVE */
@media(max-width:900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media(max-width:768px) {
  body {
    padding-top: 68px;
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  nav {
    padding: 0 5%;
    height: 68px;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(3, 8, 17, .98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 0;
    gap: 2rem;
    transition: left .35s ease;
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    left: 0;
  }

  .burger-menu {
    display: flex;
  }

  header {
    padding: 0 5%;
  }

  section {
    padding: 5rem 5%;
  }

  .cta-band {
    margin: 0 5%;
    padding: 4rem 5%;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 3rem 5%;
    gap: 2rem;
  }

  .site-examples {
    grid-template-columns: 1fr;
  }
}

/* ── OPTIMISATIONS PERFORMANCE & ACCESSIBILITÉ ── */

/* Réduire les repaints sur animations */
.marquee-track {
  will-change: transform;
}

.service-card {
  will-change: transform;
}

.btn-primary,
.btn-ghost {
  will-change: transform;
}

/* content-visibility pour sections bas de page */
footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* Amélioration rendu texte */
body {
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Focus visible pour accessibilité (aussi bon pour SEO) */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip to content pour accessibilité */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: var(--bg);
  padding: .5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: .85rem;
  z-index: 99999;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
}

/* Sécurité : pas de sélection sur éléments décoratifs */
.marquee-track,
.nav-dot,
.scroll-line {
  user-select: none;
}

/* Réduction motion pour accessibilité */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .marquee-track {
    animation: none;
  }
}

/* Print styles */
@media print {

  nav,
  #bgCanvas,
  .cookie-banner,
  #cookie-modal,
  .scroll-hint {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}