/* 
   licitacao-public.css 
   SEO-focused, lightweight CSS for public facing pages.
   No heavy frameworks, raw CSS for Core Web Vitals optimization.
*/

:root {
  --bg-dark: #030014;
  --bg-card: rgba(25, 25, 45, 0.4);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-main: #f0f0f0;
  --text-muted: rgba(255, 255, 255, 0.6);
  --accent-cyan: #00F0FF;
  --accent-purple: #7000FF;
  --success: #34C759;
  
  --font-sans: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', monospace;
}

body.public-theme {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Base resets */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #fff;
}
* {
  box-sizing: border-box;
}

/* Header */
.public-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}
.public-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-logo {
  height: 32px;
  width: auto;
}
.public-search-form {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
  align-items: center;
}
.public-search-form input {
  background: transparent;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  width: 300px;
  outline: none;
  font-family: var(--font-sans);
}
.public-search-form button {
  background: var(--accent-purple);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.public-search-form button:hover {
  background: #8020ff;
}

.public-header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.btn-public-login {
  color: var(--text-main);
  font-weight: 500;
}
.btn-public-signup {
  background: var(--accent-cyan);
  color: #000;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
}
.btn-public-signup:hover {
  filter: brightness(1.1);
  color: #000;
}

/* Main Layout */
.public-main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  min-height: calc(100vh - 300px);
}

/* Typography Details */
.seo-h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.seo-metadata {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Glass Cards */
.public-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.public-card-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.75rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.data-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.data-row:last-child {
  border-bottom: none;
}
.data-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.data-value {
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

/* Items Table - SEO Goldmine */
.public-table-responsive {
  overflow-x: auto;
}
.public-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.public-table th, .public-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}
.public-table th {
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.public-table tr:hover {
  background: rgba(255,255,255,0.02);
}
.item-desc {
  max-width: 400px;
}
.item-desc h4 {
  margin: 0 0 0.5rem 0;
  color: #fff;
}
.item-desc p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}
.price-col {
  text-align: right;
  white-space: nowrap;
}

/* Breadcrumbs */
.public-breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.public-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
}
.public-breadcrumbs a:hover {
  color: var(--text-main);
  text-decoration-color: currentColor;
}
.public-breadcrumbs span {
  margin: 0 0.5rem;
}

/* CTA Block */
.public-cta-block {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, rgba(112, 0, 255, 0.2), rgba(0, 240, 255, 0.1));
  border-radius: 1rem;
  border: 1px solid var(--accent-purple);
  margin: 3rem 0;
}
.public-cta-block h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
.public-cta-block p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* FAQ Section */
.public-faq {
  margin-top: 3rem;
}
.faq-item {
  margin-bottom: 1.5rem;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
}
.faq-item h3::before {
  content: "Q:";
  color: var(--accent-cyan);
  font-weight: 800;
  margin-right: 0.5rem;
}
.faq-item p {
  color: var(--text-muted);
  margin-left: 1.5rem;
}

/* Footer */
.public-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border-glass);
  background: #000;
  padding: 4rem 1.5rem 2rem;
}
.public-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.public-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  height: 32px;
  margin-bottom: 1rem;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  color: var(--text-main);
  font-size: 1.25rem;
}
.footer-social a:hover {
  color: var(--accent-cyan);
}
.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.seo-disclaimer {
  max-width: 50%;
  text-align: right;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* Badges */
.seo-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
}
.seo-badge.primary { background: rgba(0, 240, 255, 0.15); color: var(--accent-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.seo-badge.success { background: rgba(52, 199, 89, 0.15); color: var(--success); border: 1px solid rgba(52, 199, 89, 0.3); }

/* City Stats Grid */
.city-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.city-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}
.city-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.city-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pagination */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.pagination-link:hover:not(.disabled):not(.active) {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.pagination-link.active {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
  border-color: var(--accent-cyan);
}
.pagination-link.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.pagination-ellipsis {
  color: var(--text-muted);
  padding: 0 0.25rem;
}

/* Hub City Grid */
.hub-city-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1.5rem;
}
.hub-city-grid li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
}
.hub-city-grid li a {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}
.hub-city-count {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* ===== PORTAL PAGES ===== */

/* Portal Hub Grid */
.portal-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.portal-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}
.portal-hub-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 200, 255, 0.08);
}
.portal-hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(100, 255, 200, 0.1));
  color: var(--accent-cyan);
  font-size: 1.25rem;
}
.portal-hub-card-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.portal-hub-card-stats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.portal-hub-stat {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.portal-hub-stat i { font-size: 0.75rem; }
.portal-hub-stat.concorrencia {
  color: rgba(255, 180, 50, 0.7);
}
.portal-hub-card-ufs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.portal-uf-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
}
.portal-uf-badge.more {
  background: rgba(0, 200, 255, 0.1);
  color: var(--accent-cyan);
}
.portal-hub-card-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: auto;
}

/* Portal Disclaimer */
.portal-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 180, 50, 0.06);
  border: 1px solid rgba(255, 180, 50, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.portal-disclaimer i {
  color: rgba(255, 180, 50, 0.6);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Portal Stats Grid */
.portal-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.portal-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.25rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.portal-stat-card i {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}
.portal-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.portal-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Portal Cross Links */
.portal-cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.portal-cross-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
  .portal-cross-links a:hover {
  background: rgba(0, 200, 255, 0.08);
  border-color: var(--accent-cyan);
}

/* ═══════════════════════════════════════════
   DOWNLOAD GATE — Buttons + Modal + Form
   ═══════════════════════════════════════════ */

/* Document Download Buttons */
.download-gate-files {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.download-gate-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.12);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.download-gate-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.08);
}
.download-gate-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.download-gate-btn-text {
  flex: 1;
  line-height: 1.3;
}
.download-gate-btn-arrow {
  color: var(--accent-cyan);
  opacity: 0.5;
  font-size: 0.8rem;
  transition: opacity 0.2s, transform 0.2s;
}
.download-gate-btn:hover .download-gate-btn-arrow {
  opacity: 1;
  transform: translateY(2px);
}

/* Modal Overlay */
.download-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 0, 20, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.download-gate-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Card */
.download-gate-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(10, 10, 30, 0.85);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(0, 240, 255, 0.04),
    0 0 80px rgba(112, 0, 255, 0.04);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.download-gate-overlay.active .download-gate-modal {
  transform: scale(1) translateY(0);
}

/* Close Button */
.download-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.download-gate-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Gate Icon */
.gate-icon-container {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-icon-orb {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2), transparent 70%);
  animation: gate-pulse 2.5s ease-in-out infinite;
}
.gate-icon-main {
  position: relative;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #00F0FF, #7000FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gate-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Headlines */
.gate-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.gate-subheadline {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-align: center;
  margin: 0 0 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Benefits */
.gate-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.gate-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}
.gate-benefit-item i {
  color: #34C759;
  font-size: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Social Proof */
.gate-social-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.gate-social-proof i {
  color: rgba(0, 240, 255, 0.6);
  font-size: 0.85rem;
}

/* Primary CTA Button */
.gate-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  background: linear-gradient(135deg, #00F0FF, #7000FF);
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2), 0 4px 20px rgba(112, 0, 255, 0.15);
}
.gate-cta-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.3), 0 6px 30px rgba(112, 0, 255, 0.25);
}
.gate-cta-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Login Link */
.gate-login-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
.gate-login-link a {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: color 0.2s;
}
.gate-login-link a:hover {
  color: #fff;
}

/* Micro Text */
.gate-micro-text {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.gate-micro-text i {
  color: rgba(52, 199, 89, 0.4);
}

/* Form Header */
.gate-form-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.gate-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.gate-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Error Box */
.gate-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #FF6B6B;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.gate-error i {
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Form Fields */
.gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.gate-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.gate-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.45);
  margin-left: 2px;
}
.gate-label-hint {
  text-transform: none;
  color: rgba(255, 149, 0, 0.8);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: normal;
}
.gate-input-group {
  position: relative;
}
.gate-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(226, 232, 240, 0.2);
  font-size: 0.85rem;
  transition: color 0.3s;
  pointer-events: none;
}
.gate-input-group:focus-within .gate-input-icon {
  color: var(--accent-cyan);
}
.gate-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px 10px 40px;
  font-size: 0.85rem;
  color: #E2E8F0;
  width: 100%;
  outline: none;
  font-family: var(--font-sans);
  transition: all 0.3s;
}
.gate-input::placeholder {
  color: rgba(226, 232, 240, 0.2);
}
.gate-input:focus {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

/* Responsive — Download Gate */
@media (max-width: 768px) {
  .download-gate-modal {
    padding: 1.5rem 1.25rem;
    max-width: 100%;
    border-radius: 16px;
  }
  .gate-headline {
    font-size: 1.25rem;
  }
  .gate-subheadline {
    font-size: 0.75rem;
  }
  .gate-cta-primary {
    font-size: 0.82rem;
    padding: 12px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .public-header-container { padding: 1rem; }
  .hide-mobile { display: none; }
  .btn-public-login { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .public-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .seo-disclaimer { max-width: 100%; text-align: center; }
  .public-main { padding: 0 1rem; }
  .seo-h1 { font-size: 1.75rem; }
  .city-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-city-grid { grid-template-columns: 1fr 1fr; }
  .portal-hub-grid { grid-template-columns: 1fr; }
  .portal-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-cross-links { flex-direction: column; }
  .pagination-link { min-width: 2rem; height: 2rem; font-size: 0.8rem; padding: 0 0.5rem; }
}

