/* ============================================
   AO8 LEVITATION — RESPONSIVE STYLES
   Covers: Home Page + Info Pages
   Breakpoints:
   - 1440px  (Laptop)
   - 1024px  (Tablet Landscape / Small Laptop)
   - 768px   (Tablet Portrait)
   - 480px   (Mobile Large)
   - 375px   (Mobile Standard)
   - Landscape Phones
   ============================================ */

/* ========== LAPTOP — 1440px ========== */
@media (max-width: 1440px) {
  html, body,
  .page {
    width: 100vw;
    height: 100vh;
  }

  .top-nav {
    gap: 48px;
  }

  /* Home page */
  .hero-logo {
    width: 240px;
  }

  .snack-bar {
    gap: 32px;
  }

  /* Info pages */
  .hero-banner {
    width: 100%;
  }
  .hero-banner img {
    width: 100%;
  }
  .title-bar {
    width: 100%;
  }
  .title-bar h1 {
    margin-left: 0;
    margin: 0 auto;
  }
  .content-area {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 319px);
  }
}

/* ========== SMALL LAPTOP / TABLET LANDSCAPE — 1024px ========== */
@media (max-width: 1024px) {
  html, body,
  .page {
    width: 100vw;
    height: 100vh;
  }

  .top-nav {
    gap: 36px;
    padding: 16px 32px;
  }

  .nav-item > a {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  /* Home page */
  .hero-logo {
    width: 220px;
  }

  .profile-icon {
    right: 24px;
    top: 16px;
  }

  .snack-bar {
    gap: 24px;
  }
  .snack-bar a {
    font-size: 12px;
  }

  /* Info pages */
  .hero-banner {
    width: 100%;
    height: 180px;
  }
  .hero-banner img {
    width: 100%;
    height: 180px;
  }
  .title-bar {
    width: 100%;
    height: 72px;
    padding: 0 24px;
  }
  .title-bar h1 {
    font-size: 26px;
    margin: 0 auto;
  }
  .content-area {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 252px);
  }
  .content-card {
    width: 90%;
    max-width: 740px;
    height: auto;
    min-height: 400px;
    max-height: calc(100vh - 320px);
  }
}

/* ========== TABLET PORTRAIT — 768px ========== */
@media (max-width: 768px) {
  html, body,
  .page {
    width: 100vw;
    height: 100vh;
  }

  .top-nav {
    gap: 28px;
    padding: 16px 24px;
  }

  .nav-item > a {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .nav-dropdown {
    width: 220px;
    min-height: auto;
    padding: 16px 20px;
  }

  /* Home page */
  .hero-logo {
    width: 200px;
  }

  .hero-center {
    transform: translate(-50%, -50%);
  }

  .profile-icon {
    right: 20px;
    top: 14px;
  }
  .profile-icon svg {
    width: 24px;
    height: 24px;
  }

  .snack-bar {
    gap: 20px;
    padding: 0 16px;
  }
  .snack-bar a {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  /* Info pages */
  .hero-banner {
    width: 100%;
    height: 150px;
  }
  .hero-banner img {
    width: 100%;
    height: 150px;
  }
  .title-bar {
    width: 100%;
    height: 64px;
    padding: 0 20px;
  }
  .title-bar h1 {
    font-size: 22px;
    margin: 0 auto;
  }
  .title-bar h1::before {
    font-size: 14px;
    margin-right: 10px;
  }
  .content-area {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 214px);
  }
  .content-card {
    width: 94%;
    max-width: 740px;
    height: auto;
    min-height: 300px;
    max-height: calc(100vh - 280px);
    padding: 32px 28px;
  }
  .content-subtitle {
    font-size: 22px;
  }
  .content-heading {
    font-size: 20px;
  }
  .content-text {
    font-size: 15px;
  }
}

/* ========== MOBILE LARGE — 480px ========== */
@media (max-width: 480px) {
  html, body,
  .page {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
  }
  
  #signupForm {
  width: 280px !important;
  margin: 10px auto 0 !important;
}
#signupForm input {
  font-size: 12px !important;
  padding: 10px 12px !important;
}
#signupForm button {
  padding: 10px 14px !important;
}
  
.top-nav .nav-item.home-dot {
  top: 12px !important;
}

.robot-check {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
}
.robot-slider-track {
  width: 100%;
  max-width: 280px;
}
.robot-label {
  margin-top: 12px;
}

.top-nav .nav-item:first-child {
  position: absolute;
  left: 16px;
  top: 23px;
  margin: 0;
}

  /* Nav stays horizontal but tighter */
  .top-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 12px 16px;
  }

  .nav-item > a {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  /* Dropdowns slide up from bottom on mobile */
.nav-dropdown {
    position: fixed;
    top: 200px;
    bottom: 0;
    left: 0;
    width: 100vw;
    min-height: auto;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    border-radius: 0;
    padding: 24px 32px 40px;
    margin-top: 0;
    background: rgba(36,36,36,0.92);
  }

  .dropdown-category {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .dropdown-category.has-indicator {
    padding: 6px 16px;
    min-height: 32px;
    font-size: 15px;
  }

  .dropdown-link {
    font-size: 15px;
    padding: 8px 12px;
  }

  /* Home page */
  .hero-center {
    transform: translate(-50%, -50%);
  }

  .hero-logo {
    width: 180px;
    margin-bottom: 20px;
  }

  .profile-icon {
    right: 16px;
    top: 12px;
  }
  .profile-icon svg {
    width: 22px;
    height: 22px;
  }

  .snack-bar {
    flex-wrap: wrap;
    gap: 8px 20px;
    height: auto;
    padding: 10px 16px;
    justify-content: center;
  }
  .snack-bar a {
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  /* Info pages */
  .hero-banner {
    width: 100%;
    height: 120px;
  }
  .hero-banner img {
    width: 100%;
    height: 120px;
  }
  .title-bar {
    width: 100%;
    height: 56px;
    padding: 0 16px;
  }
  .title-bar h1 {
    font-size: 16px;
    margin: 0 auto;
    letter-spacing: 0.02em;
  }
  .title-bar h1::before {
    font-size: 11px;
    margin-right: 8px;
  }
  .content-area {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 176px);
    padding: 0;
  }
  .content-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 250px;
    max-height: calc(100vh - 240px);
    padding: 24px 20px;
    border-radius: 0;
  }
  .content-subtitle {
    font-size: 19px;
    margin-bottom: 20px;
  }
  .content-heading {
    font-size: 18px;
    margin: 28px 0 12px;
  }
  .content-text {
    font-size: 14px;
    line-height: 1.65;
  }
  .content-list li {
    font-size: 14px;
  }
  .cta-heading {
    font-size: 17px;
  }
  .cta-text {
    font-size: 14px;
  }
}

/* ========== MOBILE STANDARD — 375px ========== */
@media (max-width: 375px) {
  .top-nav {
    gap: 12px;
    padding: 10px 12px;
  }
  
  #signupForm {
  width: 250px !important;
  margin: 10px auto 0 !important;
}
#signupForm input {
  font-size: 11px !important;
  padding: 8px 10px !important;
}
#signupForm button {
  padding: 8px 12px !important;
}

.robot-check {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
}
.robot-slider-track {
  width: 100%;
  max-width: 250px;
}
.robot-label {
  margin-top: 10px;
  font-size: 13px;
}
  
.top-nav .nav-item.home-dot {
  top: 12px !important;
}
  
  .top-nav .nav-item:first-child {
  position: absolute;
  left: 16px;
  top: 23px;
  margin: 0;
}

  .nav-item > a {
    font-size: 11px;
  }

  /* Home page */
  .hero-logo {
    width: 160px;
    margin-bottom: 16px;
  }

  .profile-icon {
    right: 12px;
    top: 10px;
  }
  .profile-icon svg {
    width: 20px;
    height: 20px;
  }

  .snack-bar {
    gap: 6px 14px;
    padding: 10px;
  }
  .snack-bar a {
    font-size: 10px;
  }

  /* Info pages */
  .hero-banner {
    height: 100px;
  }
  .hero-banner img {
    height: 100px;
  }
  .title-bar {
    height: 48px;
    padding: 0 12px;
  }
  .title-bar h1 {
    font-size: 14px;
  }
  .title-bar h1::before {
    font-size: 10px;
    margin-right: 6px;
  }
  .content-card {
    padding: 20px 16px;
    max-height: calc(100vh - 210px);
  }
  .content-subtitle {
    font-size: 17px;
  }
  .content-heading {
    font-size: 16px;
  }
  .content-text {
    font-size: 13px;
  }
  .content-list li {
    font-size: 13px;
  }
}

/* ========== LANDSCAPE PHONES ========== */
@media (max-height: 500px) and (orientation: landscape) {
  /* Home page */
  .hero-logo {
    width: 140px;
    margin-bottom: 12px;
  }

  .top-nav {
    flex-direction: row;
    gap: 24px;
    padding: 10px 20px;
  }

  .nav-item > a {
    font-size: 12px;
  }

  .nav-dropdown {
    position: absolute;
    width: 220px;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    bottom: auto;
    left: 0;
  }

  .snack-bar {
    height: 40px;
    gap: 16px;
  }
  .snack-bar a {
    font-size: 10px;
  }

  .profile-icon {
    right: 16px;
    top: 8px;
  }

  /* Info pages */
  .hero-banner {
    height: 100px;
  }
  .hero-banner img {
    height: 100px;
  }
  .title-bar {
    height: 48px;
  }
  .title-bar h1 {
    font-size: 18px;
    margin: 0 auto;
  }
  .content-area {
    min-height: calc(100vh - 148px);
  }
  .content-card {
    width: 80%;
    max-height: calc(100vh - 210px);
    padding: 20px 24px;
  }
}
