/* =====================================================================
   간다GO — Premium Design System
   Pretendard + Design Tokens (Premium Palette) + Component Overlays
   ===================================================================== */

@font-face {
  font-family: "Pretendard";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/woff2/PretendardVariable.woff2") format("woff2-variations");
}

/* ---------------------------------------------------------------------
   1. Design Tokens — Premium Palette
   The base token system is kept; the *values* are swapped for a
   premium deep-charcoal + amber/gold palette to match the brand hero.
   --------------------------------------------------------------------- */
:root {
  /* Brand — amber / orange gradient stops */
  --brand-500: #ff7a18;
  --brand-400: #ff8f3d;
  --brand-300: #ffa657;
  --brand-600: #f26a0a;
  --brand-700: #cf5605;
  --brand-glow: rgba(255, 122, 24, 0.45);
  --brand-gradient: linear-gradient(135deg, #ff8f3d 0%, #ff7a18 55%, #f26a0a 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(255,143,61,0.16), rgba(255,122,24,0.06));

  /* Accent — refined gold for premium detailing */
  --gold-400: #e8c07a;
  --gold-500: #d8a94f;

  /* Neutral surfaces — deep charcoal-navy */
  --bg-900: #0b0f16;   /* page background */
  --bg-850: #0e131c;
  --bg-800: #121826;   /* base surface */
  --bg-750: #161d2c;
  --surface: #151c2a;
  --surface-2: #1b2434;
  --surface-3: #212c40;
  --overlay: rgba(255, 255, 255, 0.04);
  --overlay-strong: rgba(255, 255, 255, 0.08);

  /* Text */
  --text-100: #f6f8fc;
  --text-200: #dce3ee;
  --text-300: #aab4c6;
  --text-400: #7f8aa0;
  --text-inverse: #0b0f16;

  /* Lines */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-brand: rgba(255, 122, 24, 0.55);

  /* Feedback */
  --success: #34d399;
  --danger: #f87171;

  /* Radius */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 12px 34px rgba(255, 122, 24, 0.32);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Type */
  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --fs-hero: clamp(2rem, 5vw, 3.25rem);
  --fs-h1: clamp(1.7rem, 3.5vw, 2.5rem);
  --fs-h2: clamp(1.35rem, 2.6vw, 1.9rem);
  --fs-h3: clamp(1.1rem, 1.8vw, 1.35rem);
  --fs-lead: clamp(1rem, 1.4vw, 1.15rem);
  --container: 1120px;
}

/* ---------------------------------------------------------------------
   2. Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(255,122,24,0.12), transparent 60%),
    radial-gradient(900px 500px at 8% 4%, rgba(70,110,200,0.10), transparent 55%),
    var(--bg-900);
  color: var(--text-200);
  line-height: 1.72;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--text-100); line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.15em; }
li { margin-bottom: var(--space-2); }
strong { color: var(--text-100); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-7); }
.center { text-align: center; }
.muted { color: var(--text-400); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--space-3);
}
.lead { font-size: var(--fs-lead); color: var(--text-300); }
.brand-text { color: var(--brand-400); }

/* ---------------------------------------------------------------------
   3. Buttons — component overlay
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.98rem;
  border: 1px solid var(--border-strong);
  color: var(--text-100);
  background: var(--overlay);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-brand); }
.btn--primary {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 16px 42px rgba(255,122,24,0.42); }
.btn--ghost { background: transparent; border-color: var(--border-brand); color: var(--brand-300); }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   4. Header / Nav
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(11, 15, 22, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand-lockup { display: flex; align-items: center; gap: 0.6em; font-weight: 800; font-size: 1.15rem; color: var(--text-100); letter-spacing: -0.03em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand-gradient);
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 0.85rem;
  box-shadow: var(--shadow-brand);
}
.nav-links { display: flex; gap: var(--space-5); align-items: center; }
.nav-links a { font-size: 0.94rem; color: var(--text-300); font-weight: 600; transition: color .15s ease; }
.nav-links a:hover { color: var(--text-100); }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-tel { font-weight: 800; color: var(--brand-300); font-size: 0.95rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-100); cursor: pointer; padding: 6px; }
@media (max-width: 860px) {
  .nav-links, .nav-tel { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--bg-850); border-bottom: 1px solid var(--border);
    padding: var(--space-4) var(--space-5); gap: var(--space-3);
  }
}

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); position: relative; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; margin-bottom: var(--space-4); }
.hero .lead { max-width: 44ch; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-6); }
.hero-media {
  margin: var(--space-7) auto 0;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 -60px 80px -40px rgba(11,15,22,0.7);
  pointer-events: none;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}
@media (max-width: 560px) { .hero-media img { aspect-ratio: 4 / 3; } }

/* ---------------------------------------------------------------------
   6. Cards & grids — component overlays
   --------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-800));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-brand); box-shadow: var(--shadow-md); }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.card p { color: var(--text-300); font-size: 0.95rem; margin-bottom: var(--space-3); }
.card-link { color: var(--brand-300); font-weight: 700; font-size: 0.92rem; }
.card-link::after { content: " →"; }

/* Link chips (internal-link clusters) */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; align-items: center;
  padding: 0.5em 0.95em; border-radius: var(--radius-pill);
  background: var(--overlay); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 600; color: var(--text-200);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--border-brand); color: var(--brand-300); background: var(--brand-gradient-soft); }

/* ---------------------------------------------------------------------
   7. Pricing cards (hero pattern from brand reference)
   --------------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.price-card {
  position: relative; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-800));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}
.price-card--featured {
  border-color: var(--border-brand);
  box-shadow: var(--shadow-brand), inset 0 0 0 1px rgba(255,122,24,0.18);
  background: linear-gradient(180deg, rgba(255,122,24,0.08), var(--bg-800));
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-gradient); color: #fff;
  font-size: 0.78rem; font-weight: 800; padding: 0.35em 1em; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brand);
}
.price-card h3 { font-size: 1.2rem; }
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--text-100); }
.price-amount small { font-size: 1rem; font-weight: 600; color: var(--text-300); }
.price-min { color: var(--brand-300); font-weight: 700; margin-block: var(--space-2); }
.price-desc { color: var(--text-300); font-size: 0.92rem; min-height: 2.6em; }

/* ---------------------------------------------------------------------
   8. Prose / article body
   --------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--space-7); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--space-5); }
.prose > p, .prose > ul, .prose > ol { color: var(--text-300); }
.prose ul li::marker { color: var(--brand-400); }

.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--brand-500);
  background: var(--brand-gradient-soft);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  margin-block: var(--space-5);
}
.callout--warn { border-left-color: var(--danger); background: rgba(248,113,113,0.06); }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-400); padding-top: var(--space-5); }
.breadcrumb a { color: var(--text-300); }
.breadcrumb a:hover { color: var(--brand-300); }
.breadcrumb span { margin-inline: 0.4em; }

/* FAQ */
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3);
  background: var(--surface);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--text-100); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand-400); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { margin-bottom: var(--space-3); }
.faq p { color: var(--text-300); margin: 0; }

/* Author / trust block */
.trust-block {
  display: grid; gap: var(--space-4); grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-5); background: var(--surface);
}
@media (max-width: 720px) { .trust-block { grid-template-columns: 1fr; } }
.trust-block h4 { color: var(--brand-300); font-size: 0.95rem; margin-bottom: var(--space-2); }
.trust-block p { font-size: 0.9rem; color: var(--text-300); margin: 0; }

/* ---------------------------------------------------------------------
   9. Footer
   --------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-850), var(--bg-900));
  padding-block: var(--space-8) var(--space-6);
  margin-top: var(--space-9);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.footer-col h4 { font-size: 0.95rem; color: var(--text-200); margin-bottom: var(--space-3); }
.footer-col a { display: block; color: var(--text-400); font-size: 0.9rem; margin-bottom: var(--space-2); }
.footer-col a:hover { color: var(--brand-300); }
.footer-biz { font-size: 0.86rem; color: var(--text-400); line-height: 1.9; }
.footer-biz strong { color: var(--text-200); }

/* Footer inquiry buttons — orange, Telegram */
.footer-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.tg-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.35em; border-radius: var(--radius-pill);
  background: var(--brand-gradient); color: #fff; font-weight: 700; font-size: 0.92rem;
  box-shadow: var(--shadow-brand);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tg-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(255,122,24,0.42); }
.tg-btn svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between;
  font-size: 0.82rem; color: var(--text-400);
}

/* ---------------------------------------------------------------------
   10. Floating call button (mobile-first, all pages, animated, orange)
   --------------------------------------------------------------------- */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-gradient); color: #fff;
  box-shadow: var(--shadow-brand);
  animation: floatBounce 2.2s ease-in-out infinite;
}
.float-call::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 var(--brand-glow);
  animation: floatPulse 2.2s ease-out infinite;
}
.float-call svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.float-call:active { transform: scale(0.94); }
.float-call .float-label {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
  background: var(--bg-800); border: 1px solid var(--border-brand);
  color: var(--text-100); font-weight: 700; font-size: 0.85rem;
  padding: 0.5em 0.85em; border-radius: var(--radius-pill); white-space: nowrap;
  box-shadow: var(--shadow-md);
}
@media (max-width: 860px) { .float-call .float-label { display: none; } }

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 var(--brand-glow); }
  70% { box-shadow: 0 0 0 18px rgba(255,122,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,122,24,0); }
}
@media (prefers-reduced-motion: reduce) {
  .float-call, .float-call::before { animation: none; }
}

/* ---------------------------------------------------------------------
   11. Utility
   --------------------------------------------------------------------- */
.stack > * + * { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--space-6); }
.tag { display:inline-block; font-size:0.75rem; font-weight:700; color:var(--brand-300); background:var(--brand-gradient-soft); border:1px solid var(--border-brand); padding:0.25em 0.7em; border-radius:var(--radius-pill); }
