/* 브랜드 페이지 CSS */
.brand-page {
  background: #ffffff;
  min-height: 100vh;
  font-family:
    'Pretendard Variable',
    'Pretendard',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  position: relative;
  overflow-x: hidden;
}

/* 전체 페이지 배경 이미지를 위한 컨테이너 */
#content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(''); /* 나중에 배경 이미지 추가할 자리 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.brand-page.container {
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* 섹션 간 간격 제거 */
.brand-page section {
  margin: 0;
  padding-top: 200px;
  padding-bottom: 200px;
}

/* 한글 텍스트 최적화 */
.brand-page h1,
.brand-page h2,
.brand-page h3,
.brand-page h4,
.brand-page h5,
.brand-page h6,
.brand-page p,
.brand-page span,
.brand-page div {
  word-break: keep-all;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-break: strict;
  hanging-punctuation: allow-end;
}

/* 헤더 스크롤 효과 */
#header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.scrolled .header-top-text,
#header.scrolled .login-btn {
  color: #191f28;
}

#header.scrolled .search-label {
  color: #4e5968;
}

#header.scrolled .search-icon i {
  color: #4e5968;
}

/* Hero Section - 별도 컨테이너 */
.brand-hero {
  background: linear-gradient(
    135deg,
    #0a0440 0%,
    #1a0b5c 30%,
    #2d1b69 60%,
    #4c3bb3 100%
  );
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.brand-hero-content {
  max-width: 100%;
  margin: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.brand-hero-image {
  width: 100%;
  text-align: center;
  position: relative;
}

.brand-hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brand-hero-image img:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* 히어로 텍스트 오버레이 - 카카오페이 스타일 */
.brand-hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 3;
  width: 100%;
  padding: 0 20px;
}

.brand-hero-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1.2s ease-out 0.5s forwards;
}

.brand-hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1.2s ease-out 0.8s forwards;
}

.brand-hero-logo img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.3));
  transition: all 0.3s ease;
}

.brand-hero-logo img:hover {
  filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.4));
}

.hero-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon {
  width: 60px;
  height: 60px;
  color: #ff66cc;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  animation: iconFadeIn 1.5s ease-out 1s forwards;
  filter: drop-shadow(0 4px 15px rgba(255, 102, 204, 0.4));
}

/* 스크롤 애니메이션 */
.hero-icon.scroll-animate {
  animation: sparkleRotate 3s ease-in-out infinite;
}

@keyframes iconFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sparkleRotate {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(5deg) scale(1.1);
  }
  50% {
    transform: rotate(0deg) scale(1.05);
  }
  75% {
    transform: rotate(-5deg) scale(1.1);
  }
}

/* 반짝이는 효과 */
.hero-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: radial-gradient(
    circle,
    rgba(255, 102, 204, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  animation: sparkleGlow 2s ease-in-out infinite;
}

@keyframes sparkleGlow {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 브랜드 인트로 섹션 개선 === */
.brand-intro-section {
  background: linear-gradient(
    135deg,
    #0a0440 0%,
    #1a0b5c 30%,
    #2d1b69 60%,
    #4c3bb3 100%
  );
  color: white;
  padding: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-intro-container h3 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 60px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.brand-intro-container h3:last-child {
  margin: 40px 0 0 0;
}

.brand-intro-container h3 .highlight {
  background: linear-gradient(135deg, #ff66cc, #ff99dd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.brand-intro-container p {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin: 0 0 50px 0;
  max-width: 800px;
  color: rgba(255, 255, 255, 0.9);
}

.brand-intro-container p:last-of-type {
  margin-bottom: 0;
}

/* 텍스트 요소 간격 조정 */
.brand-intro-container p span {
  display: inline-block;
}

.brand-intro-container p .desktop-text,
.brand-intro-container p .mobile-text {
  display: block;
  text-align: center;
}

/* 데스크탑에서는 모바일 텍스트 숨김 */
.brand-intro-container p .mobile-text {
  display: none;
}

.brand-intro-container p .text-line {
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.brand-intro-container p .section-break {
  display: block;
  height: 20px;
  margin: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .brand-intro-section {
    padding: 80px 0;
  }

  .brand-intro-container {
    padding: 0 20px;
  }

  .brand-intro-container h3 {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .brand-intro-container h3:last-child {
    margin-top: 30px;
  }

  .brand-intro-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
  }

  /* 모바일에서는 데스크탑 텍스트 숨기고 모바일 텍스트 표시 */
  .brand-intro-container p .desktop-text {
    display: none;
  }

  .brand-intro-container p .mobile-text {
    display: block;
  }

  .brand-intro-container p .text-line {
    margin-bottom: 10px;
  }

  .brand-intro-container p .section-break {
    height: 15px;
  }
}

@media (max-width: 480px) {
  .brand-intro-container h3 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .brand-intro-container h3:last-child {
    margin-top: 25px;
  }

  .brand-intro-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
}

/* 새로운 브랜드 섹션 - 카카오페이 스타일 */
.brand-section {
  background: linear-gradient(
    to bottom,
    rgba(10, 4, 64, 0.3) 0%,
    rgba(10, 4, 64, 0.2) 30%,
    rgba(10, 4, 64, 0.1) 60%,
    rgba(10, 4, 64, 0.05) 80%,
    #ffffff 100%
  );
  background-image: url('../img/woman-talk-2.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 160px 0;
  text-align: center;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 4d3dbf 컬러 투명 오버레이 */
.brand-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(77, 61, 191, 0.7) 0%,
    rgba(109, 44, 156, 0.3) 60%,
    rgba(77, 61, 191, 0.2) 80%,
    rgba(255, 255, 255, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* 콘텐츠가 오버레이 위에 표시되도록 */
.brand-section .brand-intro-container,
.brand-section > p,
.brand-section > h3 {
  position: relative;
  z-index: 2;
}

.brand-section .brand-intro-container {
  margin-bottom: 80px;
}

.brand-section h3 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* 기본 데스크톱에서 p 태그 스타일 (scroll-reveal 제거) */
.brand-section > p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
  padding: 60px 50px;
  margin: 0 40px 100px;
  border-radius: 25px;
  max-width: calc(100% - 80px);
  word-break: keep-all;
  overflow-wrap: break-word;
  word-spacing: -0.02em;
  letter-spacing: -0.01em;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 하이라이트 텍스트 스타일 - 기본 (뷰티 전략 섹션용) */
.highlight {
  background: linear-gradient(135deg, #ff88dd 0%, #7c5aff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 900;
  display: inline-block;
  text-shadow: 0 0 15px rgba(255, 136, 221, 0.2);
}

/* 태블릿 반응형 최적화 */
@media (max-width: 1024px) {
  /* 태블릿 섹션 간격 */
  .brand-page section {
    padding-top: 80px;
    padding-bottom: 80px;
    margin: 0;
  }

  .brand-section > p.scroll-reveal.scroll-reveal-delay-2 {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    padding: 50px 40px;
    margin: 0 30px 80px;
    border-radius: 20px;
    max-width: calc(100% - 60px);
    word-break: keep-all;
    overflow-wrap: break-word;
    word-spacing: -0.01em;
    letter-spacing: -0.005em;
    text-align: center;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* 모바일 반응형 - 토스 스타일 */
@media (max-width: 768px) {
  .brand-hero {
    padding: 0;
  }

  .brand-hero-content {
    padding: 0;
  }

  .brand-hero-image {
    max-width: 100%;
  }

  .brand-hero-image img {
    border-radius: 0;
    box-shadow: none;
  }

  .brand-hero-title-container {
    flex-direction: column;
    gap: 15px;
  }

  .brand-hero-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .brand-hero-logo img {
    height: 45px;
  }

  .hero-icon {
    width: 45px;
    height: 45px;
  }

  .brand-intro-section,
  .brand-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  /* 모바일 섹션 간격 최적화 */
  .brand-page section {
    padding-top: 60px;
    padding-bottom: 60px;
    margin: 0;
  }

  /* 히어로 섹션 모바일 */
  .brand-hero {
    padding: 0;
    margin: 0;
  }

  .brand-intro-section .brand-intro-container,
  .brand-section .brand-intro-container {
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .brand-intro-container h3 {
    font-size: 2.4rem;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  }

  .brand-intro-container p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .brand-intro-container p::before {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 16px;
  }

  .brand-section h3 {
    font-size: 2.4rem;
    margin-bottom: 0;
  }

  .brand-section > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 60px;
    padding: 40px 30px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 16px;
  }

  /* 모바일에서 scroll-reveal-delay-2 p 태그 최적화 */
  .brand-section > p.scroll-reveal.scroll-reveal-delay-2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    padding: 25px 20px;
    margin: 0 30px 40px;
    border-radius: 14px;
    max-width: calc(100% - 60px);
    word-break: keep-all;
    overflow-wrap: break-word;
    word-spacing: 0.01em;
    letter-spacing: -0.003em;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align-last: center;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  /* 브랜드 소개 섹션의 p 태그도 모바일에서 최적화 */
  .brand-intro-container p.scroll-reveal.scroll-reveal-delay-2 {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: calc(100% - 70px);
    margin: 0 35px;
    padding: 0 25px;
    word-break: keep-all;
    overflow-wrap: break-word;
    word-spacing: -0.01em;
    letter-spacing: -0.005em;
    text-align: center;
  }

  .brand-section > h3:last-child {
    font-size: 2.6rem;
    padding: 50px 30px;
    margin: 0 20px;
    border-radius: 20px;
  }

  .highlight::after {
    bottom: -4px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  .brand-hero-title {
    font-size: 1.9rem;
    margin-bottom: 0.7rem;
  }

  .brand-hero-logo img {
    height: 35px;
  }

  /* 작은 모바일 섹션 간격 */
  .brand-page section {
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0;
  }

  /* 브랜드 소개 섹션 작은 모바일 */
  .brand-intro-section,
  .brand-section,
  .fintech-solution-section,
  .new-perspective-section {
    padding: 50px 0;
    margin: 0;
  }

  .brand-intro-container h3 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .brand-intro-container p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .brand-intro-container p::before {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 12px;
  }

  .brand-section h3 {
    font-size: 2rem;
  }

  .brand-section > p {
    font-size: 1.1rem;
    padding: 30px 20px;
  }

  /* 작은 모바일에서 scroll-reveal-delay-2 p 태그 더욱 최적화 */
  .brand-section > p.scroll-reveal.scroll-reveal-delay-2 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    padding: 25px 50px;
    margin: 0 30px 40px;
    border-radius: 14px;
    max-width: calc(100% - 60px);
    word-break: keep-all;
    overflow-wrap: break-word;
    word-spacing: 0.01em;
    letter-spacing: -0.003em;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align-last: center;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  /* 브랜드 소개 섹션의 p 태그도 작은 모바일에서 최적화 */
  .brand-intro-container p.scroll-reveal.scroll-reveal-delay-2 {
    font-size: 1rem;
    line-height: 1.6;
    max-width: calc(100% - 60px);
    margin: 0 30px;
    padding: 0 20px;
    word-break: keep-all;
    overflow-wrap: break-word;
    word-spacing: -0.015em;
    letter-spacing: -0.008em;
    text-align: center;
  }

  .brand-section > h3:last-child {
    font-size: 1.8rem;
    padding: 20px 20px;
    font-weight: 800;
  }

  .hero-icon {
    width: 35px;
    height: 35px;
  }
}

/* 신개념 핀테크 솔루션 섹션 */
.fintech-solution-section {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.95) 20%,
    rgba(248, 249, 250, 1) 40%,
    #f8f9fa 100%
  );
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 위 섹션과 자연스럽게 연결되는 오버레이 */
.fintech-solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0.8) 60%,
    rgba(248, 249, 250, 0.9) 80%,
    rgba(248, 249, 250, 1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.fintech-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.fintech-container h2 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #2d3748;
  margin-bottom: 80px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* 핀테크 솔루션 하이라이트 */
.highlight-fintech {
  background: linear-gradient(135deg, #ff66cc 0%, #4d3dbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 900;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
}

.feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 600px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
}

.feature-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff66cc 0%, #4d3dbf 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 102, 204, 0.3);
}

.feature-icon i {
  font-size: 1.8rem;
  color: #ffffff;
}

.feature-content {
  flex: 1;
  text-align: left;
}

.feature-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: keep-all;
}

.feature-item p {
  font-size: 1rem;
  color: #718096;
  margin: 0;
  line-height: 1.5;
  word-break: keep-all;
}

/* CTA 버튼 스타일 */
.fintech-cta {
  text-align: center;
  margin-top: 40px;
}

.cta-button {
  background: linear-gradient(135deg, #ff66cc 0%, #4d3dbf 100%);
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(77, 61, 191, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  box-shadow: 0 8px 25px rgba(77, 61, 191, 0.3);
}

.cta-button i {
  font-size: 1.1rem;
}

/* 모바일 반응형 업데이트 */
@media (max-width: 768px) {
  .fintech-solution-section {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .fintech-container {
    padding: 0 20px;
  }

  .fintech-container h2 {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }

  .solution-features {
    gap: 20px;
    margin-bottom: 40px;
  }

  .feature-item {
    padding: 25px 20px;
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon i {
    font-size: 1.5rem;
  }

  .feature-content {
    text-align: center;
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .feature-item p {
    font-size: 0.95rem;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .fintech-container h2 {
    font-size: 2rem;
  }

  .feature-item {
    padding: 20px 15px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-icon i {
    font-size: 1.3rem;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* 새로운 관점 섹션 */
.new-perspective-section {
  background: #ffffff;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perspective-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.perspective-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 80px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.perspective-messages {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.perspective-message {
  font-size: 1.6rem;
  color: #4a5568;
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

/* 메시지 등장 효과 */
.perspective-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 메시지 하이라이트 텍스트 */
.message-highlight {
  background: linear-gradient(135deg, #ff66cc 0%, #4d3dbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

/* 최종 메시지 */
.perspective-final {
  font-size: 1.8rem;
  color: #2d3748;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  word-break: keep-all;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.perspective-final.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 최종 하이라이트 */
.final-highlight {
  background: linear-gradient(135deg, #ff66cc 0%, #4d3dbf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  position: relative;
  display: inline-block;
  font-size: 2.8rem;
  margin-top: 50px;
  line-height: 1.3;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .new-perspective-section {
    padding: 80px 0 60px;
  }

  .perspective-container {
    padding: 0 20px;
  }

  .perspective-title {
    font-size: 2.2rem;
    margin-bottom: 60px;
  }

  .perspective-messages {
    gap: 30px;
    margin-bottom: 40px;
  }

  .perspective-message {
    font-size: 1.3rem;
  }

  .perspective-final {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .perspective-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .perspective-messages {
    gap: 25px;
    margin-bottom: 30px;
  }

  .perspective-message {
    font-size: 1.1rem;
  }

  .perspective-final {
    font-size: 1.3rem;
  }

  .final-highlight {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }
}

/* 가로 모드 대응 */
@media (max-width: 768px) and (orientation: landscape) {
  .brand-hero {
    min-height: auto;
  }

  .brand-intro-section,
  .brand-section,
  .fintech-solution-section,
  .new-perspective-section {
    padding: 40px 0;
    margin: 0;
  }

  .brand-page section {
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0;
  }

  .brand-hero-title {
    font-size: 1.8rem;
  }

  .brand-intro-container h3,
  .brand-section h3 {
    font-size: 2rem;
  }

  .perspective-title {
    font-size: 1.8rem;
  }
}

/* 텍스트 가독성 개선 */
@media screen and (max-width: 768px) {
  .brand-page p,
  .brand-page h2,
  .brand-page h3,
  .brand-page span {
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.02em;
    line-break: auto;
    word-spacing: -0.05em;
  }

  /* 터치 친화적 간격 */
  .feature-item,
  .perspective-message,
  .perspective-final {
    margin-bottom: 10px;
  }

  /* 스크롤 성능 최적화 */
  .brand-page * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* 한글 줄바꿈 최적화 */
  .brand-page {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* 데스크탑과 모바일 텍스트 분리 */
.desktop-text {
  display: block;
  /* 데스크탑에서는 원래 스타일 그대로 적용 - 명시적으로 보장 */
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  word-break: inherit;
  overflow-wrap: inherit;
  text-align: left;
}

.mobile-text {
  display: none;
}

/* 모바일용 텍스트 라인 스타일 - 모바일에서만 적용 */
@media (max-width: 768px) {
  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: block;
  }

  .mobile-text .text-line {
    display: block;
    margin-bottom: 0.4em;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .mobile-text .text-line:last-child {
    margin-bottom: 0;
  }

  .mobile-text .section-break {
    display: block;
    height: 1em;
    margin: 0.6em 0;
  }

  .mobile-text .final-line {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.8em;
  }
}

@media (max-width: 480px) {
  .mobile-text .text-line {
    font-size: 0.95em;
    margin-bottom: 0.5em;
  }

  .mobile-text .section-break {
    height: 0.8em;
    margin: 0.5em 0;
  }

  .mobile-text .final-line {
    margin-top: 0.6em;
    font-size: 0.98em;
    line-height: 1.3;
  }
}

/* === 텍스트 요소 간격 조정 === */
.brand-intro-container p {
  line-height: 1.8;
}

.brand-intro-container p span {
  display: inline-block;
  margin-bottom: 8px;
}

.brand-intro-container p .desktop-text,
.brand-intro-container p .mobile-text {
  display: block;
  margin-bottom: 30px;
  text-align: center;
}

.brand-intro-container p .text-line {
  display: block;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 5px;
}

.brand-intro-container p .section-break {
  display: block;
  height: 15px;
  margin: 0;
}

.brand-intro-container h3 {
  line-height: 1.4;
}

/* 모바일 텍스트 최적화 */
@media (max-width: 768px) {
  .brand-intro-container p {
    margin-bottom: 40px;
  }

  .brand-intro-container p .text-line {
    margin-bottom: 8px;
  }

  .brand-intro-container p .section-break {
    height: 12px;
  }

  .brand-intro-container h3 {
    margin-bottom: 20px;
  }
}

/* === 모바일 줄바꿈 스타일 (최종 수정 - 특이도 문제 해결) === */

/* 
  데스크탑에서는 mo-br을 숨깁니다.
  다른 스타일에 덮어씌워지지 않도록 !important를 추가하여 우선순위를 높입니다.
*/
.mo-br {
  display: none !important;
}

/* 
  모바일(768px 이하)에서만 mo-br을 보여주고 줄바꿈을 만듭니다.
  다른 스타일보다 우선 적용되도록 선택자를 더 구체적으로 지정했습니다.
*/
@media (max-width: 768px) {
  .brand-intro-container p .mo-br {
    display: block !important; /* span을 블록 요소로 만들어 확실하게 줄바꿈 */
    content: ''; /* 일부 브라우저 호환성을 위해 추가 */
  }

  /* span 내부에 있는 br은 숨겨서 이중 줄바꿈 방지 */
  .mo-br br {
    display: none;
  }
}
