/* ==========================================================================
   DarkAgent AI · Design System & Stylesheet Completo
   Fiel a https://agent.darktube.ai/ · Cores HSL, Neon Glows e Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1f1f35;
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.35);
  --accent-light: #a78bfa;
  --accent-secondary: #06b6d4;
  --accent-secondary-glow: rgba(6, 182, 212, 0.3);
  --accent-pink: #ec4899;
  --text-primary: #f1f1f3;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(139, 92, 246, 0.18);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(139, 92, 246, 0.45);
  --gradient-1: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  max-width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Background Atmos & Glow Orbs
   ========================================================================== */
.glow-orb {
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  position: fixed;
}

.glow-orb-1 {
  background: rgba(139, 92, 246, 0.14);
  width: 550px;
  height: 550px;
  top: -10%;
  left: -10%;
}

.glow-orb-2 {
  background: rgba(6, 182, 212, 0.12);
  width: 650px;
  height: 650px;
  top: 35%;
  right: -15%;
}

.glow-orb-3 {
  background: rgba(236, 72, 153, 0.08);
  width: 500px;
  height: 500px;
  bottom: -10%;
  left: 25%;
}

/* Top Banner de Lançamento */
.top-notice-bar {
  background: linear-gradient(90deg, #6d28d9 0%, #8b5cf6 40%, #db2777 100%);
  color: #fff;
  height: 40px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  z-index: 60;
  position: relative;
}

.top-notice-bar strong {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.top-notice-bar .pill-tag {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.top-notice-bar a {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  transition: background 0.2s;
}

.top-notice-bar a:hover {
  background: rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */
.nav {
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
}

.nav.nav-scrolled {
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 10, 15, 0.88);
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-brand {
  cursor: pointer;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  background: transparent;
  border: none;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  text-decoration: none;
}

.nav-brand-dot {
  background: var(--gradient-1);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 12px var(--accent);
  border-radius: 50%;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.nav-brand-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-links {
  align-items: center;
  gap: 4px;
  display: flex;
}

.nav-link {
  cursor: pointer;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--accent-light);
}

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

.nav-btn-downloads {
  color: #fff;
  background: var(--gradient-1);
  box-shadow: 0 4px 18px var(--accent-glow);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
}

.nav-btn-downloads:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.nav-btn-tour {
  cursor: pointer;
  color: #a5f3fc;
  white-space: nowrap;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  display: inline-flex;
}

.nav-btn-tour:hover {
  color: #fff;
  background: rgba(6, 182, 212, 0.25);
  transform: translateY(-1px);
}

.nav-burger {
  cursor: pointer;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  display: none;
}

.nav-burger span {
  background: var(--text-primary);
  border-radius: 2px;
  width: 24px;
  height: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  z-index: 1;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1140px;
  min-height: 88vh;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: flex;
  position: relative;
}

.hero-eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.hero-eyebrow .dot {
  background: var(--accent);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 10px var(--accent);
  border-radius: 50%;
}

.hero-title {
  letter-spacing: -0.03em;
  background: var(--gradient-1);
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 24px;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-subtitle {
  max-width: 760px;
  color: var(--text-secondary);
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-row {
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.cta {
  letter-spacing: -0.01em;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-primary {
  color: #fff;
  background: var(--gradient-1);
  padding: 15px 32px;
  border: none;
  box-shadow: 0 10px 30px var(--accent-glow);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--accent-glow);
}

.cta-secondary {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 15px 28px;
}

.cta-secondary:hover {
  background: rgba(6, 182, 212, 0.22);
  transform: translateY(-2px);
}

.cta-ghost {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 15px 26px;
}

.cta-ghost:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
}

.hero-stats {
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px 0;
  margin-top: 56px;
  display: flex;
  width: 100%;
  max-width: 960px;
}

.hero-stat {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
  display: flex;
  position: relative;
}

.hero-stat:not(:last-child):after {
  content: "";
  background: linear-gradient(transparent, rgba(139, 92, 246, 0.3), transparent);
  width: 1px;
  height: 70%;
  position: absolute;
  top: 15%;
  right: 0;
}

.hero-stat-num {
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-1);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-stat-label {
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Hero Production Pipeline Flow (6 Steps)
   ========================================================================== */
.heroflow {
  z-index: 1;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 980px;
  margin-top: 56px;
  display: flex;
}

.hf-step-wrap {
  flex: 1;
  align-items: center;
  display: flex;
}

.hf-step-wrap:last-child {
  flex: none;
}

.hf-node {
  cursor: pointer;
  flex-direction: column;
  flex: none;
  align-items: center;
  gap: 10px;
  display: flex;
  position: relative;
  transition: transform 0.25s;
}

.hf-node:hover {
  transform: translateY(-3px);
}

.hf-icon {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  place-items: center;
  width: 58px;
  height: 58px;
  font-size: 22px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
  display: grid;
}

.hf-node.is-active .hf-icon {
  background: var(--gradient-1);
  box-shadow: 0 10px 32px var(--accent-glow), 0 0 0 1px rgba(139, 92, 246, 0.4);
  border-color: transparent;
  transform: scale(1.08);
}

.hf-label {
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.3s;
}

.hf-node.is-active .hf-label {
  color: var(--text-primary);
}

.hf-connector {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  flex: 1;
  min-width: 20px;
  height: 2px;
  margin: 0 10px;
  position: relative;
  overflow: hidden;
  align-self: center;
  margin-bottom: 26px;
}

.hf-connector.is-filled {
  background: linear-gradient(90deg, #8b5cf6, #06b6d4);
}

.hf-pulse {
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
  width: 40%;
  height: 100%;
  animation: 2.2s linear infinite hf-travel;
  position: absolute;
  top: 0;
  left: -40%;
}

@keyframes hf-travel {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.section {
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
}

.section-narrow {
  max-width: 960px;
}

.sec-head-center {
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 52px;
  display: flex;
}

.sec-eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.sec-title {
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}

.sec-title.center {
  text-align: center;
  margin-inline: auto;
}

.sec-title .grad {
  background: var(--gradient-1);
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.sec-subtitle {
  color: var(--text-secondary);
  max-width: 68ch;
  margin-top: 16px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
}

.divider-beam {
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.1) 15%, #8b5cf6 50%, #06b6d4 65%, rgba(139, 92, 246, 0.1) 85%, transparent 100%) 0 0/220% 100%;
  border-radius: 3px;
  width: min(920px, 92%);
  height: 2px;
  margin: 0 auto;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
  display: block;
}

/* ==========================================================================
   Tools Arsenal Marquee (16 Tools Grid)
   ========================================================================== */
.tools-marquee {
  flex-direction: column;
  gap: 16px;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
  padding: 10px 0;
}

.tools-row {
  gap: 16px;
  width: max-content;
  display: flex;
  will-change: transform;
}

.tools-row-l {
  animation: 36s linear infinite tools-marquee-l;
}

.tools-row-r {
  animation: 36s linear infinite tools-marquee-r;
}

@keyframes tools-marquee-l {
  0% { transform: translate(0); }
  100% { transform: translate(-50%); }
}

@keyframes tools-marquee-r {
  0% { transform: translate(-50%); }
  100% { transform: translate(0); }
}

.tools-marquee:hover .tools-row {
  animation-play-state: paused;
}

.tool-chip {
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 18px 10px 10px;
  gap: 12px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.tool-chip:hover {
  transform: translateY(-2px);
  background: linear-gradient(rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.08));
  border-color: rgba(139, 92, 246, 0.5);
}

.tool-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
}

.tool-icon svg {
  width: 20px;
  height: 20px;
  stroke: #c4b5fd;
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-name {
  color: #e4e4e7;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Interactive Video Producer Simulator (Live Studio)
   ========================================================================== */
.studio-box {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(18, 18, 26, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px rgba(255, 255, 255, 0.08);
  padding: 36px;
  margin-top: 32px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

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

.studio-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.input-group label {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.input-group label span {
  color: var(--text-muted);
  font-size: 12px;
}

.studio-input, .studio-select {
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.studio-input:focus, .studio-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
}

.scene-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mode-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-secondary);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.mode-btn.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
}

.btn-generate-pipeline {
  background: var(--gradient-1);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px var(--accent-glow);
  margin-top: 6px;
}

.btn-generate-pipeline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-generate-pipeline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Studio Preview Monitor */
.studio-monitor {
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.monitor-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.monitor-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.monitor-status-badge.working {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.monitor-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
}

.stage-item.completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}

.stage-item.in-progress {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.08);
  animation: pulse-subtle 1.5s infinite;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.stage-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.stage-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.stage-item.completed .stage-status {
  color: #34d399;
}

.output-results-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 18px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.output-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 600px) {
  .output-download-grid {
    grid-template-columns: 1fr;
  }
}

.btn-file-dl {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 8px;
  color: #fff;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-decoration: none;
}

.btn-file-dl:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: var(--accent-light);
  transform: translateY(-1px);
}

.btn-file-dl.primary-dl {
  background: var(--gradient-1);
  border: none;
  grid-column: 1 / -1;
  font-weight: 700;
  padding: 12px;
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ==========================================================================
   Catálogo Geral Integrado (Catalog Section)
   ========================================================================== */
.catalog-section {
  background: rgba(14, 14, 22, 0.6);
  border-top: 1px solid rgba(139, 92, 246, 0.12);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.catalog-search-wrapper {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.catalog-search-input {
  width: 100%;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 15px 20px 15px 48px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.catalog-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.catalog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.cat-tab.active {
  background: var(--gradient-1);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.cat-tab-badge {
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Catalog Grid & Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

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

.catalog-card {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.7), rgba(18, 18, 26, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  text-align: left;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(139, 92, 246, 0.15);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.card-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card-badge.badge-n8n {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.3);
}

.card-badge.badge-doc {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
}

.card-file-size {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.card-title {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 500;
  padding: 2px 8px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.btn-card-doc {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-doc:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-card-download {
  background: var(--gradient-1);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-card-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ==========================================================================
   Central de Downloads Liberados (Direct Download Hub)
   ========================================================================== */
.downloads-hub-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.08));
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hub-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hub-title-block h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.hub-title-block p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 65ch;
}

.btn-download-all {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-download-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.quick-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pack-card {
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}

.pack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
}

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

.pack-icon {
  font-size: 24px;
}

.pack-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.pack-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-pack-dl {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-pack-dl:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: var(--accent);
}

/* ==========================================================================
   API Cost Calculator (VEO3 vs Cenas Reais)
   ========================================================================== */
.api-calc-card {
  background: linear-gradient(rgba(24, 24, 34, 0.85), rgba(14, 14, 20, 0.85));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 32px auto 0;
  padding: 34px;
  display: grid;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  text-align: left;
}

@media (max-width: 768px) {
  .api-calc-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.calc2-tabs {
  background: rgba(14, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin: 0 auto 20px;
  padding: 6px;
  display: grid;
  position: relative;
}

.calc2-tab {
  min-height: 60px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 13px;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  display: flex;
  position: relative;
  transition: all 0.25s;
}

.calc2-tab.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.calc2-tab-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}

.calc2-tab-title {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  display: block;
}

.calc2-tab-sub {
  color: var(--text-muted);
  font-size: 12.5px;
}

.api-field {
  margin-bottom: 20px;
}

.api-field-head {
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  display: flex;
}

.api-field-head label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.api-field-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-light);
}

.calc2-range {
  appearance: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  width: 100%;
  height: 6px;
}

.calc2-range::-webkit-slider-thumb {
  appearance: none;
  background: var(--gradient-1);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.api-field-scale {
  color: var(--text-muted);
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  display: flex;
}

.api-calc-result {
  text-align: center;
  background: radial-gradient(at 50% 30%, rgba(139, 92, 246, 0.18), rgba(10, 10, 15, 0.8));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 26px 20px;
  display: flex;
}

.api-result-count {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 12px;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 18px;
  display: flex;
}

.api-result-count-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-1);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.api-result-big {
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-1);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 6px 0;
}

.api-result-sub {
  color: var(--text-secondary);
  font-size: 14px;
}

.api-result-benefits {
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 16px 0 0;
  padding: 14px 0 0;
  list-style: none;
  display: flex;
  text-align: left;
}

.api-result-benefits li {
  color: var(--accent-light);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.api-result-benefits li::before {
  content: "✓";
  color: #34d399;
  font-weight: 800;
}

/* ==========================================================================
   Pricing Section (Cards & Badges)
   ========================================================================== */
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  display: grid;
  margin-top: 36px;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 36px auto 0;
  }
}

.price-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pro-card-glow {
  background: linear-gradient(160deg, #8b5cf6 0%, #7c3aed 45%, #06b6d4 100%);
  border-radius: 20px;
  padding: 2px;
  position: relative;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.35);
}

.pro-badge {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-1);
  box-shadow: 0 6px 20px var(--accent-glow);
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 11.5px;
  font-weight: 800;
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translate(-50%);
  z-index: 3;
}

.price-head h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 800;
}

.price-tag {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 13.5px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 6px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

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

.price-note {
  color: var(--accent-light);
  font-size: 12.5px;
  font-weight: 600;
}

.price-features {
  flex-direction: column;
  flex: 1;
  gap: 12px;
  margin-top: 8px;
  list-style: none;
  display: flex;
}

.price-features li {
  color: var(--text-secondary);
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  display: flex;
}

.price-check {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
}

.price-cta {
  width: 100%;
  text-align: center;
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.price-cta:hover {
  background: rgba(139, 92, 246, 0.35);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.price-cta-pro {
  background: var(--gradient-1);
  border: none;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.price-cta-pro:hover {
  box-shadow: 0 12px 32px var(--accent-glow);
}

/* Plan Toggle Mensal / Trimestral */
.cycle-toggle-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  display: inline-flex;
  gap: 6px;
  margin-bottom: 24px;
}

.cycle-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.cycle-btn.active {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  flex-direction: column;
  gap: 12px;
  list-style: none;
  display: flex;
  margin-top: 24px;
  text-align: left;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.faq-item.is-open {
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.4);
}

.faq-q {
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: var(--text-primary);
  background: transparent;
  border: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
}

.faq-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.18);
  border-radius: 8px;
  flex: none;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s;
  display: grid;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  color: var(--text-secondary);
  padding: 0 24px 20px;
  font-size: 0.98rem;
  line-height: 1.6;
  display: none;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* ==========================================================================
   Modals (SOP Document Viewer & Detail Modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-overlay.active {
  display: grid;
}

.modal-card {
  background: #141420;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 20px;
  width: 100%;
  max-width: 840px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.25);
  position: relative;
  text-align: left;
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.modal-body pre {
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  color: #c4b5fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  margin: 16px 0;
}

.modal-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #f1f1f3;
  font-family: inherit;
}

.modal-body h1 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.modal-body h2 {
  font-size: 1.25rem;
  color: #c4b5fd;
  margin-top: 24px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.modal-body h3 {
  font-size: 1.1rem;
  color: #e4e4e7;
  margin-top: 18px;
  margin-bottom: 8px;
}

.modal-body blockquote {
  border-left: 3px solid var(--accent);
  background: rgba(139, 92, 246, 0.08);
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  color: #e2e8f0;
}

.modal-body ul, .modal-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.modal-body li {
  margin-bottom: 6px;
}

.modal-body hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 22px 0;
}

.btn-copy-doc {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c4b5fd;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-copy-doc:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent);
  color: #fff;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #181824;
  border: 1px solid var(--accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: #10b981;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  z-index: 1;
  background: rgba(10, 10, 15, 0.95);
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  padding: 56px 24px 40px;
  position: relative;
  text-align: center;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

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

.footer-legal {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .nav-links, .nav-btn-tour {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ==========================================================================
   Mobile Nav Drawer & Scrim
   ========================================================================== */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-scrim.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(14, 14, 24, 0.98);
  border-left: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 58;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  gap: 20px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer.active {
  right: 0;
}

.nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-drawer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-drawer-links a:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Tour Video Modal
   ========================================================================== */
.tour-modal-card {
  max-width: 960px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.video-container iframe,
.video-container video,
.video-tour-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Authentication & Admin Dashboard Styles
   ========================================================================== */
.nav-auth-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn-login {
  cursor: pointer;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-btn-login:hover {
  background: rgba(139, 92, 246, 0.28);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.nav-btn-admin-badge {
  cursor: pointer;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(139, 92, 246, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.nav-btn-admin-badge:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(139, 92, 246, 0.35));
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.nav-btn-logout {
  cursor: pointer;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.nav-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #fff;
}

/* Login Modal */
.login-modal-card {
  max-width: 440px;
}

.login-form-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.admin-preset-chip {
  background: rgba(139, 92, 246, 0.12);
  border: 1px dashed rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-preset-chip:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: var(--accent);
}

/* Admin Dashboard Modal */
.admin-modal-card {
  max-width: 860px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.admin-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.system-status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.status-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
}


