/* ─── BASE VARIABLES ────────────────────────── */
:root {
  --bg: #000000;
  --bg-2: #050508;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-dimmer: rgba(255, 255, 255, 0.4);
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-light: #60a5fa;
  --blue-deep: #1e40af;
  --blue-glow: rgba(37, 99, 235, 0.45);
  --warm: #fbbf24;
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--blue); color: white; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

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

section { position: relative; z-index: 2; }

/* ─── CUSTOM CURSOR ─────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(37, 99, 235, 0.08) 25%,
    rgba(37, 99, 235, 0.02) 50%,
    transparent 70%
  );
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  mix-blend-mode: screen;
  filter: blur(30px);
  will-change: transform;
  transition: opacity 0.4s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--blue-bright);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  box-shadow: 0 0 16px var(--blue), 0 0 32px var(--blue-glow);
  mix-blend-mode: screen;
  will-change: transform;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
}

.cursor-dot.hovering {
  width: 36px;
  height: 36px;
  background: rgba(96, 165, 250, 0.25);
  border: 1px solid var(--blue-bright);
  mix-blend-mode: normal;
}

.cursor-glow.hovering {
  width: 700px;
  height: 700px;
}

@media (hover: none) {
  .cursor-glow, .cursor-dot { display: none; }
}

/* ─── NAV ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}
.wordmark-letters {
  display: inline-block;
}
.wordmark-letters span {
  display: inline-block;
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}
.wordmark:hover .wordmark-letters span {
  color: var(--blue-light);
}
.wordmark:hover .wordmark-letters span:nth-child(1) { transform: translateY(-3px); }
.wordmark:hover .wordmark-letters span:nth-child(2) { transform: translateY(2px); }
.wordmark:hover .wordmark-letters span:nth-child(3) { transform: translateY(-3px); }
.wordmark:hover .wordmark-letters span:nth-child(4) { transform: translateY(2px); }
.wordmark:hover .wordmark-letters span:nth-child(5) { transform: translateY(-3px); }
.wordmark:hover .wordmark-letters span:nth-child(6) { transform: translateY(2px); }
.wordmark:hover .wordmark-letters span:nth-child(7) { transform: translateY(-3px); }
.wordmark-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blue-glow);
  animation: pulse-dot 3s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px var(--blue-glow); }
  50% { box-shadow: 0 0 22px var(--blue-glow), 0 0 4px var(--blue-bright); }
}
.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--blue-bright);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav-login {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.nav-login:hover { color: var(--text); }

.nav-cta {
  padding: 0.7rem 1.4rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav-cta:hover {
  background: var(--blue-bright);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--blue-glow);
}

/* ─── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-orb {
  position: absolute;
  top: 50%; left: 30%;
  width: 1100px; height: 1100px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(37, 99, 235, 0.06) 25%,
    rgba(37, 99, 235, 0) 60%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orb-float 18s ease-in-out infinite;
  filter: blur(60px);
}
@keyframes orb-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-48%, -52%) scale(1.06); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  background: var(--surface);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-glow);
}

.hero-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  margin-bottom: 1.8rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--blue-bright);
  color: var(--text);
  box-shadow: 0 16px 40px var(--blue-glow);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--blue-bright);
}
.btn-arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.8s var(--ease);
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ─── HOTEL ILLUSTRATION ──────────────────── */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
  width: 100%;
}
.hotel-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hotel-svg .building line,
.hotel-svg .building rect {
  stroke: rgba(255, 255, 255, 0.85);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.hotel-svg .building .thin {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 0.8;
}
.hotel-svg .sign-text {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 400;
  fill: white;
  letter-spacing: 4px;
}

.hotel-svg .draw {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-stroke 2.4s var(--ease) 0.3s forwards;
}
.hotel-svg .draw-2 { animation-delay: 0.6s; }
.hotel-svg .draw-3 { animation-delay: 0.9s; }
@keyframes draw-stroke {
  to { stroke-dashoffset: 0; }
}

.hotel-svg .window {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 0.8;
  transition: fill 1s ease, stroke 1s ease;
}
.hotel-svg .window.lit {
  fill: rgba(251, 191, 36, 0.55);
  stroke: rgba(251, 191, 36, 0.7);
}

.hotel-svg .particle {
  fill: rgba(96, 165, 250, 0.7);
  animation: particle-float 6s ease-in-out infinite;
}
.hotel-svg .particle.p2 { animation-delay: 1.2s; }
.hotel-svg .particle.p3 { animation-delay: 2.4s; }
.hotel-svg .particle.p4 { animation-delay: 3.6s; }
.hotel-svg .particle.p5 { animation-delay: 0.8s; }
.hotel-svg .particle.p6 { animation-delay: 2s; }
.hotel-svg .particle.p7 { animation-delay: 4.2s; }
.hotel-svg .particle.p8 { animation-delay: 5.1s; }
@keyframes particle-float {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-12px); }
}

.hotel-svg .orbit-ring {
  fill: none;
  stroke: rgba(96, 165, 250, 0.25);
  stroke-width: 0.6;
  stroke-dasharray: 4 6;
  transform-origin: center;
  animation: rotate 40s linear infinite;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hotel-svg .orbit-dot {
  fill: var(--blue-light);
  transform-origin: 300px 350px;
  animation: orbit 12s linear infinite;
  filter: drop-shadow(0 0 6px var(--blue-bright));
}
.hotel-svg .orbit-dot.d2 { animation-delay: -4s; }
.hotel-svg .orbit-dot.d3 { animation-delay: -8s; }
@keyframes orbit {
  from { transform: rotate(0deg) translateX(260px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(260px) rotate(-360deg); }
}

.hotel-svg .pulse {
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 1;
  transform-origin: 300px 540px;
  animation: door-pulse 4s ease-out infinite;
  opacity: 0;
}
.hotel-svg .pulse.p2 { animation-delay: 1.3s; }
.hotel-svg .pulse.p3 { animation-delay: 2.6s; }
@keyframes door-pulse {
  0% { transform: scale(0.3); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotel-svg .ground {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.8;
}

/* CARS driving up to the hotel */
.hotel-svg .car {
  opacity: 0;
  animation: car-cycle 14s ease-in-out infinite;
}
.hotel-svg .car-2 { animation-delay: -7s; }
.hotel-svg .car path,
.hotel-svg .car rect,
.hotel-svg .car circle,
.hotel-svg .car line {
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes car-cycle {
  0% { transform: translate(640px, 595px); opacity: 0; }
  4% { opacity: 1; }
  22% { transform: translate(300px, 595px); opacity: 1; }
  /* stopped at door */
  48% { transform: translate(300px, 595px); opacity: 1; }
  /* drives off */
  72% { transform: translate(-90px, 595px); opacity: 1; }
  76% { opacity: 0; }
  100% { transform: translate(-90px, 595px); opacity: 0; }
}

/* Headlight glow */
.hotel-svg .headlight {
  fill: rgba(255, 255, 200, 0.95);
  filter: drop-shadow(0 0 4px rgba(255, 230, 150, 0.8));
}
.hotel-svg .taillight {
  fill: rgba(255, 80, 80, 0.95);
  filter: drop-shadow(0 0 3px rgba(255, 100, 100, 0.6));
}

/* ─── PHONE SECTION ──────────────────────── */
.phone-section {
  padding: 8rem 0 10rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.phone-section-bg {
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.18) 0%,
    transparent 60%
  );
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.phone-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .phone-grid { grid-template-columns: 1fr; gap: 4rem; }
}
.phone-text .section-label { margin-bottom: 1.5rem; }
.phone-text .section-title { margin-bottom: 1.8rem; }
.phone-text-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.phone-feature-list {
  list-style: none;
  margin-top: 2rem;
}
.phone-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.95rem;
}
.phone-feature-list li:last-child { border-bottom: none; }
.phone-feature-list .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: white;
  font-size: 11px;
  box-shadow: 0 0 12px var(--blue-glow);
}

.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-glow-bg {
  position: absolute;
  inset: -80px;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.35) 0%,
    transparent 60%
  );
  filter: blur(50px);
  pointer-events: none;
}
.phone-frame {
  position: relative;
  width: 320px;
  height: 660px;
  background: linear-gradient(180deg, #1a1a1c 0%, #0a0a0c 100%);
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 100px rgba(37, 99, 235, 0.25),
    0 0 0 8px #1c1c1f,
    0 0 0 9px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 2;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 40px;
  padding: 50px 12px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 16px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}
.status-bar .icons { display: flex; gap: 4px; align-items: center; font-size: 10px; }

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.back-btn {
  color: var(--blue-light);
  font-size: 22px;
  margin-right: 4px;
}
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: white;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
}
.contact-info { line-height: 1.2; }
.contact-name {
  color: white;
  font-size: 13px;
  font-weight: 600;
}
.contact-num {
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  font-weight: 400;
}

.messages {
  flex: 1;
  padding: 18px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: relative;
}
.msg, .typing-bubble {
  max-width: 78%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 12.5px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.msg.in { opacity: 1; transform: translateY(0) scale(1); }
.msg-incoming {
  background: #1c1c1e;
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.msg-outgoing {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.msg .small {
  display: block;
  font-size: 10.5px;
  color: var(--blue-light);
  margin-top: 2px;
  text-decoration: underline;
}
.typing-bubble {
  background: #1c1c1e;
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 12px 16px;
}
.typing-bubble.in { opacity: 1; transform: translateY(0) scale(1); }
.typing-bubble span {
  width: 6px; height: 6px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: typing-anim 1.4s infinite ease-in-out;
}
.typing-bubble span:nth-child(2) { animation-delay: 0.18s; }
.typing-bubble span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-anim {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.home-indicator {
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  margin: 4px auto 0;
}

.notif-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 16px var(--blue-glow);
  z-index: 10;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s var(--ease);
}
.notif-badge.in {
  opacity: 1;
  transform: scale(1);
  animation: badge-bounce 2s ease-in-out infinite;
}
@keyframes badge-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ─── PRODUCTS ───────────────────────────── */
.products {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  gap: 3rem;
  flex-wrap: wrap;
}
.section-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--blue-light);
}
.section-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-title em { font-style: italic; color: var(--blue-light); }
.section-description {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 360px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  position: relative;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(37, 99, 235, 0.18) 0%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.product-card:hover {
  border-color: var(--blue-bright);
  background: var(--surface-hover);
}
.product-card:hover::before { opacity: 1; }
.product-card.featured {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.02) 100%);
  border-color: rgba(96, 165, 250, 0.3);
}
.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.product-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dimmer);
  letter-spacing: 0.05em;
}
.product-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-status.live {
  background: rgba(37, 99, 235, 0.18);
  color: var(--blue-light);
  border: 1px solid rgba(96, 165, 250, 0.4);
}
.product-status.coming {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dimmer);
  border: 1px solid var(--border);
}
.product-name {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  line-height: 1;
}
.product-name em { font-style: italic; font-weight: 300; color: var(--blue-light); }
.product-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 90%;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s var(--ease);
}
.product-link svg { transition: transform 0.4s var(--ease); }
.product-card:hover .product-link { color: var(--blue-light); }
.product-card:hover .product-link svg { transform: translateX(6px); }

/* ─── MARQUEE STRIP ───────────────────────── */
.marquee {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(37, 99, 235, 0.02);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  align-items: center;
}
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.marquee-item::after {
  content: "✦";
  color: var(--blue);
  font-size: 0.8em;
  font-style: normal;
}

/* ─── PILLARS ───────────────────────────── */
.pillars {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.pillars-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 5rem;
}
.pillars-title em { font-style: italic; color: var(--blue-light); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.pillar {
  padding: 2rem;
  border-top: 1px solid var(--border-strong);
  transition: border-color 0.4s var(--ease);
}
.pillar:hover { border-color: var(--blue-bright); }
.pillar-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}
.pillar-title {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.pillar-desc {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ─── FINAL CTA ──────────────────────────── */
.final-cta {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-orb {
  position: absolute;
  bottom: -300px;
  left: 50%;
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
  transform: translateX(-50%);
  filter: blur(60px);
  pointer-events: none;
}
.final-cta-content { position: relative; z-index: 2; }
.final-cta-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.final-cta-title em { font-style: italic; color: var(--blue-light); }
.final-cta-subtitle {
  color: var(--text-dim);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer-brand { max-width: 320px; }
.footer-tagline {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dimmer);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dimmer);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── REVEAL ANIMATIONS ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
}

/* ─── MODAL ──────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: linear-gradient(180deg, #0c0c14 0%, #050508 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(37, 99, 235, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.5s var(--ease);
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.modal-close:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--blue-bright);
}
.modal-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.modal-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.modal-title em { font-style: italic; color: var(--blue-light); }
.modal-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}
.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: var(--text-dimmer);
}
.modal-form textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}
.modal-form .btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}
.modal-success {
  text-align: center;
  padding: 2rem 0;
}
.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 32px;
  color: white;
  box-shadow: 0 16px 48px var(--blue-glow);
  animation: success-pop 0.6s var(--ease);
}
@keyframes success-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ─── ABOUT PAGE ──────────────────────────── */
.about-page-hero {
  min-height: 70vh;
  padding: 12rem 0 6rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-page-hero-bg {
  position: absolute;
  top: 50%; left: 50%;
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}
.about-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.about-page-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.about-page-title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-page-subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.5;
}

.about-body {
  padding: 6rem 0 9rem;
  border-top: 1px solid var(--border);
}
.about-body-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .about-body-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.about-body-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-body-text p {
  color: var(--text-dim);
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}
.about-body-text p:last-child { margin-bottom: 0; }
.about-body-text strong {
  color: var(--text);
  font-weight: 500;
}

.about-values {
  padding: 6rem 0 9rem;
  border-top: 1px solid var(--border);
}
.about-values-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  max-width: 800px;
}
.about-values-title em { font-style: italic; color: var(--blue-light); }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .about-values-grid { grid-template-columns: 1fr; }
}
.value-card {
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.5s var(--ease);
}
.value-card:hover {
  border-color: var(--blue-bright);
  background: var(--surface-hover);
  transform: translateY(-4px);
}
.value-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}
.value-title {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.value-desc {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ─── SECURITY STRIP ────────────────────────── */
.security-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.security-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.02) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 20px;
}
@media (max-width: 1024px) {
  .security-strip-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}
.security-strip-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 8px 24px var(--blue-glow);
}
.security-strip-text { flex: 1; }
.security-strip-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.security-strip-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ─── SECURITY PAGE ─────────────────────────── */
.security-hero {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.security-hero-bg {
  position: absolute;
  top: 50%; left: 50%;
  width: 1100px; height: 1100px;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}
.security-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.security-hero-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.8rem;
}
.security-hero-title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.security-hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--text-dim);
  max-width: 640px;
  line-height: 1.6;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}
@media (max-width: 1024px) {
  .security-grid { grid-template-columns: 1fr; }
}
.security-card {
  padding: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.4s var(--ease);
}
.security-card:hover {
  border-color: rgba(96, 165, 250, 0.3);
  background: var(--surface-hover);
  transform: translateY(-3px);
}
.security-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 1.4rem;
}
.security-card-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.security-card-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

.security-compliance {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.compliance-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.compliance-badge {
  padding: 1.4rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 250px;
}
.compliance-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.compliance-badge-text { line-height: 1.3; }
.compliance-badge-title {
  font-size: 0.95rem;
  font-weight: 600;
}
.compliance-badge-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.security-promise {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.security-promise-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.1;
}
.security-promise-title em { font-style: italic; color: var(--blue-light); }
.promise-list {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
}
.promise-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-dim);
}
.promise-list li:last-child { border-bottom: none; }
.promise-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── SCROLL PROGRESS BAR ───────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  z-index: 999;
  box-shadow: 0 0 16px var(--blue-glow), 0 0 4px var(--blue-bright);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── BACK TO TOP ──────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50%;
  color: var(--text);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue);
  border-color: var(--blue-bright);
  box-shadow: 0 12px 32px var(--blue-glow);
}

/* ─── FAQ ──────────────────────────────────── */
.faq {
  padding: 9rem 0;
  border-top: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.faq-header .section-label { margin-bottom: 1.5rem; }
.faq-header .section-title { margin-bottom: 1.5rem; }
.faq-subtitle {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
}
.faq-subtitle a {
  color: var(--blue-light);
  border-bottom: 1px solid rgba(96, 165, 250, 0.4);
  transition: border-color 0.3s var(--ease);
}
.faq-subtitle a:hover {
  border-color: var(--blue-light);
}

.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease), padding 0.4s var(--ease);
  gap: 1rem;
}
.faq-q:hover { color: var(--blue-light); }
.faq-icon {
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.5s var(--ease), color 0.3s var(--ease);
  color: var(--blue-light);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--blue-bright);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease),
    opacity 0.4s var(--ease);
  padding: 0;
  opacity: 0;
  max-width: 88%;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 0 1.8rem;
  opacity: 1;
}

/* ─── ACTIVE NAV LINK ──────────────────────── */
.nav-links a.active {
  color: var(--text);
}
.nav-links a.active::after {
  width: 100%;
}

/* ─── MODAL FORM SPINNER ───────────────────── */
.modal-form button[type="submit"] .spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.modal-form.submitting button[type="submit"] .spinner { display: inline-block; }
.modal-form.submitting button[type="submit"] .btn-arrow,
.modal-form.submitting button[type="submit"] .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── PAGE LOADER ──────────────────────────── */
.loader-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.loader-screen.done {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  text-align: center;
  position: relative;
}
.loader-dot-pulse {
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
  margin: 0 auto 1.8rem;
  box-shadow: 0 0 24px var(--blue-glow);
  animation: loader-dot-pulse 1.4s ease-in-out infinite,
    loader-dot-appear 0.6s var(--ease);
}
@keyframes loader-dot-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 24px var(--blue-glow);
  }
  50% {
    transform: scale(1.4);
    box-shadow: 0 0 48px var(--blue-glow), 0 0 12px var(--blue-bright);
  }
}
@keyframes loader-dot-appear {
  from { opacity: 0; transform: scale(0.3); }
  to { opacity: 1; transform: scale(1); }
}
.loader-line {
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 165, 250, 0.8),
    transparent
  );
  margin: 0 auto 1.8rem;
  animation: loader-line 1.2s var(--ease) 0.5s forwards;
}
@keyframes loader-line {
  to { width: 320px; }
}
.loader-wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.4rem;
  letter-spacing: 0.25em;
  color: white;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding-left: 0.25em;
}
.loader-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: loader-letter 0.7s var(--ease) forwards;
}
.loader-wordmark span:nth-child(1) { animation-delay: 1.0s; }
.loader-wordmark span:nth-child(2) { animation-delay: 1.18s; }
.loader-wordmark span:nth-child(3) { animation-delay: 1.36s; }
.loader-wordmark span:nth-child(4) { animation-delay: 1.54s; }
.loader-wordmark span:nth-child(5) { animation-delay: 1.72s; }
.loader-wordmark span:nth-child(6) { animation-delay: 1.9s; }
.loader-wordmark span:nth-child(7) { animation-delay: 2.08s; }
@keyframes loader-letter {
  to { opacity: 1; transform: translateY(0); }
}
.loader-tagline {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1.6rem;
  opacity: 0;
  animation: loader-fade 0.8s var(--ease) 2.6s forwards;
}
@keyframes loader-fade {
  to { opacity: 1; }
}

/* ─── LOGIN PAGE ──────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.login-bg {
  position: absolute;
  top: 50%; left: 50%;
  width: 1100px;
  height: 1100px;
  background: radial-gradient(
    circle at center,
    rgba(37, 99, 235, 0.2) 0%,
    transparent 60%
  );
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}
.login-card {
  position: relative;
  z-index: 2;
  max-width: 440px;
  width: 100%;
  padding: 3rem;
  background: linear-gradient(180deg, #0c0c14 0%, #050508 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(37, 99, 235, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.login-back {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s var(--ease);
}
.login-back:hover { color: var(--text); }
.login-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.login-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  text-align: center;
}
.login-title em { font-style: italic; color: var(--blue-light); }
.login-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.login-form input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}
.login-form input:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.login-form input::placeholder { color: var(--text-dimmer); }
.login-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.login-hint {
  margin-top: 1.8rem;
  padding: 0.9rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--blue-light);
  text-align: center;
  letter-spacing: 0.02em;
}
.login-hint strong { color: var(--text); font-weight: 500; }

/* ─── ADMIN LAYOUT ────────────────────────── */
.admin-body {
  background: var(--bg);
  overflow: hidden;
}
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  height: 100vh;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr !important; }
  .sidebar { display: none !important; }
}

/* Sidebar — independently scrollable grid cell */
.sidebar {
  background: #070709;
  border-right: 1px solid var(--border);
  padding: 1.8rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 30;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 10px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
.sidebar-logo {
  padding: 0.2rem 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.4rem;
}
.sidebar-nav {
  flex: 1;
  padding: 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-section {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dimmer);
  padding: 1rem 0.9rem 0.5rem;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.sidebar-item.active {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-light);
}
.sidebar-item.active::before {
  content: "";
  position: absolute;
  left: -0.7rem;
  top: 25%;
  bottom: 25%;
  width: 3px;
  background: var(--blue);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px var(--blue-glow);
}
.sidebar-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sidebar-badge {
  margin-left: auto;
  background: var(--blue);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}
.sidebar-user {
  margin: 1rem 0.7rem 0;
  padding: 1rem 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}
.sidebar-user-info {
  flex: 1;
  line-height: 1.2;
}
.sidebar-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.sidebar-user-role {
  font-size: 0.72rem;
  color: var(--text-dimmer);
}

/* Admin main — independently scrollable content area */
.admin-main {
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.25) transparent;
}

/* Custom scrollbar — sleek, thin, glowing */
.admin-main::-webkit-scrollbar {
  width: 6px;
}
.admin-main::-webkit-scrollbar-track {
  background: transparent;
}
.admin-main::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.25);
  border-radius: 10px;
  transition: background 0.3s;
}
.admin-main::-webkit-scrollbar-thumb:hover {
  background: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Sidebar scrollbar */
.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Firefox scrollbar — merged into main .admin-main block isn't possible so keep separate */
.sidebar-nav {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.admin-property {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.admin-property-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}
.admin-topbar-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s var(--ease);
  position: relative;
}
.admin-topbar-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--blue-bright);
}
.admin-topbar-btn .notif-pip {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--red, #ef4444);
  border: 2px solid #000;
  border-radius: 50%;
}

.admin-content {
  padding: 2.8rem 3.5rem 8rem;
  max-width: 1400px;
  min-height: auto;
}
.admin-greeting {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.admin-greeting h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}
.admin-greeting h1 em { font-style: italic; color: var(--blue-light); }
.admin-greeting p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.stat-card:hover {
  border-color: var(--blue-bright);
  background: var(--surface-hover);
  transform: translateY(-2px);
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dimmer);
  margin-bottom: 0.8rem;
}
.stat-value {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.stat-value em { font-style: italic; color: var(--blue-light); }
.stat-change {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.stat-change.up { color: #22c55e; }
.stat-change.down { color: #ef4444; }

/* Chart */
.chart-card {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 2rem;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  gap: 1rem;
}
.chart-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.chart-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.chart-tabs {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
}
.chart-tab {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 6px;
  transition: all 0.3s var(--ease);
}
.chart-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 8px var(--blue-glow);
}
.chart-svg {
  width: 100%;
  height: 220px;
  display: block;
}

/* Split grid (activity + cars) */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1rem;
}
@media (max-width: 1100px) {
  .split-grid { grid-template-columns: 1fr; }
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.panel-header {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.panel-more {
  font-size: 0.82rem;
  color: var(--blue-light);
}
.panel-body {
  padding: 0.6rem 0;
}

/* Activity feed */
.activity-item {
  padding: 0.9rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s var(--ease);
}
.activity-item:hover { background: var(--surface-hover); }
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 700;
}
.activity-icon.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.activity-icon.amber { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.activity-icon.red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.activity-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
.activity-text span {
  color: var(--text-dimmer);
  font-family: var(--mono);
  font-size: 0.72rem;
  display: block;
  margin-top: 2px;
}

/* Ticket table */
.ticket-row {
  padding: 1rem 1.6rem;
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s var(--ease);
}
.ticket-row:hover { background: var(--surface-hover); }
.ticket-row:last-child { border-bottom: none; }
.ticket-num {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}
.ticket-info {
  min-width: 0;
}
.ticket-info-car {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-info-meta {
  font-size: 0.75rem;
  color: var(--text-dimmer);
  font-family: var(--mono);
  margin-top: 2px;
}
.ticket-state {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ticket-state.parked { background: rgba(255, 255, 255, 0.06); color: var(--text-dim); border: 1px solid var(--border); }
.ticket-state.requested { background: rgba(37, 99, 235, 0.18); color: var(--blue-light); border: 1px solid rgba(96, 165, 250, 0.4); }
.ticket-state.checkedout { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.ticket-state.delivered { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); }
.ticket-type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ticket-type-dot.daily { background: #e8e4d8; box-shadow: 0 0 6px rgba(232, 228, 216, 0.4); }
.ticket-type-dot.overnight { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }

/* Alert banner */
.alert-banner {
  padding: 1rem 1.4rem;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: alert-pulse 2s ease-in-out infinite;
}
@keyframes alert-pulse {
  0%, 100% { border-color: rgba(96, 165, 250, 0.3); }
  50% { border-color: rgba(96, 165, 250, 0.6); }
}
.alert-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--blue-glow);
  font-size: 1rem;
}
.alert-banner-text {
  flex: 1;
  font-size: 0.9rem;
}
.alert-banner-text strong { color: var(--text); font-weight: 600; }
.alert-banner-text span { color: var(--text-dim); }
.alert-banner .btn {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

/* ─── ATTENDANT VIEW ──────────────────────── */
.attendant-page {
  min-height: 100vh;
  padding: 1.5rem 1.2rem 6rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.attendant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.attendant-property {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.attendant-shift {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dimmer);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.attendant-shift-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: attendant-pulse 2s ease-in-out infinite;
}
@keyframes attendant-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.attendant-user {
  text-align: right;
}
.attendant-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.attendant-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.attendant-action {
  padding: 1.4rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  text-align: left;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}
.attendant-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.attendant-action:hover::before { opacity: 1; }
.attendant-action:hover {
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}
.attendant-action-icon {
  font-size: 1.4rem;
  color: var(--blue-light);
  margin-bottom: 0.2rem;
}
.attendant-action-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.attendant-action-desc {
  font-size: 0.78rem;
  color: var(--text-dimmer);
}
.attendant-action.primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.08));
  border-color: rgba(96, 165, 250, 0.4);
}

.priority-alert {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.04));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: priority-pulse 1.6s ease-in-out infinite;
}
@keyframes priority-pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.7);
  }
}
.priority-alert-icon {
  width: 40px;
  height: 40px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}
.priority-alert-text {
  flex: 1;
  font-size: 0.92rem;
}
.priority-alert-text strong { display: block; color: white; font-weight: 600; }
.priority-alert-text span { color: var(--text-dim); font-size: 0.82rem; }

.filter-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.filter-tab {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  text-align: center;
}
.filter-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 12px var(--blue-glow);
}
.filter-tab .count {
  margin-left: 0.3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  opacity: 0.7;
}

.attendant-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.attendant-ticket {
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s var(--ease);
}
.attendant-ticket:hover {
  background: var(--surface-hover);
  border-color: rgba(96, 165, 250, 0.3);
}
.attendant-ticket-num {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  min-width: 52px;
}
.attendant-ticket-info { flex: 1; min-width: 0; }
.attendant-ticket-car {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attendant-ticket-meta {
  font-size: 0.74rem;
  color: var(--text-dimmer);
  font-family: var(--mono);
}
.attendant-ticket.highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.03));
  border-color: rgba(96, 165, 250, 0.4);
}

/* ─── GUEST TRACKING ──────────────────────── */
.guest-page {
  min-height: 100vh;
  padding: 2rem 1.2rem 4rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.guest-header {
  text-align: center;
  margin-bottom: 2rem;
}
.guest-hotel {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.guest-welcome {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.guest-state-demo {
  margin-bottom: 1.8rem;
  padding: 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 12px;
}
.guest-state-demo-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
  text-align: center;
}
.guest-state-buttons {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--surface);
  border-radius: 8px;
}
.guest-state-btn {
  flex: 1;
  padding: 0.5rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 6px;
  transition: all 0.3s var(--ease);
}
.guest-state-btn.active {
  background: var(--blue);
  color: white;
}

.guest-ticket-display {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, transparent 100%);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}
.guest-ticket-display::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  transform: translateX(-50%);
}
.guest-ticket-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dimmer);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.guest-ticket-num {
  font-family: var(--display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue-light);
  font-style: italic;
  margin-bottom: 0.8rem;
}
.guest-car {
  font-size: 0.92rem;
  color: var(--text-dim);
}

.guest-status {
  padding: 1.8rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  margin-bottom: 1rem;
  text-align: center;
}
.guest-status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 32px var(--blue-glow);
}
.guest-status-icon.ready {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.4);
  animation: ready-bounce 2s ease-in-out infinite;
}
@keyframes ready-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.guest-status-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.guest-status-title em { font-style: italic; color: var(--blue-light); }
.guest-status-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.guest-request-btn {
  width: 100%;
  padding: 1.3rem;
  background: var(--blue);
  color: white;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 32px var(--blue-glow);
  position: relative;
  overflow: hidden;
}
.guest-request-btn:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--blue-glow);
}

.guest-pay-section {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
}
.guest-pay-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.guest-pay-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.guest-pay-amount {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
}
.guest-pay-amount em { font-style: italic; color: var(--blue-light); }
.guest-pay-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.guest-pay-btn {
  padding: 0.9rem;
  background: white;
  color: #000;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.guest-pay-btn:hover { transform: translateY(-2px); }
.guest-pay-btn.google { background: #222; color: white; border: 1px solid var(--border-strong); }

.guest-map {
  height: 260px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.guest-map-svg { width: 100%; height: 100%; display: block; }
.guest-map-eta {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 0.9rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.guest-map-eta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: attendant-pulse 1.5s ease-in-out infinite;
}

.guest-tip {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.guest-tip-header {
  text-align: center;
  margin-bottom: 1rem;
}
.guest-tip-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}
.guest-tip-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.guest-tip-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.guest-tip-btn {
  padding: 0.8rem 0.3rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue-light);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.guest-tip-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: translateY(-2px);
}

.guest-footer {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dimmer);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* State visibility controls */
[data-show-state] { display: none; }
[data-show-state].visible { display: block; }

/* ─── PROPERTY DROPDOWN ────────────────────── */
.admin-property-wrap { position: relative; }
.admin-property {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: all 0.3s var(--ease);
}
.admin-property:hover {
  background: var(--surface-hover);
  border-color: var(--blue-bright);
}
.prop-chev {
  margin-left: 0.3rem;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease);
}
.admin-property.open .prop-chev { transform: rotate(180deg); }

.property-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: linear-gradient(180deg, #0c0c14 0%, #050508 100%);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(37, 99, 235, 0.15);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 50;
}
.property-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.property-dropdown-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dimmer);
  padding: 0.7rem 0.8rem 0.5rem;
}
.property-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 10px;
  text-align: left;
  transition: background 0.3s var(--ease);
  color: var(--text);
}
.property-option:hover { background: rgba(255, 255, 255, 0.04); }
.property-option.active { background: rgba(37, 99, 235, 0.12); }
.prop-info { flex: 1; line-height: 1.3; }
.prop-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.prop-loc {
  font-size: 0.74rem;
  color: var(--text-dimmer);
  margin-top: 2px;
}
.prop-check {
  color: var(--blue-light);
  font-size: 1rem;
}
.property-divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0.5rem;
}
.property-option.add {
  color: var(--blue-light);
}
.prop-add-icon {
  width: 30px;
  height: 30px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px dashed rgba(96, 165, 250, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
}

/* ─── ON-SHIFT ATTENDANTS PANEL ────────────── */
.onshift-card {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 2rem;
}
.onshift-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.onshift-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}
.onshift-title em { font-style: italic; color: var(--blue-light); }
.onshift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 1100px) {
  .onshift-grid { grid-template-columns: 1fr; }
}
.onshift-person {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: all 0.3s var(--ease);
}
.onshift-person:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(96, 165, 250, 0.3);
}
.onshift-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.onshift-info { flex: 1; min-width: 0; }
.onshift-name {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.onshift-status {
  font-size: 0.74rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.onshift-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.onshift-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: attendant-pulse 1.8s ease-in-out infinite;
}
.onshift-dot.idle { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }
.onshift-stats {
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-dimmer);
  line-height: 1.4;
  flex-shrink: 0;
}
.onshift-stats strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ─── GUEST PAGE: BOLD TICKET NUM ──────────── */
.guest-ticket-num {
  font-weight: 700;
  font-style: italic;
}

/* ─── GUEST TIP CUSTOM + PAY ───────────────── */
.guest-tip-custom {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.5rem;
}
.guest-tip-custom input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}
.guest-tip-custom input:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.guest-tip-custom input::placeholder { color: var(--text-dimmer); }
.guest-tip-custom-btn {
  padding: 0.85rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}
.guest-tip-custom-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 16px var(--blue-glow);
}

.guest-tip-btn.selected {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.guest-tip-pay {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.guest-tip-pay.visible {
  max-height: 200px;
  opacity: 1;
}
.guest-tip-selected {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}
.guest-tip-selected strong {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  color: var(--blue-light);
  font-size: 1.2rem;
  margin-left: 0.3rem;
}

/* ─── ATTENDANT TICKET (button) ───────────── */
.attendant-ticket {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

/* ─── TICKET ACTION SHEET ────────────────── */
.ticket-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
@media (min-width: 700px) {
  .ticket-sheet-overlay { align-items: center; padding: 2rem; }
}
.ticket-sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.ticket-sheet {
  background: linear-gradient(180deg, #0c0c14 0%, #050508 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 2rem;
  transform: translateY(40px);
  transition: transform 0.5s var(--ease);
  box-shadow:
    0 -20px 80px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(37, 99, 235, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (min-width: 700px) {
  .ticket-sheet { border-radius: 24px; }
}
.ticket-sheet-overlay.open .ticket-sheet {
  transform: translateY(0);
}
.ticket-sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.ticket-sheet-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.ticket-sheet-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--blue-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.ticket-sheet-car {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.ticket-sheet-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--mono);
}
.ticket-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ticket-sheet-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}
.ticket-sheet-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateX(2px);
}
.ticket-sheet-item.primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.05));
  border-color: rgba(96, 165, 250, 0.4);
}
.ticket-sheet-item.primary:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.08));
  border-color: var(--blue-bright);
  box-shadow: 0 8px 24px var(--blue-glow);
}
.ticket-sheet-item.destructive { color: #ef4444; }
.ticket-sheet-item.destructive:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.4);
}
.sheet-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.ticket-sheet-item.primary .sheet-icon {
  background: var(--blue);
  color: white;
  box-shadow: 0 0 16px var(--blue-glow);
}
.ticket-sheet-item.destructive .sheet-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.sheet-label { flex: 1; line-height: 1.3; }
.sheet-label strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.ticket-sheet-item.destructive .sheet-label strong { color: #ef4444; }
.sheet-label small {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.ticket-sheet-close {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
}
.ticket-sheet-close:hover {
  background: var(--surface-hover);
  color: var(--text);
}

/* ─── PAGE TITLE (placeholder pages) ───────── */
.page-title-block {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.page-title-block h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.page-title-block h1 em { font-style: italic; color: var(--blue-light); }
.page-title-block p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 600px;
}

/* ─── DATA TABLE ──────────────────────────── */
.data-table {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.data-table-row {
  display: grid;
  padding: 1rem 1.4rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s var(--ease);
}
.data-table-row:hover { background: var(--surface-hover); }
.data-table-row:last-child { border-bottom: none; }
.data-table-row.head {
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dimmer);
  font-weight: 500;
}

/* ─── PAGE TOOLBAR ────────────────────────── */
.page-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.page-toolbar input.search {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
}
.page-toolbar input.search:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.05);
}
.page-toolbar input.search::placeholder { color: var(--text-dimmer); }

/* ─── INTEGRATION CARDS ───────────────────── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .integration-grid { grid-template-columns: 1fr; } }
.integration-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.integration-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(96, 165, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.integration-info { flex: 1; min-width: 0; }
.integration-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.integration-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.integration-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.integration-status.connected {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.integration-status.disconnected {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ─── SETTINGS FORM ─────────────────────── */
.settings-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 1.2rem;
}
.settings-section h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.settings-section .desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.settings-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
  align-items: center;
}
@media (max-width: 700px) {
  .settings-row { grid-template-columns: 1fr; gap: 0.5rem; }
}
.settings-label {
  font-size: 0.9rem;
  font-weight: 500;
}
.settings-label small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-top: 2px;
}
.settings-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.3s var(--ease);
}
.settings-input:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.05);
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  border: 1px solid var(--border);
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}
.toggle.on {
  background: var(--blue);
  border-color: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-glow);
}
.toggle.on::after { transform: translateX(20px); }

/* ─── JARVIS FLOATING BUTTON ────────────── */
.jarvis-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1025 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.4);
  box-shadow:
    0 0 30px rgba(37, 99, 235, 0.3),
    0 0 60px rgba(37, 99, 235, 0.1),
    inset 0 0 20px rgba(37, 99, 235, 0.1);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--ease);
  animation: jarvis-breathe 4s ease-in-out infinite;
  overflow: visible;
}
.jarvis-btn:hover {
  transform: scale(1.1);
  border-color: var(--blue-bright);
  box-shadow:
    0 0 40px rgba(37, 99, 235, 0.5),
    0 0 80px rgba(37, 99, 235, 0.2),
    inset 0 0 30px rgba(37, 99, 235, 0.15);
}
.jarvis-btn:active {
  transform: scale(0.95);
}
@keyframes jarvis-breathe {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(37, 99, 235, 0.3),
      0 0 60px rgba(37, 99, 235, 0.1),
      inset 0 0 20px rgba(37, 99, 235, 0.1);
  }
  50% {
    box-shadow:
      0 0 40px rgba(37, 99, 235, 0.45),
      0 0 80px rgba(37, 99, 235, 0.15),
      inset 0 0 25px rgba(37, 99, 235, 0.15);
  }
}

/* Jarvis icon SVG */
.jarvis-icon {
  width: 38px;
  height: 38px;
  position: relative;
}
.jarvis-icon .ring-outer {
  fill: none;
  stroke: rgba(96, 165, 250, 0.5);
  stroke-width: 1;
  transform-origin: center;
  animation: jarvis-ring-spin 20s linear infinite;
}
.jarvis-icon .ring-inner {
  fill: none;
  stroke: rgba(96, 165, 250, 0.7);
  stroke-width: 1.2;
  stroke-dasharray: 8 4;
  transform-origin: center;
  animation: jarvis-ring-spin 12s linear infinite reverse;
}
.jarvis-icon .core {
  fill: var(--blue-bright);
  filter: drop-shadow(0 0 6px var(--blue)) drop-shadow(0 0 12px rgba(37, 99, 235, 0.5));
}
.jarvis-icon .core-letter {
  fill: white;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  text-anchor: middle;
  dominant-baseline: central;
}
.jarvis-icon .node {
  fill: var(--blue-light);
  filter: drop-shadow(0 0 3px var(--blue-bright));
}
.jarvis-icon .arc {
  fill: none;
  stroke: rgba(96, 165, 250, 0.35);
  stroke-width: 0.8;
}
@keyframes jarvis-ring-spin {
  to { transform: rotate(360deg); }
}

/* Jarvis tooltip */
.jarvis-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-light);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transform: translateY(-50%) translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}
.jarvis-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(10, 10, 20, 0.95);
  border-right: 1px solid rgba(96, 165, 250, 0.3);
  border-top: 1px solid rgba(96, 165, 250, 0.3);
}
.jarvis-btn:hover .jarvis-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Jarvis notification pip */
.jarvis-pip {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border: 2px solid #0a0a1a;
  border-radius: 50%;
  animation: jarvis-pip-pulse 2s ease-in-out infinite;
}
@keyframes jarvis-pip-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ─── JARVIS CHAT PANEL ──────────────────── */
.jarvis-panel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 400px;
  height: 580px;
  max-height: calc(100vh - 4rem);
  background: linear-gradient(180deg, #0a0a18 0%, #060610 100%);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 24px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(37, 99, 235, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 91;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.5s var(--ease);
}
@media (max-width: 500px) {
  .jarvis-panel {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 1rem;
    height: calc(100vh - 6rem);
  }
}
.jarvis-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.jarvis-panel-header {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.jarvis-panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--blue-glow);
  flex-shrink: 0;
}
.jarvis-panel-icon span {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  color: white;
  font-size: 16px;
}
.jarvis-panel-title {
  flex: 1;
}
.jarvis-panel-name {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.jarvis-panel-status {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #22c55e;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.jarvis-panel-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.jarvis-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s var(--ease);
}
.jarvis-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.jarvis-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.jarvis-msg {
  max-width: 85%;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.jarvis-msg.bot {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.2);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  color: var(--text);
}
.jarvis-msg.user {
  background: var(--blue);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 12px var(--blue-glow);
}
.jarvis-msg .mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--blue-light);
  display: block;
  margin-top: 0.4rem;
  padding: 0.5rem 0.7rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.jarvis-input-area {
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(96, 165, 250, 0.12);
  display: flex;
  gap: 0.6rem;
}
.jarvis-input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}
.jarvis-input:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.jarvis-input::placeholder { color: var(--text-dimmer); }
.jarvis-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--blue-glow);
}
.jarvis-send:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--blue-glow);
}

/* ─── CHARGE TYPE PICKER (dark cards) ────── */
.charge-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.charge-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.charge-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.charge-option:hover {
  background: var(--surface-hover);
  border-color: var(--blue-bright);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}
.charge-option.selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--blue-bright);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.charge-option.selected::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.charge-option-name {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
}
.charge-option-price {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-light);
}

/* ─── SEGMENTED TOGGLE (binary/ternary picker) ────── */
.seg-toggle {
  display: inline-flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.seg-toggle-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  user-select: none;
  white-space: nowrap;
}
.seg-toggle-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg-toggle-option:hover:not(.selected) {
  color: var(--text);
}
.seg-toggle-option.selected {
  color: var(--text);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.28), rgba(37, 99, 235, 0.14));
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.35),
    0 0 22px rgba(37, 99, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.seg-toggle-caption {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dimmer);
  letter-spacing: 0.03em;
}

/* ─── CUSTOM CHECKBOX / CHARGE CARD FORM ── */
.charge-card-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-size: 0.88rem;
  color: var(--text-dim);
}
.charge-card-checkbox:hover { border-color: var(--blue-bright); color: var(--text); }

/* ─── PROPERTY / CLIENT CARDS (glow) ────── */
.property-card {
  padding: 1.8rem 1.8rem 1.6rem;
  background: var(--surface);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 18px;
  margin-bottom: 1.4rem;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.08) inset;
  animation: propertyPulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.property-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: 0.6;
}
.property-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-bright);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.45), 0 10px 40px rgba(37, 99, 235, 0.3);
}
@keyframes propertyPulse {
  0%, 100% { box-shadow: 0 0 22px rgba(0, 229, 255, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.08) inset; }
  50% { box-shadow: 0 0 28px rgba(0, 229, 255, 0.3), 0 0 0 1px rgba(37, 99, 235, 0.12) inset; }
}

/* ─── EXPANDING STAFF ROW ────────────────── */
.staff-row-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0 1.4rem;
}
.staff-row-expanded.open {
  max-height: 900px;
  opacity: 1;
  padding: 1.2rem 1.4rem 1.4rem;
}

/* ─── Modal close X refinement ──────────── */
.modal-close {
  font-family: Arial, sans-serif;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.modal-close > * { line-height: 1; }

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════ */

/* ─── HAMBURGER BUTTON ──────────────────────── */
.mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  flex-shrink: 0;
}
.mobile-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}
.mobile-hamburger span:last-child {
  width: 14px;
}
.admin-hamburger span {
  background: var(--blue-light);
}

/* Hamburger → X animation */
.mobile-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.mobile-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 20px;
}

@media (max-width: 1024px) {
  .mobile-hamburger { display: flex; }
}

/* ─── MOBILE DRAWER ─────────────────────────── */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #0f0f18;
  border-right: 1px solid var(--border);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.admin-drawer {
  background: #0d1620;
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: scale(1.05);
}
.mobile-drawer-nav {
  flex: 1;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer-nav > a,
.mobile-drawer-nav > .sidebar-section,
.mobile-drawer-nav > .sidebar-item {
  /* Inherit sidebar styles for admin drawer */
}
.mobile-drawer-nav > a:not(.sidebar-item) {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.2s var(--ease);
}
.mobile-drawer-nav > a:not(.sidebar-item):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.mobile-drawer-property {
  padding: 0.8rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer-property:empty {
  display: none;
  padding: 0;
}
.mobile-drawer-footer {
  padding: 1.4rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
.mobile-drawer-login {
  font-size: 0.92rem;
  color: var(--blue-light);
}

/* User profile in admin drawer */
.mobile-drawer-user {
  margin: 0;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--border);
}

/* ─── MOBILE BOTTOM BAR ─────────────────────── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(7, 7, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 90;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 1rem 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 1024px) {
  .mobile-bottom-bar { display: flex; }
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 16px;
  color: var(--text-dimmer);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.mobile-bottom-item svg {
  width: 20px;
  height: 20px;
}
.mobile-bottom-item.active {
  color: var(--blue-light);
}
.mobile-bottom-item.active svg {
  stroke: var(--blue-light);
}

/* FAB (New Ticket button) */
.mobile-bottom-fab {
  position: relative;
}
.mobile-fab-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 4px 20px var(--blue-glow);
  transition: all 0.3s var(--ease);
}
.mobile-fab-circle svg {
  width: 22px;
  height: 22px;
  stroke: white;
}
.mobile-bottom-fab span {
  color: var(--blue-light);
}
.mobile-bottom-fab:active .mobile-fab-circle {
  transform: scale(0.92);
}

/* ─── LANDING NAV — MOBILE ──────────────────── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0.9rem 1rem; }
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-login { font-size: 0.85rem; }
}

/* ─── HERO — MOBILE ─────────────────────────── */
@media (max-width: 1024px) {
  .hero { padding: 6rem 0 2rem; min-height: auto; }
  .hero-grid { gap: 2rem; }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-subtitle { font-size: 0.95rem; }
  .container { padding: 0 1.2rem; }
}

@media (max-width: 480px) {
  .hero { padding: 5rem 0 1.5rem; }
  .hero-eyebrow { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
  .hero-subtitle { font-size: 0.88rem; }
  .container { padding: 0 1rem; }
  .btn { padding: 0.95rem 1.4rem; font-size: 0.9rem; }
}

/* ─── PHONE SECTION — MOBILE ────────────────── */
@media (max-width: 1024px) {
  .phone-grid { gap: 2rem; }
  .phone-text-desc { font-size: 0.92rem; }
  .phone-feature-list li { font-size: 0.9rem; }
}

/* ─── PRODUCTS — MOBILE ─────────────────────── */
@media (max-width: 1024px) {
  .section-header { flex-direction: column; text-align: left; }
  .section-description { margin-top: 0.5rem; }
}
@media (max-width: 480px) {
  .product-card { padding: 1.4rem; }
  .product-name { font-size: 1.3rem; }
  .product-desc { font-size: 0.85rem; }
}

/* ─── PILLARS — MOBILE ──────────────────────── */
@media (max-width: 480px) {
  .pillars-title { font-size: 1.6rem; }
  .pillar-desc { font-size: 0.88rem; }
}

/* ─── SECURITY STRIP — MOBILE ───────────────── */
@media (max-width: 1024px) {
  .security-strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ─── FAQ — MOBILE ──────────────────────────── */
@media (max-width: 1024px) {
  .faq-q { font-size: 0.92rem; padding: 1rem 0; }
}

/* ─── MARQUEE — MOBILE ──────────────────────── */
@media (max-width: 1024px) {
  .marquee { padding: 2rem 0; }
  .marquee-track { gap: 2rem; }
  .marquee-item { gap: 2rem; }
}

/* ─── FINAL CTA — MOBILE ───────────────────── */
@media (max-width: 480px) {
  .final-cta-title { font-size: 1.8rem; }
  .final-cta-subtitle { font-size: 0.9rem; }
}

/* ─── FOOTER — MOBILE (small phones) ────────── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer { padding: 2.5rem 0 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── ADMIN LAYOUT — MOBILE ─────────────────── */
@media (max-width: 1024px) {
  .admin-topbar {
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }
  .admin-content {
    padding: 1.2rem 1rem 6rem !important;
  }
  .admin-main {
    height: 100vh;
    height: 100dvh;
  }

  /* Stats grid adjustments */
  .stat-grid,
  .stat-grid-role {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem;
  }
  .stat-card {
    padding: 1rem;
  }

  /* Page title */
  .page-title-block h1 {
    font-size: 1.6rem;
  }
  .page-title-block p {
    font-size: 0.85rem;
  }

  /* ─── DATA TABLE → CARD LAYOUT ON MOBILE ──── */
  .data-table {
    border: none;
    background: none;
  }
  .data-table-row.head {
    display: none !important;
  }
  .data-table-row:not(.mobile-staff-card):not(.mobile-ticket-card) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    padding: 1rem;
    margin-bottom: 0.6rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .data-table-row > div,
  .data-table-row > span {
    font-size: 0.88rem;
  }

  /* JS-created form grids → single column */
  .admin-content div[style*="grid-template-columns:1fr 1fr"],
  .admin-content div[style*="grid-template-columns: 1fr 1fr"],
  .admin-content div[style*="grid-template-columns:2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .admin-content div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Settings rows stack */
  .settings-row {
    grid-template-columns: 1fr !important;
    gap: 0.4rem;
  }

  /* Select dropdowns full-width on mobile */
  .admin-content select {
    min-width: unset !important;
    width: 100%;
  }

  /* Search inputs full-width */
  .admin-content input[type="search"] {
    min-width: unset !important;
    width: 100%;
  }

  /* Action dropdowns stack on mobile */
  .admin-content div[style*="display:flex"][style*="flex-wrap:wrap"] {
    gap: 0.4rem !important;
  }

  /* Ticket popup modal near full screen */
  .modal {
    max-width: 100%;
    border-radius: 16px;
    padding: 1.8rem 1.2rem;
    margin: 0.5rem;
  }
  .modal-overlay {
    padding: 0.5rem;
  }

  /* Admin greeting */
  .admin-greeting h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .admin-content {
    padding: 1rem 0.8rem 6rem !important;
  }
  .stat-grid,
  .stat-grid-role {
    grid-template-columns: 1fr !important;
  }
  .stat-value em {
    font-size: 1.6rem;
  }
}

/* ─── JARVIS — MOBILE ───────────────────────── */
@media (max-width: 1024px) {
  .jarvis-panel {
    width: calc(100vw - 1rem);
    height: calc(100vh - 6rem);
    height: calc(100dvh - 6rem);
    right: 0.5rem;
    bottom: calc(64px + 0.5rem);
    border-radius: 18px;
  }
  .jarvis-btn {
    bottom: calc(64px + 1rem);
    right: 1rem;
  }
}
@media (max-width: 500px) {
  .jarvis-panel {
    width: calc(100vw - 0.5rem);
    right: 0.25rem;
    bottom: calc(64px + 0.5rem);
    height: calc(100dvh - 5.5rem);
    border-radius: 16px 16px 0 0;
  }
}

/* ─── LOGIN — MOBILE ────────────────────────── */
@media (max-width: 480px) {
  .login-card {
    padding: 2rem 1.4rem;
    border-radius: 18px;
  }
  .login-title {
    font-size: 2rem;
  }
  .login-form input {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }
}

/* ─── ABOUT PAGE — MOBILE ───────────────────── */
@media (max-width: 1024px) {
  .about-page-hero { padding: 6rem 0 3rem; }
  .about-page-title { font-size: 2.2rem; }
}

/* ─── SECURITY PAGE — MOBILE ────────────────── */
@media (max-width: 1024px) {
  .security-hero { padding: 6rem 0 3rem; }
  .security-hero-title { font-size: 2rem; }
}
@media (max-width: 480px) {
  .security-card { padding: 1.2rem; }
}

/* ─── TOUCH + SAFE AREA ─────────────────────── */
@media (max-width: 1024px) {
  .btn, .sidebar-item, .faq-q, .nav-login, .nav-cta,
  .mobile-bottom-item, .mobile-drawer-nav > a,
  .mobile-drawer-close, .modal-close,
  .guest-request-btn, .guest-tip-btn, .guest-pay-btn,
  .settings-input, .admin-content input, .admin-content select,
  .admin-content button, .login-form input {
    min-height: 44px;
  }
}

/* Hide cursor glow on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-glow { display: none !important; }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-bottom-bar {
    padding-bottom: calc(env(safe-area-inset-bottom) + 4px);
    height: calc(64px + env(safe-area-inset-bottom));
  }
}
