/* ============================================================
   B.CODE — Design System (Monochrome & Minimalist)
   Cores: Preto (#000), Cinza (#1a1a1a, #333, #888), Branco (#fff)
   Estilo: Limpo, bordas retas, sem visual genérico de IA
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette - Storm Style */
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-card: #0a0a0a;
  --border-color: #1f1f1f;
  --border-hover: #333333;

  --accent: #00e5a0; /* Green/Cyan accent from image */
  --accent-secondary: #009966;

  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;

  /* Typography */
  --ff-heading: 'Space Grotesk', -apple-system, sans-serif;
  --ff-body: 'Inter', -apple-system, sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: 90px 0;
  --container-width: 1180px;

  --transition-base: 0.25s ease;
}

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

body {
  font-family: var(--ff-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base), border-color var(--transition-base);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Background canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #666;
}

::selection {
  background: #ffffff;
  color: #000000;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1100px;
  z-index: 1000;
  padding: 12px 24px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 24px;
  background: rgba(10, 10, 10, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo span {
  color: #ffffff;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-dropdown .dropdown-toggle svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform var(--transition-base);
}

.nav-dropdown:hover .dropdown-toggle {
  color: #ffffff;
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition-base);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #1e1e1e;
  color: #ffffff;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #121212;
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-family: var(--ff-mono);
  color: var(--text-secondary);
  margin-bottom: 24px;
  border-radius: 0;
}

.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: #ffffff;
  border-bottom: 3px solid #ffffff;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS (Sólidos & Retos)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px; /* Rounded corners like Storm */
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-primary:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: var(--border-color);
}

.btn-outline:hover {
  background: #111111;
  border-color: #555;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: var(--section-pad);
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: left;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  border: 1px solid var(--border-color);
  background: #121212;
}

.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: grayscale(100%);
}

.about-text h3 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.stat-item {
  text-align: left;
  padding: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.service-card:hover {
  border-color: var(--border-hover);
  background: #161616;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: #1a1a1a;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.8;
}

.service-card h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio {
  background: var(--bg-secondary);
}

.portfolio-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 0;
  transition: all var(--transition-base);
}

.filter-btn.active,
.filter-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%);
  transition: filter var(--transition-base), transform var(--transition-base);
}

.portfolio-item:hover img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.portfolio-overlay span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--ff-mono);
  text-transform: uppercase;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  transition: border-color var(--transition-base);
}

.team-card:hover {
  border-color: var(--border-hover);
}

.team-avatar {
  width: 64px;
  height: 64px;
  background: #1e1e1e !important;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff !important;
  border-radius: 0 !important;
}

.team-card h5 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--ff-mono);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.team-socials {
  display: flex;
  gap: 8px;
}

.team-socials a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.team-socials a:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.team-socials a svg {
  width: 14px;
  height: 14px;
  fill: var(--text-secondary);
}

.team-socials a:hover svg {
  fill: #000000;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: #0d0d0d;
}

.pricing-card.featured::before {
  content: 'Recomendado';
  display: inline-block;
  background: rgba(0, 229, 160, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  width: fit-content;
  border: 1px solid rgba(0, 229, 160, 0.2);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pricing-card h4 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.pricing-price {
  margin-bottom: 24px;

}

.pricing-price .currency {
  font-size: 1.1rem;
  color: var(--text-secondary);
  vertical-align: top;
}

.pricing-price .amount {
  font-family: var(--ff-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid #1a1a1a;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
}

.pricing-features li.disabled svg {
  stroke: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.8;
}

.contact-info-item h5 {
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #ffffff;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-status {
  margin-top: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  display: none;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
  border-radius: 100px;
}

.form-status.success {
  display: block;
  background: #111111;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.form-status.error {
  display: block;
  background: #1c0000;
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000000;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.footer-social a svg {
  width: 14px;
  height: 14px;
  fill: var(--text-secondary);
}

.footer-social a:hover svg {
  fill: #000000;
}

.footer-column h5 {
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p,
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services-grid,
  .pricing-grid,
  .team-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .pricing-grid,
  .team-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* ============================================================
   DASHBOARD SIDEBAR LAYOUT (Storm Style)
   ============================================================ */
.dashboard-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Sidebar */
.dash-sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex-shrink: 0;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  margin-bottom: 40px;
}
.dash-brand img { width: 28px; height: 28px; }
.dash-brand span {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.sidebar-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.sidebar-item:hover, .sidebar-item.active {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.sidebar-item.active {
  background: rgba(0, 229, 160, 0.1);
  color: var(--accent);
}
.sidebar-item svg { width: 18px; height: 18px; fill: currentColor; }

/* Sidebar User Info */
.sidebar-user {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Main Content Area */
.dash-main {
  flex: 1;
  overflow-y: auto;
  padding: 40px 60px;
  background: var(--bg-primary);
}

.dash-header {
  margin-bottom: 40px;
}
.dash-header h2 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.dash-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Storm App Card Details */
.app-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.app-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.app-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
}
.stat-box .label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.stat-box .value { font-size: 1.2rem; font-weight: 600; color: #fff; font-family: var(--ff-mono); }
.stat-box .progress-wrap { margin-top: 12px; height: 6px; background: #222; border-radius: 10px; overflow: hidden; }
.stat-box .progress-bar { height: 100%; background: var(--accent); width: 0%; transition: width 0.5s ease; }

/* Terminal Logs */
.terminal-window {
  background: #000;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
}
.terminal-header {
  background: #111;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }
.terminal-title { font-family: var(--ff-mono); font-size: 0.75rem; color: #888; margin-left: auto; }
.terminal-body {
  padding: 16px;
  height: 300px;
  overflow-y: auto;
  font-family: var(--ff-mono);
  font-size: 0.85rem;
  color: #00FF9D;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* File Upload / Drag Drop */
.upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  transition: all var(--transition-base);
  cursor: pointer;
  margin-bottom: 24px;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(0, 229, 160, 0.05);
}
.upload-zone svg { width: 48px; height: 48px; fill: var(--text-muted); margin-bottom: 16px; transition: fill var(--transition-base); }
.upload-zone:hover svg { fill: var(--accent); }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* Dashboard Mobile & Adjustments */
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 0; }
.mobile-menu-close { display: none; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; margin-left: auto; }

@media (max-width: 900px) {
  .dash-main { padding: 24px; }
  .mobile-menu-btn { display: block; }
  .mobile-menu-close { display: block; }
  
  .dash-sidebar {
    position: fixed;
    top: 0; left: -100%; bottom: 0;
    z-index: 10000;
    transition: left 0.3s ease;
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
  }
  .dash-sidebar.open { left: 0; }
  
  .app-stats-grid { grid-template-columns: 1fr; }
}

/* Reduzindo as fontes do app-card */
.app-detail-header h3 { font-size: 1.1rem !important; }
.app-detail-header .btn { font-size: 0.75rem !important; padding: 6px 12px !important; }
