/* ============================================================
   ASLAN SYSTEM — DESIGN SYSTEM
   ============================================================ */

/* ── Tokens ── */
:root {
  --bg: #050508;
  --bg-card: #0d0d14;
  --bg-card-hover: #12121e;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --blue-500: #3b82f6;
  --green-500: #22c55e;
  --orange-400: #fb923c;

  --text-100: #ffffff;
  --text-200: #e5e7eb;
  --text-400: #9ca3af;
  --text-600: #6b7280;

  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.15);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-200);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
}

/* ── Container ── */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav-links a {
  font-size: 13.5px;
  color: var(--text-400);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--text-100);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--text-100);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.btn-nav {
  background: var(--purple-600);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--purple-700);
  transform: translateY(-1px);
}

.btn-nav:active {
  transform: scale(0.97);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-400);
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition);
}

.nav-mobile-toggle:hover {
  color: var(--text-100);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.95);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 14px;
  color: var(--text-400);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-mobile a:last-of-type {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--text-100);
}

.btn-mobile-cta {
  display: inline-block;
  background: var(--purple-600);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
  border-bottom: none !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Background decorativo */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  left: -200px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: 0;
  right: -100px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 40% 40%, black 30%, transparent 75%);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

/* Hero content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--purple-400);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-100);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.title-gradient {
  background: linear-gradient(135deg, var(--purple-400) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-400);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

/* Botões hero */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple-600) 0%, #4f46e5 100%);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.5);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-200);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hover);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Terminal hero */
.hero-terminal {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
  max-width: 480px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.terminal-label {
  margin-left: 4px;
  font-size: 11px;
  color: var(--text-600);
}

.terminal-body {
  padding: 14px 18px;
  line-height: 1.8;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-prompt {
  color: var(--purple-400);
}

.t-cmd {
  color: var(--green-500);
}

.t-arg {
  color: var(--text-400);
}

.t-ok {
  color: var(--green-500);
}

.t-text {
  color: var(--text-400);
}

.t-success {
  color: var(--purple-400);
  font-weight: 600;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--purple-400);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* Métricas hero */
.hero-metrics {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.metrics-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.metrics-status-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.metrics-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--transition), background var(--transition);
}

.metric-card:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.metric-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-500);
}

.icon-green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green-500);
}

.icon-purple {
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-400);
}

.icon-orange {
  background: rgba(251, 146, 60, 0.15);
  color: var(--orange-400);
}

.metric-icon svg {
  width: 14px;
  height: 14px;
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-name {
  font-size: 10px;
  color: var(--text-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-100);
}

.metric-green {
  color: var(--green-500);
}

/* Chart bars */
.metrics-chart {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-bottom: 8px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: rgba(124, 58, 237, 0.25);
  border-radius: 3px 3px 0 0;
  transition: background var(--transition);
}

.bar-active {
  background: rgba(124, 58, 237, 0.7);
}

.chart-label {
  font-size: 10px;
  color: var(--text-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-400);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-100);
  line-height: 1.15;
}

.section-subtitle {
  margin-top: 14px;
  color: var(--text-400);
  font-size: 16.5px;
  line-height: 1.7;
}

/* ============================================================
   PROPOSTA DE VALOR
   ============================================================ */
.value-section {
  background: linear-gradient(180deg, var(--bg) 0%, #08080f 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.value-content .section-label {
  text-align: left;
}

.value-content .section-title {
  text-align: left;
  font-size: clamp(26px, 3.5vw, 36px);
}

.value-text {
  color: var(--text-400);
  line-height: 1.75;
  margin-top: 16px;
  font-size: 15.5px;
}

.value-text em {
  color: var(--purple-400);
  font-style: normal;
  font-weight: 500;
}

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hover);
  color: var(--text-400);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 500;
}

/* Architecture diagram */
.value-visual {
  display: flex;
  justify-content: center;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 320px;
}

.arch-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-200);
  width: 100%;
  justify-content: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.arch-node:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.15);
}

.arch-node svg {
  color: var(--purple-400);
  flex-shrink: 0;
}

.node-mid svg {
  color: var(--blue-500);
}

.node-bottom svg {
  color: var(--green-500);
}

.arch-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.4), rgba(124, 58, 237, 0.15));
  flex-shrink: 0;
}

.arch-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.arch-row .arch-node {
  flex: 1;
  font-size: 11px;
  padding: 10px 8px;
}

.arch-row .arch-node svg {
  width: 12px;
  height: 12px;
}

.connector-bottom {
  background: linear-gradient(to bottom, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.5));
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-section {
  background: var(--bg);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-purple-bg {
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple-400);
}

.icon-blue-bg {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-500);
}

.icon-green-bg {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-500);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-100);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-desc {
  color: var(--text-400);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-600);
  font-family: var(--font-mono);
}

.service-features li::before {
  content: '—';
  color: var(--purple-400);
  font-weight: 700;
}

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.portfolio-section {
  background: linear-gradient(180deg, #08080f 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.portfolio-sector-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

.tag-purple {
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple-400);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-500);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag-green {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-500);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.portfolio-icon {
  color: var(--text-600);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-100);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.portfolio-desc {
  color: var(--text-400);
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-600);
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ============================================================
   TECNOLOGIA
   ============================================================ */
.tech-section {
  background: var(--bg);
}

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

.tech-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.tech-pillar:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-100);
  letter-spacing: -0.02em;
}

.pillar-desc {
  color: var(--text-400);
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
}

/* Tech logos */
.tech-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.tech-logo {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition), background var(--transition);
  cursor: default;
}

.tech-logo:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.06);
}

.tl-icon {
  width: 28px;
  height: 28px;
}

.tech-logo span {
  font-size: 9.5px;
  color: var(--text-600);
  font-family: var(--font-mono);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ============================================================
   METODOLOGIA
   ============================================================ */
.methodology-section {
  background: linear-gradient(180deg, var(--bg) 0%, #08080f 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.step:hover {
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-3px);
}

.step:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.5);
  letter-spacing: 0.08em;
}

.step-icon {
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-100);
  letter-spacing: -0.01em;
}

.step-desc {
  color: var(--text-400);
  font-size: 13.5px;
  line-height: 1.65;
}

.step-connector {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.step-connector::after {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.5), rgba(124, 58, 237, 0.2));
}

/* ============================================================
   CTA / FOOTER SECTION
   ============================================================ */
.cta-section {
  background: var(--bg);
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.label-light {
  color: var(--purple-400);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-100);
  line-height: 1.12;
  margin-bottom: 20px;
}

.cta-desc {
  color: var(--text-400);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple-600) 0%, #4f46e5 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 32px rgba(124, 58, 237, 0.4), 0 0 0 1px rgba(124, 58, 237, 0.5);
  letter-spacing: -0.01em;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-cta-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 48px rgba(124, 58, 237, 0.55), 0 0 0 1px rgba(124, 58, 237, 0.6);
  filter: brightness(1.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #030305;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-tagline {
  color: var(--text-600);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-600);
  font-size: 13px;
  font-style: normal;
}

.footer-address svg {
  color: var(--purple-400);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-200);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-600);
  font-size: 13.5px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--text-200);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-600);
}

.footer-location {
  font-size: 12px;
  color: var(--text-600);
  font-family: var(--font-mono);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-metrics {
    max-width: 520px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .value-visual {
    display: none;
  }

  .steps-track {
    flex-direction: column;
  }

  .step-connector {
    width: 100%;
    height: 20px;
  }

  .step-connector::after {
    width: 2px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-logo {
    position: static;
    transform: none;
  }

  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-terminal {
    max-width: 100%;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .tech-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 26px;
  }

  .btn-cta-large {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 14px 20px;
  }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.6);
}