/* ==========================================
   Hero Responsive
========================================== */

@media (max-width: 1024px) {
  .ai-hero-container {
    grid-template-columns: 1fr;
    padding: 96px 0;
    gap: 56px;
  }

  .ai-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .ai-hero-buttons {
    justify-content: center;
  }

  .ai-control-center {
    width: min(620px, 100%);
  }
}

@media (max-width: 767px) {
  .ai-hero {
    min-height: auto;
  }

  .ai-hero-container {
    width: min(100% - 32px, 720px);
    min-height: auto;
    padding: 72px 0 64px;
    gap: 42px;
  }

  .ai-hero-badge {
    font-size: 13px;
    padding: 8px 18px;
    margin-bottom: 20px;
  }

  .ai-hero h1 {
    font-size: 38px;
    line-height: 1.22;
    margin-bottom: 20px;
  }

  .ai-hero p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
  }

  .ai-hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .ai-hero-btn {
    width: 100%;
    padding: 14px 24px;
  }

  .ai-control-center {
    width: 100%;
    max-width: 360px;
    min-height: 560px;
    aspect-ratio: auto;
  }

  .ai-core {
    width: 132px;
    height: 132px;
  }

  .ai-core span {
    font-size: 38px;
  }

  .ai-core small {
    font-size: 13px;
  }

  .ai-node {
    width: 132px;
    min-height: 76px;
    padding: 12px 10px;
    border-radius: 16px;
  }

  .ai-node-icon {
    font-size: 20px;
  }

  .ai-node strong {
    font-size: 12px;
  }

  .ai-node small {
    font-size: 10px;
  }

  .node-chat {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
  }

  .node-filemaker {
    top: 24%;
    left: 0;
  }

  .node-dify {
    top: 24%;
    right: 0;
  }

  .node-dashboard {
    bottom: 24%;
    left: 0;
  }

  .node-web {
    bottom: 24%;
    right: 0;
  }

  .node-auto {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ==========================================
   Step 13-20: Mobile Control Center Layout
========================================== */

@media (max-width: 767px) {

  .ai-control-center {
    max-width: 390px;
    min-height: 620px;
    padding: 0;
  }

  .ai-core {
    width: 112px !important;
    height: 112px !important;
  }

  .ai-core span {
    font-size: 34px !important;
  }

  .ai-core small {
    font-size: 12px !important;
  }

  .ai-node {
    width: 138px;
    min-height: 76px;
    padding: 11px 10px;
  }

  .node-chat {
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
  }

  .node-filemaker {
    top: 26%;
    left: 0;
  }

  .node-dify {
    top: 26%;
    right: 0;
  }

  .node-dashboard {
    bottom: 25%;
    left: 0;
  }

  .node-web {
    bottom: 25%;
    right: 0;
  }

  .node-auto {
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
  }

  .ai-core::after {
    width: 12px;
    height: 12px;
  }
}