/* ======================================
   RESPONSIVE - TABLET (max-width: 1279px)
   ====================================== */

@media (max-width: 1279px) {
  :root {
    --header-h: 56px;
  }

  .container {
    padding: 0 40px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .section-title--left {
    margin-bottom: 16px;
  }

  .problem-section,
  .start-section,
  .insight-section,
  .knowhow-section {
    padding: 48px 0;
  }

  .hero__container {
    padding: 0 24px;
  }

  .hero__slider {
    border-radius: 16px;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 18px;
  }

  .problem-card__badge {
    padding: 5px 20px;
    font-size: 12px;
    top: -12px;
    right: -6px;
  }

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

  .insight-card {
    flex: 0 0 calc(50% - 12px);
  }

  .knowhow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .new-advertiser__inner {
    flex-direction: column;
    text-align: center;
  }

  .new-advertiser__text h3 {
    font-size: 26px;
  }

  .recommend-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .newsletter-box {
    flex-direction: column;
    text-align: center;
  }

  .floating-cta {
    right: 12px;
    bottom: 100px;
  }

  @keyframes floatingShow {
    from { right: -140px; }
    to { right: 12px; }
  }
}

/* ======================================
   RESPONSIVE - MOBILE (max-width: 767px)
   ====================================== */

@media (max-width: 767px) {
  .mo-only {
    display: inline;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .section-title--left {
    margin-bottom: 14px;
  }

  .problem-section {
    padding: 48px 0 32px;
  }

  .start-section,
  .insight-section,
  .knowhow-section {
    padding: 32px 0;
  }

  /* Header mobile */
  .gnb {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    z-index: 200;
    gap: 0;
  }

  .gnb.is-open {
    display: flex;
  }

  .gnb__item,
  .gnb__link {
    width: 100%;
  }

  .gnb__btn,
  .gnb__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .gnb__btn::after,
  .gnb__link::after {
    display: none;
  }

  .gnb__item--rotating {
    width: 100%;
  }

  .gnb__btn--active {
    justify-content: flex-start;
  }

  .gnb__dropdown {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 16px;
    min-width: auto;
  }

  .gnb__dropdown a {
    padding: 10px 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header__actions {
    display: flex;
    margin-left: auto;
  }

  .btn-text-link {
    display: none;
  }

  .signup-tooltip {
    display: none !important;
  }

  /* Hero mobile */
  .hero {
    padding: 12px 0 0;
  }

  .hero__container {
    padding: 0 16px;
  }

  .hero__slider {
    border-radius: 12px;
  }

  .hero__slide img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .hero__progress {
    padding: 12px 0 16px;
  }

  .hero__bar {
    width: 28px;
    height: 5px;
  }

  /* Problem cards mobile - horizontal scroll */
  .problem-section .container {
    padding-right: 0;
  }

  .problem-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 16px 20px 8px 0;
    scrollbar-width: none;
  }

  .problem-grid::-webkit-scrollbar {
    display: none;
  }

  .problem-card-wrap {
    flex: 0 0 75%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .problem-card {
    border-radius: 16px;
  }

  .problem-card__badge {
    padding: 5px 18px;
    font-size: 11px;
    top: -12px;
    right: -4px;
  }

  .problem-card__badge::before {
    bottom: -5px;
    left: 16px;
    border-left-width: 5px;
    border-right-width: 5px;
  }

  .problem-card__badge--green::before,
  .problem-card__badge--purple::before {
    border-top-width: 6px;
  }

  /* Start cards mobile */
  .start-grid {
    grid-template-columns: 1fr;
  }

  .start-card__img {
    height: 80px;
  }

  /* Insight mobile */
  .insight-section {
    padding: 48px 0 32px;
  }

  .insight-card {
    flex: 0 0 calc(85% - 12px);
  }

  .insight-card__img {
    height: 140px;
  }

  /* Knowhow mobile */
  .knowhow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .knowhow-card__img {
    height: 80px;
  }

  .knowhow-card__emoji {
    font-size: 28px;
  }

  /* New advertiser mobile */
  .new-advertiser {
    padding: 48px 0;
  }

  .new-advertiser__text h3 {
    font-size: 22px;
  }

  .new-advertiser__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-new-detail,
  .btn-new-start {
    text-align: center;
  }

  /* Links mobile */
  .links-list {
    gap: 8px;
  }

  .link-item {
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Footer mobile */
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__naver-text {
    font-size: 18px;
  }

  /* Floating CTA / Bottom banner mobile */
  .floating-cta {
    display: none;
  }

  .bottom-banner {
    display: block;
  }

  .bottom-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ======================================
   RESPONSIVE - SMALL MOBILE (max-width: 400px)
   ====================================== */

@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }

  .hero__container {
    padding: 0 12px;
  }

  .hero__slider {
    border-radius: 10px;
  }

  .knowhow-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 18px;
  }

  .problem-card__badge {
    padding: 4px 12px;
    font-size: 10px;
  }
}
