/* ==============================================================================
   AXI-SERIAL: AXI-WEB-CSS-RESP-2026-002
   PROPRIETARY ASSET: AxiNexus MindCore | Director: Mario Valfredi
   ============================================================================== */

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 35px;
  background: #040408;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.footer-brand span {
  color: var(--neon-violet-light);
}

/* Tablet Responsive (max-width: 992px) */
@media (max-width: 992px) {
  .section {
    padding: 70px 0;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .tri-phase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pipeline-flow-container {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 6px auto;
  }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
  /* Container Padding */
  .container {
    padding: 0 16px;
  }

  /* Navbar Mobile */
  .navbar {
    padding: 10px 0;
  }
  .brand {
    font-size: 1.1rem;
    gap: 8px;
  }
  .brand-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    border-radius: 7px;
  }
  .nav-right-cluster {
    gap: 8px;
  }
  .nav-links {
    display: none;
  }
  .lang-switcher {
    padding: 2px;
    gap: 2px;
  }
  .lang-btn {
    font-size: 0.72rem;
    padding: 3px 7px;
  }
  .btn-nav-cta {
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
    border-radius: 6px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 45px 0 30px;
  }
  .badge-nvidia {
    font-size: 0.72rem;
    padding: 6px 12px;
    margin-bottom: 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .hero h1 {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
  }
  .brand-main-title {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 6px;
  }
  .brand-subtitle-line {
    font-size: 1.25rem;
    display: block;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .highlight-line {
    font-size: 1.35rem;
    display: block;
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 25px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  /* Metrics Strip Mobile */
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    margin-top: 35px;
  }
  .metric-val {
    font-size: 1.55rem;
  }
  .metric-label {
    font-size: 0.72rem;
  }

  /* Pipeline Circuit Flow Mobile */
  .pipeline-flow-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .flow-node {
    width: 100%;
    min-width: 0;
    padding: 18px 14px;
    border-radius: 14px;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 8px auto;
    opacity: 0.85;
  }
  .flow-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* Bento Grid Cards */
  .phase-card {
    padding: 26px 20px;
    border-radius: 16px;
  }
  .phase-card h3 {
    font-size: 1.3rem;
  }
  .phase-card p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Interactive Terminal Playground Mobile */
  .terminal-wrapper {
    margin-top: 40px;
    border-radius: 14px;
  }
  .terminal-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }
  .terminal-title {
    font-size: 0.76rem;
    justify-content: space-between;
  }
  .terminal-controls {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .terminal-select {
    width: 100%;
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .btn-terminal-run {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 9px;
  }
  .terminal-body {
    padding: 16px 14px;
    font-size: 0.82rem;
    min-height: 180px;
    max-height: 280px;
  }
  .term-line {
    display: block;
    word-break: break-word;
    white-space: normal;
    line-height: 1.55;
    margin-bottom: 8px;
  }
  .term-prompt {
    display: inline;
    margin-right: 4px;
  }

  /* Benchmarks Table Mobile */
  .filter-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .filter-tab-btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .table-header-bar {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .table-title {
    font-size: 0.95rem;
    line-height: 1.35;
  }
  .badge-purple {
    font-size: 0.72rem;
    padding: 5px 10px;
    width: 100%;
    text-align: center;
  }
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  table {
    min-width: 680px;
  }
  th, td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  /* Whitepaper Section Mobile */
  #whitepaper .section-title {
    font-size: 1.65rem;
  }
  #whitepaper p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }
}
