/* ============================================
   HJ-Optic Responsive Stylesheet
   响应式媒体查询
   ============================================ */

/* Tablet: 768px - 1024px */
@media screen and (max-width: 1024px) {
  .hjopt-hero__title {
    font-size: 2.4rem;
  }

  .hjopt-hero__subtitle {
    font-size: 1rem;
  }

  .hjopt-hero__content {
    margin-left: 5%;
  }

  .hjopt-about__grid {
    gap: 40px;
  }

  .hjopt-capability__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hjopt-application__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hjopt-manufacturing__steps {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .hjopt-manufacturing__steps::before {
    display: none;
  }

  .hjopt-manufacturing__step {
    flex: 0 0 calc(33.333% - 16px);
  }

  .hjopt-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hjopt-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile: < 768px */
@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Nav Mobile */
  .hjopt-nav__toggle {
    display: flex;
  }

  .hjopt-nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: var(--hjopt-shadow-md);
    border-bottom-left-radius: var(--hjopt-radius);
    border-bottom-right-radius: var(--hjopt-radius);
  }

  .hjopt-nav__menu.hjopt-nav__menu--open {
    transform: translateY(0);
  }

  .hjopt-nav__link {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
  }

  /* Hero Mobile */
  #hjoptHeroBanner {
    height: 85vh;
    min-height: 500px;
  }

  .hjopt-hero__content {
    margin-left: 0;
    text-align: center;
    padding: 0 24px;
  }

  .hjopt-hero__title {
    font-size: 1.9rem;
  }

  .hjopt-hero__subtitle {
    font-size: 0.95rem;
  }

  .hjopt-hero__cta {
    justify-content: center;
  }

  .hjopt-btn-primary,
  .hjopt-btn-outline {
    padding: 11px 24px;
    font-size: 0.9rem;
  }

  /* About Mobile */
  #hjoptAboutSection {
    padding: 60px 0;
  }

  .hjopt-about__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hjopt-about__image {
    order: -1;
  }

  .hjopt-about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hjopt-about__stat-number {
    font-size: 1.5rem;
  }

  /* Products Mobile */
  #hjoptProductShowcase {
    padding: 60px 0;
  }

  .hjopt-product__tabs {
    gap: 6px;
    margin-bottom: 24px;
  }

  .hjopt-product__tab-item {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hjopt-product__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hjopt-product__image {
    height: 150px;
  }

  .hjopt-product__info {
    padding: 14px;
  }

  .hjopt-product__name {
    font-size: 0.9rem;
  }

  .hjopt-product__desc {
    font-size: 0.8rem;
  }

  /* Capability Mobile */
  #hjoptTechCapability {
    padding: 60px 0;
  }

  .hjopt-capability__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hjopt-capability__item {
    padding: 28px 20px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
  }

  .hjopt-capability__icon {
    margin: 0;
    min-width: 56px;
    width: 56px;
    height: 56px;
  }

  /* Application Mobile */
  #hjoptApplicationField {
    padding: 60px 0;
  }

  .hjopt-application__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hjopt-application__card {
    height: 160px;
  }

  /* Manufacturing Mobile */
  #hjoptProductionFlow {
    padding: 60px 0;
  }

  .hjopt-manufacturing__steps {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .hjopt-manufacturing__step {
    flex: none;
    width: 100%;
    max-width: 320px;
  }

  /* News Mobile */
  #hjoptNewsCenter {
    padding: 60px 0;
  }

  .hjopt-news__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hjopt-news__image {
    height: 200px;
  }

  /* CTA Mobile */
  .hjopt-cta-section {
    padding: 60px 0;
  }

  .hjopt-cta-section__title {
    font-size: 1.5rem;
  }

  /* Contact Mobile */
  #hjoptContactPanel {
    padding: 60px 0;
  }

  .hjopt-contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hjopt-contact__form {
    padding: 24px;
  }

  /* Footer Mobile */
  .hjopt-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Section Title Mobile */
  .hjopt-section-title {
    margin-bottom: 35px;
  }

  .hjopt-section-title__text {
    font-size: 1.7rem;
  }
}

/* Small Mobile: < 480px */
@media screen and (max-width: 480px) {
  .hjopt-hero__title {
    font-size: 1.6rem;
  }

  .hjopt-hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hjopt-product__grid {
    grid-template-columns: 1fr;
  }

  .hjopt-about__stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hjopt-about__stat {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 14px 18px;
  }

  .hjopt-about__stat-number {
    font-size: 1.8rem;
  }
}

/* Large Desktop: > 1400px */
@media screen and (min-width: 1400px) {
  .hjopt-container {
    max-width: 1320px;
  }

  .hjopt-hero__content {
    margin-left: 15%;
  }
}
