* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* 헤더 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-login,
.btn-signup {
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-login {
  color: #667eea;
  background: transparent;
  border: 1px solid #667eea;
}

.btn-login:hover {
  background: #667eea;
  color: white;
}

.btn-signup {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.user-menu {
  position: relative;
  display: none;
}

/* 구글 로그인 버튼 */
.google-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #333;
  border: 1px solid #dadce0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.google-login-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.google-login-btn img {
  width: 16px;
  height: 16px;
}

.dropdown-menu {
  position: absolute;
  top: 50px;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 10px 0;
  display: none;
  z-index: 1000;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* 메인 콘텐츠 */
.main-content {
  padding-top: 120px;
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-section {
  text-align: center;
  margin-bottom: 80px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* 요금제 카드 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.premium {
  background: linear-gradient(135deg, #fffdf5 0%, #fff6d6 100%);
  border: 2px solid #f5c542;
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.25);
  transform: scale(1.05);
}

.pricing-card.premium:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 8px;
}

.plan-period {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.plan-features li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
}

.plan-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
}

.plan-button {
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan-button.free {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.plan-button.free:hover {
  background: #667eea;
  color: white;
}

.plan-button.premium {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.plan-button.premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* FAQ 섹션 */
.faq-section {
  margin-top: 100px;
  text-align: center;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.faq-answer {
  color: #666;
  line-height: 1.6;
}

/* 반응형 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .pricing-card.premium {
    transform: none;
  }

  .pricing-card.premium:hover {
    transform: translateY(-5px);
  }

  .main-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .nav-menu {
    display: none;
  }
}

/* 로딩 상태 */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 사업자 정보 푸터 스타일 */
.business-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 40px 20px;
  margin-top: 40px;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-right {
  text-align: right;
}

.footer-brand h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: #bdc3c7;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-business-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ecf0f1;
}

.business-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.business-row {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.business-row .label {
  color: #bdc3c7;
  min-width: 140px;
  font-weight: 500;
}

.business-row .value {
  color: #ecf0f1;
  font-weight: 400;
}

.footer-copyright {
  color: #95a5a6;
  font-size: 0.9rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 푸터 하단 섹션 스타일 */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 30px;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-bottom-left .footer-copyright-bottom {
  color: #95a5a6;
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-right .footer-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.footer-link:hover {
  color: #ecf0f1;
}

.footer-link.active {
  color: #667eea;
  font-weight: 600;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 0;
  }

  .footer-right {
    text-align: center;
  }

  .footer-brand h3 {
    margin-bottom: 8px;
  }

  .footer-brand p {
    margin-bottom: 20px;
  }

  .footer-business-info h4 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .business-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
  }

  .business-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .business-row .label {
    min-width: 140px;
    font-weight: 600;
    color: #bdc3c7;
    font-size: 0.85rem;
  }

  .business-row .value {
    color: #ecf0f1;
    font-size: 0.85rem;
    text-align: right;
  }
}

@media (max-width: 480px) {
  .business-footer {
    padding: 30px 15px;
  }

  .footer-brand h3 {
    font-size: 1.5rem;
  }

  .business-row {
    font-size: 0.8rem;
  }
}
