/* Fonts: Black Han Sans for display, Noto Sans KR for body */
:root {
  --bg: #070b14;
  --panel: #0b1220;
  --text: #e6ecff;
  --muted: #a6b0cf;
  --brand: #22d3ee;
  --brand-2: #4ade80;
  --brand-3: #a78bfa;
  --border: #1b2540;
  --shadow: 0 10px 30px rgba(0,0,0,0.35), 0 2px 10px rgba(0,0,0,0.25);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Noto Sans KR', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 88px 0; }
.section-title { font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: 0.2px; margin: 0 0 22px; line-height: 1.1; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; }

/* Header */
.site-header { position: sticky; top: 0; backdrop-filter: blur(10px); background: rgba(7,11,20,0.6); border-bottom: 1px solid var(--border); z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--text); text-decoration: none; }
.brand-logo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #0a0f1a; font-weight: 900; box-shadow: var(--shadow); }
.brand-text { font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; letter-spacing: 0.4px; font-size: 20px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; }
.nav-list { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.nav-list a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; }
.nav-list a:hover { border-color: var(--border); background: rgba(255,255,255,0.03); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 12px 18px; text-decoration: none; color: var(--text); border: 1px solid var(--border); background: #0f1628; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06101a; border: 0; font-weight: 900; letter-spacing: 0.2px; }
.btn-ghost { background: transparent; }
.btn-lg { padding: 14px 22px; font-size: 18px; }
.btn-sm { padding: 8px 12px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: clip; padding: 120px 0 80px; border-bottom: 1px solid var(--border); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.7; }
.spark { position: absolute; width: 120%; height: 260px; left: -10%; top: -10px; filter: drop-shadow(0 10px 30px rgba(34,211,238,0.25)); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge { display: inline-block; font-weight: 800; color: var(--brand); border: 1px solid var(--border); background: rgba(34,211,238,0.08); padding: 8px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero-title { font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.04; margin: 0 0 14px; letter-spacing: 0.6px; }
.hero-title .highlight { background: linear-gradient(90deg, var(--brand), var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 18px; margin: 0 auto 18px; max-width: 760px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.hero-meta { display: grid; grid-auto-flow: column; gap: 16px; justify-content: center; margin-top: 20px; color: var(--muted); font-weight: 600; }
.meta-item strong { font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; font-size: 22px; color: var(--text); }

/* Trust */
.trust { border-bottom: 1px solid var(--border); background: radial-gradient(1200px 200px at 50% 0, rgba(167,139,250,0.08), transparent); }
.trust-inner { padding: 18px 0; }
.trust-list { list-style: none; display: flex; justify-content: center; gap: 24px; margin: 0; padding: 0; flex-wrap: wrap; }
.trust-list li { display: grid; gap: 6px; text-align: center; }
.trust-pill { color: var(--muted); font-size: 14px; }

/* About */
.two-col { display: grid; grid-template-columns: 1.1fr 1.2fr; gap: 32px; align-items: center; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.hero-card { text-align: center; }
.avatar { width: 84px; height: 84px; border-radius: 20px; display: inline-grid; place-items: center; font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; font-size: 34px; color: #06101a; background: linear-gradient(135deg, var(--brand-2), var(--brand-3)); margin-bottom: 8px; }
.card-title { margin: 6px 0; font-size: 24px; font-weight: 900; }
.card-sub { margin: 0 0 10px; color: var(--muted); }
.card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: left; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pill { padding: 8px 12px; border-radius: 999px; background: #0f1628; border: 1px solid var(--border); color: var(--text); font-weight: 700; }
.note { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(74,222,128,0.06); border: 1px dashed rgba(74,222,128,0.4); color: #d6ffe0; }

/* Features */
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(13,22,38,0.9), rgba(10,16,28,0.9)); box-shadow: var(--shadow); margin: 18px 0; }
.feature-b { grid-template-columns: 1fr 1.2fr; }
.feature-media .chart { width: 100%; height: auto; border-radius: 14px; }
.feature-title { font-size: 26px; margin: 0 0 8px; font-weight: 900; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; color: var(--muted); }
.ticks li::before { content: "✔"; color: var(--brand-2); margin-right: 8px; }

/* Roadmap */
.schedule-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 12px; }
.schedule-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.schedule-card .badge { display: inline-block; font-weight: 900; color: #06101a; background: linear-gradient(135deg, var(--brand), var(--brand-2)); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.schedule-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.schedule-card p { margin: 0; color: var(--muted); }

/* Books */
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.book-card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.book-cover { width: 120px; height: 160px; border-radius: 12px; overflow: hidden; background: #0b1220;margin: 0 auto;}
.book-body h3 { margin: 0 0 6px; font-size: 18px; }
.book-body .meta { margin: 0 0 6px; color: var(--muted); font-size: 14px; }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.benefit-item { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-align: left; }
.benefit-item .icon { font-size: 24px; margin-bottom: 6px; }
.benefit-item h4 { margin: 0 0 6px; }
.benefit-item p { margin: 0; color: var(--muted); }

/* Details */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.detail-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--brand); letter-spacing: 0.3px; }
.disclaimer { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-list { display: grid; gap: 8px; }
details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
summary { cursor: pointer; font-weight: 800; }
details p { color: var(--muted); margin: 8px 0 0; }

/* Form */
.form { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 700; font-size: 14px; color: var(--muted); }
.field input, .field select { width: 100%; padding: 12px 12px; border-radius: 12px; border: 1px solid var(--border); background: #0f1628; color: var(--text); }
.check { display: flex; align-items: center; gap: 10px; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: #080e18; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.foot-brand { font-weight: 900; }
.foot-meta { color: var(--muted); font-size: 14px; }

/* Modal */
.modal { border: 0; padding: 0; border-radius: 16px; background: transparent; }
.modal::backdrop { background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); }
.modal-card { background: var(--panel); border: 1px solid var(--border); padding: 20px; border-radius: 16px; color: var(--text); }
.modal-card h3 { margin: 0 0 6px; }

/* Floating Button */
.floating-button { 
  position: fixed; 
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  z-index: 100; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); 
  color: #06101a; 
  padding: 14px 24px; 
  border-radius: 50px; 
  box-shadow: var(--shadow); 
  font-weight: 900; 
  font-size: 16px; 
  letter-spacing: 0.2px; 
  cursor: pointer; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  border: none; 
  text-decoration: none; 
  animation: fadeInUp 1s ease-out;
}

.floating-button:hover { 
  transform: translateX(-50%) translateY(-2px) scale(1.02); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 5px 15px rgba(34,211,238,0.3); 
}

.floating-button:active {
  transform: translateX(-50%) translateY(0px) scale(0.98);
}

.floating-button-icon { 
  width: 28px; 
  height: 28px; 
  object-fit: contain; 
  transition: transform 0.3s ease;
}

.floating-button:hover .floating-button-icon {
  transform: rotate(5deg) scale(1.1);
}

.floating-button-text { 
  font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; 
  white-space: nowrap; 
}

/* Responsive */
@media (max-width: 920px) {
  .two-col { grid-template-columns: 1fr; }
  .feature, .feature-b { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: inline-block; }
  .nav-list { position: absolute; top: 66px; right: 4%; background: rgba(7,11,20,0.95); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: none; flex-direction: column; width: 200px; }
  .nav-list.show { display: flex; }
  
  /* Mobile hero optimizations */
  .hero { padding: 80px 0 50px; }
  .hero-badge { 
    font-size: 14px; 
    padding: 6px 14px; 
    animation: pulse 2s infinite;
  }
  .hero-title { 
    font-size: clamp(28px, 8vw, 44px); 
    line-height: 1.1; 
    margin-bottom: 16px;
  }
  .hero-sub { 
    font-size: 16px; 
    line-height: 1.6; 
    padding: 0 10px;
    margin-bottom: 24px;
  }
  .hero-cta { 
    flex-direction: column; 
    align-items: center; 
    gap: 10px;
    padding: 0 20px;
  }
  .hero-cta .btn { 
    width: 100%; 
    max-width: 280px; 
    justify-content: center;
  }
  .hero-meta { 
    grid-template-columns: 1fr; 
    gap: 12px; 
    margin-top: 24px;
    text-align: center;
  }
  
  /* Mobile trust section */
  .trust-list { 
    flex-direction: column; 
    gap: 16px; 
    align-items: center;
  }
  
  /* Mobile sections spacing */
  .section { padding: 60px 0; }
  .container { width: min(100%, 94%); }
  
  /* Mobile cards and grids */
  .form-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 14px; }
  .schedule-grid { grid-template-columns: 1fr; gap: 12px; }
  .books-grid { grid-template-columns: 1fr; gap: 14px; }
  .book-card { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 12px;
  }
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  
  /* Mobile feature cards */
  .feature, .feature-b { 
    grid-template-columns: 1fr; 
    gap: 18px; 
    padding: 18px; 
    margin: 12px 0;
  }
  .feature-title { font-size: 22px; }
  
  /* Mobile about section */
  .two-col { 
    grid-template-columns: 1fr; 
    gap: 24px; 
    text-align: center;
  }
  .card { padding: 18px; }
  .pill-grid { justify-content: center; }
  
  /* Enhanced mobile floating button */
  .floating-button { 
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 24px; 
    font-size: 16px; 
    gap: 12px;
    border-radius: 30px;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 3px 10px rgba(34,211,238,0.4);
    backdrop-filter: blur(10px);
  }
  
  .floating-button:hover {
    transform: translateX(-50%) translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 5px 15px rgba(34,211,238,0.5);
  }
  
  .floating-button-icon { 
    width: 26px; 
    height: 26px;
    animation: bounce 2s infinite;
  }
  
  .floating-button-text {
    font-size: 16px;
    font-weight: 800;
  }
  
  /* Mobile navigation improvements */
  .nav-list { 
    right: 2%; 
    width: 220px;
    animation: slideDown 0.3s ease-out;
  }
  
  /* Mobile footer */
  .footer-inner { 
    flex-direction: column; 
    gap: 12px; 
    text-align: center;
  }
}

/* Mobile animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateX(-50%) translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(-50%) translateY(0); 
  }
}

/* Smooth scrolling and interaction improvements */
html {
  scroll-behavior: smooth;
}

/* Enhanced card hover effects */
.card, .feature, .schedule-card, .book-card, .benefit-item, .detail-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .feature:hover, .schedule-card:hover, .book-card:hover, .benefit-item:hover, .detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 5px 15px rgba(34,211,238,0.1);
}

/* Button improvements */
.btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Hero badge animation on desktop too */
.hero-badge {
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: scale(1.05);
  background: rgba(34,211,238,0.15);
}

/* Add subtle animations to pills */
.pill {
  transition: all 0.3s ease;
}

.pill:hover {
  transform: translateY(-1px);
  background: rgba(34,211,238,0.1);
  border-color: var(--brand);
}


