/* ==========================================================================
   PAUTA VIRTUAL — GOOGLE ANTIGRAVITY DESIGN SYSTEM (pv-antigravity.css)
   Inspired by https://antigravity.google/
   Ultra-clean Daylight canvas, high-contrast typography, pill CTAs,
   interactive particle hero, floating tech dock, and IDE artifact cards.
   ========================================================================== */

:root {
  --ag-bg: #ffffff;
  --ag-surface: #f8f9fa;
  --ag-surface-hover: #f1f3f4;
  --ag-ink: #202124;
  --ag-ink-secondary: #5f6368;
  --ag-ink-muted: #80868b;
  --ag-border: rgba(32, 33, 36, 0.08);
  --ag-border-strong: rgba(32, 33, 36, 0.14);
  --ag-blue: #3186ff;
  --ag-red: #fc413d;
  --ag-yellow: #fbbc04;
  --ag-green: #00b95c;
  --ag-radius-pill: 9999px;
  --ag-radius-bento: 28px;
  --ag-radius-card: 20px;
  --ag-font-sans: 'Plus Jakarta Sans', 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ag-font-mono: 'JetBrains Mono', 'Roboto Mono', Consolas, monospace;
}

.ag-landing {
  background-color: var(--ag-bg);
  color: var(--ag-ink);
  font-family: var(--ag-font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 1. HERO CON LIENZO DE PARTÍCULAS INTERACTIVAS */
.ag-hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: radial-gradient(circle at 50% 0%, rgba(49, 134, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-bottom: 1px solid var(--ag-border);
  overflow: hidden;
}

.ag-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.ag-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .ag-hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

/* Pill Announcement Chip (Estilo "New Gemini 4 Carbon in Google Antigravity") */
.ag-announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  border-radius: var(--ag-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ag-ink);
  margin-bottom: 1.75rem;
  transition: all 0.25s ease;
}

.ag-announcement-pill:hover {
  background: var(--ag-surface-hover);
  transform: translateY(-1px);
}

.ag-announcement-tag {
  background: var(--ag-ink);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--ag-radius-pill);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Tipografía Display de Gran Escala */
.ag-title {
  font-size: clamp(2.5rem, 4.8vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--ag-ink);
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}

.ag-title-gradient {
  background: linear-gradient(90deg, #202124 0%, #3186ff 60%, #00b95c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ag-title-gradient-amber {
  background: linear-gradient(90deg, #202124 0%, #d97706 55%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ag-subtitle {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--ag-ink-secondary);
  margin-bottom: 2.25rem;
  font-weight: 400;
  max-width: 640px;
}

/* Botones Pill-Shaped de Antigravity */
.ag-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.ag-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--ag-ink);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.95rem 1.85rem;
  border-radius: var(--ag-radius-pill);
  border: 1px solid var(--ag-ink);
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(32, 33, 36, 0.14);
  cursor: pointer;
}

.ag-btn-primary:hover {
  background: #303134;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.22);
}

.ag-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--ag-surface);
  color: var(--ag-ink) !important;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.95rem 1.7rem;
  border-radius: var(--ag-radius-pill);
  border: 1px solid var(--ag-border-strong);
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.ag-btn-secondary:hover {
  background: var(--ag-surface-hover);
  border-color: rgba(32, 33, 36, 0.25);
  transform: translateY(-2px);
}

/* Trust Specs Bar */
.ag-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ag-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ag-ink-secondary);
}

.ag-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ag-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ag-blue);
  display: inline-block;
}

/* 2. TARJETA DE FORMULARIO BENTO CON HALO DE ESPECTRO GOOGLE */
.ag-form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--ag-radius-bento);
  padding: 2.5rem;
  border: 1px solid var(--ag-border-strong);
  box-shadow: 0 24px 60px rgba(32, 33, 36, 0.07);
}

.ag-form-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--ag-radius-bento) + 2px);
  background: linear-gradient(135deg, rgba(49, 134, 255, 0.25), rgba(0, 185, 92, 0.2), rgba(251, 188, 4, 0.2), rgba(252, 65, 61, 0.2));
  z-index: -1;
  filter: blur(14px);
  opacity: 0.65;
}

.ag-input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--ag-ink);
  transition: all 0.2s ease;
  outline: none;
}

.ag-input:focus {
  background: #ffffff;
  border-color: var(--ag-blue);
  box-shadow: 0 0 0 4px rgba(49, 134, 255, 0.12);
}

/* 3. DOCK FLOTANTE DE TECNOLOGÍA (Inspirado en la barra de iconos de Antigravity) */
.ag-tech-dock-wrap {
  display: flex;
  justify-content: center;
  margin: -1.75rem auto 0;
  position: relative;
  z-index: 5;
  padding: 0 1rem;
}

.ag-tech-dock {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.65rem 1.1rem;
  border-radius: var(--ag-radius-pill);
  border: 1px solid var(--ag-border-strong);
  box-shadow: 0 12px 32px rgba(32, 33, 36, 0.06);
  flex-wrap: wrap;
  justify-content: center;
}

.ag-dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--ag-radius-pill);
  background: var(--ag-surface);
  color: var(--ag-ink);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--ag-font-mono);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.ag-dock-pill:hover {
  background: #ffffff;
  border-color: var(--ag-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 33, 36, 0.06);
}

/* 4. SECCIONES Y ENCABEZADOS ANTIGRAVITY */
.ag-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--ag-border);
}

.ag-section-alt {
  background-color: var(--ag-surface);
}

.ag-section-header {
  max-width: 780px;
  margin: 0 auto 4rem;
  text-align: center;
}

.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ag-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ag-ink-secondary);
  background: #ffffff;
  border: 1px solid var(--ag-border-strong);
  padding: 0.3rem 0.85rem;
  border-radius: var(--ag-radius-pill);
  margin-bottom: 1rem;
}

.ag-h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.14;
  font-weight: 800;
  color: var(--ag-ink);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

/* 5. BENTO GRID 2x2 PERFECTAMENTE EQUILIBRADO */
.ag-bento-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 820px) {
  .ag-bento-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ag-bento-card {
  position: relative;
  background: var(--ag-surface);
  border: 1px solid var(--ag-border);
  border-radius: var(--ag-radius-bento);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ag-bento-card:hover {
  background: #ffffff;
  border-color: var(--ag-border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(32, 33, 36, 0.06);
}

.ag-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ag-bento-index {
  font-family: var(--ag-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ag-ink);
  background: #ffffff;
  border: 1px solid var(--ag-border-strong);
  padding: 0.3rem 0.8rem;
  border-radius: var(--ag-radius-pill);
}

.ag-bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--ag-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ag-ink);
}

.ag-bento-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ag-ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.ag-bento-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ag-ink-secondary);
  margin-bottom: 1.5rem;
}

.ag-bento-deliverables {
  background: #ffffff;
  border: 1px solid var(--ag-border);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  font-size: 0.88rem;
  color: var(--ag-ink);
}

.ag-bento-deliverables ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--ag-ink-secondary);
  line-height: 1.65;
}

/* 6. TABLA DE COMPARACIÓN ESTILO ANTIGRAVITY SPECS */
.ag-spec-table-wrap {
  background: #ffffff;
  border: 1px solid var(--ag-border-strong);
  border-radius: var(--ag-radius-bento);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(32, 33, 36, 0.04);
}

.ag-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ag-spec-table th {
  background: var(--ag-surface);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ag-ink);
  border-bottom: 1px solid var(--ag-border-strong);
}

.ag-spec-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--ag-border);
  font-size: 0.95rem;
  line-height: 1.55;
  vertical-align: middle;
}

.ag-spec-table tr:last-child td {
  border-bottom: none;
}

.ag-badge-limit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c5221f;
  font-weight: 500;
}

.ag-badge-win {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #137333;
  font-weight: 600;
}

/* 7. VENTANA IDE ANTIGRAVITY (Para SQL y DAX) */
.ag-ide-window {
  background: #141517;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}

.ag-ide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #1e1f22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ag-ide-dots {
  display: flex;
  gap: 7px;
}

.ag-ide-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ag-ide-tab {
  font-family: var(--ag-font-mono);
  font-size: 0.78rem;
  color: #e8eaed;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.ag-ide-status {
  font-family: var(--ag-font-mono);
  font-size: 0.72rem;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ag-ide-body {
  padding: 1.75rem;
  font-family: var(--ag-font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #e8eaed;
  overflow-x: auto;
}

.ag-ide-body .kw { color: #8ab4f8; font-weight: 700; }
.ag-ide-body .fn { color: #f28b82; font-weight: 600; }
.ag-ide-body .str { color: #81c995; }
.ag-ide-body .var { color: #fdd663; }
.ag-ide-body .cm { color: #9aa0a6; font-style: italic; }

/* 8. CRONOGRAMA DE 4 SEMANAS (4 COLUMNAS SIMÉTRICAS) */
.ag-steps-4col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .ag-steps-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ag-steps-4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ag-step-card {
  background: #ffffff;
  border: 1px solid var(--ag-border-strong);
  border-radius: var(--ag-radius-card);
  padding: 2rem;
  transition: all 0.25s ease;
}

.ag-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(32, 33, 36, 0.05);
}

.ag-step-pill {
  display: inline-block;
  font-family: var(--ag-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ag-ink);
  background: var(--ag-surface);
  border: 1px solid var(--ag-border-strong);
  padding: 0.25rem 0.7rem;
  border-radius: var(--ag-radius-pill);
  margin-bottom: 1rem;
}

/* 9. ACORDEÓN DE PREGUNTAS FRECUENTES ESTILO GOOGLE DOCS */
.ag-faq-item {
  background: var(--ag-surface);
  border: 1px solid var(--ag-border);
  border-radius: 18px;
  padding: 1.35rem 1.65rem;
  transition: all 0.2s ease;
}

.ag-faq-item[open] {
  background: #ffffff;
  border-color: var(--ag-border-strong);
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.04);
}

.ag-faq-item summary {
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ag-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ag-faq-item summary::-webkit-details-marker {
  display: none;
}

/* 10. BANNER FINAL LIFTOFF CTA */
.ag-liftoff-cta {
  position: relative;
  padding: 6rem 0;
  background: var(--ag-surface);
  border-top: 1px solid var(--ag-border);
  text-align: center;
  overflow: hidden;
}

.ag-liftoff-card {
  background: #ffffff;
  border: 1px solid var(--ag-border-strong);
  border-radius: 36px;
  padding: 4.5rem 2.5rem;
  box-shadow: 0 24px 60px rgba(32, 33, 36, 0.05);
  max-width: 960px;
  margin: 0 auto;
}
