/* ============================================================
   Vietnam Entry Card – Korean Market
   style.css  |  Deep Blue + Red CTA Theme
   ============================================================ */

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

:root {
  /* ── Blue palette (primary) ── */
  --blue-950: #06111f;
  --blue-900: #0d2137;
  --blue-800: #122d52;
  --blue-700: #1a3d6e;
  --blue-600: #1e50a2;
  --blue-500: #2563eb;
  --blue-400: #60a5fa;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  /* ── Red palette (CTA / accent) ── */
  --red-700:  #b91c1c;
  --red-600:  #dc2626;
  --red-500:  #ef4444;
  --red-100:  #fee2e2;
  --red-50:   #fef2f2;

  /* ── Neutrals ── */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* ── Shadows & shape ── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-ko: 'Noto Sans KR', 'Noto Sans SC', 'Apple SD Gothic Neo', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-ko);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
p  { color: var(--gray-600); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title { margin-bottom: 12px; }
.section-desc  { color: var(--gray-500); max-width: 580px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ko);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(220,38,38,.38);
}
.btn-primary:hover {
  background: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(220,38,38,.48);
}
.btn-secondary {
  background: var(--white);
  color: var(--blue-700);
  border: 2px solid var(--blue-200);
}
.btn-secondary:hover { background: var(--blue-50); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* ── Header ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue-800);
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all .18s;
}
.nav-links a:hover { color: var(--blue-700); background: var(--blue-50); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.lang-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--gray-500);
  font-family: var(--font-ko);
  transition: all .18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.lang-btn.active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--gray-700);
}
.menu-toggle svg { display: block; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-900) 50%, var(--blue-800) 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
/* Subtle red diagonal accent */
.hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(220,38,38,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--blue-200);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--red-500);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 18px;
}
.hero-title span { color: #93c5fd; }   /* light blue accent on headline */

.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-time-note {
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-time-note svg { opacity: .7; }

.hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
}
.hero-badge-item svg { color: #93c5fd; flex-shrink: 0; }

/* Approval card */
.approval-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  position: relative;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue-600);
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
.card-flag { font-size: 1.6rem; }

.card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.card-sub {
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.card-divider { height: 1px; background: var(--gray-200); margin: 16px 0; }

.card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.stat-box {
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
}
.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-800);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .72rem; color: var(--gray-500); font-weight: 500; }

.card-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--gray-600);
  font-weight: 500;
}
.trust-row svg { color: var(--blue-500); flex-shrink: 0; }

.card-note {
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  line-height: 1.5;
}

/* Floating badge on card */
.card-float-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--red-600);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--blue-950);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}
.trust-item svg { color: var(--blue-400); }

/* ── Sections shared ── */
section { padding: 88px 0; }
.section-center { text-align: center; }
.section-center .section-desc { margin: 0 auto; }

/* ── How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--red-100), var(--red-200, #fecaca));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  z-index: 1;
  transition: box-shadow .25s, transform .25s;
}
.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Step number circles — RED */
.step-num {
  width: 48px;
  height: 48px;
  background: var(--red-600);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(220,38,38,.35);
}
.step-icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 8px; color: var(--gray-900); }

/* ── Features ── */
.features-section { background: var(--blue-900); }
.features-section .section-label { color: #93c5fd; background: rgba(147,197,253,.1); border-color: rgba(147,197,253,.2); }
.features-section h2 { color: var(--white); }
.features-section .section-desc { color: rgba(255,255,255,.6); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: background .2s, border-color .2s;
}
.feature-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.15); }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(147,197,253,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  margin-bottom: 14px;
}
.feature-card h3 { color: var(--white); margin-bottom: 8px; }
.feature-card p  { color: rgba(255,255,255,.58); font-size: .9rem; }

/* ── Comparison ── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.compare-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.compare-card.diy {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.compare-card.pro {
  background: linear-gradient(145deg, var(--blue-800), var(--blue-900));
  border: 1px solid var(--blue-600);
  color: var(--white);
}
.compare-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-weight: 800;
  font-size: 1.05rem;
}
.compare-card.diy .compare-card-header { color: var(--gray-700); }
.compare-card.pro .compare-card-header { color: var(--white); }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: .9rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.compare-card.pro .compare-list li { border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.82); }
.compare-list li:last-child { border: none; }
.compare-list li svg { flex-shrink: 0; margin-top: 3px; }

/* ── FAQ ── */
.faq-section { background: #f4f6f9; }
.faq-list {
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .22s, border-color .22s;
}
.faq-item:hover { border-color: var(--blue-200); }
.faq-item.open  { box-shadow: 0 4px 20px rgba(30,80,162,.09); border-color: var(--blue-200); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: .97rem;
  color: var(--gray-800);
  gap: 20px;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-ko);
}

/* Circle + button */
.faq-plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .28s ease, background .2s, border-color .2s;
  color: var(--gray-500);
  background: var(--white);
}
.faq-plus svg {
  display: block;
  transition: transform .28s ease;
}
.faq-item.open .faq-plus {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}
/* + rotates 45° → becomes × */
.faq-item.open .faq-plus svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease;
}
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.75;
  border-top: 1px solid #f0f1f3;
  padding-top: 14px;
}

/* ── CTA bottom ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 60%, var(--blue-800) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Red glow behind CTA */
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(220,38,38,.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-section p  { color: rgba(255,255,255,.68); margin-bottom: 32px; font-size: 1.05rem; position: relative; }
.cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
  position: relative;
}
.cta-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.cta-feat svg { color: #93c5fd; }

/* ── Footer ── */
#site-footer {
  background: var(--blue-950);
  color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 32px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: .87rem; line-height: 1.65; color: rgba(255,255,255,.45); }
.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.45);
  transition: color .18s;
}
.footer-col ul li a:hover { color: #93c5fd; }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy { font-size: .82rem; }
.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  max-width: 620px;
  line-height: 1.6;
}

/* ── Language hidden ── */

/* ── Footer utility ── */
.footer-badge {
  font-size:.72rem;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.55);
  padding:4px 10px;border-radius:6px;
}
.footer-legal-link {
  font-size:.78rem;color:rgba(255,255,255,.4);transition:color .18s;
}
.footer-legal-link:hover { color:#93c5fd; }


/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .approval-card { max-width: 420px; }
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .menu-toggle { display: block; }
}

@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding: 60px 0 70px; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .trust-bar-inner { gap: 16px; }
  .card-stats { grid-template-columns: 1fr; }
}

/* ── Advantages grid (replaces compare section) ── */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--blue-800);
  line-height: 1.5;
  transition: box-shadow .2s, transform .2s;
}
.adv-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.adv-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red-600);
}
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .adv-grid { grid-template-columns: 1fr; }
}
