* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #333; line-height: 1.6; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); z-index: 1000; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { font-size: 1.4rem; font-weight: 700; color: #667eea; text-decoration: none; }
.nav-menu { display: flex; list-style: none; gap: 28px; }
.nav-menu a { text-decoration: none; color: #555; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: #667eea; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: #333; margin: 4px 0; border-radius: 2px; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; padding: 16px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .nav-menu li:last-child { border-bottom: none; }
}

/* Hero */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 160px 0 100px; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 16px; letter-spacing: -1px; }
.hero p { font-size: 1.3rem; opacity: 0.9; margin-bottom: 36px; line-height: 1.8; }
.hero .cta { display: inline-block; background: #fff; color: #764ba2; padding: 16px 36px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: transform 0.2s; }
.hero .cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

/* Stats */
.stats { padding: 40px 0; background: #f8f9fa; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item strong { display: block; font-size: 2rem; color: #667eea; }
.stat-item span { font-size: 0.9rem; color: #666; }

/* Features */
.features { padding: 80px 0; text-align: center; }
.features h2 { font-size: 2rem; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: left; }
.feature-card { padding: 30px; border-radius: 12px; background: #f8f9fa; }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; color: #333; }
.feature-card p { color: #666; font-size: 0.95rem; }

/* Use Cases */
.usecases { padding: 80px 0; background: #f8f9fa; text-align: center; }
.usecases h2 { font-size: 2rem; margin-bottom: 48px; }
.usecase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.usecase-card { padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-align: left; }
.usecase-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.usecase-card p { color: #666; font-size: 0.9rem; }

/* Comparison */
.comparison { padding: 80px 0; text-align: center; }
.comparison h2 { font-size: 2rem; margin-bottom: 36px; }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; }
.compare-table th { background: #667eea; color: #fff; padding: 12px 16px; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid #eee; }
.compare-table td.yes { color: #667eea; font-weight: 600; }
.compare-table tr:hover { background: #f8f9fa; }

/* Pricing */
.pricing { padding: 80px 0; background: #f8f9fa; text-align: center; }
.pricing h2 { font-size: 2rem; margin-bottom: 12px; }
.pricing-sub { color: #666; margin-bottom: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.price-card { position: relative; padding: 36px 24px; border-radius: 12px; background: #fff; border: 2px solid #eee; }
.price-card.popular { border-color: #667eea; box-shadow: 0 4px 20px rgba(102,126,234,0.15); }
.price-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #667eea; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.price-card h3 { font-size: 1.2rem; color: #666; margin-bottom: 12px; }
.price-card .price { font-size: 2rem; font-weight: 700; color: #333; margin-bottom: 20px; }
.price-card .price span { font-size: 0.9rem; font-weight: 400; color: #999; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card ul li { padding: 8px 0; color: #555; border-bottom: 1px solid #f0f0f0; }
.price-btn { display: inline-block; padding: 12px 28px; background: #667eea; color: #fff; border-radius: 6px; text-decoration: none; font-weight: 600; }
.price-btn:hover { background: #5a6fd6; }

/* Register */
.register { padding: 80px 0; }
.register h2 { text-align: center; font-size: 1.8rem; margin-bottom: 32px; }
.form-box { max-width: 400px; margin: 0 auto; background: #fff; padding: 32px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.form-box input:not([type="checkbox"]) { width: 100%; padding: 12px; margin-bottom: 16px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; }
.form-box button { width: 100%; padding: 14px; background: #667eea; color: #fff; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.form-box button:hover { background: #5a6fd6; }
.form-msg { text-align: center; margin-top: 12px; font-size: 0.9rem; }
.form-msg.ok { color: #28a745; }
.form-msg.err { color: #dc3545; }

/* Download */
.download { padding: 80px 0; text-align: center; background: #f8f9fa; }
.download h2 { font-size: 1.8rem; margin-bottom: 16px; }
.download p { margin-bottom: 24px; color: #666; }
.dl-btn { display: inline-block; background: #28a745; color: #fff; padding: 16px 36px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.dl-btn:hover { background: #218838; }
.dl-note { margin-top: 16px; font-size: 0.8rem; color: #999; }

/* Footer */
footer { padding: 30px 0; text-align: center; color: #999; font-size: 0.85rem; border-top: 1px solid #eee; }

/* Contact Float Buttons */
.contact-float-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 900; display: flex; flex-direction: column-reverse; gap: 12px; }
.contact-float-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; text-decoration: none; font-weight: 600; font-size: 0.85rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: transform 0.2s; position: relative; }
.contact-float-btn:hover { transform: scale(1.1); }
.contact-float-btn:hover .contact-float-label { opacity: 1; visibility: visible; }
.contact-float-label { position: absolute; right: 56px; background: #333; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 0.2s; }
.contact-float-kakao { background: #FEE500; color: #3C1E1E; }
.contact-float-naver { background: #03C75A; color: #fff; }
.contact-float-email { background: #667eea; color: #fff; }
.contact-float-phone { background: #28a745; color: #fff; }
.contact-float-other { background: #6c757d; color: #fff; }
.contact-float-kakao::before { content: ''; display: block; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 208 191.94'%3E%3Cpath fill='%233C1E1E' d='M104 0C46.56 0 0 36.71 0 82c0 29.28 19.47 55 48.75 69.48-1.59 5.49-10.24 35.34-10.58 37.69 0 0-.21 1.76.93 2.43a3.14 3.14 0 002.48.15c3.28-.46 38-24.81 44-29A131 131 0 00104 164c57.44 0 104-36.71 104-82S161.44 0 104 0'/%3E%3C/svg%3E") center/20px no-repeat; }
.contact-float-naver::before { content: 'N'; font-size: 1.2rem; font-weight: 700; }
.contact-float-email::before { content: '✉'; font-size: 1.2rem; }
.contact-float-phone::before { content: '📞'; font-size: 1.2rem; }
.contact-float-other::before { content: '💡'; font-size: 1.2rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 8px; }
}


/* How it works */
.how-it-works { padding: 80px 0; text-align: center; }
.how-it-works h2 { font-size: 2rem; margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.step-card { padding: 30px; border-radius: 12px; background: #f8f9fa; text-align: center; }
.step-num { width: 40px; height: 40px; line-height: 40px; border-radius: 50%; background: #667eea; color: #fff; font-weight: 700; margin: 0 auto 16px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: #666; font-size: 0.95rem; }

/* Detail section */
.detail-section { padding: 80px 0; background: #f8f9fa; }
.detail-section h2 { text-align: center; font-size: 2rem; margin-bottom: 48px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.detail-item { padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.detail-item h3 { margin-bottom: 10px; font-size: 1.1rem; }
.detail-item p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* FAQ */
.faq { padding: 80px 0; }
.faq h2 { text-align: center; font-size: 2rem; margin-bottom: 48px; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { margin-bottom: 24px; padding: 24px; border-radius: 12px; background: #f8f9fa; }
.faq-item h3 { font-size: 1rem; margin-bottom: 10px; color: #333; }
.faq-item p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* Login */
.login-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.login-section .form-box { max-width: 600px !important; padding: 48px 40px; }
.login-card h2 { text-align: center; margin-bottom: 32px; font-size: 1.6rem; }
.login-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: #666; }
.login-footer a { color: #667eea; text-decoration: none; }
.nav-active { color: #667eea !important; font-weight: 600; }
.nav-btn { background: #667eea !important; color: #fff !important; padding: 6px 16px; border-radius: 6px; font-size: 0.9rem; }
.nav-logout { color: #999 !important; font-size: 0.85rem; }

/* Form common */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; font-weight: 500; color: #333; }
.form-group input { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; transition: border-color 0.2s; box-sizing: border-box; }
.form-group input:focus { outline: none; border-color: #667eea; }
.btn-primary { width: 100%; padding: 14px; background: #667eea; color: #fff; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: #5a6fd6; }
.form-error { background: #fee; border: 1px solid #fcc; color: #c33; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 0.9rem; }
.form-success { background: #efe; border: 1px solid #cfc; color: #363; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 0.9rem; }

/* Mypage */
.mypage-section { padding: 100px 20px 60px; max-width: 640px; margin: 0 auto; }
.mypage-section h2 { font-size: 1.8rem; margin-bottom: 32px; }
.mypage-card { background: #fff; border-radius: 12px; padding: 28px 32px; margin-bottom: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.mypage-card h3 { font-size: 1.1rem; margin-bottom: 16px; color: #333; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.info-table { width: 100%; }
.info-table th { text-align: left; padding: 8px 0; color: #666; font-weight: 500; white-space: nowrap; font-size: 0.9rem; padding-right: 16px; }
.info-table td { padding: 8px 0; color: #333; }

/* License items */
.license-item { border: 1px solid #eee; border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.license-item.license-active { border-left: 4px solid #28a745; }
.license-item.license-expired { border-left: 4px solid #dc3545; opacity: 0.7; }
.license-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.license-badge { font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; background: #e8f5e9; color: #2e7d32; }
.license-expired .license-badge { background: #fbe9e7; color: #c62828; }
.license-info { font-size: 0.85rem; color: #666; margin-bottom: 4px; }
.license-device { font-weight: 500; color: #333; }
.btn-sm { padding: 4px 10px; font-size: 0.8rem; border: 1px solid #dc3545; color: #dc3545; background: none; border-radius: 4px; cursor: pointer; margin-left: 8px; }
.btn-sm:hover { background: #dc3545; color: #fff; }
.text-muted { color: #999; }

/* Legal pages */
.legal { padding: 100px 0 60px; }
.legal h1 { font-size: 1.8rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 8px; color: #333; }
.legal p, .legal li { font-size: 0.95rem; color: #555; line-height: 1.8; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal-date { color: #999; font-size: 0.85rem; margin-bottom: 24px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.9rem; }
.legal-table th { background: #f8f9fa; padding: 10px 12px; text-align: left; border: 1px solid #eee; }
.legal-table td { padding: 10px 12px; border: 1px solid #eee; }

/* Agree checkboxes */
.agree-box { text-align: left; margin: 20px 0 16px; padding-top: 16px; border-top: 1px solid #eee; }
.agree-box label { display: block; font-size: 0.88rem; color: #555; margin-bottom: 8px; cursor: pointer; }
.agree-box label span { color: #E74C3C; font-weight: 600; }
.agree-box a { color: #667eea; text-decoration: underline; }

/* Footer */
footer { background: #f8f9fa; padding: 32px 0; text-align: center; color: #888; font-size: 0.85rem; margin-top: 60px; }
.footer-links { margin-bottom: 12px; }
.footer-links a { color: #555; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #667eea; }
.footer-biz { margin-bottom: 12px; line-height: 1.8; color: #999; font-size: 0.8rem; }


/* Form links (아이디/비밀번호 찾기) */
.form-links { text-align: center; margin: 12px 0 8px; font-size: 0.85rem; }
.form-links a { color: #888; text-decoration: none; }
.form-links a:hover { color: #667eea; }


/* Modal overlay (로그인 페이지 등) */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2000; }
.modal-box { background: #fff; border-radius: 12px; padding: 32px; max-width: 400px; width: 90%; text-align: center; }
.modal-box h3 { margin-bottom: 12px; font-size: 1.3rem; }
.modal-box p { color: #555; line-height: 1.6; margin-bottom: 8px; }
.modal-box .modal-sub { font-size: 0.85rem; color: #999; margin-bottom: 20px; }

/* Spinner Overlay */
.spinner-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.7); display: none; align-items: center; justify-content: center; z-index: 9999; }
.spinner-overlay.active { display: flex; }
.spinner-overlay .spinner { width: 40px; height: 40px; border: 4px solid #e0e0e0; border-top-color: #667eea; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === home-v2 전용 스타일 === */

/* 프라이버시 섹션 */
.privacy-section { padding: 60px 0; background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%); }
.privacy-section h2 { text-align: center; margin-bottom: 12px; }
.section-desc { text-align: center; color: #555; line-height: 1.8; margin-bottom: 40px; }
.privacy-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.privacy-card { background: #fff; border-radius: 12px; padding: 28px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.privacy-icon { font-size: 2.5rem; margin-bottom: 12px; }
.privacy-card h3 { margin-bottom: 8px; }
.privacy-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* 비교 테이블 */
.comparison { padding: 60px 0; }
.comparison h2 { text-align: center; margin-bottom: 32px; }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.comparison-table th, .comparison-table td { padding: 12px 16px; border: 1px solid #e0e0e0; text-align: center; }
.comparison-table thead th { background: #f5f5f5; font-weight: 600; }
.comparison-table .highlight-col { background: #f0f3ff; }
.comparison-table thead .highlight-col { background: #667eea; color: #fff; }
.comparison-table td:first-child { text-align: left; font-weight: 500; white-space: nowrap; }

/* 무제한 배지 */
.unlimited-badge { color: #28a745; font-weight: 600; }
.pricing-note { text-align: center; margin-top: 16px; color: #666; font-size: 0.9rem; }

@media (max-width: 768px) {
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
}


/* 전체 동의 체크박스 */
.agree-all { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #e0e0e0; }
