*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1B3A6B;
  --navy-dark: #122850;
  --navy-light: #2a5298;
  --orange: #E05C00;
  --orange-hover: #c25000;
  --white: #ffffff;
  --gray-100: #f5f7fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --text: #212529;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.5px;
}

.site-logo span {
  color: var(--orange);
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--orange);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s;
}

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 20px 80px;
  text-align: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-official {
  background: var(--orange);
  color: var(--white);
}

.badge-ip64 {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.badge-weight {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  word-break: keep-all;
}

.hero-image-wrap {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 36px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-placeholder {
  display: none;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-hover);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== SECTION COMMON ===== */
section {
  padding: 72px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
  word-break: keep-all;
}

.section-sub {
  color: var(--gray-600);
  margin-bottom: 44px;
  font-size: 1rem;
  word-break: keep-all;
}

/* ===== GUIDE (App Connection) ===== */
.guide-section {
  background: var(--gray-100);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-content p {
  color: var(--gray-800);
  font-size: 0.95rem;
}

.step-tip {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: #fff3e6;
  border-left: 3px solid var(--orange);
  border-radius: 0 4px 4px 0;
  font-size: 0.88rem;
  color: var(--orange);
  font-weight: 700;
}

/* ===== SPEC CARDS ===== */
.spec-section {
  background: var(--white);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}

.spec-card {
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27,58,107,0.18);
  transition: transform 0.2s;
}

.spec-card:hover {
  transform: translateY(-4px);
}

.spec-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.spec-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.spec-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ===== SCENARIOS ===== */
.scenario-section {
  background: var(--gray-100);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}

.scenario-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.scenario-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.scenario-img.s1 { background: #d6e4f7; }
.scenario-img.s2 { background: #e8f5e9; }
.scenario-img.s3 { background: #e3f2fd; }

.scenario-body {
  padding: 24px;
}

.scenario-body h3 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.scenario-body p {
  font-size: 0.93rem;
  color: var(--gray-800);
  word-break: keep-all;
}

.scenario-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 12px;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===== COMPARISON TABLE ===== */
.compare-section {
  background: var(--white);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

thead tr {
  background: var(--navy);
  color: var(--white);
}

thead th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

thead th:first-child {
  text-align: left;
}

thead th.col-alpha {
  background: var(--orange);
}

tbody tr {
  border-bottom: 1px solid var(--gray-200);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: var(--gray-100);
}

tbody td {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.93rem;
}

tbody td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
}

tbody td.col-alpha {
  background: #eef3fb;
  color: var(--navy);
  font-weight: 700;
}

.check-yes {
  color: #16a34a;
  font-weight: 700;
}

.check-partial {
  color: var(--gray-600);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--gray-100);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform 0.3s, background 0.2s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-800);
  font-size: 0.95rem;
  line-height: 1.8;
  word-break: keep-all;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--orange);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-section .section-title {
  color: var(--white);
}

.price-block {
  margin: 0 auto 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.price-original {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
}

.price-sale {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--orange);
}

.price-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-naver {
  background: #03C75A;
  color: var(--white);
}

.btn-naver:hover {
  background: #02b050;
}

.btn-godo {
  background: var(--white);
  color: var(--navy);
}

.btn-godo:hover {
  background: var(--gray-200);
}

/* ===== INTERNAL LINKS ===== */
.internal-section {
  background: var(--white);
  padding: 60px 20px;
}

.internal-section .section-title {
  margin-bottom: 28px;
}

.internal-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .internal-links-grid {
    grid-template-columns: 1fr;
  }
}

.internal-link-card {
  display: block;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.internal-link-card:hover {
  background: var(--navy);
  color: var(--white);
}

.internal-link-card .link-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.internal-link-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s;
}

.internal-link-card:hover h3 {
  color: var(--white);
}

.internal-link-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 4px;
  transition: color 0.2s;
}

.internal-link-card:hover p {
  color: rgba(255,255,255,0.75);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 36px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--orange);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== STICKY CTA BAR ===== */
#sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--navy-dark);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
}

.sticky-text {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.sticky-price {
  color: var(--orange);
  font-weight: 900;
}

.sticky-btn-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 6px;
}

@media (max-width: 480px) {
  .sticky-text {
    font-size: 0.82rem;
  }

  .sticky-btn-group {
    gap: 6px;
  }

  .btn-sm {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
