/* ==========================================
   Emocar Main Page Specific Style (index.css)
   ========================================== */

/* ------------------------------------------
   Hero Section
   ------------------------------------------ */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 100px 24px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 30, 29, 0.75) 0%, rgba(30, 30, 29, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 3;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text-area {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: #ffffff;
  color: var(--text-primary);
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--bg-tertiary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-title .highlight-text {
  color: var(--accent-color);
}

.hero-title .highlight-text::after {
  display: none;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.h-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.h-feature-icon {
  font-size: 0.85rem;
  color: var(--text-primary);
  background-color: var(--accent-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(249, 228, 0, 0.4);
  flex-shrink: 0;
  margin-top: 2px;
}

.h-text {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  word-break: keep-all;
}

.h-text strong {
  color: #ffffff;
}

/* Hero Form */
.hero-form-area {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.form-wrapper {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-header {
  background: var(--accent-color);
  padding: 24px 20px;
  text-align: center;
  color: var(--text-on-accent);
}

.form-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.form-header p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.8;
}

.quote-form {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bg-tertiary);
  background-color: var(--bg-primary);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
  border-color: var(--text-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(249, 228, 0, 0.35);
}

.phone-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1.2fr;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.phone-inputs input {
  width: 100%;
  text-align: center;
  padding: 12px 6px;
  border: 1px solid var(--bg-tertiary);
  background-color: var(--bg-primary);
  border-radius: 12px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.phone-inputs input:focus {
  border-color: var(--text-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(249, 228, 0, 0.35);
}

.phone-inputs span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-agreement {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.agreement-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.agreement-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-color);
  flex-shrink: 0;
}

.btn-form-submit {
  width: 100%;
  padding: 14px;
  background: var(--text-primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-form-submit:hover {
  background: var(--accent-color);
  color: var(--text-on-accent);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
}

/* ------------------------------------------
   Common Story Section Styling
   ------------------------------------------ */
.story-section {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.story-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.story-container-wide {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.story-header {
  margin-bottom: 60px;
}

.story-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--bg-tertiary);
  margin-bottom: 20px;
}

.warning-tag {
  color: var(--error);
  border: 1px solid rgba(224, 79, 79, 0.2);
}

.story-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.story-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.6;
}

.story-message {
  margin-top: 40px;
  padding: 24px 30px;
  border-radius: 16px;
  background-color: var(--bg-secondary);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: inline-block;
  text-align: center;
}

.story-message strong {
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.story-message strong::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(249, 228, 0, 0.4);
  z-index: -1;
  border-radius: 2px;
}

/* ------------------------------------------
   Section: 중고차 수출이란? (what-is-export)
   ------------------------------------------ */
.section-what-is-export {
  background-color: #ffffff;
  border-bottom: 1px solid var(--bg-secondary);
}

.export-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.export-def-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.export-def-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.export-visual-cars {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.visual-car-icon {
  font-size: 3.5rem;
  color: var(--accent-secondary);
  opacity: 0.25;
  transition: var(--transition-smooth);
}

.export-definition-area:hover .visual-car-icon {
  opacity: 0.75;
  transform: translateY(-5px);
}

.merit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.merit-item {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(0, 0, 0, 0.01);
  transition: var(--transition-smooth);
}

.merit-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  background-color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--bg-tertiary);
}

.merit-item p {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
}

.merit-item p strong {
  font-weight: 800;
}

.merit-item.highlight-merit {
  background: var(--accent-light);
  border: 1px solid rgba(249, 228, 0, 0.6);
  box-shadow: var(--accent-glow);
}

.merit-item.highlight-merit .merit-num {
  background-color: var(--accent-color);
  border-color: var(--accent-secondary);
}

.merit-item:hover {
  transform: translateX(8px);
  border-color: var(--accent-color);
}

/* ------------------------------------------
   Section: 내수 대비 수출가 비교 (price-comparison)
   ------------------------------------------ */
.section-price-comparison {
  background-color: var(--bg-secondary);
}

.comparison-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.comp-card-dark {
  background-color: #1a1a19;
  color: #ffffff;
  border-radius: 28px;
  padding: 50px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.comp-badge-dark {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.comp-card-dark h3 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 30px;
}

.comp-desc-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.comp-desc-area strong {
  color: #ffffff;
}

.comp-desc-area .highlight-p {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 1.05rem;
}

.comp-card-yellow {
  background-color: var(--accent-color);
  color: var(--text-on-accent);
  border-radius: 28px;
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: var(--accent-glow);
}

.comp-badge-yellow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  opacity: 0.6;
  margin-bottom: 20px;
}

.comp-card-yellow h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.yellow-sub-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.yellow-sub-title strong {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--text-primary);
}

/* 플랫 모던 막대 차트 스타일 */
.flat-chart-container {
  position: relative;
  height: 240px;
  margin: 0 auto 30px auto;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.chart-axis-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}

.chart-axis-lines span {
  width: 100%;
  height: 1px;
  background-color: rgba(30, 30, 29, 0.08);
}

.chart-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  height: 100%;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.chart-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.chart-val-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: center;
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  letter-spacing: -0.5px;
}

.chart-val-label.highlight-val {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 900;
}

.chart-bar-outer {
  width: 48px;
  height: 150px;
  background-color: rgba(30, 30, 29, 0.05); /* 은은한 트랙(레일) 배경 */
  border-radius: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

/* 플랫 막대 스타일 */
.flat-bar {
  position: relative;
  width: 100%;
  height: 0%; /* JS 스크롤 인터랙션 트리거 */
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.bar-fill-inner {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

/* 미세 하이라이트 글래스 효과 추가 */
.bar-fill-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

/* 오렌지색 막대 */
.bar-orange {
  background: linear-gradient(180deg, #ff8c3a 0%, #ff521d 100%);
  box-shadow: 0 8px 24px rgba(255, 82, 29, 0.25);
}

/* 민트색 막대 */
.bar-mint {
  background: linear-gradient(180deg, #26e2d9 0%, #05bbb2 100%);
  box-shadow: 0 8px 30px rgba(38, 226, 217, 0.35);
}

/* 상단 말풍선 뱃지 */
.bar-badge {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  animation: floatBadge 2s ease-in-out infinite;
  z-index: 10;
}

.bar-badge::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
}

@keyframes floatBadge {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -4px);
  }
}

.chart-name-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 14px;
  text-align: center;
  white-space: nowrap;
}

.chart-name-label.highlight-name {
  color: var(--text-primary);
  font-weight: 800;
}

.chart-footer-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* ------------------------------------------
   Section A: Distribution Flow Styling
   ------------------------------------------ */
.story-distribution {
  background-color: #ffffff;
}

.distribution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.dist-card {
  border-radius: 24px;
  padding: 40px 30px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.dist-complex {
  background-color: var(--bg-secondary);
  border: 1px solid var(--bg-tertiary);
}

.dist-direct {
  background-color: var(--accent-light);
  border: 2px solid var(--accent-color);
  box-shadow: var(--accent-glow);
}

.badge-direct {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 30px;
  letter-spacing: 1px;
}

.dist-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.dist-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.flow-step {
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--bg-tertiary);
  color: var(--text-secondary);
}

.flow-step.step-middle {
  background: rgba(0, 0, 0, 0.02);
  border-style: dashed;
}

.flow-step.step-end {
  background: #f1f1ee;
  color: var(--text-muted);
}

.flow-step.step-emocar {
  background: var(--text-primary);
  color: #ffffff;
  font-size: 1rem;
  padding: 14px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: bounceDown 1.5s infinite;
}

.dist-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
}

.dist-highlight {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  margin-top: auto;
}

.dist-highlight strong {
  color: var(--text-primary);
}

/* ------------------------------------------
   Section B: Family Business Styling
   ------------------------------------------ */
.story-family {
  background-color: var(--bg-secondary);
}

.family-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.family-visual {
  background-color: var(--accent-color);
  border-radius: 24px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--accent-glow);
  position: relative;
}

.visual-badge {
  font-size: 4rem;
  color: var(--text-on-accent);
  margin-bottom: 12px;
  animation: pulse 2s infinite;
}

.visual-caption {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-on-accent);
  letter-spacing: -0.5px;
}

.family-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.family-point-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.point-icon {
  font-size: 1.5rem;
  background-color: #ffffff;
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.point-text h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.point-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------
   Section C: Privacy Danger Warning Styling
   ------------------------------------------ */
.story-privacy {
  background-color: #ffffff;
}

.privacy-warning-box {
  background-color: #fffbfb;
  border: 1px dashed rgba(224, 79, 79, 0.3);
  border-radius: 28px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(224, 79, 79, 0.02);
}

.warning-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.warning-icon {
  font-size: 3rem;
  color: var(--error);
}

.warning-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--error);
  letter-spacing: -0.5px;
}

.warning-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.warning-body strong {
  color: var(--text-primary);
}

.warning-footer {
  border-top: 1px solid rgba(224, 79, 79, 0.1);
  padding-top: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.warning-highlight {
  position: relative;
  display: inline-block;
}

.warning-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(224, 79, 79, 0.15);
  z-index: -1;
}

/* ------------------------------------------
   Section D: Guarantee Document & Form CTA Styling
   ------------------------------------------ */
.story-guaranteed {
  background-color: var(--bg-secondary);
}

/* 서약서 형태 디자인 */
.guarantee-document {
  background-color: #ffffff;
  border-radius: 28px;
  padding: 60px 48px;
  border: 1px solid var(--bg-tertiary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* 격조 있는 더블 테두리 효과 */
.guarantee-document::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--bg-tertiary);
  border-radius: 20px;
  pointer-events: none;
}

.doc-header {
  text-align: center;
  margin-bottom: 45px;
  border-bottom: 2px double var(--bg-tertiary);
  padding-bottom: 24px;
}

.doc-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.doc-header p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.doc-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 45px;
  text-align: left;
}

.doc-promise {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.promise-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  background-color: var(--text-primary);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promise-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.promise-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.doc-footer {
  border-top: 1px solid var(--bg-tertiary);
  padding-top: 30px;
  text-align: center;
}

.doc-footer > p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.doc-stamp-area {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px; /* 텍스트를 좌측으로 밀어 글자와 도장의 겹침 강도 완화 */
  font-size: 1rem;
  color: var(--text-primary);
  position: relative;
}

.doc-stamp-area strong {
  font-size: 1.15rem;
  margin: 0 6px;
  letter-spacing: 2px;
  font-family: 'Noto Sans KR', sans-serif;
}

/* 실제 직인 이미지 안착 구도 */
.doc-stamp-img {
  width: 55px;
  height: auto;
  position: absolute;
  right: 15px; /* 좌측으로 밀린 텍스트 끝 (인) 글자와 조화롭게 겹쳐지는 최적 위치 */
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  opacity: 0.85;
  mix-blend-mode: multiply; /* 흰색 배경을 제거하고 도장 느낌 서명 합성 */
  pointer-events: none;
  z-index: 2;
}

.story-cta-area {
  margin-top: 50px;
}

/* ------------------------------------------
   Policy Modal
   ------------------------------------------ */
.policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.policy-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.policy-modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.policy-modal-wrapper {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.policy-modal.open .policy-modal-wrapper {
  transform: translateY(0);
}

.policy-modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--bg-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.policy-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-muted);
}

.policy-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

.policy-text-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.policy-text-content h5 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

/* ------------------------------------------
   Animations
   ------------------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(249, 228, 0, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(249, 228, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(249, 228, 0, 0);
  }
}

/* ------------------------------------------
   Section: 이모카 중고차수출 진행절차 (section-process)
   ------------------------------------------ */
.section-process {
  background-color: #ffffff;
  border-bottom: 1px solid var(--bg-secondary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--bg-tertiary);
  border-radius: 24px;
  padding: 45px 24px 35px 24px;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: var(--text-on-accent);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 30px;
  box-shadow: var(--accent-glow);
  border: 1px solid rgba(0, 0, 0, 0.01);
  letter-spacing: 0.5px;
}

.process-icon-box {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.process-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  word-break: keep-all;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 16px 36px rgba(249, 228, 0, 0.18);
}

.process-card:hover .process-icon-box {
  background-color: var(--accent-color);
  color: var(--text-on-accent);
  box-shadow: var(--accent-glow);
}

/* ------------------------------------------
   Section: 사용자 리뷰 (section-reviews)
   ------------------------------------------ */
.section-reviews {
  background-color: var(--bg-secondary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  text-align: left;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--bg-tertiary);
  border-radius: 20px;
  padding: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  border-color: rgba(249, 228, 0, 0.5);
}

.review-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.review-car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover .review-car-img {
  transform: scale(1.06);
}

.review-status-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--text-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
  z-index: 2;
}

.review-body-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--accent-color);
  color: var(--text-on-accent);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--accent-glow);
}

.review-user-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  margin-bottom: 2px;
}

.user-region {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}

.user-car-tag {
  font-size: 0.8rem;
  color: var(--accent-secondary);
  font-weight: 700;
  margin: 0;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffbc00;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.rating-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-left: 6px;
}

.review-price-benefit {
  font-size: 0.85rem;
  color: var(--text-primary);
  background-color: var(--accent-light);
  border: 1px solid rgba(249, 228, 0, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 500;
  text-align: center;
}

.review-price-benefit strong {
  color: #d85300;
  font-weight: 800;
}

.review-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
  flex-grow: 1;
}

/* ------------------------------------------
   Responsive Breakpoints
   ------------------------------------------ */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-form-area {
    justify-content: center;
  }
  
  .form-wrapper {
    max-width: 100%;
  }

  .export-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .comparison-dual-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .distribution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .family-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .family-visual {
    height: 200px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 20px 60px 20px;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    word-break: keep-all;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
    word-break: keep-all;
  }

  .hero-features-list {
    gap: 12px;
  }

  .h-text {
    font-size: 0.92rem;
  }

  .story-section {
    padding: 60px 20px;
  }

  .story-title {
    font-size: 1.6rem;
    line-height: 1.35;
    word-break: keep-all;
  }

  .privacy-warning-box {
    padding: 30px 20px;
  }

  .guarantee-document {
    padding: 40px 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 35px 20px;
  }

  .process-card {
    padding: 40px 20px 30px 20px;
  }

  .review-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 70px 16px 50px 16px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.35;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .h-feature-item {
    gap: 8px;
  }

  .h-feature-icon {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    margin-top: 1px;
  }

  .h-text {
    font-size: 0.88rem;
  }

  .form-wrapper {
    border-radius: 16px;
  }

  .quote-form {
    padding: 16px;
  }

  .phone-inputs input {
    font-size: 0.85rem;
    padding: 10px 4px;
    border-radius: 8px;
  }

  .story-title {
    font-size: 1.4rem;
  }

  .story-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    margin-bottom: 14px;
  }

  .comp-card-dark, .comp-card-yellow {
    padding: 24px 16px;
  }

  .flat-chart-container {
    padding: 20px 10px;
  }
}
