/* 세븐클라우드 공통 디자인 시스템 CSS (White, Royal Blue & Classic Gold 테마) */

:root {
  --bg: #ffffff;
  --bg2: #f7f9fc;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --text: #12141c;
  --muted: #646a82;
  --blue: #0052ff;
  --gold: #c5a059;
  --purple: #8b5cf6;
  --green: #10b981;
  --cyan: #06b6d4;
  --red: #ef4444;
  --orange: #f97316;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.en {
  font-family: 'Space Grotesk', 'Pretendard Variable', sans-serif;
  letter-spacing: .02em;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

a {
  color: inherit;
}

/* ===== 헤더 ===== */
.utilbar {
  background: #f7f9fc;
  border-bottom: 1px solid var(--glass-border);
  font-size: 12.5px;
}

.utilbar .in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 40px;
}

.utilbar a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}

.utilbar a:hover {
  color: var(--blue);
}

.util-l {
  display: flex;
  align-items: center;
}

.util-l a {
  padding: 0 14px;
  border-left: 1px solid var(--glass-border);
}

.util-l a:first-child {
  border-left: 0;
  padding-left: 0;
}

.util-r {
  display: flex;
  align-items: center;
  gap: 6px;
}

.util-r .sep {
  color: rgba(0, 0, 0, 0.1);
}

.util-r a.hot {
  color: var(--text);
  font-weight: 700;
}

.brandbar {
  background: #ffffff;
  border-bottom: 1px solid var(--glass-border);
}

.brandbar .in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.brand small {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--gold);
  font-weight: 700;
}

.brand .name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 21px;
}

.logo-mark {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  position: relative;
  background: conic-gradient(from 210deg, var(--blue), var(--gold), var(--purple), var(--blue));
  box-shadow: 0 0 12px rgba(0, 82, 255, 0.25);
}

.logo-mark::after {
  content: "7";
  position: absolute;
  inset: 2px;
  background: var(--bg);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick::-webkit-scrollbar {
  display: none;
}

.qbtn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  transition: .25s;
  white-space: nowrap;
}

.qbtn:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.1);
}

.qbtn .ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.qbtn.doc .ico {
  background: rgba(0, 82, 255, 0.08);
  color: var(--blue);
}

.qbtn.est .ico {
  background: rgba(197, 160, 89, 0.08);
  color: var(--gold);
}

.qbtn.kko .ico {
  background: #FEE500;
  color: #191919;
}

.qbtn.nvr .ico {
  background: #03C75A;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.gnb {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
}

.gnb .in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gnb .in::-webkit-scrollbar {
  display: none;
}

.gnb a {
  position: relative;
  flex: 0 0 auto;
  color: #3b4256;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px; /* 폰트크기에 맞춘 패딩 */
  margin: 10px 2px;
  border: 1px solid transparent; /* 동그란 선 기본 투명 */
  border-radius: 99px; /* 동그란 형태 */
  transition: all .2s;
  white-space: nowrap;
}

.gnb a:hover, .gnb a.on {
  color: var(--blue);
  border: 1px solid var(--blue); /* 폰트크기에 맞춰 감싸는 동그란 선 */
  background: rgba(0, 82, 255, 0.05);
}

.gnb a::after {
  display: none; /* 기존 밑줄 제거 */
}

.gnb a:hover::after, .gnb a.on::after {
  transform: scaleX(1);
}

.gnb .tag {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag.b {
  background: rgba(0, 82, 255, 0.08);
  color: var(--blue);
  border: 1px solid rgba(0, 82, 255, 0.25);
}

.tag.r {
  background: rgba(239, 68, 68, 0.08);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ===== 페이지 공통 ===== */
.pagehead {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 20px 10px;
  text-align: center;
}

.pagehead .crumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.pagehead .crumb b {
  color: var(--text);
}

.pagehead h1 {
  font-size: clamp(26px, 5.5vw, 42px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.pagehead h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--blue), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pagehead p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 600px;
  margin: 12px auto 0;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 90px;
}

.sect-t {
  font-size: 19px;
  font-weight: 800;
  margin: 44px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sect-t::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--blue);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: .25s;
  font-family: inherit;
}

.chip.on {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.25);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media(min-width:640px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width:1025px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid.g4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid.g2 {
    grid-template-columns: 1fr 1fr;
  }
}

.gcard {
  border-radius: var(--radius);
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  transition: .25s;
  position: relative;
  overflow: hidden;
}

.gcard:hover {
  transform: translateY(-4px);
  border-color: var(--c, var(--blue));
  box-shadow: 0 12px 40px rgba(0, 82, 255, 0.08);
}

.gcard .no {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c, var(--blue));
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gcard h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.gcard p {
  font-size: 13.5px;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(0, 82, 255, 0.6);
  background: linear-gradient(135deg, var(--blue), #0040cc);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.2);
  transition: .2s;
  font-family: inherit;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.3);
}

.cta.orange {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), #af8a3f);
  color: #fff;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: .04em;
}

.badge.hot {
  color: #fff;
  background: var(--red);
}

.badge.new {
  color: #fff;
  background: var(--green);
}

.badge.sale {
  color: #fff;
  background: var(--blue);
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec th, .spec td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
}

.spec th {
  color: #3b4256;
  background: #f7f9fc;
  font-weight: 700;
  white-space: nowrap;
}

.spec td {
  color: var(--muted);
}

.spec td b {
  color: var(--text);
}

.field {
  margin-bottom: 16px;
  position: relative;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #3b4256;
  margin-bottom: 7px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  outline: none;
  font-family: inherit;
  transition: .25s;
  appearance: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

.field .caret {
  position: absolute;
  right: 16px;
  bottom: 16px;
  pointer-events: none;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ===== 플로팅 카카오 ===== */
.kakao {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 999px;
  background: #FEE500;
  color: #191919;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(254, 229, 0, 0.2);
  transition: transform .2s;
}

.kakao:hover {
  transform: translateY(-2px);
}

/* ===== 푸터 ===== */
footer {
  border-top: 1px solid var(--glass-border);
  background: #11131e;
  padding: 56px 20px;
  font-size: 13px;
  color: #8c92a6;
}

footer .f-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer .brand {
  color: #ffffff;
}

footer .brand small {
  color: var(--gold);
}

footer .f-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer .f-links a {
  text-decoration: none;
  color: #c0c5d6;
  font-weight: 700;
  transition: color 0.2s;
}

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

footer p {
  line-height: 1.7;
}

.sol .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
}
.sol .thumb::before { z-index: 2; }


/* ---------- Header CSS (Injected from v2) ---------- */
header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:var(--bg);border-bottom:1px solid var(--glass-border);
  transition:background .3s,border-color .3s,backdrop-filter .3s;
}
header.stuck{
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.utill{
  display:flex;justify-content:flex-end;align-items:center;padding:0 20px;
  height:32px;font-size:11.5px;font-weight:600;border-bottom:1px solid var(--glass-border);
}
.utill a{color:var(--muted);text-decoration:none;padding:0 8px;transition:.2s}
.utill a:hover{color:var(--text)}
.utill .sep{color:var(--glass-border);margin:0 2px}
.utill .hot{color:#ff4d4d}

.hmain{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:var(--header-h)}
.brand{text-decoration:none}
.brand small{font-family:'Space Grotesk',sans-serif;font-size:10px;letter-spacing:.28em;color:var(--muted)}
.brand .name{display:flex;align-items:center;gap:9px;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:22px;color:var(--text)}
.logo-mark{width:28px;height:28px;border-radius:8px;position:relative;background:conic-gradient(from 210deg,var(--blue),var(--purple),var(--green),var(--blue));box-shadow:0 0 16px rgba(61,123,255,.55)}
.logo-mark::after{content:"7";position:absolute;inset:2px;background:var(--bg);border-radius:6px;display:grid;place-items:center;font-size:14px;font-weight:700;color:var(--text)}

.quick{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.quick::-webkit-scrollbar{display:none}
.qbtn{flex:0 0 auto;display:flex;align-items:center;gap:9px;padding:10px 16px;border-radius:999px;text-decoration:none;font-size:13.5px;font-weight:700;color:var(--text);background:var(--glass);border:1px solid var(--glass-border);transition:.25s;white-space:nowrap}
.qbtn:hover{transform:translateY(-2px)}
.qbtn .ico{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.qbtn.doc .ico{background:rgba(61,123,255,.18);color:var(--blue)}
.qbtn.kko .ico{background:#FEE500;color:#191919}
.qbtn.nvr .ico{background:#03C75A;color:var(--text);font-weight:800;font-size:15px}

.gnb{background:rgba(0,0,0,0.02);border-bottom:1px solid var(--glass-border);padding:10px 0}
.gnb .in{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;overflow-x:auto;scrollbar-width:none}
.gnb .in::-webkit-scrollbar{display:none}
.gnb a{white-space:nowrap; flex:0 0 auto;text-decoration:none;color:var(--muted);font-size:14.5px;font-weight:700;padding:8px 16px;border-radius:12px;transition:.2s;display:flex;align-items:center;gap:8px}
.gnb a:hover{color:var(--text);background:var(--glass)}
.gnb a.on{color:#fff;background:var(--blue)}
.gnb .tag{position:static; transform:none; display:inline-block; font-size:10px;padding:3px 8px;border-radius:6px;font-weight:800;letter-spacing:.05em}
.gnb .tag.b{background:rgba(61,123,255,.15);color:#8bb0ff}
.gnb .tag.r{background:rgba(255,77,77,.15);color:#ff8b8b}

/* =========================================
   SC AUTH MODAL STYLES
========================================= */
.sc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sc-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.sc-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 32px 32px 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.2) inset;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.sc-modal-overlay.active .sc-modal-card {
  transform: translateY(0) scale(1);
}
.sc-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0,0,0,0.05);
  border-radius: 50%;
  font-size: 20px;
  color: var(--muted, #64748b);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.sc-modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: var(--text, #334155);
}
.sc-modal-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}
.sc-modal-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: var(--muted, #64748b);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.sc-modal-tab.active {
  background: #ffffff;
  color: var(--blue, #3b82f6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sc-modal-form {
  display: flex;
  flex-direction: column;
}
.sc-form-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text, #334155);
  letter-spacing: -0.02em;
}
.sc-form-subtitle {
  font-size: 14px;
  color: var(--muted, #64748b);
  margin-bottom: 24px;
}
.accent-text {
  color: var(--blue, #3b82f6);
}
.sc-field {
  margin-bottom: 16px;
}
.sc-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text, #334155);
}
.sc-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
  background: #f8fafc;
}
.sc-field input:focus {
  border-color: var(--blue, #3b82f6);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.sc-error-msg {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 16px;
  min-height: 18px;
  font-weight: 600;
}
.sc-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  background: var(--blue, #3b82f6);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.sc-submit-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
