/* ============================================================
   MilkVPN — "Milk Air" public home theme (2026-11-15 rev.c)
   Scope: templates/home/index.html only (body.page-home)
   Palette: porcelain white · soft sky · milk cream · single brand blue
   No pure-black surfaces anywhere.
   ============================================================ */

:root {
  --w-ink: #14263C;          /* headline ink (deep navy, not black) */
  --w-ink-2: #3D5670;        /* body text */
  --w-muted: #6B8299;        /* secondary text */
  --w-line: #E5EEF9;         /* hairline */
  --w-surface: #FFFFFF;
  --w-surface-2: #F6FAFF;    /* airy sky white */
  --w-milk: #FFF8EC;         /* milk cream */
  --w-brand: #2563EB;        /* primary blue */
  --w-brand-2: #3E8BFF;
  --w-sky: #EAF3FF;
  --w-mint: #EAFBF4;
  --w-mint-ink: #0E9F7E;
  --w-radius: 18px;
  --w-shadow-sm: 0 6px 18px rgba(20, 44, 84, 0.06);
  --w-shadow-md: 0 16px 40px rgba(20, 44, 84, 0.09);
}

body.page-home {
  background: #FFFFFF;
  color: var(--w-ink-2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR",
    "Noto Sans SC", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-home > footer { display: none; }

/* ── Header ─────────────────────────────────────────────────── */
.page-home .site-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(20, 44, 84, 0.06);
}
.page-home .brand-word { color: var(--w-ink); }
.page-home .brand-word span { color: var(--w-muted) !important; letter-spacing: 1px; }
.page-home nav a,
.page-home .nav-button { color: #44607A; }
.page-home nav a:hover { color: var(--w-brand); }
.page-home nav a::after { background: var(--w-brand); }
.page-home nav a,
.page-home .nav-button { white-space: nowrap; }
.page-home .nav-cta,
.page-home .nav-cta a { color: var(--w-brand); }
.page-home .nav-cta a {
  background: var(--w-sky);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.page-home .hamburger span { background: var(--w-ink); }
.page-home #mobile-menu { background: #FFFFFF; box-shadow: 0 20px 40px rgba(20, 44, 84, 0.12); }
.page-home #mobile-menu > a { color: #44607A; border-bottom-color: var(--w-line); }
.page-home #mobile-lang-header { color: #44607A; }
.page-home .mobile-lang-item { color: #5A7590; }
.page-home .mobile-lang-item.active { color: var(--w-brand); }
.page-home .mobile-lang-item:hover { background: var(--w-surface-2); }
.page-home #mobile-lang-section { border-bottom-color: var(--w-line); }
.page-home .lang-select-box {
  border-color: var(--w-line);
  background: #FFFFFF;
  color: var(--w-ink);
  border-radius: 999px;
}

/* ── Layout ─────────────────────────────────────────────────── */
.hcontainer { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hsect { padding: 92px 0; }
.hsect-grey {
  background:
    linear-gradient(180deg, #FFFFFF 0%, var(--w-surface-2) 24%, var(--w-surface-2) 76%, #FFFFFF 100%);
}
.hsect-head { max-width: 720px; }
.h2 {
  font-size: clamp(26px, 3.1vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.28;
  color: var(--w-ink);
  margin: 0;
}
.hsub { margin-top: 14px; font-size: 15.5px; line-height: 1.75; color: var(--w-muted); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-navy,
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-navy {
  background: linear-gradient(180deg, var(--w-brand-2) 0%, var(--w-brand) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3); }
.btn-ghost {
  background: #FFFFFF; color: var(--w-ink);
  border: 1.5px solid var(--w-line);
}
.btn-ghost:hover { border-color: #C9DDF6; background: var(--w-surface-2); }

/* ── Hero ───────────────────────────────────────────────────── */
.hhero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% -12%, #E7F1FF 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(820px 520px at -6% 8%, #FFF6E9 0%, rgba(255, 255, 255, 0) 58%),
    #FFFFFF;
  padding: 112px 0 56px;
}
.hhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.hhero-copy { min-width: 0; }
.hkicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--w-brand);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #D8E7FB;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: var(--w-shadow-sm);
}
.hkicker::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--w-brand-2);
  box-shadow: 0 0 0 3px rgba(62, 139, 255, 0.16);
}
.htitle {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800; line-height: 1.16; letter-spacing: -1px;
  color: var(--w-ink);
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hlead {
  margin: 18px 0 0;
  font-size: 16.5px; line-height: 1.78; color: var(--w-muted);
  max-width: 560px;
}

/* 15개월 할인 마케팅 카드 (메인 문구 바로 아래) */
.promo-card {
  margin: 28px 0 0;
  border: 1px solid #F1E4CE;
  border-radius: 20px;
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(62, 139, 255, 0.06), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, var(--w-milk) 100%);
  padding: 24px 26px;
  box-shadow: var(--w-shadow-md);
  max-width: 560px;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: "";
  position: absolute; inset: 0 auto 0 0; width: 5px;
  background: linear-gradient(180deg, var(--w-brand-2), var(--w-brand));
}
.promo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-badge {
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  color: #8A6A2F;
  background: #FFF3DC;
  border: 1px solid #F4E2C2;
  padding: 5px 11px; border-radius: 999px;
}
.promo-off {
  font-size: 12px; font-weight: 800; letter-spacing: .4px;
  color: var(--w-brand);
  background: var(--w-sky);
  padding: 6px 13px; border-radius: 999px;
}
.promo-main { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.promo-months { font-size: 27px; font-weight: 800; color: var(--w-ink); letter-spacing: -0.5px; }
.promo-price { font-size: 26px; font-weight: 800; color: var(--w-brand); letter-spacing: -0.4px; }
.promo-price-unit { font-size: 13px; font-weight: 600; color: var(--w-muted); margin-left: 4px; }
.promo-desc { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--w-muted); }
.promo-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.promo-foot .btn-navy { padding: 13px 22px; font-size: 14px; }
.promo-note { font-size: 12.5px; color: #96AABE; }

.hhero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ── Hero visual (light network card) ───────────────────────── */
.hhero-media { margin: 0; min-width: 0; }
.hhero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid #E3EEFB;
  box-shadow: 0 22px 56px rgba(23, 60, 120, 0.13);
  background: #F6FAFF;
}
.net-card {
  position: relative;
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F9FF 100%);
  border: 1px solid #E3EEFB;
  box-shadow: 0 26px 60px rgba(23, 60, 120, 0.10);
  overflow: hidden;
}
.net-card::after {
  content: "";
  position: absolute; top: -60px; right: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 139, 255, 0.16), rgba(62, 139, 255, 0) 68%);
  pointer-events: none;
}
.net-svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.net-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #E3EEFB;
  font-size: 12px; font-weight: 700; letter-spacing: .2px;
  color: var(--w-ink);
  box-shadow: 0 10px 24px rgba(23, 60, 120, 0.10);
  backdrop-filter: blur(6px);
}
.net-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--w-brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.net-chip .dot.mint { background: #12B886; box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.14); }
.net-chip-1 { top: 26px; left: 24px; }
.net-chip-2 { bottom: 24px; right: 20px; }

/* ── Download ───────────────────────────────────────────────── */
.dl-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; margin-top: 40px;
}
.dl-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 24px 22px;
  background: #FFFFFF;
  border: 1px solid var(--w-line); border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(23, 60, 120, 0.10);
  border-color: #D5E5F9;
}
.dl-card-off { opacity: .62; cursor: not-allowed; }
.dl-card-off:hover { transform: none; box-shadow: none; border-color: var(--w-line); }
.dl-plate {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--w-surface-2); border: 1px solid #E9F1FB;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.dl-icon { width: 30px; height: 30px; object-fit: contain; }
.dl-name { font-size: 15px; font-weight: 800; color: var(--w-ink); }
.dl-file { font-size: 12.5px; color: var(--w-muted); }

/* ── Features ───────────────────────────────────────────────── */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; margin-top: 44px;
}
.feat-card {
  background: #FFFFFF; border: 1px solid var(--w-line); border-radius: 18px;
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(23, 60, 120, 0.09);
  border-color: #D9E8F9;
}
.feat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(180deg, #F5FAFF 0%, #EAF3FF 100%);
  border: 1px solid #E2EEFC;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 18px;
}
.feat-title { font-size: 17px; font-weight: 800; color: var(--w-ink); margin: 0 0 8px; }
.feat-desc { font-size: 14px; line-height: 1.72; color: var(--w-muted); margin: 0; }

/* ── Pricing ────────────────────────────────────────────────── */
.price-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 44px;
}
.price-card {
  position: relative;
  background: #FFFFFF; border: 1px solid var(--w-line); border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(23, 60, 120, 0.08); }
.price-card-hot {
  border: 1.5px solid #BFD9FA;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.12);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 100%);
}
.price-ribbon {
  position: absolute; top: -12px; left: 24px;
  background: linear-gradient(180deg, var(--w-brand-2) 0%, var(--w-brand) 100%);
  color: #FFFFFF;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}
.price-term { font-size: 14px; font-weight: 700; color: var(--w-muted); }
.price-amount { font-size: 29px; font-weight: 800; color: var(--w-ink); letter-spacing: -0.6px; margin: 10px 0 16px; }
.price-card-hot .price-amount { color: var(--w-brand); }
.price-devices { list-style: none; margin: 0 0 22px; padding: 0; }
.price-devices li { font-size: 13px; color: var(--w-muted); padding: 6px 0; border-bottom: 1px dashed #EDF3FB; }
.price-btn { margin-top: auto; padding: 13px 18px; font-size: 14px; }
.price-card:not(.price-card-hot) .price-btn {
  background: #FFFFFF; color: var(--w-brand);
  border: 1.5px solid #C9DDF6;
  box-shadow: none;
}
.price-card:not(.price-card-hot) .price-btn:hover { background: var(--w-surface-2); transform: none; }

/* ── Steps ──────────────────────────────────────────────────── */
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.step-card {
  background: #FFFFFF; border: 1px solid var(--w-line); border-radius: 18px;
  padding: 30px 26px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--w-sky); color: var(--w-brand);
  font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border: 1px solid #D9E8FB;
}
.step-title { font-size: 16px; font-weight: 800; color: var(--w-ink); margin: 0 0 6px; }
.step-desc { font-size: 14px; line-height: 1.72; color: var(--w-muted); margin: 0; }

/* ── CTA ────────────────────────────────────────────────────── */
.hcta { padding: 0 0 100px; }
.hcta-box {
  background:
    radial-gradient(600px 300px at 92% 20%, rgba(62, 139, 255, 0.12), transparent 70%),
    radial-gradient(520px 280px at 8% 90%, rgba(18, 184, 134, 0.10), transparent 70%),
    linear-gradient(135deg, #F8FBFF 0%, #EEF7FF 100%);
  border: 1px solid #E0EDFB; border-radius: 26px;
  padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--w-shadow-md);
}
.hcta-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--w-ink); margin: 0; letter-spacing: -0.5px; }
.hcta-sub { margin: 10px 0 0; font-size: 15px; color: var(--w-muted); }

/* ── Footer ─────────────────────────────────────────────────── */
.hfooter {
  background: linear-gradient(180deg, #FBFDFF 0%, #F3F8FF 100%);
  border-top: 1px solid var(--w-line);
  padding: 68px 0 34px;
}
.hfooter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.hbrand { font-size: 20px; font-weight: 800; color: var(--w-ink); }
.hbrand span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--w-muted); }
.hfooter-desc { margin-top: 14px; font-size: 13.5px; line-height: 1.72; color: var(--w-muted); max-width: 340px; }
.hfooter-col h4 { font-size: 13px; font-weight: 800; color: var(--w-ink); margin: 0 0 14px; }
.hfooter-col ul { list-style: none; margin: 0; padding: 0; }
.hfooter-col li { margin-bottom: 9px; }
.hfooter-col a { font-size: 13px; color: var(--w-muted); }
.hfooter-col a:hover { color: var(--w-brand); }
.hfooter-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--w-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #93A8BC;
}

/* ── RTL (Arabic) ───────────────────────────────────────────── */
[dir="rtl"] .promo-card::before { left: auto; right: 0; }
[dir="rtl"] .price-ribbon { left: auto; right: 24px; }
[dir="rtl"] .hkicker::before { order: 2; }
[dir="rtl"] .hhero {
  background:
    radial-gradient(1100px 620px at 18% -12%, #E7F1FF 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(820px 520px at 106% 8%, #FFF6E9 0%, rgba(255, 255, 255, 0) 58%),
    #FFFFFF;
}
[dir="rtl"] .net-chip-1 { left: auto; right: 24px; }
[dir="rtl"] .net-chip-2 { right: auto; left: 20px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hhero { padding: 100px 0 64px; }
  .hhero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hhero-media { order: -1; }
  .feat-grid, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hfooter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hsect { padding: 66px 0; }
  .hhero { padding: 92px 0 52px; }
  .promo-card { padding: 20px; }
  .promo-months { font-size: 23px; }
  .promo-price { font-size: 21px; }
  .net-chip { font-size: 11px; padding: 7px 11px; }
  .feat-grid, .step-grid, .dl-grid, .price-grid { grid-template-columns: 1fr; }
  .hfooter-grid { grid-template-columns: 1fr; }
  .hcta-box { padding: 30px 24px; }
  .hcta-box .btn-navy { width: 100%; }
}

