/**
 * CAREHERO Enterprise B2B SaaS 분양 포털 전용 스타일 (saas/public/assets/css/saas-landing.css)
 * - common.css와 함께 로드되며 반응형 width/height/한줄 타이틀/그리드 전환을 제어합니다.
 */

:root {
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-sub: #475569;
  --ink-muted: #94a3b8;
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --accent: #0ea5e9;
  --emerald: #10b981;
  --line: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  max-width: 100%;
}

section[id],
div[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background-color: var(--bg-light);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Sticky Glass Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-title span {
  font-weight: 500;
  color: var(--ink-sub);
  font-size: 13px;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-sub);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

/* Ambient Hero Section */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(14, 165, 233, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #090d16 0%, #111827 100%);
  color: #fff;
  padding: 72px 28px 80px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.hero-title {
  margin: 0 0 20px 0;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.hero-title .grad {
  background: linear-gradient(90deg, #a5b4fc 0%, #38bdf8 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin: 0 0 34px 0;
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 580px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(79, 70, 229, 0.7);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric-val {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: #fff;
}

.metric-label {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Visual Glass Showcase Card (Right of Hero) */
.visual-stage {
  position: relative;
}

.glass-window {
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.55);
}

.win-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.win-dots span:nth-child(1) { background: #f87171; }
.win-dots span:nth-child(2) { background: #fbbf24; }
.win-dots span:nth-child(3) { background: #34d399; }

.mock-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.mock-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  margin-bottom: 8px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-row:last-child {
  border-bottom: none;
}

/* Section Container */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 28px;
}

.sec-head {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto 48px;
  word-break: keep-all;
}

.sec-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.sec-head h2 {
  margin: 0 0 12px 0;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.sec-head p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-sub);
  word-break: keep-all;
}

/* Core Features Overhaul: Light-Surface Competitor Differentiation & 6-Engine Enterprise ERP Showcase */
.vs-compare-wrap {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 30px;
  margin-bottom: 32px;
  color: #0f172a;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #e2e8f0;
}

.vs-compare-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

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

.vs-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 20px;
}

.vs-col.our-winner {
  background: linear-gradient(160deg, #ecfdf5 0%, #eff6ff 100%);
  border: 2px solid #10b981;
  box-shadow: 0 16px 32px -12px rgba(16, 185, 129, 0.22);
  position: relative;
}

.vs-col-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.vs-col h4 {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  word-break: keep-all;
}

.vs-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.8px;
  line-height: 1.6;
  color: #334155;
  word-break: keep-all;
}

.vs-col.our-winner .vs-item-list {
  color: #0f172a;
  font-weight: 600;
}

.vs-visual-banner {
  width: 100%;
  height: 78px;
  border-radius: 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 6-Card High-Impact Feature Showcase Grid */
.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-pro-card {
  background: #ffffff;
  border: 1.5px solid rgba(79, 70, 229, 0.16);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.feature-pro-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-pro-card.highlight-card {
  border: 2px solid #4f46e5;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

.feature-visual-banner {
  width: 100%;
  height: 136px;
  border-radius: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.feature-pro-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.feature-num-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  color: #4f46e5;
  background: #eef2ff;
  padding: 4px 10px;
  border-radius: 99px;
}

.feature-exclusive-tag {
  font-size: 11px;
  font-weight: 800;
  color: #065f46;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.feature-pro-card h3 {
  margin: 0 0 12px 0;
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.feature-chip-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.feature-chip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  word-break: keep-all;
}

.feature-pro-card.highlight-card .feature-chip-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(79, 70, 229, 0.18);
}

.feature-chip-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #eef2ff;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.feature-pro-footer {
  padding-top: 11px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #4f46e5;
}

.feature-qna-jump {
  color: #4f46e5;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.feature-qna-jump:hover {
  text-decoration: underline;
}

/* Family Caregiving All-in-One Revenue & 5-Step Process Section (Light Soft-Emerald Card) */
.family-care-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 55%, #eff6ff 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 26px;
  padding: 40px 34px;
  color: #0f172a;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.family-care-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d1fae5;
}

.family-care-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.family-badge-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
}

.family-badge-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
}

.family-care-title {
  margin: 0 0 10px 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  word-break: keep-all;
}

.family-care-desc {
  margin: 0;
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  max-width: 720px;
  word-break: keep-all;
}

.family-revenue-pill {
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
  border-radius: 16px;
  padding: 16px 22px;
  min-width: 260px;
  box-shadow: var(--shadow-sm);
}

.family-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.family-step-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.family-step-card:hover {
  transform: translateY(-3px);
  border-color: #10b981;
  box-shadow: var(--shadow-sm);
}

.family-step-num {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 99px;
  margin-bottom: 10px;
  width: fit-content;
}

.family-step-card h4 {
  margin: 0 0 8px 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  word-break: keep-all;
}

.family-step-card p {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
  word-break: keep-all;
}

.family-provision-banner {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Live Demo Center Single Card & 3x2 Responsive Action Grid (박스 이탈 원천 방지) */
.demo-center-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

.demo-center-card {
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.demo-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.demo-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  width: 100%;
  min-width: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.demo-action-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

/* Subscription & Live Quote Workspace */
.workspace-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-top: 1px solid var(--line);
  padding: 72px 28px 92px;
}

.workspace-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Active Campaign Pills */
.campaign-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.cmp-pill-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.cmp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  background: #eef2ff;
  color: var(--primary);
  margin-bottom: 6px;
}

/* 3-Column Self-Contained Plan Cards (STARTER / STANDARD / PRO) */
.plan-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 22px;
  padding: 22px 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  cursor: pointer;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.plan-card.plan-card-pro {
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 100%);
  color: #f8fafc;
  border-color: #334155;
}

.plan-card.active {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18), var(--shadow-lg);
}

.plan-card.plan-card-pro.active {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25), 0 24px 48px -12px rgba(15, 23, 42, 0.45);
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 99px;
}

.plan-selected-badge {
  font-size: 11.5px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 99px;
  background: #e2e8f0;
  color: #475569;
  white-space: nowrap;
}

.plan-card.active .plan-selected-badge {
  background: #10b981;
  color: #ffffff;
}

.plan-card.plan-card-pro .plan-selected-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.plan-card.plan-card-pro.active .plan-selected-badge {
  background: #38bdf8;
  color: #0f172a;
}

.plan-event-ribbon {
  margin-bottom: 14px;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.plan-price-big {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.plan-price-strike {
  font-size: 14px;
  text-decoration: line-through;
  opacity: 0.65;
  font-weight: 700;
}

.plan-inline-setup-box {
  margin: 16px 0;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-card.plan-card-pro .plan-inline-setup-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.plan-setup-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 8px;
}

.plan-setup-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.plan-setup-opt.selected {
  border-color: #10b981;
  background: #ecfdf5;
  color: #065f46;
}

.plan-card.plan-card-pro .plan-setup-opt {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
}

.plan-card.plan-card-pro .plan-setup-opt.selected {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.18);
  color: #ffffff;
}

.plan-breakdown-mini {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.8px;
  line-height: 1.75;
  margin-bottom: 16px;
  background: #f1f5f9;
  color: #1e293b;
}

.plan-card.plan-card-pro .plan-breakdown-mini {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.55;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-select-cta {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.18s ease;
}

.plan-cycle-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
}

.cycle-pill-group {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.cycle-pill-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.cycle-pill-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.sub-form-full {
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .plan-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sub-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.surface-card h3 {
  margin: 0 0 6px 0;
  font-size: 21px;
  font-weight: 800;
}

.surface-sub {
  margin: 0 0 24px 0;
  font-size: 13.5px;
  color: var(--ink-sub);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.btn-submit {
  width: 100%;
  border: none;
  border-radius: 13px;
  padding: 16px 22px;
  font-size: 15.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -6px rgba(79, 70, 229, 0.65);
}

.result-box {
  display: none;
  margin-top: 20px;
  background: #f0fdf4;
  border: 1.5px solid #10b981;
  border-radius: 16px;
  padding: 22px;
}

/* Comprehensive Q&A Section (Synced with ref_docs/QnA.md) */
.qna-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.qna-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qna-tab-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  padding: 9px 15px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  white-space: nowrap;
}

.qna-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qna-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.45);
}

.qna-search-box {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.qna-search-input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  font-size: 13.5px;
  font-family: inherit;
  background: #ffffff;
  color: var(--ink);
}

.qna-search-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.qna-search-clear-btn:hover {
  background: #cbd5e1;
}

.qna-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

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

.qna-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qna-item.open {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 12px 28px -8px rgba(79, 70, 229, 0.14);
}

.qna-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.qna-q-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qna-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  background: #eef2ff;
  color: var(--primary);
  white-space: nowrap;
}

.qna-q-code {
  font-size: 12.5px;
  font-weight: 900;
  color: #0ea5e9;
}

.qna-q-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.45;
  word-break: keep-all;
}

.qna-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.qna-item.open .qna-toggle-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.qna-answer {
  display: none;
  padding: 0 22px 20px 22px;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
  font-size: 14.5px;
  color: #334155;
  line-height: 1.8;
  word-break: keep-all;
}

.qna-item.open .qna-answer {
  display: block;
  padding-top: 16px;
}

.qna-answer ul {
  margin: 0;
  padding-left: 18px;
}

.qna-answer li {
  margin-bottom: 6px;
}

.qna-answer li:last-child {
  margin-bottom: 0;
}

.qna-expand-btn {
  border: 1px solid rgba(79, 70, 229, 0.3);
  background: #eef2ff;
  color: var(--primary);
  padding: 9px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.18s ease;
}

.qna-expand-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Navbar Member Auth Pill & Button */
.nav-auth-btn {
  border: 1.5px solid var(--primary);
  background: #eef2ff;
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-auth-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.nav-member-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #065f46;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-logout-btn {
  border: none;
  background: rgba(6, 95, 70, 0.12);
  color: #065f46;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

/* Demo Auth Gate Notice & Setup Mode Selector */
.demo-lock-notice {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #92400e;
}

.demo-member-active-notice {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #065f46;
}

/* Sensitive Q&A Badge & Lock Box */
.qna-sensitive-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
  white-space: nowrap;
}

.qna-sensitive-badge.unlocked {
  background: #dcfce7;
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.35);
}

.qna-locked-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1.5px dashed rgba(79, 70, 229, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Portal Login / Register Modal */
.portal-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.portal-auth-backdrop.open {
  display: flex;
}

.portal-auth-modal {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.45);
  position: relative;
}

.portal-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 13px;
  margin-bottom: 20px;
}

.portal-auth-tab {
  border: none;
  background: transparent;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  font-family: inherit;
}

.portal-auth-tab.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.otp-flex-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.footer {
  background: #090d16;
  color: #64748b;
  padding: 36px 28px 90px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media screen and (max-width: 1120px) {
  .nav-inner {
    padding: 11px 18px;
    gap: 10px;
  }
  .nav-links {
    gap: 10px;
  }
  .family-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1024px) {
  .feature-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vs-compare-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 980px) {
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 6px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-auth-btn,
  .nav-links .nav-cta {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
  }

  .plan-inline-setup-box {
    min-height: auto;
  }

  .hero-inner,
  .sub-grid,
  .campaign-strip {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-inner > *,
  .vs-compare-grid > *,
  .feature-showcase-grid > *,
  .plan-cards-grid > *,
  .vault-4-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .demo-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 820px) {
  .family-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-care-box,
  .vs-compare-wrap {
    padding: 26px 20px;
  }

  .demo-center-card {
    padding: 22px 18px;
  }
}

@media screen and (max-width: 640px) {
  .feature-showcase-grid,
  .family-step-grid,
  .form-grid,
  .hero-metrics,
  .demo-action-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-wrap,
  .section,
  .workspace-section {
    padding: 40px 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-primary,
  .btn-hero-ghost {
    white-space: normal;
    width: 100%;
    text-align: center;
    padding: 13px 14px;
    font-size: 13.5px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .glass-window {
    padding: 16px 14px;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-preview-tab {
    font-size: 11px;
    padding: 7px 4px;
    white-space: normal;
    line-height: 1.25;
  }

  .mock-card {
    padding: 12px;
  }

  .mock-row {
    flex-wrap: wrap;
    font-size: 12px;
  }

  .family-revenue-pill {
    min-width: 0;
    width: 100%;
  }

  .surface-card,
  .family-care-box {
    padding: 20px 15px;
  }

  .qna-search-box {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
}

/* PC 로컬금고 · 단독Docker 4열 1줄 그리드 (여백 없이 4개 한 줄 배치) */
.vault-4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.vault-4-card {
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.vault-4-card svg {
  width: 100%;
  height: auto;
  max-width: 240px;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .vault-4-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .vault-4-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ==========================================================================
   Senior UI/UX & Industry Switcher Enhancements
   ========================================================================== */
.hero-preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.7);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-preview-tab {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 6px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.hero-preview-tab.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.hero-preview-pane {
  display: none;
}

.hero-preview-pane.active {
  display: block;
}

.kakao-bubble-out {
  background: #fee500;
  color: #191919;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 11px;
  border-radius: 12px 12px 3px 12px;
  margin-left: auto;
  margin-bottom: 8px;
  width: fit-content;
  max-width: 92%;
}

.kakao-bubble-in {
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.55;
  padding: 9px 11px;
  border-radius: 12px 12px 12px 3px;
  max-width: 95%;
}

.pdf-seal-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #fef2f2;
  border: 2px solid #dc2626;
  color: #dc2626;
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Industry Switcher (간병인협회 vs 재가노인복지센터) */
.industry-switcher-wrap {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 22px;
  padding: 24px 26px;
  margin: 24px 0 32px 0;
  box-shadow: var(--shadow-sm);
}

.industry-tab-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 12px;
  gap: 5px;
  flex-wrap: wrap;
}

.industry-tab-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13.5px;
  font-weight: 800;
  padding: 9px 15px;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.industry-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.industry-panel {
  display: none;
}

.industry-panel.active {
  display: block;
}

.industry-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.industry-benefit-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 15px 16px;
}

.industry-benefit-kicker {
  font-size: 11.5px;
  font-weight: 900;
  margin-bottom: 4px;
}

.industry-benefit-item strong {
  display: block;
  font-size: 14.5px;
  color: #0f172a;
  margin-bottom: 6px;
  word-break: keep-all;
}

.industry-benefit-item p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.58;
  word-break: keep-all;
}

.industry-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

/* Mobile-Sharp HTML Feature & Vault Visual Headers */
.feature-visual-stage {
  height: auto;
  min-height: 112px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.feature-visual-stage.fv-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fv-tile {
  border-radius: 12px;
  padding: 10px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.fv-kicker {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.fv-metric {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.fv-sub {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.vault-visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.vault-vh-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

/* Demo Center 30-Second Public Preview Strip */
.demo-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.demo-preview-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  padding: 13px 14px;
}

.demo-preview-head {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 99px;
  margin-bottom: 7px;
}

.demo-preview-card strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
  margin-bottom: 4px;
  word-break: keep-all;
}

.demo-preview-card p {
  margin: 0;
  font-size: 12.2px;
  color: #475569;
  line-height: 1.55;
  word-break: keep-all;
}

@media screen and (max-width: 820px) {
  .industry-benefit-grid,
  .demo-preview-strip {
    grid-template-columns: 1fr;
  }
  .industry-switcher-wrap {
    padding: 18px 16px;
  }
}
