/* ==========================================================================
   MK Digital Informática & Serviços — Estilo Moderno Landing Page 2026
   Conceito: Luxury Dark Tech / Inteligência Artificial Aplicada
   ========================================================================== */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  /* Paleta Ouro & Grafite Deep Tech */
  --bg-main: #0b0b0d;
  --bg-surface: rgba(22, 22, 26, 0.72);
  --bg-surface-elevated: rgba(30, 30, 36, 0.85);
  --bg-card: rgba(18, 18, 22, 0.68);
  --bg-card-hover: rgba(26, 26, 32, 0.88);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e2a8;
  --gold-metallic: linear-gradient(135deg, #fae8b4 0%, #d4af37 50%, #aa8214 100%);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-border-hover: rgba(212, 175, 55, 0.55);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 18% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(180, 140, 35, 0.06) 0%, transparent 48%),
    radial-gradient(circle at 50% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #09090b 0%, #0d0d10 50%, #08080a 100%);
  background-attachment: fixed;
}

/* Grid tecnológico sutil de fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Cursor glow */
.mouse-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, rgba(212, 175, 55, 0.02) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.mk-app {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px 72px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Header / Navegação Moderna
   ========================================================================== */
.mk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 24px;
  margin-bottom: 56px;
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 16px;
  z-index: 100;
  transition: var(--transition-base);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.header-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
  transition: transform var(--transition-fast);
}

.logo-area:hover .header-logo {
  transform: scale(1.04);
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.25;
}

.logo-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.header-nav a:hover {
  color: var(--gold-light);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.header-cta-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.hero-badge-container {
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-badge-spark {
  color: var(--gold-primary);
  font-size: 0.85rem;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px var(--gold-primary)); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-title-gradient {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 95%;
  margin-bottom: 32px;
}

.trust-badge-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.trust-pill:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.trust-pill-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

/* ==========================================================================
   Console Visual / Dashboard Interativo
   ========================================================================== */
.hero-visual-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  padding: 22px;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.hero-visual-card:hover {
  border-color: var(--gold-border-hover);
  box-shadow: 0 36px 72px -16px rgba(0, 0, 0, 0.8), 0 0 32px rgba(212, 175, 55, 0.12);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dashboard-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.dashboard-title-wrap strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.ai-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.ai-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.ai-status-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: #6ee7b7;
  text-transform: lowercase;
}

.kpi-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.3);
}

.mini-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mini-card-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.mini-card strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 700;
}

.mini-trend {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.trend-panel {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.trend-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.trend-graph-wrap {
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10px 8px 4px;
}

.trend-graph {
  width: 100%;
  height: 95px;
  overflow: visible;
}

.trend-area {
  fill: url(#trendAreaGradient);
  stroke: none;
}

.trend-line {
  fill: none;
  stroke: #d4af37;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
}

.trend-point {
  fill: #fffbeb;
  stroke: #d4af37;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 6px var(--gold-primary));
}

.trend-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.68rem;
  color: var(--text-dim);
}

.console-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   Grid de Produtos (PrimeFlowX e Neuron Biz)
   ========================================================================== */
.section-header-wrap {
  text-align: center;
  margin-bottom: 38px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border-hover);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.12);
}

/* Faixa luminosa superior em cada card */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 20px;
  width: fit-content;
}

.badge-available {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-upcoming {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 16px;
}

.product-copy {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 0;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.feature-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-actions {
  margin-top: auto;
}

.btn-modern-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary-gold {
  background: linear-gradient(135deg, #f5df9e 0%, #d4af37 50%, #b8860b 100%);
  color: #0c0a07;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px -6px rgba(212, 175, 55, 0.35);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(212, 175, 55, 0.5);
  filter: brightness(1.05);
}

.btn-secondary-modern {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--gold-border);
}

.btn-secondary-modern:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Footer Moderno
   ========================================================================== */
.footer {
  margin-top: 80px;
  padding: 32px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a,
.footer-links span {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mk-app {
    padding: 18px 20px 54px;
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 640px) {
  .mk-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  .header-nav {
    justify-content: space-between;
    width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .kpi-mini {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-links {
    justify-content: center;
  }
}
