/* ============================================================
   트립플랜 — 여행사 직원용 CRM 랜딩
   기업형 블루/뉴트럴 디자인 시스템
   ============================================================ */

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

:root {
  /* Brand */
  --blue-700: #163e9e;
  --blue-600: #1f5fd6;
  --blue-500: #3b78ec;
  --blue-100: #dbe6fb;
  --blue-50:  #eef3fd;

  /* Neutrals (cool-tinted) */
  --ink:     #12151c;
  --slate-700: #2f3543;
  --slate-600: #4b5263;
  --slate-500: #6b7283;
  --slate-400: #969cab;
  --line:    #e7eaf1;
  --line-soft: #eff2f7;
  --bg:      #ffffff;
  --bg-soft: #f5f7fb;
  --bg-ink:  #0e1422;

  /* System */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18,21,28,.05), 0 1px 1px rgba(18,21,28,.04);
  --shadow:    0 8px 24px rgba(20,30,55,.08);
  --shadow-lg: 0 24px 60px rgba(20,30,55,.16);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(31,95,214,.28); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 10px 26px rgba(31,95,214,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-100); background: var(--blue-50); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: var(--blue-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(20,30,55,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  position: relative; flex: none;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 7px 7px auto auto; width: 8px; height: 8px;
  border-radius: 50%; background: #fff;
}
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 8px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--slate-600); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-actions .login { font-size: 15px; font-weight: 600; color: var(--slate-600); }
.nav-actions .login:hover { color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 78% -8%, var(--blue-50), transparent 60%),
    radial-gradient(700px 380px at 6% 12%, #f3f6fd, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .02em; color: var(--blue-700); background: var(--blue-50); white-space: nowrap;
  border: 1px solid var(--blue-100); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
.hero h1 { font-size: 52px; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--blue-600); }
.hero-sub { margin-top: 22px; font-size: 18px; color: var(--slate-600); max-width: 30em; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; }
.hero-stats .stat .num { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.hero-stats .stat .lbl { font-size: 13.5px; color: var(--slate-500); margin-top: 2px; }
.hero-stats .stat .num .u { color: var(--blue-600); }

/* Hero dashboard mock */
.hero-visual { position: relative; }
.dash {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.dash-bar i:nth-child(1){ background:#f0b6b0;} .dash-bar i:nth-child(2){ background:#f4d9a6;} .dash-bar i:nth-child(3){ background:#bfe3c0;}
.dash-bar .title { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--slate-500); }
.dash-body { padding: 18px; }
.kanban { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.kcol { background: var(--bg-soft); border-radius: 12px; padding: 12px; }
.kcol h5 { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; color: var(--slate-500); display: flex; justify-content: space-between; }
.kcol h5 b { color: var(--blue-600); }
.kcard { background: #fff; border: 1px solid var(--line-soft); border-radius: 9px; padding: 10px; margin-bottom: 9px; box-shadow: var(--shadow-sm); }
.kcard .line { height: 7px; border-radius: 4px; background: #e9edf4; }
.kcard .line.s { width: 60%; margin-top: 7px; background: #eef1f6; }
.kcard .tag { display: inline-block; margin-top: 9px; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; color: var(--blue-700); background: var(--blue-50); }
.kcard .tag.g { color:#1c7a4f; background:#e6f5ec; }
.kcard .tag.o { color:#b06a17; background:#fbf0dd; }
.dash-foot { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 14px 18px; border-top: 1px solid var(--line-soft); }
.spark { flex: 1; height: 40px; display: flex; align-items: flex-end; gap: 5px; }
.spark b { flex: 1; background: var(--blue-100); border-radius: 3px 3px 0 0; display: block; }
.spark b.hi { background: var(--blue-600); }
.dash-foot .kpi { text-align: right; }
.dash-foot .kpi .n { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.dash-foot .kpi .l { font-size: 11px; color: var(--slate-500); }
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; }
.float-chip.a { top: -18px; left: -26px; }
.float-chip.b { bottom: 30px; right: -30px; }
.float-chip .sub { font-weight: 500; color: var(--slate-500); font-size: 11.5px; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.trust-inner { display: flex; align-items: center; gap: 32px; padding: 26px 0; flex-wrap: wrap; }
.trust .swiss { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.trust .swiss .flag { width: 22px; height: 22px; border-radius: 5px; background: #d8232a; position: relative; flex: none; }
.trust .swiss .flag::before, .trust .swiss .flag::after { content:""; position:absolute; background:#fff; border-radius:1px; }
.trust .swiss .flag::before { width: 10px; height: 3px; top: 9.5px; left: 6px; }
.trust .swiss .flag::after { width: 3px; height: 10px; top: 6px; left: 9.5px; }
.trust .logos { display: flex; gap: 30px; align-items: center; flex: 1; flex-wrap: wrap; opacity: .65; }
.logo-ph { height: 22px; width: 96px; border-radius: 5px; background: repeating-linear-gradient(135deg, #d7dce6 0 6px, #e6eaf2 6px 12px); }

/* ---------- Section shell ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.sec-tag { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.sec-head h2 { font-size: 38px; letter-spacing: -0.03em; }
.sec-head p { margin-top: 16px; font-size: 17px; color: var(--slate-600); }

/* ---------- Feature tabs ---------- */
.tabs-nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab-btn {
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--slate-600);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; cursor: pointer;
  transition: all .18s var(--ease);
}
.tab-btn:hover { border-color: var(--blue-100); color: var(--ink); }
.tab-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(31,95,214,.26); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { transform: translateY(10px); } to { transform: none; } }

.feature-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.feature-row.rev { grid-template-columns: 1.1fr 1fr; }
.feature-row.rev .feature-text { order: 2; }
.feature-num { font-size: 13px; font-weight: 800; color: var(--blue-600); letter-spacing: .1em; }
.feature-text h3 { font-size: 30px; margin-top: 12px; }
.feature-text p { margin-top: 16px; font-size: 16.5px; color: var(--slate-600); }
.feature-list { margin-top: 22px; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--slate-700); }
.feature-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.feature-text .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-weight: 600; color: var(--blue-600); }
.feature-text .more:hover { gap: 10px; } 
.feature-text .more { transition: gap .18s var(--ease); }

/* Feature visual placeholder */
.shot {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff; aspect-ratio: 4 / 3; position: relative;
}
.shot .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    linear-gradient(135deg, rgba(31,95,214,.04), rgba(31,95,214,.01)),
    repeating-linear-gradient(135deg, #eef2f8 0 14px, #f6f8fc 14px 28px);
  color: var(--slate-400);
}
.shot .ph .glyph { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--blue-500); box-shadow: var(--shadow-sm); }
.shot .ph code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: .02em; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); position: relative; z-index: 1; background:#fff; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.adv-card .idx { font-size: 13px; font-weight: 800; color: var(--blue-600); letter-spacing: .06em; }
.adv-card .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center; margin: 14px 0 16px;
}
.adv-card h4 { font-size: 17px; letter-spacing: -0.02em; }
.adv-card p { margin-top: 8px; font-size: 14px; color: var(--slate-500); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 22px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease), background .2s; font-size: 18px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a .inner { padding: 0 24px 22px; font-size: 15.5px; color: var(--slate-600); line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta-band { padding: 88px 0; background: var(--bg-ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content:""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 80% 0%, rgba(59,120,236,.4), transparent 60%), radial-gradient(600px 340px at 10% 110%, rgba(31,95,214,.32), transparent 60%); }
.cta-inner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: 40px; letter-spacing: -0.035em; }
.cta-inner p { margin-top: 18px; font-size: 18px; color: #b9c2d6; }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #0b0f19; color: #9aa3b6; padding: 64px 0 30px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color: #fff; font-size: 20px; margin-bottom: 16px; }
.footer .desc { max-width: 26em; line-height: 1.6; }
.footer .phone { margin-top: 18px; color: #fff; font-weight: 600; }
.footer h6 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; margin: 0 0 16px; text-transform: uppercase; }
.footer-col a { display: block; padding: 6px 0; color: #9aa3b6; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; flex-wrap: wrap; gap: 14px; color: #6e7689; }
.footer-bottom .soc { display: flex; gap: 12px; }
.footer-bottom .soc a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: #c3cad8; transition: background .2s; }
.footer-bottom .soc a:hover { background: rgba(255,255,255,.14); }

/* ---------- Reveal animation ----------
   Content is always opacity:1 so it is visible even where CSS transitions
   are paused (offscreen render / capture). The entrance is transform-only;
   if the transition can't run, content simply sits in place. */
.reveal { transform: translateY(24px); transition: transform .7s var(--ease); will-change: transform; }
.reveal.is-visible { transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .tab-panel.active { animation: none; }
}

/* ---------- Mobile menu drawer ---------- */
.mobile-menu { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-actions .login, .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .site-header.menu-open .menu-toggle span { background: transparent; }
  .site-header.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
  .mobile-menu { display: block; position: fixed; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px 24px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s var(--ease); z-index: 99; box-shadow: var(--shadow); }
  .site-header.menu-open ~ .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 13px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.rev .feature-text { order: 0; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 33px; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 0; }
  .sec-head h2, .cta-inner h2 { font-size: 28px; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .float-chip { display: none; }
}
