/* ================================================================
   components.css — Nav, Footer, Buttons, Cards, Trust Strip
   Shared patterns with signos.app
   ================================================================ */

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
@media (min-width: 640px) { .nav__inner { padding: 0 2rem; } }

.nav__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a.active {
  color: var(--text-primary);
}
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 1px;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; }

@media (max-width: 639px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem;
    gap: 0;
    z-index: 100;
  }
  .nav__links.open li { padding: 0; }
  .nav__links.open a {
    font-size: 1rem;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1rem;
    width: 100%;
  }
  .nav__toggle { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 24px rgba(59, 139, 196, 0.25);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.btn:hover {
  background: var(--brand-blue-light);
  box-shadow: 0 0 32px rgba(59, 139, 196, 0.35);
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; }

.btn--outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  box-shadow: none;
}
.btn--outline:hover {
  border-color: var(--brand-blue);
  background: rgba(59, 139, 196, 0.08);
  box-shadow: none;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 36px;
}

/* Trust Strip */
.trust-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--surface-1);
}
.trust-strip__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .trust-strip__row { gap: 3rem; }
}
.trust-strip__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-strip__badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand-gold);
}

/* Section Headlines */
.section-headline {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-body {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}
.section-body strong {
  color: var(--text-primary);
  font-weight: 600;
}
@media (min-width: 1024px) {
  .section-headline { font-size: 2.75rem; margin-bottom: 1.75rem; }
}
@media (max-width: 639px) {
  .section-headline { font-size: 1.875rem; }
  .section-body { font-size: 1rem; }
}
@media (max-width: 374px) {
  .section-headline { font-size: 1.625rem; }
}

/* Use Cases Grid */
.use-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .use-cases__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .use-cases__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.use-card {
  background: linear-gradient(180deg, var(--surface-2), #080D18);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.use-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(59, 139, 196, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.use-card:hover::before { opacity: 1; }
.use-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.use-card:hover::after { opacity: 1; }
.use-card:hover {
  border-color: rgba(59, 139, 196, 0.25);
  transform: translateY(-2px);
}
/* Dim non-hovered cards in grid (matches signos.app) */
.use-cases__grid:has(.use-card:hover) .use-card:not(:hover) {
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.use-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 139, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand-blue);
}
.use-card__icon svg { width: 20px; height: 20px; }
.use-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.use-card__body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Check List */
.check-list {
  list-style: none;
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
}
.check-list__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(200, 150, 62, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-gold);
}
.check-list__icon svg { width: 14px; height: 14px; }

/* Pull Quote */
.pull-quote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--brand-gold);
  background: rgba(200, 150, 62, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}
@media (max-width: 639px) {
  .pull-quote { padding: 1.25rem 1.25rem; font-size: 1rem; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2.5rem;
  text-align: center;
}
.site-footer__signoff {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.site-footer__links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.site-footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}
.site-footer__links a:hover { color: var(--text-primary); }
.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}
.site-footer__tech {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
@media (max-width: 479px) {
  .site-footer__links { flex-direction: column; gap: 0; }
}

/* Scroll Reveal (matches signos.app landing.css) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for card grids */
.use-cases__grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
.use-cases__grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.use-cases__grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.use-cases__grid [data-reveal]:nth-child(4) { transition-delay: 0.16s; }

/* Stagger for check-list items */
.check-list [data-reveal]:nth-child(1) { transition-delay: 0s; }
.check-list [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.check-list [data-reveal]:nth-child(3) { transition-delay: 0.1s; }
.check-list [data-reveal]:nth-child(4) { transition-delay: 0.15s; }

/* Mobile overrides */
@media (max-width: 639px) {
  .use-cases__grid { gap: 1rem; }
  .use-card { padding: 1.25rem; }
  .trust-strip { padding: 1.5rem 0; }
}
@media (max-width: 479px) {
  .trust-strip__badge { font-size: 0.6875rem; gap: 0.375rem; }
  .trust-strip__badge svg { width: 14px; height: 14px; }
  .trust-strip__row { gap: 0.75rem 1.25rem; }
}
