/* ══════════════════════════════════════════════════════
   OKOK TECH — PREMIUM DESIGN SYSTEM v6.0
   Aurora · Glassmorphism · Micro-Animations
   ══════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg: #06080d;
  --bg2: #0b0e16;
  --bg3: #10141e;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.15);
  --accent2: #22d3ee;
  --accent3: #818cf8;
  --text: #f0f4ff;
  --text2: #94a3b8;
  --text3: #475569;
  --border: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --gold: #FDE047;
  --glass: rgba(13, 16, 24, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;
  --surf: #0d0e14;
  --surf-low: rgba(18, 20, 30, 0.8);
  --surf-mid: rgba(24, 26, 38, 0.7);
  --font-d: "Space Grotesk", "Syne", sans-serif;
  --font-b: "DM Sans", sans-serif;
  --font-m: "Chivo Mono", monospace;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --bg3: #e2e8f0;
  --accent: #16a34a;
  --accent-dim: rgba(22, 163, 74, 0.15);
  --accent2: #0284c7;
  --accent3: #4f46e5;
  --text: #0f172a;
  --text2: #334155;
  --text3: #64748b;
  --border: rgba(0, 0, 0, 0.1);
  --card: rgba(255, 255, 255, 0.7);
  --card-border: rgba(0, 0, 0, 0.1);
  --gold: #ca8a04;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.1);
  --surf: #ffffff;
  --surf-low: rgba(255, 255, 255, 0.85);
  --surf-mid: rgba(248, 250, 252, 0.8);
}

[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mob-menu {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] footer {
  background: rgba(241, 245, 249, 0.8);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

*,

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(74, 222, 128, 0.25);
  color: var(--text);
}

/* ── AURORA BACKGROUND ── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  will-change: transform;
}

.aurora-blob:nth-child(1) {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.4), transparent 70%);
  top: -10%;
  left: -5%;
  animation: auroraMove1 18s ease-in-out infinite;
}

.aurora-blob:nth-child(2) {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.35), transparent 70%);
  top: 30%;
  right: -10%;
  animation: auroraMove2 22s ease-in-out infinite;
}

.aurora-blob:nth-child(3) {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
  bottom: -5%;
  left: 30%;
  animation: auroraMove3 20s ease-in-out infinite;
}

/* ── RISING SNOW CANVAS ── */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1.5;
  pointer-events: none;
  display: block;
}

@keyframes auroraMove1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(80px, 60px) scale(1.15);
  }

  66% {
    transform: translate(-40px, 30px) scale(0.95);
  }
}

@keyframes auroraMove2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-60px, -50px) scale(1.1);
  }

  66% {
    transform: translate(50px, 40px) scale(0.9);
  }
}

@keyframes auroraMove3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(70px, -40px) scale(1.12);
  }

  66% {
    transform: translate(-50px, -20px) scale(0.88);
  }
}

/* Subtle noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Grid dots – very subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── TARGET CURSOR (ReactBits Style) ── */
.target-cursor-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.target-cursor-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.target-cursor-corner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  will-change: transform;
}

.corner-tl {
  transform: translate(-150%, -150%);
  border-right: none;
  border-bottom: none;
}

.corner-tr {
  transform: translate(50%, -150%);
  border-left: none;
  border-bottom: none;
}

.corner-br {
  transform: translate(50%, 50%);
  border-left: none;
  border-top: none;
}

.corner-bl {
  transform: translate(-150%, 50%);
  border-right: none;
  border-top: none;
}

/* ── PAGE TRANSITION — SPLIT WIPE ── */
#pt-top,
#pt-bot {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(135deg, var(--bg), var(--bg2));
}

#pt-top {
  top: 0;
  height: 50%;
  transform: scaleY(0);
  transform-origin: top;
}

#pt-bot {
  bottom: 0;
  height: 50%;
  transform: scaleY(0);
  transform-origin: bottom;
}

#pt-top.enter {
  transform: scaleY(1);
  transition: transform 0.45s var(--ease);
}

#pt-bot.enter {
  transform: scaleY(1);
  transition: transform 0.45s var(--ease);
}

#pt-top.exit {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

#pt-bot.exit {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}

/* ── SCROLL PROGRESS ── */
#scroll-bar {
  position: fixed;
  top: 68px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent2));
  z-index: 490;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

/* ══════════════════════════════════════════════════════
   NAV — Floating Glassmorphism
   ══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(6, 8, 13, 0.7);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(74, 222, 128, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 0 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: none;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s var(--spring);
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.logo-text {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo-text span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text2);
  text-decoration: none;
  cursor: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transition: right 0.35s var(--ease);
  box-shadow: 0 0 8px rgba(253, 224, 71, 0.3);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-links a.active {
  color: var(--gold);
  font-weight: 700;
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-ng {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text2);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13px;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(8px);
}

.btn-ng:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
  transform: translateY(-1px);
}

.btn-np {
  background: linear-gradient(135deg, var(--accent), #22c55e);
  border: none;
  color: #06080d;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.3s var(--spring);
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-np::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-np:hover::before {
  transform: translateX(100%);
}

.btn-np:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 45px rgba(74, 222, 128, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-np:active {
  transform: scale(0.97);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: 0.3s;
}

.mob-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(6, 8, 13, 0.95);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(74, 222, 128, 0.06);
  padding: 1.5rem 2rem;
  z-index: 499;
  flex-direction: column;
  gap: 0.8rem;
}

.mob-menu.open {
  display: flex;
}

.mob-menu a {
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text2);
  text-decoration: none;
  cursor: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s;
}

.mob-menu a:hover,
.mob-menu a.active {
  color: var(--accent);
}

.mob-btns {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

/* ══════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════ */
section.page {
  display: none;
  min-height: calc(100vh - 68px);
  padding: 92px 2rem 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  position: relative;
  z-index: 2;
}

section.page.active {
  display: block;
}

section.page.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Stagger-in for grids */
.sg>* {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.sg.in>* {
  opacity: 1;
  transform: none;
}

.sg.in>*:nth-child(1) { transition-delay: 0.05s; }
.sg.in>*:nth-child(2) { transition-delay: 0.12s; }
.sg.in>*:nth-child(3) { transition-delay: 0.19s; }
.sg.in>*:nth-child(4) { transition-delay: 0.26s; }
.sg.in>*:nth-child(5) { transition-delay: 0.33s; }
.sg.in>*:nth-child(6) { transition-delay: 0.40s; }
.sg.in>*:nth-child(7) { transition-delay: 0.47s; }
.sg.in>*:nth-child(8) { transition-delay: 0.54s; }
.sg.in>*:nth-child(9) { transition-delay: 0.61s; }
.sg.in>*:nth-child(10) { transition-delay: 0.68s; }

/* ── COMPONENTS ── */
.ref-tag {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  padding: 6px 14px 6px 0;
}

.ref-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ref-tag::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(253, 224, 71, 0.2), transparent);
}

.sec-title {
  font-family: var(--font-d);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
}

.sec-sub {
  font-size: 16px;
  color: var(--text2);
  margin-top: 14px;
  max-width: 540px;
  line-height: 1.75;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════
   HOME / HERO
   ══════════════════════════════════════════════════════ */
#home {
  padding-top: 68px;
}

.hero-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 60px 2rem 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 100px;
  padding: 7px 16px;
  color: var(--accent);
  margin-bottom: 34px;
  animation: fadeUp 0.6s var(--ease) 0.1s both;
  backdrop-filter: blur(10px);
}

.hero-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(50px, 7.5vw, 92px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -3.5px;
  margin-bottom: 30px;
  animation: fadeUp 0.6s var(--ease) 0.2s both;
}

.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--gold), var(--accent2));
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-p {
  font-size: 17px;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 42px;
  font-weight: 300;
  animation: fadeUp 0.6s var(--ease) 0.3s both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s var(--ease) 0.4s both;
}

.btn-hm {
  background: linear-gradient(135deg, var(--accent), #22c55e);
  color: #06080d;
  padding: 16px 34px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: none;
  border: none;
  font-family: var(--font-b);
  transition: all 0.3s var(--spring);
  box-shadow: 0 0 35px rgba(74, 222, 128, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-hm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-hm:hover::before {
  transform: translateX(100%);
}

.btn-hm:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 60px rgba(74, 222, 128, 0.55);
}

.btn-hs {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  padding: 16px 34px;
  border-radius: 14px;
  font-size: 15px;
  cursor: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-b);
  transition: all 0.3s var(--ease);
}

.btn-hs:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Stats row */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 56px;
  max-width: 440px;
  animation: fadeUp 0.6s var(--ease) 0.5s both;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.h-stat {
  background: rgba(255, 255, 255, 0.02);
  padding: 22px 24px;
  transition: background 0.3s;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.h-stat:last-child {
  border-right: none;
}

.h-stat:hover {
  background: rgba(74, 222, 128, 0.04);
}

.h-stat-n {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.h-stat-l {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--text3);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero right - hex scene */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: fadeUp 0.7s var(--ease) 0.25s both;
}

.hex-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.hex-svg {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 0 50px rgba(74, 222, 128, 0.12));
  animation: hexFloat 6s ease-in-out infinite;
}

@keyframes hexFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

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

/* Floating cards around hex */
.hex-fc {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s var(--spring), box-shadow 0.4s;
  animation: fcFloat 5s ease-in-out infinite;
}

.hex-fc:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.fc-tl {
  top: 10%;
  left: -20px;
  animation-delay: 0s;
}

.fc-tr {
  top: 15%;
  right: -8px;
  animation-delay: 1.5s;
}

.fc-br {
  bottom: 24%;
  right: -15px;
  animation-delay: 3s;
}

@keyframes fcFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.fc-d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fc-n {
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
}

.fc-p {
  font-size: 10px;
  color: var(--text3);
  margin-top: 1px;
}

/* Hex stats pill row */
.hex-stats-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hsp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: 12px;
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}

.hsp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hsp-n {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}

.hsp-l {
  font-family: var(--font-m);
  font-size: 9px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hex-pulse {
  animation: hexPulse 2s ease-in-out infinite;
}

@keyframes hexPulse {

  0%,
  100% {
    r: 5;
    opacity: 1;
  }

  50% {
    r: 8;
    opacity: 0.6;
  }
}

/* ══════════════════════════════════════════════════════
   SERVICE CARDS — Glassmorphism
   ══════════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.svc-card {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
  cursor: none;
  transition: all 0.45s var(--spring);
  position: relative;
  overflow: hidden;
}

/* Gradient glow on hover */
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(74, 222, 128, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  border-color: rgba(74, 222, 128, 0.15);
}

.svc-web {
  grid-column: span 5;
}

.svc-app {
  grid-column: span 4;
}

.svc-ui {
  grid-column: span 3;
}

.svc-ref {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text3);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.svc-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.ico-w {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.ico-a {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.12);
}

.ico-u {
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.12);
}

.svc-t {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.svc-d {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.svc-ul {
  list-style: none;
  margin-bottom: 24px;
}

.svc-ul li {
  font-size: 13px;
  color: var(--text2);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: color 0.2s, padding-left 0.3s;
}

.svc-ul li:hover {
  color: var(--text);
  padding-left: 4px;
}

.svc-ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}

.svc-price {
  font-family: var(--font-m);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 22px;
}

.svc-price strong {
  color: var(--text);
  font-size: 14px;
}

.btn-svc {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 12px;
  border-radius: 12px;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.35s var(--spring);
  position: relative;
  overflow: hidden;
}

.btn-svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), #22c55e);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-svc:hover {
  border-color: var(--accent);
  color: #06080d;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.2);
}

.btn-svc:hover::before {
  opacity: 1;
}

.btn-svc span {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   PROJECTS BENTO — Glassmorphism
   ══════════════════════════════════════════════════════ */
.proj-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.fil {
  font-family: var(--font-m);
  font-size: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: none;
  transition: all 0.3s var(--spring);
  border: none;
}

.fil.on {
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.25);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.1);
}

.fil:not(.on) {
  background: var(--glass);
  color: var(--text3);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.fil:not(.on):hover {
  color: var(--text2);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-p {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.pc {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: none;
  transition: all 0.45s var(--spring);
}

.pc:hover {
  transform: translateY(-8px) scale(0.99);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  border-color: rgba(74, 222, 128, 0.12);
}

.pc.big {
  grid-column: span 7;
  grid-row: span 2;
}

.pc.tall {
  grid-column: span 5;
  grid-row: span 2;
}

.pbg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  transition: opacity 0.5s, transform 0.7s var(--ease);
}

.pc:hover .pbg {
  opacity: 0.55;
  transform: scale(1.06);
}

.pg1 {
  background: linear-gradient(135deg, #0d2137, #1a3a5c, #0d2a3a);
}

.pg2 {
  background: linear-gradient(135deg, #0d1f2d, #0f3d2a, #0d2d1a);
}

.p-emoji {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  opacity: 0.7;
  transition: transform 0.4s var(--spring), opacity 0.3s;
}

.pc:hover .p-emoji {
  transform: scale(1.15) rotate(-5deg);
  opacity: 1;
}

.pcon {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(6, 8, 13, 0.93) 0%, rgba(6, 8, 13, 0.4) 40%, transparent 65%);
}

.p-ref {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text3);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.p-name {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.p-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS — Glassmorphism
   ══════════════════════════════════════════════════════ */
.tb {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.tc {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
  transition: all 0.4s var(--spring);
  position: relative;
  overflow: hidden;
}

.tc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}

.tc:hover::before {
  opacity: 1;
}

.tc:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(74, 222, 128, 0.12);
}

.tc.feat {
  border-color: rgba(74, 222, 128, 0.15);
}

.tc.feat::before {
  opacity: 1;
}

.tref {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text3);
  margin-bottom: 14px;
}

.tqm {
  font-family: var(--font-d);
  font-size: 48px;
  color: rgba(74, 222, 128, 0.15);
  line-height: 0.8;
  position: absolute;
  top: 20px;
  right: 24px;
}

.tstars {
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.tt {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 22px;
  font-weight: 300;
}

.tau {
  display: flex;
  align-items: center;
  gap: 12px;
}

.av {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.av1 {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(34, 211, 238, 0.15));
  color: var(--accent);
}

.av2 {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(253, 224, 71, 0.1));
  color: var(--accent3);
}

.av3 {
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.2), rgba(74, 222, 128, 0.1));
  color: var(--gold);
}

.an {
  font-weight: 600;
  font-size: 14px;
}

.ar {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════ */
.ab-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.ab-h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.ab-p {
  font-size: 15.5px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
}

.vals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.val {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 24px;
  transition: all 0.35s var(--spring);
}

.val:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(74, 222, 128, 0.12);
}

.vi {
  font-size: 28px;
  margin-bottom: 12px;
}

.vt {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

.vd {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
}

/* Contact card */
.cg {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.cg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.ct {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cs {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
}

.cr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.cico {
  font-size: 20px;
}

.cl {
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-m);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cv {
  font-size: 14px;
  color: var(--text);
  margin-top: 2px;
}

.asep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 24px 0;
}

.al {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.arow {
  display: flex;
  gap: 10px;
}

.btn-ai {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  padding: 11px;
  border-radius: 12px;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.3s var(--ease);
}

.btn-ai:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-au {
  flex: 1;
  background: linear-gradient(135deg, var(--accent), #22c55e);
  border: none;
  color: #06080d;
  padding: 11px;
  border-radius: 12px;
  font-weight: 700;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.3s var(--spring);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

.btn-au:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.4);
}

/* ══════════════════════════════════════════════════════
   MODALS — Glassmorphism
   ══════════════════════════════════════════════════════ */
.mo {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 600;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mo.show {
  display: flex;
}

.mb,
.ab2 {
  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(32px) saturate(1.3);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 44px;
  width: 90%;
  max-width: 520px;
  animation: mIn 0.45s var(--spring);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.mb::before,
.ab2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent2));
}

@keyframes mIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
  }

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

.mref {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text3);
  margin-bottom: 8px;
}

.mtit {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.fr {
  margin-bottom: 18px;
}

.fr label {
  display: block;
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-m);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.fr input,
.fr select,
.fr textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  cursor: none;
  font-family: var(--font-b);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.fr input:focus,
.fr select:focus,
.fr textarea:focus {
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.08);
}

.macts {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.btn-ms {
  flex: 2;
  background: linear-gradient(135deg, var(--accent), #22c55e);
  border: none;
  color: #06080d;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.3s var(--spring);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.btn-ms:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.35);
}

.btn-mc {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text2);
  padding: 14px;
  border-radius: 14px;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.3s;
}

.btn-mc:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.sblk {
  text-align: center;
}

.sico {
  font-size: 48px;
  margin-bottom: 12px;
}

.stit {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
}

.atp {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin-top: 20px;
}

.atp a {
  color: var(--accent);
  cursor: none;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.atp a:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   FOOTER — Glassmorphism
   ══════════════════════════════════════════════════════ */
footer {
  background: rgba(12, 14, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px 32px 0 0;
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}

.fi {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 44px 2rem 32px;
}

.flogo {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.flogo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ftag {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.6;
}

.fb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fcp {
  font-size: 13px;
  color: var(--text3);
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

/* Shimmer on hover for tags */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .svc-web,
  .svc-app,
  .svc-ui {
    grid-column: span 12;
  }

  .pc.big,
  .pc.tall {
    grid-column: span 12;
  }

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

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

@media (max-width: 768px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 1rem 20px;
  }

  .hero-p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-meta {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-right {
    margin-top: 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .fi {
    grid-template-columns: 1fr;
    padding: 32px 1.5rem 24px;
  }

  .fb {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .fc-tl,
  .fc-tr,
  .fc-br {
    display: none;
  }

  /* Reduce aurora intensity on mobile for battery */
  .aurora-blob {
    opacity: 0.2;
    filter: blur(80px);
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    letter-spacing: -2px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .h-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .h-stat:last-child {
    border-bottom: none;
  }

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

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

/* ══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 14px;
  font-family: var(--font-b);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: bottom 0.45s var(--spring), opacity 0.3s;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.toast-show {
  bottom: 32px;
  opacity: 1;
}

.toast-success {
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.toast-error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ══════════════════════════════════════════════════════
   AUTH ERROR
   ══════════════════════════════════════════════════════ */
.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   USER PILL (Nav)
   ══════════════════════════════════════════════════════ */
.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 4px 14px 4px 4px;
  cursor: none;
}

.user-pill-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06080d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
}

.user-pill-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   USER DASHBOARD
   ══════════════════════════════════════════════════════ */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
}

.dash-profile-card {
  grid-column: span 1;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.dash-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06080d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.dash-name {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dash-email {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 6px;
}

.dash-role {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}

.dash-stats-card {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.dash-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-stat-icon {
  font-size: 24px;
}

.dash-stat-value {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
}

.dash-stat-label {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dash-bookings-card {
  grid-column: span 2;
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
}

.dash-card-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.dash-booking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-booking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  transition: background 0.2s;
}

.dash-booking-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dash-booking-service {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.dash-booking-date {
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-m);
}

.dash-empty {
  color: var(--text3);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

/* ══════════════════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════════════════ */
.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.admin-tab {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 12px;
  cursor: none;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
  color: var(--text3);
  transition: all 0.3s var(--spring);
}

.admin-tab:hover {
  color: var(--text2);
  border-color: rgba(255, 255, 255, 0.15);
}

.admin-tab.active {
  background: rgba(253, 224, 71, 0.1);
  color: var(--gold);
  border-color: rgba(253, 224, 71, 0.25);
  box-shadow: 0 0 16px rgba(253, 224, 71, 0.08);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

.admin-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.admin-form-card,
.admin-list-card {
  background: var(--glass);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.admin-form-card::before,
.admin-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

.admin-card-header {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-card-icon {
  font-size: 20px;
}

.admin-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-row .fr {
  min-width: 120px;
}

.btn-admin-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  border: none;
  color: #06080d;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  cursor: none;
  font-family: var(--font-b);
  font-size: 14px;
  transition: all 0.3s var(--spring);
  box-shadow: 0 0 20px rgba(253, 224, 71, 0.15);
  margin-top: 8px;
}

.btn-admin-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(253, 224, 71, 0.35);
}

/* Admin items list */
.admin-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
}

.admin-items-list::-webkit-scrollbar {
  width: 4px;
}

.admin-items-list::-webkit-scrollbar-track {
  background: transparent;
}

.admin-items-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  transition: all 0.25s;
  gap: 12px;
}

.admin-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.admin-item-emoji {
  font-size: 24px;
  flex-shrink: 0;
}

.admin-item-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.admin-item-meta {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-item-quote {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
  font-style: italic;
  line-height: 1.5;
}

.btn-admin-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.25s;
  flex-shrink: 0;
}

.btn-admin-delete:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.btn-admin-edit {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent2);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  cursor: none;
  font-family: var(--font-b);
  transition: all 0.25s;
  flex-shrink: 0;
}

.btn-admin-edit:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-1px);
}

.btn-admin-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text2);
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: none;
  font-family: var(--font-b);
  font-size: 14px;
  transition: all 0.3s var(--spring);
}

.btn-admin-cancel:hover {
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.admin-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.admin-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-small {
  padding: 4px 10px;
  font-size: 11px;
}

.admin-empty {
  padding: 32px;
  text-align: center;
  color: var(--text3);
  font-size: 14px;
}

/* Admin booking items */
.admin-booking-item {
  flex-wrap: wrap;
}

.admin-booking-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.admin-booking-date {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text3);
}

.admin-booking-status {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 100px;
}

.status-pending {
  background: rgba(253, 224, 71, 0.1);
  color: var(--gold);
  border: 1px solid rgba(253, 224, 71, 0.2);
}

.status-confirmed {
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.status-completed {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent2);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — ADMIN & DASHBOARD
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .admin-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .dash-profile-card {
    grid-column: span 1;
  }

  .dash-bookings-card {
    grid-column: span 1;
  }

  .admin-tabs {
    gap: 4px;
  }

  .admin-tab {
    padding: 8px 14px;
    font-size: 10px;
  }

  .admin-row {
    flex-direction: column;
  }

  .admin-booking-right {
    flex-wrap: wrap;
  }

  .user-pill-name {
    display: none;
  }
}

/* Hide custom cursor on touch */
@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto !important;
  }

  #cursor-dot,
  #trail-canvas {
    display: none !important;
  }

  a,
  button,
  input,
  textarea,
  select,
  .pc,
  .svc-card {
    cursor: auto !important;
  }
}

/* ── AUTH GOOGLE BUTTON ── */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text3);
  font-size: 13px;
  font-family: var(--font-m);
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-divider span {
  padding: 0 10px;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: white;
  color: #06080d;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  cursor: none;
  transition: all 0.3s var(--spring);
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}
.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
  background: #f8f9fa;
}
.google-logo {
  width: 20px;
  height: 20px;
}

/* ── TEAM SECTION ── */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 340px;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(135deg, rgba(74,222,128,0.1), transparent);
  opacity: 0.5;
  z-index: 0;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: rgba(255, 255, 255, 0.03);
}

.tm-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px auto;
  border: 3px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
  display: block;
}

.tm-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.tm-role {
  font-family: var(--font-m);
  font-size: 13px;
  color: var(--accent2);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  text-align: center;
}

.tm-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.tm-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.tm-social {
  color: var(--text3);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.tm-social:hover {
  color: var(--text);
}

/* ══════════════════════════════════════════════════════
   IMAGE UPLOAD ZONE
   ══════════════════════════════════════════════════════ */
.image-upload-zone {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.image-upload-zone:hover {
  border-color: rgba(74, 222, 128, 0.15);
}

/* Drop area */
.upload-droparea {
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
}

.upload-droparea.drag-over {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: inset 0 0 30px rgba(74, 222, 128, 0.05);
}

.upload-droparea.drag-over .upload-icon {
  transform: scale(1.2);
  filter: brightness(1.4);
}

.upload-icon {
  font-size: 32px;
  margin-bottom: 10px;
  transition: transform 0.3s var(--spring), filter 0.3s;
  display: inline-block;
}

.upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.upload-subtext {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 18px;
  font-family: var(--font-m);
  letter-spacing: 0.05em;
}

/* Upload buttons */
.upload-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-upload-device,
.btn-upload-drive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-b);
  cursor: none;
  transition: all 0.3s var(--spring);
  border: 1px solid;
  position: relative;
  overflow: hidden;
}

.btn-upload-device::before,
.btn-upload-drive::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-upload-device:hover::before,
.btn-upload-drive:hover::before {
  transform: translateX(100%);
}

.btn-upload-device {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--accent);
}

.btn-upload-device:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.15);
}

.btn-upload-drive {
  background: rgba(66, 133, 244, 0.08);
  border-color: rgba(66, 133, 244, 0.2);
  color: #4285f4;
}

.btn-upload-drive:hover {
  background: rgba(66, 133, 244, 0.15);
  border-color: rgba(66, 133, 244, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.15);
}

.upload-btn-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* URL input row */
.upload-url-row {
  padding: 14px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.upload-or {
  text-align: center;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text3);
  text-transform: uppercase;
}

.upload-url-row input {
  width: 100%;
}

/* Preview */
.upload-preview {
  position: relative;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  animation: fadeUp 0.3s var(--ease);
}

.upload-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.upload-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 14px;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--spring);
  backdrop-filter: blur(8px);
}

.upload-remove:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* Progress bar */
.upload-progress {
  padding: 12px 20px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
}

.upload-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.upload-progress-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
  transition: width 0.2s linear;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.upload-progress-text {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: 0.05em;
  animation: pulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 480px) {
  .upload-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-upload-device,
  .btn-upload-drive {
    justify-content: center;
  }

  .upload-droparea {
    padding: 20px 14px;
  }
}

/* ══════════════════════════════════════════════════════
   USER ROLE MANAGEMENT
   ══════════════════════════════════════════════════════ */
.user-search-row {
  margin-bottom: 16px;
}

.user-search-row input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-b);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.user-search-row input:focus {
  outline: none;
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.08);
}

.user-search-row input::placeholder {
  color: var(--text3);
}

.admin-user-item {
  padding: 16px 18px;
  transition: all 0.3s var(--ease);
}

.admin-user-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-you-badge {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 0.1em;
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

.admin-user-role-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.role-label {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.role-admin {
  background: rgba(253, 224, 71, 0.1);
  color: var(--gold);
  border: 1px solid rgba(253, 224, 71, 0.2);
}

.role-user {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text3);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.btn-role-toggle {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 10px;
  cursor: none;
  transition: all 0.3s var(--spring);
  white-space: nowrap;
  border: 1px solid;
}

.btn-promote {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--accent);
}

.btn-promote:hover {
  background: rgba(74, 222, 128, 0.18);
  border-color: rgba(74, 222, 128, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.15);
}

.btn-demote {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.btn-demote:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}

/* Locked button for self */
.btn-role-toggle[title="You cannot change your own role"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 768px) {
  .admin-user-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .admin-user-role-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

/* ══════════════════════════════════════════════════════
   NEW FEATURES (Search, Sheets, Service Details)
   ══════════════════════════════════════════════════════ */

/* Project Search */
.proj-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .proj-controls {
    flex-direction: row;
    justify-content: space-between;
  }
}

.proj-search {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.proj-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 12px 16px 12px 40px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 14px;
  transition: all 0.3s ease;
}

.proj-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.proj-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text3);
}

/* Service Details toggle */
.btn-svc-more {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text2);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 12px;
  cursor: none;
  width: 100%;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.btn-svc-more:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
}

.svc-details {
  display: none;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  animation: fadeUp 0.3s ease;
}

.svc-details.open {
  display: block;
}

.svc-detail-section {
  margin-bottom: 16px;
}
.svc-detail-section:last-child {
  margin-bottom: 0;
}

.svc-detail-label {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent2);
  margin-bottom: 8px;
}

.svc-detail-value {
  font-size: 13px;
  color: var(--text2);
}

.svc-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tech-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--text2);
}

.svc-del-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-del-list li {
  font-size: 13px;
  color: var(--text2);
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}
.svc-del-list li::before {
  content: "»";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.sheets-embed-wrap {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════
   CHATBOT WIDGET — Floating Panel
   ══════════════════════════════════════════════════════ */

/* ── Floating Action Button ── */
.chatbot-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 24px rgba(34, 211, 238, 0.4),
    0 0 40px rgba(34, 211, 238, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  overflow: hidden;
}

.chatbot-fab-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.3));
}

.chatbot-fab:hover {
  transform: scale(1.1);
  box-shadow: 
    0 6px 32px rgba(34, 211, 238, 0.6),
    0 0 50px rgba(34, 211, 238, 0.3);
}

.chatbot-fab:active {
  transform: scale(0.95);
}

.chatbot-fab-icon,
.chatbot-fab-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-fab-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.chatbot-fab-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.chatbot-fab.active .chatbot-fab-icon {
  opacity: 0;
  transform: scale(0.5);
}

.chatbot-fab.active .chatbot-fab-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Pulse ring */
.chatbot-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.5);
  animation: chatbotPulseRing 2.5s ease-out infinite;
  pointer-events: none;
}

.chatbot-fab.active .chatbot-fab-pulse {
  animation: none;
  opacity: 0;
}

@keyframes chatbotPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ── Chat Panel ── */
.chatbot-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9999;
  width: 400px;
  max-height: 580px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0D0F14;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(79, 70, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Header ── */
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.06));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  font-family: var(--font-d);
  flex-shrink: 0;
  overflow: hidden;
}

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

.chatbot-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #0D0F14;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

.chatbot-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  color: #E8E6F0;
  letter-spacing: -0.3px;
}

.chatbot-subtitle {
  font-family: var(--font-m);
  font-size: 11px;
  color: #A78BFA;
  margin-top: 1px;
}

.chatbot-header-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9CA3AF;
  transition: all 0.2s;
}

.chatbot-header-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #E8E6F0;
}

/* ── Messages Area ── */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  max-height: 340px;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}
.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
  background: #2a2d3a;
  border-radius: 4px;
}

/* Message row */
.chatbot-msg {
  display: flex;
  gap: 8px;
  animation: chatbotSlideUp 0.3s ease forwards;
}

.chatbot-msg.user {
  justify-content: flex-end;
}

.chatbot-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  overflow: hidden;
}

.chatbot-msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  font-family: var(--font-b);
  word-break: break-word;
}

.chatbot-msg.bot .chatbot-msg-bubble {
  background: #161922;
  color: #E8E6F0;
  border-bottom-left-radius: 4px;
  border: 1px solid #1E2130;
}

.chatbot-msg.user .chatbot-msg-bubble {
  background: linear-gradient(135deg, #4F46E5, #6D5BF7);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: #161922;
  border: 1px solid #1E2130;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.chatbot-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A78BFA;
  animation: chatbotTypingBounce 1.4s ease-in-out infinite;
}

.chatbot-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbotTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

@keyframes chatbotSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Summary Card ── */
.chatbot-summary {
  padding: 14px;
  margin: 0 14px 10px;
  border-radius: 14px;
  background: #0F1320;
  border: 1px solid #4F46E5;
  flex-shrink: 0;
}

.chatbot-summary-label {
  font-family: var(--font-m);
  font-size: 10px;
  color: #A78BFA;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.chatbot-summary-text {
  font-size: 12px;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 12px;
  max-height: 100px;
  overflow-y: auto;
}

.chatbot-summary-actions {
  display: flex;
  gap: 8px;
}

.chatbot-email-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-family: var(--font-m);
  background: #1E2130;
  border: 1px solid #2A2D3A;
  color: #E8E6F0;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-email-input:focus {
  border-color: #4F46E5;
}

.chatbot-confirm-btn {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  background: #4F46E5;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.chatbot-confirm-btn:hover {
  background: #6D5BF7;
  transform: translateY(-1px);
}

.chatbot-confirm-btn:disabled {
  background: #2A2D3A;
  cursor: not-allowed;
  transform: none;
}

/* ── Done Card ── */
.chatbot-done {
  text-align: center;
  padding: 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chatbot-done-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.chatbot-done-title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  color: #A78BFA;
  margin-bottom: 8px;
}

.chatbot-done-text {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
}

.chatbot-restart-btn {
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  background: #4F46E5;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.chatbot-restart-btn:hover {
  background: #6D5BF7;
  transform: translateY(-1px);
}

/* ── Input Area ── */
.chatbot-input-area {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: rgba(13, 15, 20, 0.8);
}

.chatbot-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: 14px;
  background: #161922;
  border: 1px solid #1E2130;
  transition: border-color 0.2s;
}

.chatbot-input-wrap:focus-within {
  border-color: rgba(79, 70, 229, 0.4);
}

.chatbot-input-wrap textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: #E8E6F0;
  font-size: 13px;
  font-family: var(--font-b);
  line-height: 1.5;
  padding: 6px 0;
  max-height: 80px;
  min-height: 20px;
}

.chatbot-input-wrap textarea::placeholder {
  color: #475569;
}

.chatbot-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: #1E2130;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.chatbot-send-btn:not(:disabled) {
  background: #4F46E5;
  color: #fff;
}

.chatbot-send-btn:not(:disabled):hover {
  background: #6D5BF7;
  transform: scale(1.05);
}

.chatbot-input-hint {
  text-align: center;
  font-family: var(--font-m);
  font-size: 10px;
  color: #3A3D4A;
  margin-top: 6px;
}

/* ── Light Theme Overrides ── */
[data-theme="light"] .chatbot-panel {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .chatbot-header {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.04));
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .chatbot-title {
  color: #1e293b;
}

[data-theme="light"] .chatbot-status-dot {
  border-color: #ffffff;
}

[data-theme="light"] .chatbot-header-close {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}
[data-theme="light"] .chatbot-header-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1e293b;
}

[data-theme="light"] .chatbot-msg.bot .chatbot-msg-bubble {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #e2e8f0;
}

[data-theme="light"] .chatbot-input-area {
  background: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .chatbot-input-wrap {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

[data-theme="light"] .chatbot-input-wrap textarea {
  color: #1e293b;
}

[data-theme="light"] .chatbot-input-wrap textarea::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .chatbot-send-btn {
  background: #e2e8f0;
  color: #94a3b8;
}

[data-theme="light"] .chatbot-summary {
  background: #f8fafc;
  border-color: #4F46E5;
}

[data-theme="light"] .chatbot-summary-text {
  color: #334155;
}

[data-theme="light"] .chatbot-email-input {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #1e293b;
}

[data-theme="light"] .chatbot-done-text {
  color: #64748b;
}

[data-theme="light"] .chatbot-typing {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .chatbot-fab {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .chatbot-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    transform-origin: bottom center;
  }

  .chatbot-messages {
    max-height: calc(85vh - 200px);
  }
}
/* ── PROJECT DOSSIER (MINI-PAGE) REDESIGN ── */
.dossier-modal .mb {
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.dossier-hero {
  position: relative;
  width: 100%;
  height: 400px;
  background: #000;
}

.dossier-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.dossier-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.dossier-header-content {
  max-width: 800px;
}

.dossier-title {
  font-family: var(--font-d);
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 15px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.dossier-badges {
  display: flex;
  gap: 10px;
}

.dossier-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-m);
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.1em;
}

.dossier-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}

.dossier-close-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: rotate(90deg);
}

.dossier-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 40px;
}

.dossier-sec-title {
  font-family: var(--font-m);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text3);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dossier-sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

.dossier-overview-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text2);
  margin-bottom: 40px;
}

.dossier-detailed-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 40px;
}

.dossier-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.dossier-gallery-item {
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.4s var(--spring);
}

.dossier-gallery-item:hover {
  transform: scale(1.03);
}

.dossier-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sidebar Styles */
.dossier-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 0;
}

.sidebar-block {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sb-label {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sb-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.sb-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sb-tech-tag {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.btn-dossier-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), #22c55e);
  color: #06080d;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-b);
  transition: all 0.3s var(--spring);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.2);
}

.btn-dossier-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(74, 222, 128, 0.4);
}

/* Scrollbar for modal */
.dossier-modal .mb::-webkit-scrollbar {
  width: 6px;
}
.dossier-modal .mb::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.dossier-modal .mb::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

@media (max-width: 900px) {
  .dossier-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .dossier-sidebar {
    position: static;
    order: -1;
  }
  .dossier-title {
    font-size: 36px;
  }
  .dossier-hero {
    height: 300px;
  }
}

/* -- INSPIRED BY IV DRIPS MONITOR -- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--accent2);
  transform: translateY(-5px);
  background: rgba(34, 211, 238, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-card i {
  font-size: 2rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-family: var(--font-d);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.6;
}

.architecture-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  font-family: var(--font-m);
  color: var(--accent);
  white-space: pre;
  overflow-x: auto;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Enhanced tech tags */
.sb-tech-tag {
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.sb-tech-tag:hover {
  background: rgba(129, 140, 248, 0.2);
  border-color: var(--accent3);
  transform: scale(1.05);
}

