/* ============================================================== */
/* COLOURS MEDIA - DESIGN SYSTEM & VISUAL IDENTITY                */
/* "simples & eficaz." - Deep Dark + Vibrant Pink/Purple/Blue     */
/* ============================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Colours Brand Palette */
  --colours-bg-deep: #050711;
  --colours-bg-card: rgba(10, 15, 30, 0.85);
  --colours-magenta: #c026d3;
  --colours-pink: #ff007a;
  --colours-purple: #9333ea;
  --colours-blue: #0052ff;
  --colours-cyan: #06b6d4;
  --colours-dark-navy: #090e23;
  
  --colours-gradient-main: linear-gradient(90deg, #ff007a 0%, #c026d3 35%, #6366f1 70%, #0052ff 100%);
  --colours-gradient-btn: linear-gradient(135deg, #ff007a 0%, #9333ea 50%, #0052ff 100%);
  --colours-gradient-emerald: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0284c7 100%);
  
  /* Presentation Slide Tokens (Dark Colours Mode) */
  --pres-bg: #090d1e;
  --pres-card-bg: #0f172a;
  --pres-border: rgba(255, 255, 255, 0.1);
  --pres-text-main: #f8fafc;
  --pres-text-muted: #94a3b8;
}

* {
  font-family: var(--font-main);
  box-sizing: border-box;
}

body {
  background-color: var(--colours-bg-deep);
  color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.font-mono-code {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ============================================================== */
/* COLOURS AMBIENT GLOW BACKGROUND                                */
/* ============================================================== */
.colours-bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 90% 10%, rgba(255, 0, 122, 0.35) 0%, rgba(192, 38, 211, 0.18) 30%, transparent 65%),
    radial-gradient(circle at 10% 90%, rgba(147, 51, 234, 0.3) 0%, rgba(0, 82, 255, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%),
    #050711;
}

/* Signature Glowing Horizontal Gradient Line */
.colours-gradient-line {
  height: 3px;
  width: 100%;
  background: var(--colours-gradient-main);
  box-shadow: 0 0 18px rgba(255, 0, 122, 0.6), 0 0 30px rgba(0, 82, 255, 0.4);
  border-radius: 999px;
}

/* Signature 4-Color Swatch Bar */
.colours-swatch-bar {
  display: inline-flex;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.colours-swatch-bar span {
  width: 20px;
  height: 100%;
}

.swatch-purple { background-color: #a855f7; }
.swatch-pink   { background-color: #ff007a; }
.swatch-navy   { background-color: #090e24; }
.swatch-blue   { background-color: #0052ff; }

/* Glassmorphism Cards */
.glass-card {
  background: rgba(12, 17, 34, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.glass-header {
  background: rgba(7, 10, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-input {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  transition: all 0.25s ease;
}

.glass-input:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: #ff007a;
  box-shadow: 0 0 0 3px rgba(255, 0, 122, 0.25);
  outline: none;
}

/* Module Selection Big Buttons / Cards */
.module-card {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: rgba(13, 19, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.module-card:hover {
  transform: translateY(-8px);
}

.module-card-paid:hover {
  border-color: rgba(255, 0, 122, 0.6);
  box-shadow: 0 25px 50px -10px rgba(255, 0, 122, 0.3), 0 0 30px rgba(0, 82, 255, 0.2);
}

.module-card-organic:hover {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 25px 50px -10px rgba(6, 182, 212, 0.3), 0 0 30px rgba(16, 185, 129, 0.2);
}

/* Buttons with Colours Glow */
.btn-colours-glow {
  background: var(--colours-gradient-btn);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(255, 0, 122, 0.4), 0 2px 15px rgba(0, 82, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-colours-glow:hover {
  box-shadow: 0 6px 30px rgba(255, 0, 122, 0.6), 0 4px 20px rgba(0, 82, 255, 0.5);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-organic-glow {
  background: linear-gradient(135deg, #059669 0%, #06b6d4 100%);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(6, 182, 212, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-organic-glow:hover {
  box-shadow: 0 6px 30px rgba(6, 182, 212, 0.6);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Shaking animation on login error */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake-animation {
  animation: shake 0.45s ease-in-out;
}

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 15, 30, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 122, 0.5);
}

/* ============================================================== */
/* EXECUTIVE PRESENTATION STYLES (COLOURS MEDIA THEME)            */
/* ============================================================== */
.presentation-container {
  width: 100%;
  max-width: 1100px;
  min-height: 680px;
  background: #0d1326;
  color: #f8fafc;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 0, 122, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 auto;
}

.slide-header {
  background: linear-gradient(135deg, #090e24, #131b38);
  color: white;
  padding: 22px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #ff007a;
  position: relative;
}

.slide-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--colours-gradient-main);
  box-shadow: 0 0 15px rgba(255, 0, 122, 0.6);
}

.slide-header-organic {
  border-bottom: 3px solid #06b6d4;
}

.slide-header-organic::after {
  background: linear-gradient(90deg, #06b6d4, #10b981, #3b82f6);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.header-titles h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.header-titles p {
  font-size: 0.86rem;
  color: #94a3b8;
  margin-top: 3px;
}

.slide-indicator {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  color: #f1f5f9;
  font-family: var(--font-mono);
}

.slide-body {
  flex: 1;
  padding: 32px 38px;
  overflow-y: auto;
  background-color: #090e20;
  color: #f8fafc;
}

.slide, .step-section {
  display: none;
  animation: slideFade 0.25s ease-in-out forwards;
}

.slide.active, .step-section.active {
  display: block;
}

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

.slide-badge {
  display: inline-block;
  background: rgba(255, 0, 122, 0.15);
  color: #ff3399;
  border: 1px solid rgba(255, 0, 122, 0.3);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: var(--font-mono);
}

.slide-badge-organic {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.slide-title, .section-title {
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 6px;
}

.slide-subtitle, .section-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 22px;
}

/* KPI Grid */
.pres-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.pres-kpi-card {
  background: rgba(18, 25, 48, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  border-top: 4px solid #ff007a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pres-kpi-card.highlight {
  border-top-color: #0052ff;
  background: rgba(22, 33, 66, 0.85);
}

.pres-kpi-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  font-family: var(--font-mono);
}

.pres-kpi-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0;
}

.pres-kpi-growth {
  font-size: 0.85rem;
  font-weight: 700;
  color: #34d399;
}

.pres-kpi-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Presentation Tables */
.pres-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(15, 23, 45, 0.85);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.pres-table th {
  background-color: #0b1124;
  color: #e2e8f0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 13px 15px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
}

.pres-table td {
  padding: 13px 15px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.pres-table tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.02);
}

.pres-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Badges */
.pres-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.pres-badge-blue { background: rgba(0, 82, 255, 0.2); color: #60a5fa; border: 1px solid rgba(0, 82, 255, 0.4); }
.pres-badge-green { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.pres-badge-red { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.pres-badge-amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.pres-badge-pink { background: rgba(255, 0, 122, 0.2); color: #ff3399; border: 1px solid rgba(255, 0, 122, 0.4); }

/* Highlight Box */
.pres-highlight-box {
  background: rgba(18, 25, 48, 0.85);
  border-left: 5px solid #ff007a;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pres-highlight-box h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pres-highlight-box p, .pres-highlight-box li {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}

.pres-highlight-box ul {
  margin-left: 20px;
  margin-top: 6px;
}

.pres-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

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

/* Funnel Diagram */
.pres-funnel-diagram {
  background: rgba(14, 20, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pres-funnel-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
}

.pres-funnel-step.top {
  background: rgba(0, 82, 255, 0.12);
  border: 1px solid rgba(0, 82, 255, 0.3);
}

.pres-funnel-step.bottom {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pres-step-icon {
  font-size: 1.8rem;
}

.pres-step-content h5 {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 3px;
}

.pres-step-content p {
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Presentation Footer Navigation */
.slide-footer {
  background: #0b1022;
  padding: 16px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pres-nav-btn {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pres-nav-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff007a, #c026d3);
  border-color: #ff007a;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 0, 122, 0.4);
}

.pres-nav-btn:disabled {
  background: rgba(255, 255, 255, 0.04);
  color: #475569;
  border-color: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slide-dot.active {
  background: var(--colours-gradient-main);
  width: 26px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 0, 122, 0.6);
}
