/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #06080f;
  --bg2:       #0a0d14;
  --bg3:       #0e1220;
  --surface:   rgba(22, 28, 45, 0.4);
  --surface2:  rgba(28, 36, 56, 0.6);
  --border:    rgba(255,255,255,0.06);
  --blue:      #2563eb;
  --blue-lt:   #3b82f6;
  --blue-glow: rgba(37,99,235,0.3);
  --cyan:      #22d3ee;
  --text:      #f8fafc;
  --text-sub:  #cbd5e1;
  --text-muted:#94a3b8;
  --radius:    16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.05) 0px, transparent 50%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 120px 0; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
}
.label::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 em { 
  font-style: normal; 
  background: linear-gradient(135deg, #60A5FA 0%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h3 {
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 14px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none; outline: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
  color: #fff;
  box-shadow: 0 10px 20px -10px var(--blue-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(59,130,246,0.5); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,13,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { transition: opacity 0.2s; }
.nav-logo:hover { opacity: 0.8; }
.nav-cta { font-size: 14px; padding: 10px 20px; border-radius: 10px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  font-size: 14px; font-weight: 500; color: var(--text-sub);
  text-decoration: none; padding: 6px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-right { display: flex; align-items: center; gap: 16px; }

@media (max-width: 768px) {
  .nav-menu { display: none; }
}

/* ── Hero ── */
#hero {
  padding-top: 160px; padding-bottom: 100px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 800; color: #fff;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.8), rgba(45, 212, 191, 0.8));
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
}
.hero-eyebrow::before {
  content: '🎁'; display: inline-block; font-size: 15px;
}
h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h1 em { 
  font-style: normal; 
  background: linear-gradient(135deg, #60A5FA 0%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  margin-top: 32px;
  font-size: 22px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Hero Form (Stat Card adapted) ── */
.hero-visual { position: relative; }
.stat-card {
  background: rgba(22, 28, 45, 0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
  transition: transform 0.3s, opacity 0.3s;
}

.badge-top {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(37, 99, 235, 0.15);
  color: #60A5FA;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.input-group input,
.input-group select {
  width: 100%; padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
  appearance: none;
}
.input-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.input-group select option {
  background: var(--bg2);
  color: var(--text);
}
.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--blue-lt);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ── Guide (Steps Flow) ── */
#guide { background: var(--bg3); }
.steps-flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  position: relative;
}
.step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,0.4);
  background: rgba(28, 36, 56, 0.8);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.step-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(34,211,238,0.15) 100%);
  border: 1px solid rgba(34,211,238,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(34,211,238,0.2);
}
.step-badge {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  color: var(--blue-lt);
  letter-spacing: 0.1em;
  background: rgba(37,99,235,0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 20px; margin-bottom: 12px;
}
.step-card p {
  font-size: 15px; color: var(--text-sub); line-height: 1.6;
}
.step-arrow {
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0.6;
  display: flex; align-items: center; justify-content: center;
  align-self: center;
}

/* ── Features (Benefits Grid) ── */
#features { background: var(--bg2); }
.benefits-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; margin-top: 56px;
}
.benefit-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.2s;
}
.benefit-item:hover { border-color: rgba(37,99,235,0.35); background: var(--surface2); }
.benefit-num {
  font-size: 32px;
  min-width: 48px; margin-top: 0px;
  display: flex; justify-content: center;
}
.benefit-item h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.benefit-item p { font-size: 16px; color: var(--text-sub); line-height: 1.65; }

/* ── Closing ── */
#closing { background: var(--bg3); text-align: center; }
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-inner h2 { font-size: clamp(32px, 4.5vw, 52px); }
.closing-inner .sub { margin: 16px auto 0; text-align: center; }
.closing-actions {
  margin-top: 40px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ── Promo Highlight Box ── */
.promo-highlight-box {
  margin-top: 32px;
  padding: 24px 28px;
  background: linear-gradient(145deg, rgba(37,99,235,0.08) 0%, rgba(34,211,238,0.03) 100%);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.promo-highlight-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-lt) 0%, var(--cyan) 100%);
}
.promo-highlight-box .promo-lead {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 12px;
  font-weight: 500;
}
.promo-highlight-box .promo-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.promo-badge {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(37,99,235,0.3);
}
.promo-highlight-box .promo-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.promo-highlight-box .promo-title em {
  font-style: normal;
  color: var(--cyan);
}
.promo-highlight-box .promo-list {
  list-style: none;
  padding: 0; margin: 0;
}
.promo-highlight-box .promo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.promo-highlight-box .promo-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.closing-inner .promo-highlight-box {
  text-align: left;
  max-width: 500px;
  margin: 32px auto 0;
}


/* ── Footer ── */
footer {
  background: #080b11;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-bottom-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-corp { font-size: 12px; color: var(--text-muted); line-height: 1.9; }
.footer-corp strong { color: var(--text-sub); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-links a.privacy { color: var(--blue-lt); font-weight: 600; }

/* ── Privacy Modal ── */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 90%; max-width: 720px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 18px; font-weight: 700; color: var(--text); }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--surface2); border: none;
  color: var(--text-sub); font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.modal-body { padding: 28px; overflow-y: auto; font-size: 13px; color: var(--text-sub); line-height: 1.8; text-align: left; }
.modal-body h4 { font-size: 14px; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body ul { padding-left: 18px; }
.modal-body ul li { margin-bottom: 6px; }
.modal-date { font-size: 12px; color: var(--text-muted); margin-top: 24px; }

/* ── Animations ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.delay-1 { animation-delay: 0.2s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-animate.is-visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps-flow { flex-direction: column; gap: 32px; }
  .step-arrow { transform: rotate(90deg); }
  .footer-bottom-inner { flex-direction: column; }
}
@media (max-width: 640px) {
  .closing-actions { flex-direction: column; }
}

/* ── Tabs UI & FAQ Accordion ── */
.tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 16px; font-weight: 700;
  padding: 10px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── FAQ 아코디언 ── */
.faq-section { max-width: 780px; margin: 0 auto; text-align: left; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0; margin-bottom: 0;
}
.faq-question {
  width: 100%; background: none; border: none; color: #fff;
  font-size: 16px; font-weight: 600; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; text-align: left; gap: 16px;
  transition: color 0.2s;
  font-family: inherit;
}
.faq-question:hover { color: var(--cyan); }
.faq-icon {
  min-width: 24px; color: var(--text-muted);
  transition: transform 0.3s, color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue-lt); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  color: var(--text-sub); font-size: 15px; line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 24px; }
