/* ===================================================================
   sk선불폰.com — shared stylesheet
   Palette : Red #E4002B / Red-dark #8C0C18 / Orange #FF6B00 / White
             Peach tint #FFEDE0 / Kakao Yellow #FEE500 (CTA only)
   Type    : Pretendard, weight-driven hierarchy (900 display / 400-700 body)
=================================================================== */

:root {
  --red: #E4002B;
  --red-dark: #8C0C18;
  --red-soft: #C8102E;
  --orange: #FF6B00;
  --white: #FFFFFF;
  --mist: #FFF8F5;
  --peach: #FFEDE0;
  --line: #F1DED2;
  --text: #241209;
  --text-soft: #7A5F52;
  --yellow: #FEE500;
  --yellow-ink: #3C1E00;

  --sk-color: #FF6C00;
  --kt-color: #E6001E;
  --lg-color: #E6007E;
  --fiveg-color: #6D28D9;

  --font-display: "Pretendard", sans-serif;
  --font-body: "Pretendard", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--red);
  padding: 6px 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.25);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img { height: 76px; width: auto; display: block; }
.header-cta {
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 96px 0 76px;
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero .wrap { width: 100%; }
.hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: var(--orange);
  opacity: 0.35;
  border-radius: 50%;
}
.hero::before {
  content: "";
  position: absolute;
  left: -100px; bottom: -140px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(254,229,0,0.14) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trust-item {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFE3D6;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Hero visual: stylized card mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card-mock {
  position: relative;
  width: 260px;
  background: linear-gradient(150deg, var(--orange) 0%, var(--red-dark) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.5);
  transform: rotate(4deg);
}
.hero-card-mock-top { display: flex; justify-content: space-between; font-size: 15px; opacity: 0.9; margin-bottom: 36px; }
.hero-card-chip {
  width: 38px; height: 28px;
  background: linear-gradient(135deg, var(--yellow), #FFD54F);
  border-radius: 6px;
  margin-bottom: 18px;
}
.hero-card-label { font-size: 11px; letter-spacing: 0.12em; color: #FFD9C4; margin: 0 0 6px; }
.hero-card-number { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.05em; margin: 0; }
.hero-check-badge {
  position: absolute;
  right: -14px; bottom: -14px;
  background: var(--white);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 20px -6px rgba(0,0,0,0.35);
  display: flex; align-items: center; gap: 5px;
  transform: rotate(-4deg);
}

.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(254,229,0,0.14);
  border: 1px solid rgba(254,229,0,0.45);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.35;
  margin: 0 0 16px;
  position: relative;
}
.hero p.lead {
  font-size: 16px;
  color: #FFE3D6;
  margin: 0 0 20px;
  max-width: 48ch;
  position: relative;
}

.carrier-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  position: relative;
}
.carrier-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.26);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(254,229,0,0.5);
  position: relative;
}

/* ---------- Section shell ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--mist); }
.section-head { margin-bottom: 30px; }
.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 13px;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.3px;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--red-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}
.section p.section-desc {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
}

/* ---------- Icon circle ---------- */
.icon-circle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--red); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: 0 2px 10px -6px rgba(140,12,24,0.12);
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.3px;
  background: var(--peach);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.step-body h3 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.step-body p { margin: 0; font-size: 13.5px; color: var(--text-soft); }

/* ---------- Usim cards ---------- */
.usim-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usim-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.usim-card:hover { box-shadow: 0 6px 18px -8px rgba(140,12,24,0.25); border-color: var(--red); }
.usim-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.usim-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.usim-card-body { padding: 12px 14px 14px; }
.usim-card-top { margin-bottom: 10px; }
.usim-carrier-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 2px 9px; border-radius: 99px;
  margin-bottom: 6px;
}
.badge-kt-usim { background: #E0F7FA; color: #00838F; }
.badge-lg-usim { background: #FCE4EC; color: #C2185B; }
.badge-sk-usim { background: #FFF3E0; color: #E65100; }
.usim-name-row { display: flex; flex-direction: column; gap: 2px; }
.usim-card-name { font-size: 13.5px; font-weight: 800; color: var(--text); line-height: 1.3; margin: 0; min-height: 2.6em; display: flex; align-items: center; }
.usim-card-price { font-family: var(--font-display); font-size: 15px; font-weight: 900; color: var(--red); letter-spacing: -0.3px; }
.usim-color-hint { font-size: 11px; color: var(--text-soft); margin-top: 4px; display: block; }
.usim-where { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.usim-where-label { font-size: 10.5px; font-weight: 700; color: var(--text-soft); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.05em; }
.usim-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.usim-logo-item {
  height: 36px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
}
.usim-logo-item img { max-height: 24px; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; }

@media (max-width: 720px) {
  .usim-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .usim-card-name { font-size: 12.5px; }
  .usim-card-price { font-size: 14px; }
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  font-size: 14.5px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 18px 16px; font-size: 14px; color: var(--text-soft); margin: 0; }

/* ---------- Info cards (ItemList section) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  box-shadow: 0 2px 10px -6px rgba(140,12,24,0.14);
  transition: box-shadow 0.2s, transform 0.2s;
}
.info-card:hover { box-shadow: 0 10px 22px -8px rgba(140,12,24,0.3); transform: translateY(-2px); }
.info-card-img { aspect-ratio: 1/1; background: var(--peach); }
.info-card-img img { width: 100%; height: 100%; object-fit: cover; }
.info-card-title { padding: 14px 16px 18px; font-size: 14.5px; font-weight: 700; line-height: 1.45; }

@media (max-width: 860px) {
  .card-grid {
    display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .card-grid::-webkit-scrollbar { height: 6px; }
  .card-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
  .info-card { flex: 0 0 150px; scroll-snap-align: start; }
}

/* ---------- Plan carousel ---------- */
.plan-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.plan-tab {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.plan-tab:hover { border-color: var(--red); color: var(--red); }
.plan-tab.active[data-idx="0"] { background: var(--sk-color); border-color: var(--sk-color); color: var(--white); }
.plan-tab.active[data-idx="1"] { background: var(--kt-color); border-color: var(--kt-color); color: var(--white); }
.plan-tab.active[data-idx="2"] { background: var(--lg-color); border-color: var(--lg-color); color: var(--white); }
.plan-tab.active[data-idx="3"] { background: var(--fiveg-color); border-color: var(--fiveg-color); color: var(--white); }

.plan-slider-wrap { overflow: hidden; }
.plan-track { display: flex; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.plan-slide { min-width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 4px 2px; }
.plan-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 15px;
  box-shadow: 0 2px 10px -6px rgba(140,12,24,0.12);
}
.plan-slide[data-carrier="sk"] .plan-card { border-top-color: var(--sk-color); }
.plan-slide[data-carrier="kt"] .plan-card { border-top-color: var(--kt-color); }
.plan-slide[data-carrier="lg"] .plan-card { border-top-color: var(--lg-color); }
.plan-name { font-size: 14.5px; font-weight: 800; margin: 0 0 6px; }
.plan-popular-badge {
  position: absolute; top: -9px; left: 14px;
  background: var(--yellow); color: var(--yellow-ink);
  font-size: 10.5px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 2px 6px -2px rgba(0,0,0,0.25);
}
.plan-spec { font-size: 12px; color: var(--text-soft); margin: 0 0 14px; line-height: 1.55; min-height: 55px; }
.plan-price-new { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--red); }
.plan-price-new small { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; }

.plan-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.plan-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  color: var(--text-soft); font-size: 15px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.plan-arrow:hover { border-color: var(--red); color: var(--red); }
.plan-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media (max-width: 720px) { .plan-slide { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.plan-slide-single { display: flex; justify-content: center; }
.plan-card-5g {
  max-width: 320px; width: 100%;
  border-top-color: var(--fiveg-color) !important;
  background: linear-gradient(160deg, #F5F3FF 0%, var(--white) 60%);
  text-align: center;
}
.plan-5g-badge {
  display: inline-block; background: var(--fiveg-color); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.plan-card-5g .plan-name { font-size: 17px; }
.plan-card-5g .plan-price-new { font-size: 26px; }
.plan-5g-note { font-size: 11.5px; color: var(--text-soft); margin-top: 12px; }

/* ---------- Plan table (subpages) ---------- */
.plan-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; font-size: 13.5px;
}
.plan-table th, .plan-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.plan-table th { background: var(--peach); color: var(--red-dark); font-family: var(--font-display); font-weight: 800; font-size: 12.5px; }
.plan-table tr:last-child td { border-bottom: none; }

/* ---------- Callout box (general info box) ---------- */
.callout-box {
  background: var(--peach);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 14px;
}
.callout-box p { margin: 0; font-size: 14px; color: var(--text-soft); }
.callout-box strong { color: var(--red-dark); }

/* ---------- Bottom CTA ---------- */
.bottom-cta { background: var(--red-dark); color: var(--white); padding: 48px 0; text-align: center; }
.bottom-cta h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.3px; font-size: clamp(20px, 4vw, 26px); margin: 0 0 10px; }
.bottom-cta p { color: #FFD3BE; margin: 0 0 22px; font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--red-dark); color: #D9A99A; font-size: 12.5px; padding: 28px 0 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer .biz-info p { margin: 3px 0; }
.site-footer .biz-info strong { color: #FFD3BE; }
.site-footer .disclaimer { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; color: #B5766A; }
.site-footer .footer-copy { margin-top: 14px; font-size: 11px; color: #9C6459; }

/* ---------- Breadcrumb (subpages) ---------- */
.breadcrumb { font-size: 12.5px; color: var(--text-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--red); text-decoration: none; }

/* ---------- Floating Kakao button ---------- */
.floating-kakao {
  position: fixed; right: 18px; bottom: 22px;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.35);
  z-index: 50;
}
.floating-kakao svg { width: 26px; height: 26px; }

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .hero { padding: 44px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
