body {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    background: #f9f9f9;
    color: #333;
    font-size: 16px; /* 16px 기준 */
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    display: block;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .qnia-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
  }

  .qnia-header .logo {
    height: 40px;
    object-fit: contain;
  }
  
  .qnia-header .nav {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: center;
  }

  .qnia-header .nav a {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0;
  }

  .qnia-header .nav a:hover{
    color: #fd7000;
    transition: all 0.3s;
    font-weight: 600;
  }
  
  .qnia-footer {
    font-size: 0.875rem; /* 14px */
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
  }

  .hero {
    background: #F3F6FC;
    padding: 80px 0;
    text-align: center;
  }
  
  .hero h2 {
    font-size: 2rem; /* 32px */
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.125rem; /* 18px */
  }
  
  .btn-primary, .btn-secondary {
    display: inline-block;
    font-size: 1rem; /* 16px */
    padding: 0.75rem 1.5rem;
    background: #fd7000;
    color: white;
    border-radius: 4px;
    margin-top: 16px;
  }
  .quick-actions .grid-3,
  .product-list .grid-3 {
    display: flex;
    gap: 24px;
    margin-top: 24px;
  }
  
  .action-box, .product {
    background: white;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    flex: 1;
    text-align: center;
  }


    .product h4,
    .action-box h3 {
    font-size: 1.125rem; /* 18px */
    }
    .product p,
    .action-box p {
    font-size: 0.95rem; /* 15px */
}

/* 플로팅메뉴 */
.floating-menu {
    position: fixed;
    bottom: 1.5rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
  }
  
  .floating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #0073e6;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .floating-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }
  
  .floating-btn.call {
    background: #28a745;
  }
  
  .floating-btn.talk {
    background: #03c75a;
  }

  /* 데스크탑만 보이게 */
.desktop-only { display: block; }
.mobile-only { display: none !important; }

@media screen and (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex; }
}

/* 모바일 하단 고정 퀵바 */
.mobile-quickbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5rem;
  background: #ffffff;
  border-top: 1px solid #ccc;
  display: flex;
  z-index: 999;
}

.quick-item {
  flex: 1;
  text-align: center;
  line-height: 3.5rem;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.quick-item.call {
  background: #fd7000;
}

.quick-item.talk {
  background:orangered;
  border-left: 1px solid rgba(255, 255, 255, 0.3); /* 가운데 선 */
}


/* 반응형 추가 */

  @media screen and (max-width: 768px) {
    .container {
      padding: 0 20px;
    }
  
    .qnia-header .nav {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem; /* 12px */
      margin-top: 0.75rem;
    }
  
    .hero {
        padding: 3.75rem 0; /* 60px */
    }
  
    .hero h2 {
        font-size: 1.5rem; /* 24px */
    }
  
    .grid-3 {
      flex-direction: column;
    }
  
    .action-box,
    .product {
      margin-bottom: 16px;
    }
  
    .product img {
      max-height: 180px;
      object-fit: contain;
    }
  
    .btn-primary,
    .btn-secondary {
      width: 100%;
      box-sizing: border-box;
    }
  
    .footer-links {
      flex-direction: column;
      gap: 0.5rem; /* 8px */
    }
  
    .qnia-footer {
        font-size: 0.8125rem; /* 13px */
        padding: 1.25rem 0; /* 20px */
    }
  }
  

/* maybe/loader */
.maybe-section {
  background: #090707;
  width: 100vw;
  height: 88vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.maybe-section h1,
.maybe-section p {
  color: white;
  margin-bottom: 4rem;
  text-align: center;
}

.loader{
  margin-top: 80px;
}

.dank-ass-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dank-ass-loader .row {
  display: flex;
}

.arrow {
  width: 0;
  height: 0;
  margin: 0 -6px;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 58.6px solid #fd7000;
  animation: blink 1s infinite;
  filter: drop-shadow(0 0 28.8px #fd7000);
}

.arrow.down {
  transform: rotate(180deg);
}

/* animation delays */
.outer-1 { animation-delay: -0.06s; }
.outer-2 { animation-delay: -0.12s; }
.outer-3 { animation-delay: -0.18s; }
.outer-4 { animation-delay: -0.24s; }
.outer-5 { animation-delay: -0.30s; }
.outer-6 { animation-delay: -0.36s; }
.outer-7 { animation-delay: -0.42s; }
.outer-8 { animation-delay: -0.48s; }
.outer-9 { animation-delay: -0.54s; }
.outer-10 { animation-delay: -0.60s; }
.outer-11 { animation-delay: -0.66s; }
.outer-12 { animation-delay: -0.72s; }
.outer-13 { animation-delay: -0.78s; }
.outer-14 { animation-delay: -0.84s; }
.outer-15 { animation-delay: -0.90s; }
.outer-16 { animation-delay: -0.96s; }
.outer-17 { animation-delay: -1.02s; }
.outer-18 { animation-delay: -1.08s; }

.inner-1 { animation-delay: -0.16s; }
.inner-2 { animation-delay: -0.33s; }
.inner-3 { animation-delay: -0.5s; }
.inner-4 { animation-delay: -0.66s; }
.inner-5 { animation-delay: -0.83s; }
.inner-6 { animation-delay: -1s; }

@keyframes blink {
  0% { opacity: 0.1; }
  30% { opacity: 1; }
  100% { opacity: 0.1; }
}
  
/* Contact Page Styles */
.contact-section{
  padding: 5rem;
  background-image: url(../images/contact_bg.jpg);
  background-size: cover;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem auto;
}

.contact-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.btn-primary.full {
  width: 100%;
  margin-top: 1rem;
}

.info-card .contact-visual {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.info-item {
  cursor: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fef8f2;
  margin-bottom: 1rem;
}

.info-item .icon {
  font-size: 1.5rem;
  color: #f38020;
}

.info-item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.info-item p {
  margin: 0;
  color: #555;
}

/* Responsive Contact Page */
@media screen and (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* thanks 페이지 */
.thanks-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
  background-color: #fffaf3;
  text-align: center;
}

.thanks-container {
  max-width: 600px;
  padding: 3rem 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.thanks-container h1 {
  font-size: 1.75rem;
  color: #fd7000;
  margin-bottom: 1rem;
}

.thanks-container p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

.btn-primary {
  background: #fd7000;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #e23f00;
}

/* hire 입점광고문의 섹션 */

.hire-section{  
  background-color: linear-gradient(to right, #E23F00 0%, #FF6F00 30%, #FF8500 45%, #FFC500 60%, #ffffff 80%);
  }
  
  .hire-main-visual{
    margin: 0 auto;
    height: 100vh;
    overflow: hidden;
    color: #1c1c1c;
    font-size: 9px;
  }
  
  #magic {
    font-family: 'Pretendard' !important;
    width: 100%;
    height: 100vh;
    display: block;
    margin: auto;
  }
  
  .playground{
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  
  }
  .bottomPosition{
  
    text-align: center;
    margin-bottom: 50px;
    
  }
  .minText{
    
    font-size: 14px;
  }
  
  a {
    color: white;
    font-size: 12px;
    text-decoration: none;
  }
  
  .hire-main-visual .logo {
      width: 50px;
      height: 50px;
  }
