﻿@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --bg: #0a1214;
  --bg-soft: #0f1a1c;
  --bg-card: #152428;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.14);
  --teal: #14b8a6;
  --teal-light: #5eead4;
  --coral: #f97316;
  --coral-light: #fdba74;
  --accent: var(--teal);
  --accent-2: var(--coral);
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(20, 184, 166, 0.14), transparent),
    radial-gradient(ellipse 55% 40% at 100% 100%, rgba(249, 115, 22, 0.1), transparent);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  padding-bottom: 92px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.04);
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.robot-carousel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.top-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 clamp(14px, 4vw, 40px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.top-strip::-webkit-scrollbar { display: none; }
.top-strip a {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.top-strip a:hover {
  color: var(--teal-light);
  border-bottom-color: var(--teal);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(14px, 4vw, 40px);
  background: rgba(10, 18, 20, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.brand span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal), var(--coral));
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
  display: grid;
  place-items: center;
}
.brand span::after {
  content: "₩";
  color: #0a1214;
  font-weight: 900;
  font-size: 17px;
}
.brand b { color: var(--text); }
.phone-note {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-light);
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a,
.nav-dd-btn {
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 0;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-dd-btn:hover {
  color: var(--text);
  background: rgba(20, 184, 166, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text);
  place-items: center;
  margin-left: auto;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: 0.2s;
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(90deg); }
.menu-toggle[aria-expanded="true"] span::after { opacity: 0; }

.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  min-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
  z-index: 90;
}
.nav-dd-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}
.nav-dd-menu a:hover {
  background: rgba(249, 115, 22, 0.12);
  color: var(--text);
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu { display: grid; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 9vw, 100px) clamp(14px, 5vw, 48px);
}
.hero-media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(20, 184, 166, 0.22);
  box-shadow: var(--shadow), 0 0 0 1px rgba(249, 115, 22, 0.08);
  background: var(--bg-card);
  order: -1;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.kicker {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--teal-light);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.28);
}
.hero h1 {
  margin: 18px 0;
  font-size: clamp(30px, 4.8vw, 50px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
.hero p {
  max-width: 520px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
  line-height: 1.85;
  word-break: keep-all;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--bg-soft), #122022, var(--bg-soft));
}
.marquee div {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marq 28s linear infinite;
}
.marquee span {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-light);
  white-space: nowrap;
}
.marquee span::before {
  content: "● ";
  color: var(--teal);
  font-size: 7px;
  vertical-align: middle;
}

.band { padding: clamp(52px, 8vw, 92px) clamp(14px, 5vw, 48px); }
.band-a { background: var(--bg-soft); }
.band-b { background: var(--bg); }
.band-c {
  background: linear-gradient(165deg, #0d181a 0%, var(--bg) 55%, #121f22 100%);
}
.band-d { background: var(--bg-soft); }
.band-e { background: var(--bg); }

.section-head { max-width: 740px; margin-bottom: 36px; }
.section-head small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  word-break: keep-all;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  word-break: keep-all;
}

.live-list,
.timeline,
.faq-grid,
.scroll-cards,
.link-scroll {
  display: grid;
  gap: 16px;
}
.live-list { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.timeline { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.faq-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.scroll-cards,
.link-scroll { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

.live-list { list-style: none; padding: 0; margin: 0; }

.live-list li,
.info-card,
.timeline article,
.faq,
.link-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.live-list li:hover,
.info-card:hover,
.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.08);
}

.live-list li { padding: 22px; }
.live-list b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.live-list span { font-size: 13px; color: var(--muted); }

.info-card { padding: 24px; }
.info-card span {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 10px;
}
.info-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.info-card p { margin: 0; font-size: 14px; color: var(--muted); word-break: keep-all; }

.timeline article { padding: 24px; }
.timeline b {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-light);
  margin-bottom: 10px;
}
.timeline article h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.timeline article p { margin: 0; font-size: 14px; color: var(--muted); }

.link-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 210px;
}
.link-card-badge {
  display: grid;
  place-items: center;
  aspect-ratio: 16/7;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, #1a3034, #243a40);
  border-bottom: 1px solid var(--line);
}
.link-card strong {
  display: block;
  padding: 18px 20px 8px;
  font-size: 16px;
  font-weight: 700;
}
.link-card span {
  display: block;
  padding: 0 20px 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.card-shinhan .link-card-badge { background: linear-gradient(135deg, #1a3a8f, #2f6bff); }
.card-samsung .link-card-badge { background: linear-gradient(135deg, #1a2878, #3b5bd9); }
.card-kookmin .link-card-badge { background: linear-gradient(135deg, #8a6800, #d4a017); color: #1a1200; }
.card-hana .link-card-badge { background: linear-gradient(135deg, #0a6058, #14b8a6); }
.card-woori .link-card-badge { background: linear-gradient(135deg, #1a5a8a, #2b8fd6); }
.card-lotte .link-card-badge { background: linear-gradient(135deg, #8a1820, #f5454c); }
.card-hyundai .link-card-badge { background: linear-gradient(135deg, #3a3a3a, #888); }
.card-nh .link-card-badge { background: linear-gradient(135deg, #8a6000, #ffc233); color: #1a1200; }
.card-bc .link-card-badge { background: linear-gradient(135deg, #8a2018, #f5564b); }
.card-cash .link-card-badge,
.card-kkang .link-card-badge { background: linear-gradient(135deg, #0d4f4a, #14b8a6); }
.card-hub .link-card-badge { background: linear-gradient(135deg, #2a1f3d, #a855f7); }
.card-sitemap .link-card-badge { background: linear-gradient(135deg, #1a3034, #f97316); }
.card-default .link-card-badge { background: linear-gradient(135deg, #1a3034, #334155); }

.faq { padding: 0; overflow: hidden; }
.faq summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  word-break: keep-all;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 400;
}
.faq[open] summary::after { content: "−"; }
.faq p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--muted);
  word-break: keep-all;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 36px clamp(14px, 5vw, 48px);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer a { color: var(--teal-light); font-weight: 600; }

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 150;
  padding: 15px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), #0d9488);
  color: #042f2e;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 36px rgba(20, 184, 166, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.floating-cta:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 14px 44px rgba(20, 184, 166, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.brand-shinhan { --accent: #2f6bff; --accent-2: #6f9bff; }
body.brand-samsung { --accent: #3b5bd9; --accent-2: #7088ff; }
body.brand-kookmin { --accent: #d4a017; --accent-2: #f0c84a; }
body.brand-hana { --accent: #14b8a6; --accent-2: #5eead4; }
body.brand-woori { --accent: #2b8fd6; --accent-2: #6bb6e8; }
body.brand-lotte { --accent: #f5454c; --accent-2: #ff7a80; }
body.brand-hyundai { --accent: #9a9a9a; --accent-2: #c8c8c8; }
body.brand-nh { --accent: #ffc233; --accent-2: #ffd866; }
body.brand-bc { --accent: #f5564b; --accent-2: #ff8278; }

body[class*="brand-"] .kicker {
  color: var(--accent-2);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
body[class*="brand-"] .section-head small { color: var(--accent-2); }
body[class*="brand-"] .brand span {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
}

@keyframes marq { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }
  .hero-media {
    max-width: 420px;
    margin: 0 auto;
    order: -1;
  }
  .phone-note { order: 3; flex: 1 1 100%; font-size: 12px; }
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: 76px 12px auto 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { text-align: center; background: rgba(255,255,255,0.04); }
  .nav-dd { width: 100%; }
  .nav-dd-btn { width: 100%; text-align: left; }
  .nav-dd-menu {
    position: static;
    display: grid;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 6px 0 0;
    background: transparent;
  }
  .footer { flex-direction: column; }
  .floating-cta {
    left: 12px;
    right: 12px;
    transform: none;
    text-align: center;
    width: auto;
  }
  .floating-cta:hover { transform: translateY(-3px); }
}

@media (max-width: 420px) {
  .top-strip a { font-size: 11px; padding: 10px 12px; }
  .hero h1 { font-size: 27px; }
}
