@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --bg-main: #07111f;
  --primary: #22c55e;
  --primary-dark: #15803d;
  --accent: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #a5b4c7;
  --card-bg: rgba(15,23,42,.78);
  --card-border: rgba(148,163,184,.16);
  --glass-header: rgba(7,17,31,.84);
  --section-padding: 5.5rem 1rem;
  --container-width: 1180px;
  --shadow-lg: 0 18px 45px rgba(3,7,18,.35);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.14), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #0a1425 50%, #08111f 100%);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
section { padding: var(--section-padding); }
.container { width: min(100%, var(--container-width)); margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.03em; }
.text-gradient {
  background: linear-gradient(135deg, #86efac 0%, #fbbf24 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Layout helpers ── */
.section-title { text-align: center; margin-bottom: 3.5rem; }
.section-title h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .85rem; }
.section-title p { color: var(--text-muted); max-width: 720px; margin: 0 auto; font-size: 1.05rem; }
.section-gray { background: rgba(15,28,48,.72); }

/* ── HEADER (canonical) ── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 1rem 0;
  background: var(--glass-header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .75rem; }
.seal-yoon {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  border-radius: 8px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 3px; font-family: serif; font-weight: 700;
}
.header-seal { width: 40px; height: 40px; flex-shrink: 0; }
.seal-grid { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(2,1fr); text-align: center; }
.seal-char { display: flex; align-items: center; justify-content: center; font-size: 11px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: .98rem; font-weight: 800; letter-spacing: -.02em; }
.logo-sub { font-size: .76rem; color: var(--text-muted); margin-top: .1rem; }
.nav-cta { display: none; }
.btn-sm { padding: .6rem 1.15rem !important; font-size: .88rem !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 0; border-radius: 999px; padding: .9rem 1.7rem;
  font-weight: 700; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 10px 24px rgba(21,128,61,.28); }
.btn-accent  { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #101827; box-shadow: 0 10px 24px rgba(245,158,11,.28); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.26); color: var(--text-main); }

/* ── Badges ── */
.badge, .type-label, .cost-label, .about-badge, .review-result {
  display: inline-flex; align-items: center;
  padding: .45rem .85rem; border-radius: 999px;
  font-size: .86rem; font-weight: 700;
}
.badge, .type-label, .about-badge { background: rgba(34,197,94,.14); color: #86efac; border: 1px solid rgba(34,197,94,.22); }
.cost-label { background: rgba(59,130,246,.16); color: #bfdbfe; }
.review-result { background: rgba(245,158,11,.15); color: #fcd34d; margin-bottom: .9rem; }

/* ── HERO ── */
.hero { padding-top: 9.5rem; padding-bottom: 7rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute;
  width: 640px; height: 640px; right: -120px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.18), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 1.35rem; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin: 1.2rem 0 1.3rem; }
.hero-subtitle { color: var(--text-muted); max-width: 700px; font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-meta { display: grid; gap: .9rem; margin-bottom: 1.8rem; }
.hero-meta div {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow-lg);
}
.hero-meta strong { display: block; margin-bottom: .25rem; }
.hero-meta span { color: var(--text-muted); font-size: .96rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1rem; }
.hero-visual {
  background: linear-gradient(180deg, rgba(15,23,42,.8), rgba(8,17,31,.95));
  border: 1px solid var(--card-border); border-radius: 28px;
  padding: 1rem; box-shadow: var(--shadow-lg);
}
.hero-legal-note { color: var(--text-muted); font-size: .87rem; display: flex; align-items: flex-start; gap: .4rem; }
.hero-legal-note i { margin-top: .25rem; flex-shrink: 0; }

/* ── Cards (shared) ── */
.cards-grid, .type-grid, .document-grid, .review-grid, .region-grid, .cost-grid { display: grid; gap: 1.35rem; }
.card, .type-card, .document-card, .review-card, .region-card, .cost-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 22px; padding: 1.6rem; box-shadow: var(--shadow-lg);
}
.card h3, .type-card h3, .document-card h3, .review-card h3, .region-card h3, .cost-card h3 { font-size: 1.15rem; margin-bottom: .7rem; }
.card p, .type-card p, .review-card p, .region-card p, .cost-card p { color: var(--text-muted); }
.card-icon {
  width: 3.2rem; height: 3.2rem; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: rgba(34,197,94,.16); color: #86efac;
  font-size: 1.25rem; margin-bottom: .9rem;
}

/* ── Roadmap ── */
.roadmap-card {
  margin-top: 1.5rem;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow-lg);
}
.roadmap-card h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.roadmap-grid { display: grid; gap: .9rem; }
.roadmap-grid div {
  background: rgba(8,17,31,.65); border: 1px solid rgba(148,163,184,.14);
  border-radius: 16px; padding: .95rem 1.1rem;
}
.roadmap-grid strong { display: block; margin-bottom: .2rem; color: #86efac; }
.roadmap-grid span { color: var(--text-muted); font-size: .95rem; }

/* ── Process steps ── */
.process-steps { display: grid; gap: 1rem; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(8,17,31,.64); border: 1px solid rgba(148,163,184,.14);
  border-radius: 22px; padding: 1.3rem;
}
.step-number {
  flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  font-weight: 800; font-size: .95rem;
}
.step-content h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.step-content p { color: var(--text-muted); font-size: .97rem; }

/* ── Calculator ── */
.calculator-wrap { display: grid; gap: 1.35rem; }
.calculator-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 22px; padding: 1.8rem;
  display: grid; gap: .9rem; box-shadow: var(--shadow-lg);
}
.calculator-card label { font-weight: 700; font-size: .95rem; }
.calculator-card input[type="number"] {
  width: 100%; border: 1px solid rgba(148,163,184,.2);
  border-radius: 14px; background: rgba(8,17,31,.84);
  color: var(--text-main); padding: .85rem 1rem; font: inherit;
}
.calculator-card input[type="range"] { width: 100%; accent-color: var(--primary); }
.range-value {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-muted); font-size: .9rem; margin-top: -.35rem;
}
.range-value strong { color: #86efac; }
.calculator-result {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 22px; padding: 1.8rem;
  display: grid; gap: .9rem; align-content: start; box-shadow: var(--shadow-lg);
}
.result-item {
  padding: 1.1rem 1.2rem;
  background: rgba(8,17,31,.66); border: 1px solid rgba(148,163,184,.12);
  border-radius: 16px;
}
.result-item span { display: block; color: var(--text-muted); margin-bottom: .25rem; font-size: .9rem; }
.result-item strong { font-size: 1.45rem; }
.result-item.accent strong { color: #fcd34d; }
.calculator-note { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* ── Cost ── */
.accent-card { border-color: rgba(245,158,11,.28); background: linear-gradient(180deg, rgba(120,53,15,.34), rgba(15,23,42,.88)); }

/* ── Documents ── */
.document-card ul { display: grid; gap: .55rem; margin-top: .25rem; }
.document-card li { position: relative; padding-left: 1.1rem; color: var(--text-muted); }
.document-card li::before {
  content: ''; position: absolute; left: 0; top: .68rem;
  width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent);
}

/* ── About ── */
.about-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 22px; padding: 2rem; box-shadow: var(--shadow-lg);
  display: grid; gap: 1.1rem; align-items: flex-start;
}
.about-badge {
  display: inline-flex; align-items: center;
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(34,197,94,.14); color: #86efac;
  border: 1px solid rgba(34,197,94,.22); font-size: .86rem; font-weight: 700;
}
.about-content h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.about-content > p { color: var(--text-muted); }
.about-points { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.about-points span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem .9rem; border-radius: 999px;
  background: rgba(34,197,94,.12); color: #dcfce7; font-size: .9rem;
}

/* ── Reviews ── */
.review-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.quote-card { border-color: rgba(245,158,11,.2); background: linear-gradient(180deg, rgba(120,53,15,.2), rgba(15,23,42,.88)); }
.quote-card p { font-style: italic; }
.quote-card span { display: block; margin-top: .75rem; font-size: .85rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { display: grid; gap: .9rem; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: rgba(9,20,37,.84); border: 1px solid var(--card-border);
  border-radius: 18px; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; background: transparent; color: var(--text-main);
  border: 0; text-align: left; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.faq-icon { color: var(--text-muted); transition: transform .2s ease; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .28s ease; padding: 0 1.3rem; }
.faq-answer p { color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 260px; padding: 0 1.3rem 1.3rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: #86efac; }

/* ── CTA Section (canonical) ── */
.cta-section {
  background: linear-gradient(180deg, rgba(12,22,40,.98), rgba(7,17,31,1));
  border-top: 1px solid rgba(255,255,255,.06);
}
.cta-box {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 32px; padding: 3rem 2.5rem;
  max-width: 860px; margin: 0 auto; box-shadow: var(--shadow-lg);
}
.cta-header { text-align: center; margin-bottom: 2.4rem; }
.section-tag {
  display: inline-block; padding: .38rem .95rem; border-radius: 999px;
  background: rgba(34,197,94,.14); color: #86efac;
  border: 1px solid rgba(34,197,94,.22);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 1rem;
}
.cta-header h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); margin-bottom: .7rem; }
.cta-header p { color: var(--text-muted); }
.contact-grid { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: rgba(8,17,31,.64); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 1.35rem 1.5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-card:hover { border-color: rgba(34,197,94,.38); transform: translateY(-2px); }
.contact-icon {
  width: 2.9rem; height: 2.9rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(34,197,94,.16);
  color: #86efac; font-size: 1.15rem;
}
.contact-text span { display: block; color: var(--text-muted); font-size: .85rem; margin-bottom: .18rem; }
.contact-text strong { display: block; font-size: 1.3rem; font-weight: 800; margin-bottom: .12rem; }
.contact-text p { color: var(--text-muted); font-size: .85rem; margin: 0; }
.trust-indicators { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-bottom: 1.5rem; }
.trust-badge {
  display: inline-flex; align-items: center;
  padding: .42rem .95rem; border-radius: 999px;
  background: rgba(148,163,184,.1); border: 1px solid rgba(148,163,184,.18);
  color: var(--text-muted); font-size: .86rem;
}
.cta-notice { text-align: center; color: var(--text-muted); font-size: .87rem; line-height: 1.7; }

/* ── Sticky CTA ── */
.sticky-cta {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%);
  width: min(92%, 520px); display: grid; grid-template-columns: 1fr 1fr; gap: .7rem;
  padding: .7rem; background: rgba(7,17,31,.9);
  border: 1px solid rgba(148,163,184,.16); border-radius: 999px;
  backdrop-filter: blur(14px); z-index: 1000; box-shadow: var(--shadow-lg);
}
.sticky-cta a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1rem; border-radius: 999px; font-weight: 800;
}
.sticky-cta a:first-child { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #111827; }
.sticky-cta a:last-child  { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }

/* ── FOOTER (canonical) ── */
.footer {
  background: #020617; color: #94a3b8;
  padding: 3.2rem 1rem 7rem; font-size: .95rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-top { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.footer-col-left { display: grid; gap: .9rem; }
.footer-brand, .footer-info, .footer-social-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 1.2rem;
}
.footer-logo-box { display: flex; align-items: center; gap: 1rem; }
.footer-logo-box .seal-yoon { width: 44px; height: 44px; }
.footer-logo-box .seal-char { font-size: 13px; }
.brand-text-group { display: flex; flex-direction: column; gap: .25rem; }
.brand-title { color: #fff; font-size: 1.1rem; font-weight: 800; }
.brand-link { color: #60a5fa; font-size: .92rem; }
.footer-social-note { margin-bottom: .65rem; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.footer-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
}
.footer-info p { margin-bottom: .5rem; line-height: 1.5; }
.footer-info p:last-child { margin-bottom: 0; }
.footer-info strong { color: #e2e8f0; }
.footer-info a { color: #94a3b8; }
.footer-copy, .footer-since { color: #64748b; font-size: .88rem; }
.sns-naver    { color: #2db400 !important; }
.sns-facebook { color: #1877f2 !important; }
.sns-twitter  { color: #1d9bf0 !important; }
.sns-instagram{ color: #e4405f !important; }
.sns-youtube  { color: #ff0000 !important; }

/* ── Responsive ── */
@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
  .hero-grid    { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.35rem; }
  .cards-grid, .type-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cost-grid, .document-grid, .review-grid, .region-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .calculator-wrap { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-meta, .roadmap-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1.1fr 1fr; gap: 1.25rem; }
  .about-card { grid-template-columns: auto 1fr; }
}
@media (min-width: 1080px) {
  .process-steps { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .step { display: block; }
  .step-number { margin-bottom: .9rem; }
}
@media (max-width: 767px) {
  .logo-sub { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding-top: 8rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-buttons { flex-direction: column; }
  .cta-box { padding: 2rem 1.25rem; }
}
