/* ============================================
   기프트세이프 (GiftSafe) - Responsive Styles
   Mobile First Breakpoints
   ============================================ */

/* Tablet (768px 이하) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  section {
    padding: var(--space-16) 0;
  }

  .container {
    padding: 0 var(--space-5);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .section-desc {
    font-size: var(--text-base);
  }

  /* Header */
  .header-assoc-logo {
    height: 18px;
    padding-left: var(--space-3);
    gap: var(--space-3);
  }

  .nav-links {
    display: none;
  }

  .header .btn {
    display: none;
  }

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

  .mobile-nav {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-10));
    padding-bottom: var(--space-12);
  }

  .hero .container {
    flex-direction: column;
    gap: var(--space-10);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-desc {
    font-size: var(--text-base);
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
    gap: var(--space-8);
  }

  .hero-stat {
    text-align: center;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-phone {
    width: 240px;
    height: 480px;
    border-radius: 32px;
    padding: 8px;
  }

  .phone-statusbar {
    padding: 10px 14px 4px;
    border-radius: 24px 24px 0 0;
  }

  .phone-chat-header {
    padding: 8px 12px 10px;
  }

  .chat-bubble-content {
    font-size: 10.5px;
    padding: 7px 11px;
  }

  .phone-chat-input {
    border-radius: 0 0 24px 24px;
    padding: 6px 10px 10px;
  }

  .hero-float-card {
    display: none;
  }

  /* Trust */
  .trust .container {
    gap: var(--space-6);
    justify-content: center;
  }

  .trust-item {
    padding: var(--space-3) var(--space-4);
    flex: 0 0 auto;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
  }

  .trust-content .trust-number {
    font-size: var(--text-xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .service-card {
    padding: var(--space-6);
  }

  /* Process */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .process-steps::before {
    display: none;
  }

  .step-number {
    width: 64px;
    height: 64px;
  }

  .step-number span {
    font-size: var(--text-2xl);
  }

  /* Gift Cards */
  .giftcards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .giftcard-item {
    padding: var(--space-5);
  }

  /* Safety */
  .safety-content {
    flex-direction: column;
    gap: var(--space-10);
  }

  .safety-visual {
    order: -1;
  }

  .safety-card-stack {
    width: 260px;
    height: 320px;
  }

  .safety-card-stack .s-card {
    width: 240px;
    padding: var(--space-6);
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Guide (Blog) */
  .guide-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .guide-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .guide-modal-image {
    height: 200px;
  }

  .guide-modal-body {
    padding: var(--space-6);
  }

  .guide-modal-title {
    font-size: var(--text-xl);
  }

  /* CTA */
  .cta h2 {
    font-size: var(--text-2xl);
  }

  .cta p {
    font-size: var(--text-base);
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-info {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Mobile (480px 이하) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }

  .header-assoc-logo {
    height: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .trust .container {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .safety-card-stack {
    width: 220px;
    height: 280px;
  }

  .safety-card-stack .s-card {
    width: 200px;
  }

  .floating-cta-tooltip {
    display: none;
  }
}

/* Large Desktop (1440px 이상) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-phone {
    width: 320px;
    height: 640px;
    border-radius: 44px;
  }
}
