/* SkyPipeline Enterprise Premium — máquina de ventas B2B */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #030712;
  --bg-elevated: #0a0f1e;
  --surface: rgba(15, 23, 42, 0.55);
  --surface-solid: #0f172a;
  --surface2: rgba(30, 41, 59, 0.65);
  --border: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(99, 102, 241, 0.35);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent2: #3b82f6;
  --accent3: #8b5cf6;
  --success: #22c55e;
  --warn: #f59e0b;
  --glass: blur(16px) saturate(180%);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.28), transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(59, 130, 246, 0.15), transparent 50%);
  --gradient-cta: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #3b82f6 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 52rem; margin: 0 auto; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: var(--glass);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(3, 7, 18, 0.92); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem; gap: 1rem;
}
.logo {
  font-weight: 700; font-size: 1rem; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient-cta);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
}
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.875rem; align-items: center; }
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav-cta { margin-left: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.35rem; border-radius: 10px;
  font-weight: 600; font-size: 0.9rem; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--border-glow); background: rgba(99,102,241,0.08); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* Hero */
.hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none;
}
.hero-content { position: relative; text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
  font-size: 0.78rem; font-weight: 500; color: #a5b4fc; margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.kpi-strip {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin-bottom: 3.5rem;
}
.kpi-pill {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.85rem 1.5rem; min-width: 130px;
  background: var(--surface); backdrop-filter: var(--glass);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.kpi-pill .num {
  font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.kpi-pill .lbl { font-size: 0.75rem; color: var(--muted); text-align: center; }

/* Dashboard mockup */
.dashboard-mockup {
  position: relative; max-width: 64rem; margin: 0 auto;
  perspective: 1200px;
}
.dashboard-frame {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 0 1px rgba(99,102,241,0.08);
  overflow: hidden;
  transform: rotateX(2deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotateX(2deg) translateY(0); }
  50% { transform: rotateX(2deg) translateY(-8px); }
}
.dashboard-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ef4444; } .dot-y { background: #f59e0b; } .dot-g { background: #22c55e; }
.dashboard-title { margin-left: 0.75rem; font-size: 0.78rem; color: var(--muted); }
.dashboard-body { display: grid; grid-template-columns: 200px 1fr; min-height: 340px; }
.dashboard-sidebar {
  padding: 1rem; border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.sidebar-item {
  padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.78rem;
  color: var(--muted); margin-bottom: 0.25rem;
}
.sidebar-item.active { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.dashboard-main { padding: 1.25rem; display: grid; gap: 1rem; }
.dash-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.dash-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.85rem;
}
.dash-card .label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.dash-card .value { font-size: 1.35rem; font-weight: 700; margin: 0.25rem 0; }
.dash-card .delta { font-size: 0.72rem; color: var(--success); }
.dash-chart {
  grid-column: 1 / -1; height: 120px;
  background: linear-gradient(180deg, rgba(99,102,241,0.12) 0%, transparent 100%);
  border: 1px solid var(--border); border-radius: 10px;
  position: relative; overflow: hidden;
}
.chart-line {
  position: absolute; bottom: 20%; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  animation: pulse-line 3s ease-in-out infinite;
}
@keyframes pulse-line { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.dash-table { grid-column: 1 / -1; font-size: 0.75rem; }
.dash-table-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.dash-table-row.header { color: var(--text); font-weight: 600; }
.status-ok { color: var(--success); }
.status-warn { color: var(--warn); }

/* Sections */
section { padding: 5rem 0; position: relative; }
section.alt { background: var(--bg-elevated); }
.section-head { text-align: center; margin-bottom: 3rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.75rem;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.section-label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.5rem;
}

/* Trust badges */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin-bottom: 2.5rem;
}
.trust-badge {
  text-align: center; padding: 1.25rem 1rem;
  background: var(--surface); backdrop-filter: var(--glass);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.trust-badge:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.trust-badge .icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.trust-badge strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.trust-badge span { font-size: 0.75rem; color: var(--muted); }
.trust-msg {
  text-align: center; max-width: 36rem; margin: 0 auto;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.15);
  font-size: 0.95rem; color: var(--muted);
}

/* Before/After */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.compare-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.compare-card.before { background: rgba(239,68,68,0.04); border-color: rgba(239,68,68,0.15); }
.compare-card.after { background: rgba(34,197,94,0.04); border-color: rgba(34,197,94,0.15); }
.compare-card h3 { margin: 0 0 1rem; font-size: 1rem; }
.compare-card.before h3 { color: #fca5a5; }
.compare-card.after h3 { color: #86efac; }
.compare-list { list-style: none; padding: 0; margin: 0; }
.compare-list li {
  padding: 0.5rem 0 0.5rem 1.5rem; position: relative;
  font-size: 0.92rem; color: var(--muted);
}
.compare-list li::before {
  content: '×'; position: absolute; left: 0; font-weight: 700;
}
.compare-card.after .compare-list li::before { content: '✓'; color: var(--success); }
.conclusion {
  text-align: center; margin-top: 2.5rem; padding: 1.5rem;
  font-size: 1.15rem; font-weight: 500; color: var(--text);
  border-top: 1px solid var(--border);
}

/* Pipeline flow */
.pipeline-flow {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: 0; margin-bottom: 2rem;
}
.pipeline-node {
  flex: 1; min-width: 140px; max-width: 180px;
  text-align: center; padding: 1.25rem 0.75rem;
  position: relative;
}
.pipeline-node::after {
  content: '→'; position: absolute; right: -0.5rem; top: 50%;
  transform: translateY(-50%); color: var(--accent); font-size: 1.25rem;
}
.pipeline-node:last-child::after { display: none; }
.pipeline-icon {
  width: 48px; height: 48px; margin: 0 auto 0.75rem;
  border-radius: 12px; background: rgba(99,102,241,0.15);
  border: 1px solid var(--border-glow);
  display: grid; place-items: center; font-size: 1.25rem;
}
.pipeline-node strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.pipeline-node span { font-size: 0.72rem; color: var(--muted); }

.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.module-card {
  background: var(--surface); backdrop-filter: var(--glass);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: border-color 0.2s;
}
.module-card:hover { border-color: var(--border-glow); }
.module-card h3 { margin: 0 0 0.5rem; font-size: 1rem; color: #a5b4fc; }
.module-card .meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.75rem; }
.module-card dl { margin: 0; font-size: 0.85rem; }
.module-card dt { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.65rem; }
.module-card dd { margin: 0.15rem 0 0; }

/* AI section */
.ai-visual {
  position: relative; height: 280px; margin: 2rem 0 3rem;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.08), transparent 70%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.neural-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gradient-cta);
  box-shadow: 0 0 60px rgba(99,102,241,0.5);
  animation: pulse-core 3s ease-in-out infinite;
}
@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 40px rgba(99,102,241,0.4); }
  50% { box-shadow: 0 0 80px rgba(99,102,241,0.7); }
}
.neural-node {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); opacity: 0.7;
  animation: node-float 4s ease-in-out infinite;
}
.neural-line {
  position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
  transform-origin: left center;
}
.ai-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.85rem; }
.ai-cat {
  padding: 1rem; text-align: center;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.85rem; font-weight: 500;
}

/* Compliance */
.iso-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.iso-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.iso-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.iso-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.compliance-msg {
  margin-top: 2rem; padding: 1.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(59,130,246,0.06));
  border: 1px solid var(--border-glow); border-radius: var(--radius-lg);
  font-size: 1.05rem; font-weight: 500;
}

/* SRE command center */
.sre-dashboard {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
  margin-bottom: 2rem;
}
.sre-metric {
  padding: 1.25rem; text-align: center;
  background: var(--surface-solid); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sre-metric .num { font-size: 2rem; font-weight: 700; color: var(--accent); }
.sre-metric .lbl { font-size: 0.8rem; color: var(--muted); }
.sre-features { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.sre-tag {
  padding: 0.45rem 1rem; border-radius: 999px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  font-size: 0.82rem;
}

/* Fleet cards */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.fleet-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.fleet-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-cta);
}
.fleet-card:hover { transform: translateY(-3px); border-color: var(--border-glow); }
.fleet-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.fleet-card .status {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  color: var(--success); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}
.fleet-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ROI blocks */
.roi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.roi-block {
  text-align: center; padding: 2rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.roi-block .big {
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1;
  background: var(--gradient-cta);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.roi-block .desc { font-size: 0.88rem; color: var(--muted); margin-top: 0.5rem; }
.roi-impact {
  max-width: 40rem; margin: 0 auto; text-align: center;
  font-size: 1rem; color: var(--muted); line-height: 1.75;
}

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.security-item {
  padding: 1.25rem; text-align: center;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(239,68,68,0.12);
  border-radius: var(--radius);
}
.security-item .icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.security-item strong { display: block; font-size: 0.85rem; }

/* Executive */
.exec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.exec-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.exec-card .role {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem;
}
.exec-card h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.exec-card ul { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; color: var(--muted); }
.exec-card li { margin-bottom: 0.4rem; }

/* FAQ */
.faq-list { max-width: 44rem; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 0.65rem; overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 1.25rem 1rem; margin: 0;
  font-size: 0.9rem; color: var(--muted); line-height: 1.7;
}

/* Final CTA */
.final-cta {
  padding: 5rem 0; text-align: center;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.15), transparent 70%);
}
.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.final-cta p { color: var(--muted); max-width: 36rem; margin: 0 auto 2rem; font-size: 1.05rem; }

/* Footer */
.site-footer {
  padding: 2.5rem 0; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.82rem; color: var(--muted);
}
.site-footer a { color: var(--accent); }

/* Animations on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav { display: none; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dash-row { grid-template-columns: repeat(2, 1fr); }
  .pipeline-node::after { display: none; }
  section { padding: 3.5rem 0; }
}
