/* Taxcaria — componentes SEO, confianza y landings de producto */

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.hero-cta-row .btn { text-decoration: none; }

.trust-band {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--gradient-section);
}

.trust-item {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.trust-item:hover {
  border-color: #5b5b8a;
  background: var(--bg-card-hover);
}

/* Chips de producto: área táctil mínima 44px */
.product-landing .features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-landing .features span {
  font-size: var(--text-small);
  padding: 0.5rem 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
}

/* Cabeceras diferenciadas por tipo de página */
.legal-page .legal-hero {
  padding: 1.5rem 0 0.5rem;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, transparent 100%);
}

.product-landing .product-hero {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.04) 0%, transparent 55%);
}

.product-landing--agenda .product-hero {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.08) 0%, transparent 55%);
}

.product-landing--finanzas .product-hero {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, transparent 55%);
}

.showcase-card--finanzas .showcase-card__icon {
  border-radius: 18px;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.smartscreen-callout {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.smartscreen-callout strong { color: #fde68a; }

.trust-band h2 {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-item strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.featured-app {
  padding: 3rem 0;
}

.featured-app__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .featured-app__inner { grid-template-columns: 1fr 1fr; }
}

.featured-app__mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(280px, 100%);
  padding: 12px;
  border-radius: 32px;
  border: 2px solid var(--border);
  background: linear-gradient(160deg, #1e293b, #0f172a);
  box-shadow: var(--shadow, 0 24px 80px rgba(0,0,0,.45));
}

.phone-frame img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.faq-section { padding: 3rem 0; }

.faq-section h2 { margin-bottom: 1.25rem; }

.faq-list { display: grid; gap: 0.65rem; max-width: 820px; }

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  padding: 0.85rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list details[open] > p,
.faq-list details[open] summary ~ p {
  display: block;
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-studio {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  margin: 1.5rem 0 2rem;
}

.about-studio__logo {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 0.75rem;
}

.about-studio__apps {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.about-studio__apps img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.about-founder-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-founder-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}

.about-founder__avatar {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 0.5rem;
}

.about-founder__name {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.about-founder__role {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.about-founder__bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer-mini {
  margin-top: 2rem;
}

.security-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.security-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.security-table th,
.security-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.security-table th {
  background: rgba(255,255,255,0.04);
  font-weight: 600;
}

.security-table code {
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--accent-2, #22d3ee);
}

.hash-copy {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--accent-2, #22d3ee);
}

.product-landing { padding-bottom: 3rem; }

.product-landing .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.product-section {
  margin: 1.25rem 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated, #121826);
}

.product-section h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.product-section h3 {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
}

.benefit-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 0.75rem;
}

.benefit-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.benefit-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.use-cases {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.use-cases li { margin: 0.4rem 0; }

.guide-hub {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 1.5rem 0;
}

.guide-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.15s;
}

.guide-card:hover { border-color: var(--accent, #8b5cf6); }

.guide-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }

.guide-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.privacy-summary {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(34, 211, 238, 0.06);
}

.privacy-summary h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.privacy-summary ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.privacy-summary li { margin: 0.35rem 0; }

.changelog-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.changelog-list li { margin: 0.45rem 0; }
.changelog-date { color: var(--accent-2, #22d3ee); font-size: 0.82rem; }

.changelog-box {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.showcase-card--featured {
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.12);
}

.breadcrumb-inline {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb-inline a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb-inline a:hover { color: var(--accent-2, #22d3ee); }

/* FAQ mejorada */
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-chevron {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  margin-top: -0.2rem;
  transition: transform 0.15s ease;
}

.faq-list details[open] .faq-chevron {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list details[open] {
  border-color: rgba(139, 92, 246, 0.35);
}

/* Vistas previas de producto (mockups) */
.app-preview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 1rem;
}

.app-preview-card {
  margin: 0;
  text-align: center;
}

.app-preview-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.app-preview-frame {
  border-radius: 20px;
  border: 2px solid var(--border);
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
  padding: 10px;
  aspect-ratio: 9 / 16;
  max-height: 320px;
  margin: 0 auto;
  max-width: 180px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  overflow: hidden;
}

.app-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
}

.app-preview-ui {
  height: 100%;
  border-radius: 14px;
  background: #0b0f17;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.app-preview-ui .bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.app-preview-ui .bar--accent { background: rgba(139, 92, 246, 0.45); width: 70%; }
.app-preview-ui .bar--wide { width: 85%; }
.app-preview-ui .bar--mid { width: 55%; }

.app-preview-ui .chip-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.app-preview-ui .chip {
  height: 14px;
  width: 28px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.2);
}

.app-preview-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Prueba social / badges */
.social-proof-band {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.social-proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

.proof-card {
  flex: 1 1 200px;
  max-width: 280px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-align: center;
}

.proof-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.proof-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

.play-badge:hover { border-color: #22c55e; }

.play-badge svg { flex-shrink: 0; }

/* Explorar por necesidad */
.explore-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.explore-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.15s, transform 0.15s;
}

.explore-card:hover {
  border-color: var(--accent, #8b5cf6);
  transform: translateY(-2px);
}

.explore-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.explore-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.version-note {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  margin-top: 0.75rem;
}

.hash-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.hash-copy-btn {
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
}
.hash-copy-btn:hover { color: var(--accent-2, #22d3ee); border-color: var(--accent-2, #22d3ee); }

.user-pick-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}
.user-pick-card {
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.user-pick-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.user-pick-card p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.88rem; }
.closing-cta {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.closing-cta h2 { margin-bottom: 0.75rem; }
.closing-cta p { color: var(--muted); max-width: 48ch; margin: 0 auto 1.25rem; }

.showcase-card__icon-col {
  flex: 0 0 auto;
  display: block;
  width: 72px;
}
