/* ═══════════════════════════════════════════════
   SKYAWEB — PAGES.CSS
   Estilos compartidos para páginas interiores
   + Dropdown navbar
   ═══════════════════════════════════════════════ */

/* Dropdown navbar: estilos en styles.css (compartido por todas las páginas) */

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  position: relative;
  padding: 160px 24px 100px;
  overflow: hidden;
  text-align: center;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  z-index: 0;
}

.page-hero-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
}

.page-hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.page-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ph-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ph-stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.ph-stat-label { font-size: 13px; color: var(--text-3); }

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb {
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb li + li::before { content: '/'; color: var(--text-3); }
.breadcrumb a { color: var(--text-3); text-decoration: none; transition: color 150ms; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text-2); }

/* ── CONTENT SECTIONS ────────────────────────── */
.page-section { padding: 100px 0; }
.page-section.alt { background: var(--bg-2); }

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

.content-text h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.content-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-text p:last-of-type { margin-bottom: 28px; }

.content-visual {
  position: relative;
}

/* ── FEATURE LIST ────────────────────────────── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 200ms, transform 200ms var(--ease-out);
}
.feature-item:hover { border-color: var(--border-h); transform: translateX(4px); }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.feature-text h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-text p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin: 0; }

/* ── USE CASES GRID ──────────────────────────── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.use-case-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 250ms, transform 250ms var(--ease-out), box-shadow 250ms;
}
.use-case-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.uc-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.use-case-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.use-case-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── COMPARISON TABLE ────────────────────────── */
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.comparison-table th {
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--bg-card);
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.comparison-table th.highlight {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 47, 255, 0.08));
  color: var(--cyan);
}
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td.highlight {
  background: rgba(0, 212, 255, 0.03);
  color: var(--text-1);
  font-weight: 600;
}
.comparison-table tr:hover td { background: var(--bg-card); }

.check-yes { color: #22c55e; font-weight: 700; }
.check-no  { color: var(--text-3); }

/* ── VISUAL MOCKUP CARD ──────────────────────── */
.mockup-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-line {
  height: 10px;
  background: var(--bg-card);
  border-radius: 6px;
}
.mockup-line.w-full { width: 100%; }
.mockup-line.w-3q  { width: 75%; }
.mockup-line.w-half{ width: 50%; }
.mockup-line.w-2q  { width: 60%; }
.mockup-line.accent {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(123, 47, 255, 0.3));
  height: 14px;
}

.mockup-row { display: flex; gap: 12px; }
.mockup-box {
  flex: 1;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 12px;
}
.mockup-box.cyan-box {
  background: var(--cyan-dim);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--cyan);
  font-weight: 700;
}

/* ── FLOW DIAGRAM ────────────────────────────── */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  position: relative;
  transition: border-color 200ms, transform 200ms var(--ease-out);
}
.flow-step:hover { border-color: var(--border-h); transform: translateX(4px); }

.flow-step::after {
  content: '';
  position: absolute;
  bottom: -14px; left: 32px;
  width: 1px; height: 10px;
  background: var(--border);
  z-index: 1;
}
.flow-step:last-child::after { display: none; }

.flow-num {
  width: 32px; height: 32px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

.flow-text { flex: 1; }
.flow-text h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.flow-text p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ── INTEGRATIONS GRID ───────────────────────── */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.integration-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color 200ms, transform 200ms var(--ease-out);
}
.integration-pill:hover { border-color: var(--border-h); transform: translateY(-2px); }

.int-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cyan);
}
.integration-pill span { font-size: 12px; color: var(--text-3); font-weight: 500; }

/* ── PRICING TEASER ──────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 300ms, transform 300ms var(--ease-out);
}
.pricing-card:hover { border-color: var(--border-h); transform: translateY(-4px); }

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 47, 255, 0.06));
  border-color: rgba(0, 212, 255, 0.25);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  align-self: flex-start;
}

.pricing-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
}
.pricing-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.pricing-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CASES FILTER ────────────────────────────── */
.cases-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 150ms, color 150ms, background 150ms;
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--border-h); color: var(--text-1); }
.filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(123, 47, 255, 0.12));
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--cyan);
}
.filter-btn:focus-visible { outline: 2px solid var(--cyan); }

/* ── RESULT HIGHLIGHT BLOCK ──────────────────── */
.result-highlight {
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 47, 255, 0.06));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}
.result-highlight p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 16px;
}
.result-highlight .big-number {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

/* ── BACK LINK ───────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 16px;
  transition: color 150ms;
}
.back-link:hover { color: var(--cyan); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .content-split { grid-template-columns: 1fr; gap: 40px; }
  .content-split.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 24px 60px; }
  .page-hero h1 { letter-spacing: -1px; }
  .page-section { padding: 60px 0; }
  .page-hero-stats { gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
}
