/* ============================================
   Design System - Toss Style
   ============================================ */
:root {
  /* Red / Black / White Palette */
  --primary: #ef2c3c;          /* signature red */
  --primary-dark: #c8102e;     /* deep red */
  --primary-light: #ffecee;    /* light red tint */
  --accent: #ef2c3c;
  --accent-yellow: #ffffff;    /* kept as variable name, now white for highlight on dark bg */
  --accent-dark: #0a0a0a;

  --text-900: #0a0a0a;
  --text-800: #1a1a1a;
  --text-700: #333333;
  --text-600: #555555;
  --text-500: #808080;
  --text-400: #b3b3b3;

  --bg-100: #ffffff;
  --bg-200: #fafafa;
  --bg-300: #f2f2f2;
  --bg-400: #e5e5e5;

  --border: #e8e8e8;
  --success: #1a1a1a;
  --danger: #ef2c3c;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(239, 44, 60, 0.22);

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text-900);
  background: var(--bg-100);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'tnum';
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6, p, span, div, li, a, label {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 의미 단위 줄바꿈 유틸리티 */
.block { display: block; }
.block-sm { display: inline; }
@media (max-width: 640px) {
  .block-sm { display: block; }
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 560px; }

.section { padding: 120px 0; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
}

/* Section Headings */
.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.eyebrow.light { color: var(--accent-yellow); }
.section-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-900);
}
.section-desc {
  font-size: 18px;
  color: var(--text-600);
  margin-top: 20px;
  line-height: 1.6;
}
.accent { color: var(--primary); }
.accent-yellow { color: var(--accent-yellow); }

@media (max-width: 768px) {
  .section-title { font-size: 30px; }
  .section-desc { font-size: 16px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-xl { padding: 20px 36px; font-size: 18px; border-radius: 14px; }
.btn-full { width: 100%; }

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  background: #0a0a0a;
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--primary);
}
.top-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  flex-wrap: wrap;
}
.top-bar-badge {
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.top-bar-text strong { color: var(--primary); }
.top-bar-cta {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.top-bar-cta:hover { color: var(--primary); }
@media (max-width: 600px) {
  .top-bar { font-size: 13px; }
  .top-bar-inner { gap: 10px; }
}

/* ============================================
   1. Hero
   ============================================ */
.hero {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 40%; height: 50%;
  background: radial-gradient(circle, rgba(239, 44, 60, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-900);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-700);
  line-height: 1.6;
  margin-bottom: 44px;
}
.hero-sub strong { color: var(--text-900); font-weight: 700; }

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 72px;
  align-items: center;
}
.hero-cta-wrap .btn {
  align-self: center;
}
.hero-meta {
  display: flex;
  gap: 24px;
  color: var(--text-600);
  font-size: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--primary); }

.hero-visual {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto;
  text-align: left;
}
.chat-bubble {
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  animation: fadeInUp 0.6s ease backwards;
}
.chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.chat-bubble:nth-child(2) { animation-delay: 0.5s; }
.chat-bubble:nth-child(3) { animation-delay: 0.9s; }

.chat-bubble.user {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
}
.chat-bubble.ai {
  align-self: flex-end;
  background: var(--primary-light);
  border: 1px solid rgba(239, 44, 60, 0.2);
  max-width: 90%;
}
.chat-bubble.highlight {
  background: var(--text-900);
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 16px 22px;
  border-radius: 14px;
  align-self: center;
  margin-top: 8px;
}
.chat-bubble.highlight i { color: var(--primary); margin-right: 6px; }
.chat-label {
  display: block;
  font-size: 12px;
  color: var(--text-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.chat-bubble.ai .chat-label { color: var(--primary); }
.chat-bubble.ai p strong { color: var(--primary); font-weight: 700; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 80px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-meta { gap: 14px; font-size: 14px; }
  .chat-bubble { font-size: 15px; padding: 16px 18px; }
}

/* ============================================
   2. Problem
   ============================================ */
.problem-section { background: var(--bg-200); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.problem-card {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.problem-num {
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.problem-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.problem-card p {
  color: var(--text-600);
  font-size: 16px;
  line-height: 1.6;
}
.problem-card p strong { color: var(--danger); font-weight: 700; }

.problem-conclusion {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-800);
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--primary);
}
.problem-conclusion strong { color: var(--primary); }

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 28px 24px; }
  .problem-card h3 { font-size: 19px; }
  .problem-conclusion { font-size: 19px; padding: 24px; }
}

/* ============================================
   3. Core Message
   ============================================ */
.core-message {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0406 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.core-message::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 40%; height: 60%;
  background: radial-gradient(circle, rgba(239, 44, 60, 0.35), transparent 70%);
  pointer-events: none;
}
.core-message::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 40%; height: 60%;
  background: radial-gradient(circle, rgba(239, 44, 60, 0.2), transparent 70%);
  pointer-events: none;
}
.core-inner { position: relative; z-index: 1; }
.core-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.core-title .strike {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  color: var(--text-500);
}
.core-sub {
  font-size: 19px;
  color: #c8d1dc;
  line-height: 1.7;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.core-sub strong { color: var(--primary); font-weight: 700; }

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.flow-node {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.flow-node i { font-size: 26px; color: #c8d1dc; }
.flow-node span { font-size: 15px; font-weight: 600; }
.flow-node.highlight {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(239, 44, 60, 0.45);
}
.flow-node.highlight i { color: #ffffff; }
.flow-arrow { color: var(--text-500); font-size: 18px; }

.core-footer {
  font-size: 20px;
  line-height: 1.6;
  color: #fff;
}
.core-footer strong { color: var(--primary); }

@media (max-width: 768px) {
  .core-title { font-size: 38px; }
  .core-sub { font-size: 16px; margin-bottom: 40px; }
  .flow-diagram { gap: 8px; }
  .flow-node { min-width: 80px; padding: 14px 10px; }
  .flow-node i { font-size: 20px; }
  .flow-node span { font-size: 13px; }
  .flow-arrow { font-size: 14px; }
  .core-footer { font-size: 16px; }
}

/* ============================================
   4. Solution
   ============================================ */
.solution-section { background: #fff; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.solution-card {
  background: var(--bg-200);
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.solution-card.highlight {
  background: var(--text-900);
  color: #fff;
  border-color: var(--text-900);
}
.solution-card.highlight:hover {
  background: var(--text-900);
  border-color: var(--primary);
}
.solution-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.solution-card.highlight .solution-icon {
  background: var(--primary);
  color: #ffffff;
}
.solution-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.solution-card p {
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.5;
}
.solution-card.highlight p { color: #c8d1dc; }

.solution-summary {
  text-align: center;
  padding: 40px 24px;
  background: var(--primary-light);
  border-radius: var(--radius-xl);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1.5;
}
.solution-summary i { color: var(--primary); margin: 0 6px; font-size: 18px; opacity: 0.6; }
.solution-summary strong { color: var(--primary); }

@media (max-width: 900px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .solution-summary { font-size: 17px; padding: 28px 20px; }
}

/* ============================================
   5. Industry (핵심)
   ============================================ */
.industry-section { background: var(--bg-200); }
.industry-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 14px 24px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-700);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.tab-btn.active {
  background: var(--text-900);
  border-color: var(--text-900);
  color: #fff;
}

.industry-panel { display: none; animation: fadeIn 0.4s ease; }
.industry-panel.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.industry-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.industry-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.industry-header h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.industry-header h3 i { color: var(--primary); }
.industry-header p {
  font-size: 18px;
  color: var(--text-600);
}

.industry-flow { margin-bottom: 40px; }
.industry-flow h4,
.industry-must h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.industry-flow h4 i,
.industry-must h4 i { color: var(--primary); font-size: 15px; }

/* Flow Line - Grid 기반 5단계 카드 */
.flow-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  position: relative;
}
.flow-line::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--border) 0,
    var(--border) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 0;
}

.flow-step {
  background: var(--bg-200);
  border: 1.5px solid var(--border);
  padding: 20px 12px 18px;
  border-radius: 14px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
  min-height: 140px;
}
.flow-step:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(239, 44, 60, 0.1);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  color: var(--text-900);
  border: 2px solid var(--text-900);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.flow-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.flow-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-600);
  line-height: 1.5;
}

/* 경고 단계 (쇼핑몰 '망설임') */
.flow-step.warning {
  background: #fff5f6;
  border-color: var(--primary-light);
  border-style: dashed;
}
.flow-step.warning .flow-num {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}
.flow-step.warning .flow-title { color: var(--primary); }

/* 최종 단계 */
.flow-step.final {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(239, 44, 60, 0.25);
}
.flow-step.final .flow-num {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}
.flow-step.final .flow-title { color: #fff; }
.flow-step.final .flow-desc { color: rgba(255, 255, 255, 0.9); }
.flow-step.final:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(239, 44, 60, 0.35);
}

/* 태블릿 */
@media (max-width: 900px) {
  .flow-line {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .flow-line::before { display: none; }
  .flow-step { min-height: 130px; }
}

/* 모바일 */
@media (max-width: 640px) {
  .flow-line {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;
  }
  .flow-step {
    min-height: auto;
    padding: 16px 10px 14px;
  }
  .flow-step.final {
    grid-column: span 2;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    min-height: auto;
  }
  .flow-step.final .flow-num { margin-bottom: 0; }
  .flow-step.final .flow-title { margin-bottom: 0; }
  .flow-step.final .flow-desc { display: none; }
  .flow-num { width: 24px; height: 24px; font-size: 11px; margin-bottom: 8px; }
  .flow-title { font-size: 14px; }
  .flow-desc { font-size: 12px; }
}

.industry-must { margin-bottom: 32px; }
.must-list { display: flex; flex-direction: column; gap: 12px; }
.must-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-200);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.must-list li strong { font-weight: 700; color: var(--text-900); display: block; margin-bottom: 2px; }
.must-tag {
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.must-tag:nth-of-type(1) { }
.must-list li:nth-child(3) .must-tag,
.must-list li:nth-child(4) .must-tag { background: var(--text-700); }
.must-list li:nth-child(5) .must-tag {
  background: linear-gradient(135deg, #0a0a0a 0%, #ef2c3c 100%);
}

.industry-why {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #fff5f6 0%, #ffe8ea 100%);
  border-radius: 14px;
  border-left: 4px solid var(--primary);
}
.industry-why i {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.industry-why p {
  font-size: 15px;
  color: var(--text-800);
  line-height: 1.7;
}
.industry-why strong { color: var(--text-900); }

@media (max-width: 768px) {
  .industry-card { padding: 28px 20px; }
  .industry-header h3 { font-size: 22px; }
  .industry-header p { font-size: 15px; }
  .tab-btn { padding: 12px 16px; font-size: 13px; }
  .flow-step { min-width: 110px; font-size: 13px; padding: 14px 10px; }
  .must-list li { padding: 16px; font-size: 14px; flex-wrap: wrap; }
}

/* ============================================
   6. AI
   ============================================ */
.ai-section { background: #fff; }
.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.ai-card {
  padding: 36px 32px;
  background: var(--bg-200);
  border-radius: var(--radius-lg);
  text-align: center;
}
.ai-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.ai-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.ai-card p {
  font-size: 15px;
  color: var(--text-600);
  line-height: 1.7;
}
.ai-card p strong { color: var(--text-900); font-weight: 700; }

.ai-callout {
  text-align: center;
  padding: 40px 32px;
  background: var(--text-900);
  color: #fff;
  border-radius: var(--radius-xl);
  font-size: 18px;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}
.ai-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(239, 44, 60, 0.25), transparent 60%);
  pointer-events: none;
}
.ai-callout p { position: relative; z-index: 1; }
.ai-callout strong { color: var(--primary); font-weight: 700; }

@media (max-width: 768px) {
  .ai-cards { grid-template-columns: 1fr; }
  .ai-callout { font-size: 15px; padding: 32px 24px; }
}

/* ============================================
   7. Learn
   ============================================ */
.learn-section { background: var(--bg-200); }
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.learn-card {
  padding: 40px 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.learn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.learn-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.learn-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.learn-card p {
  font-size: 16px;
  color: var(--text-600);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .learn-grid { grid-template-columns: 1fr; }
  .learn-card { padding: 32px 28px; }
  .learn-card h3 { font-size: 19px; }
}

/* ============================================
   8. Cases
   ============================================ */
.case-section { background: #fff; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-card {
  padding: 36px 32px;
  background: var(--bg-200);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.case-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.case-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.case-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.case-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.case-label {
  font-size: 14px;
  color: var(--text-600);
  font-weight: 500;
}
.case-text {
  font-size: 16px;
  color: var(--text-800);
  line-height: 1.7;
  margin-bottom: 14px;
}
.case-author {
  font-size: 14px;
  color: var(--text-500);
}

@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px 24px; }
  .case-num { font-size: 34px; }
}

/* ============================================
   9. Compare
   ============================================ */
.compare-section { background: var(--bg-200); }
.compare-table {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
  background: var(--bg-200);
  font-weight: 700;
  font-size: 15px;
}
.compare-row.head .compare-col { padding: 20px 24px; }
.compare-col { padding: 22px 24px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.compare-col.label { font-weight: 600; color: var(--text-700); background: var(--bg-200); font-size: 14px; }
.compare-col.old { color: var(--text-500); }
.compare-col.old i { color: var(--danger); }
.compare-col.new { color: var(--text-900); font-weight: 600; }
.compare-col.new i { color: var(--success); }

.compare-row.head .compare-col.old { color: var(--text-600); }
.compare-row.head .compare-col.new { color: var(--primary); font-weight: 800; }

@media (max-width: 768px) {
  .compare-row { grid-template-columns: 100px 1fr 1fr; }
  .compare-col { padding: 16px 14px; font-size: 13px; }
  .compare-row.head .compare-col { padding: 14px; font-size: 13px; }
  .compare-col.label { font-size: 12px; }
}

/* ============================================
   10. CTA
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #ef2c3c 0%, #c8102e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-box {
  text-align: center;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0a0a0a;
  color: #fff;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
}
.cta-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
}
.cta-btn {
  background: #ffffff !important;
  color: var(--primary) !important;
  font-size: 19px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-btn:hover {
  background: #0a0a0a !important;
  color: #ffffff !important;
}
.cta-meta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}
.cta-meta i { color: #ffffff; margin-right: 4px; }

@media (max-width: 768px) {
  .cta-title { font-size: 32px; }
  .cta-sub { font-size: 16px; }
  .cta-meta { gap: 14px; font-size: 14px; }
}

/* ============================================
   11. Apply Form
   ============================================ */
.apply-section { background: #fff; padding: 100px 0 140px; }
.apply-head { text-align: center; margin-bottom: 40px; }
.apply-form {
  background: var(--bg-200);
  padding: 40px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-800);
}
.form-group input,
.form-group select {
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text-900);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group input::placeholder { color: var(--text-400); }

.form-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
}
.form-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.form-agree label {
  font-size: 14px;
  color: var(--text-700);
  cursor: pointer;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-500);
  margin-top: 8px;
}
.form-note i { margin-right: 4px; }

@media (max-width: 768px) {
  .apply-form { padding: 28px 24px; }
}

/* ============================================
   Modal
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.show { display: flex; animation: fadeIn 0.2s ease; }
.modal-content {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 360px;
  width: 100%;
}
.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(239, 44, 60, 0.3);
}
.modal-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.modal-content p {
  color: var(--text-600);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal-content .btn { width: 100%; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-300);
  padding: 48px 0;
  text-align: center;
}
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-800);
}
.footer-desc {
  font-size: 14px;
  color: var(--text-600);
  margin-bottom: 16px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-500);
}

/* ============================================
   Floating CTA (mobile)
   ============================================ */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 90;
}
@media (max-width: 768px) {
  .floating-cta { display: block; }
  .apply-section { padding-bottom: 140px; }
}
