@charset "utf-8";

/* CSS Document */
@font-face {
  font-family: 'SB 어그로 M';
  src: url('../fonts/SB 어그로 M.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SB 어그로 L';
  src: url('../fonts/SB 어그로 L.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, rgba(10, 15, 30, 1), rgba(12, 9, 25, 1));
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0;
  position: relative;
  text-align: center;
}

/* 은은한 금빛 포인트 – 히어로보다 훨씬 약하게 */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: radial-gradient(circle at 50% 120%, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  line-height: 1.6;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer strong {
  color: rgba(255, 255, 255, 0.95);
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-right a {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer-right {
    flex-direction: column;
    gap: 1rem;
  }
}

:root {
  /* 브랜드 메인 컬러 (붉은 금빛 계열) */
  --primary-color: #b91c1c;
  --secondary-color: #78350f;
  --accent-color: #f59e0b;
  --accent-pink: #e11d48;
  --accent-cyan: #06b6d4;

  /* 텍스트 컬러 */
  --text-primary: #1e1b4b;
  --text-secondary: #64748b;
  --text-light: #fffaf0;

  /* 배경 컬러 */
  --bg-primary: #faf7f5;
  --bg-secondary: #f1ebe7;
  --bg-dark: #1e1b4b;
  --bg-card: rgba(255, 250, 245, 0.9);
  /* 따뜻한 반투명 카드 배경 */

  /* 그래디언트 (고급스러운 사주 감성) */
  --gradient-primary: linear-gradient(135deg, #b91c1c 0%, #f59e0b 100%);
  --gradient-secondary: linear-gradient(135deg, #5b21b6 0%, #e11d48 100%);
  --gradient-tertiary: linear-gradient(135deg, #78350f 0%, #fbbf24 100%);
  --gradient-elegant: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 50%, #f59e0b 100%);

  /* 그림자 효과 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* 유리(Glassmorphism) 효과 */
  --glass: rgba(255, 250, 245, 0.15);
  --glass-border: rgba(255, 250, 245, 0.25);
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg-primary);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
  }
  .logo-img {
    width: 28px;
    height: 28px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--gradient-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
}

.mobile-nav-links li {
  margin: 2rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-links a {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-nav-links a:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(120, 53, 15, 0.92)),
    url('../images/main_loge.png') center/contain no-repeat;
  position: relative;
  overflow: hidden;
}

/* 기존 그리드 패턴 없애기 (혹은 더 약하게) */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* 완전히 제거하고 싶으면 background: none; */
  background: none;
  opacity: 0;
  /* 안 보이게 */
  animation: none;
  /* 움직임 제거 */
}

/* 부드러운 빛 퍼지는 효과만 살짝 유지 */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.18) 0%, transparent 55%);
  animation: pulse 6s ease-in-out infinite alternate;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  background: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

/* 메인 떠다니는 아이콘 */
.shape-1 {
  width: 120px;
  height: 120px;
  top: 20%;
  left: 8%;
  background-image: url('../images/icon/main_icon (1).png');
  animation: floatShape1 24s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  background-image: url('../images/icon/main_icon (2).png');
  animation: floatShape2 28s ease-in-out infinite reverse;
}

.shape-3 {
  width: 90px;
  height: 90px;
  top: 25%;
  right: 30%;
  background-image: url('../images/icon/main_icon (3).png');
  animation: floatShape3 20s ease-in-out infinite;
}

.shape-4 {
  width: 130px;
  height: 130px;
  bottom: 25%;
  left: 18%;
  background-image: url('../images/icon/main_icon (4).png');
  animation: floatShape4 26s ease-in-out infinite;
}

.shape-5 {
  width: 60px;
  height: 60px;
  top: 12%;
  right: 42%;
  background-image: url('../images/icon/main_icon (5).png');
  animation: floatShape5 18s ease-in-out infinite reverse;
}

.shape-6 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 5%;
  background-image: url('../images/icon/main_icon (6).png');
  opacity: 0.25;
  animation: floatShape6 32s ease-in-out infinite;
}

.shape-7 {
  width: 110px;
  height: 110px;
  top: 45%;
  left: 10%;
  background-image: url('../images/icon/main_icon (7).png');
  animation: floatShape7 22s ease-in-out infinite reverse;
}

.shape-8 {
  width: 80px;
  height: 80px;
  top: 70%;
  right: 28%;
  background-image: url('../images/icon/main_icon (8).png');
  animation: floatShape8 30s ease-in-out infinite;
}

.shape-9 {
  width: 140px;
  height: 140px;
  bottom: 15%;
  left: 35%;
  background-image: url('../images/icon/main_icon (9).png');
  animation: floatShape9 27s ease-in-out infinite reverse;
}

.shape-10 {
  width: 95px;
  height: 95px;
  top: 32%;
  left: 55%;
  background-image: url('../images/icon/main_icon (10).png');
  animation: floatShape10 16s ease-in-out infinite;
}

.shape-11 {
  width: 170px;
  height: 170px;
  bottom: 5%;
  right: 22%;
  background-image: url('../images/icon/main_icon (11).png');
  opacity: 0.3;
  animation: floatShape11 34s ease-in-out infinite reverse;
}

@keyframes floatShape1 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
  }

  50% {
    transform: translateY(-15px) translateX(-10px) rotate(180deg);
  }

  75% {
    transform: translateY(-40px) translateX(15px) rotate(270deg);
  }
}

@keyframes floatShape2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  33% {
    transform: translateY(25px) translateX(-20px) scale(1.1);
  }

  66% {
    transform: translateY(-20px) translateX(25px) scale(0.9);
  }
}

@keyframes floatShape3 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) translateX(-30px) rotate(180deg);
  }
}

@keyframes floatShape4 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(20px) translateX(-15px) rotate(45deg);
  }

  50% {
    transform: translateY(-10px) translateX(30px) rotate(90deg);
  }

  75% {
    transform: translateY(15px) translateX(-20px) rotate(135deg);
  }
}

@keyframes floatShape5 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  50% {
    transform: translateY(-35px) translateX(20px) scale(1.2);
  }
}

@keyframes floatShape6 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-15px) translateX(10px) rotate(60deg);
  }

  66% {
    transform: translateY(10px) translateX(-25px) rotate(120deg);
  }
}

@keyframes floatShape7 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(45deg);
  }
  50% {
    transform: translateY(-5px) translateX(-15px) rotate(90deg);
  }
  75% {
    transform: translateY(-30px) translateX(5px) rotate(135deg);
  }
}

@keyframes floatShape8 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  33% {
    transform: translateY(18px) translateX(-12px) scale(1.1);
  }
  66% {
    transform: translateY(-18px) translateX(15px) scale(0.95);
  }
}

@keyframes floatShape9 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) translateX(25px) rotate(180deg);
  }
}

@keyframes floatShape10 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
  25% {
    transform: translateY(15px) translateX(10px) rotate(30deg);
  }
  50% {
    transform: translateY(-20px) translateX(-20px) rotate(60deg);
  }
  75% {
    transform: translateY(10px) translateX(15px) rotate(90deg);
  }
}

@keyframes floatShape11 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
  }
  33% {
    transform: translateY(-25px) translateX(20px) scale(1.05) rotate(45deg);
  }
  66% {
    transform: translateY(15px) translateX(-25px) scale(0.95) rotate(90deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.8;
  }
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  z-index: 2;
  position: relative;
  max-width: 1400px;
  padding: 0 2rem;
}

.hero-subtitle {
  font-size: 2.5rem; /* 원하는 크기로 조절 */
  font-weight: 500; /* 굵게 (선택사항) */
}

.hero h1 {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.4s forwards;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  border-color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

/* Section Styles */
section {
  padding: 8rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 4rem;
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* About Section */
.about {
  background: var(--bg-secondary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.about-content {
  display: grid;

  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}

.about-image {
  width: 100%;
  height: 500px;
  background: url('../images/introduce_services.png') center/cover;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
  transition: opacity 0.3s ease;
}

.about-image:hover::before {
  opacity: 0.7;
}

.about-text h3 {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.3;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.skills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.skill-tag {
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* difference Section */
.difference {
  background: var(--bg-primary);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.difference-item {
  background: var(--bg-card);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.difference-item.animate {
  transform: translateY(0);
  opacity: 1;
}

.difference-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 40px rgba(185, 28, 28, 0.35); /* 붉은빛 그림자 */
  border-color: rgba(245, 158, 11, 0.45); /* 금빛 포인트 */
  background: rgba(15, 23, 42, 0.65); /* hover 시 살짝 밝아짐 */
}

.difference-image {
  width: 100%;
  height: 400px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.difference-item:nth-child(1) .difference-image {
  background-image: url('../images/두뇌코치보고서.png');
}

.difference-item:nth-child(2) .difference-image {
  background-image: url('../images/건강코치보고서.png');
}

.difference-item:nth-child(3) .difference-image {
  background-image: url('../images/핵심만 뽑아주는 맞춤 리포트.png');
}

.difference-item:nth-child(4) .difference-image {
  background-image: url('../images/인터넷사주 비대면 상담.png');
}

.difference-item:nth-child(5) .difference-image {
  background-image: url('../images/길일 흉일을 활용한 시기 전략.png');
}

.difference-item:nth-child(6) .difference-image {
  background-image: url('../images/목표 소원 재물 사업 실전 비법.png');
}

.difference-item:nth-child(7) .difference-image {
  background-image: url('../images/연애 결혼 동업까지 보는 2인궁합.png');
}

.difference-item:nth-child(8) .difference-image {
  background-image: url('../images/신뢰검증 비밀보장.png');
}

.difference-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  transition: all 0.3s ease;
}

.difference-item:hover .difference-image::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(185, 28, 28, 0.25));
}

.difference-item:hover .difference-content * {
  color: rgba(255, 255, 255, 0.95);
}

.difference-content {
  padding: 2rem;
}

.difference-content h4 {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.difference-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.difference-tech {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.85); /* 진한 네이비 안쪽 배경 */
  color: rgba(255, 255, 255, 0.9); /* 거의 흰색 글자 */
  border: 1px solid rgba(245, 158, 11, 0.4); /* 금빛 테두리 */
}

/* 카드 전체 hover 시 태그도 살짝 강조 */
.difference-item:hover .tech-tag {
  background: rgba(185, 28, 28, 0.9); /* 붉은빛 */
  color: #ffffff; /* 확실한 흰색 */
  border-color: rgba(252, 211, 77, 0.7); /* 더 선명한 금빛 */
}

/* 태그 위에 마우스를 올렸을 때도 글자 안 사라지게 */
.tech-tag:hover {
  background: rgba(185, 28, 28, 1); /* 조금 더 진한 붉은빛 */
  color: #ffffff;
}

/* Sample Report Section */
.sample-report {
  background: var(--bg-primary);
  padding: 8rem 0;
  text-align: center;
}

.sample-desc {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.sample-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  pointer-events: auto;
}

.preview-wrapper {
  width: 420px;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.preview-img.active {
  display: block;
}

.preview-btn {
  padding: 0.8rem 1.2rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
}

/* Modal Viewer */
/* 모달 전체 화면 대응 */
.sample-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px; /* 가장자리 여백 확보 */
  overflow: auto; /* 화면보다 클 경우 스크롤 */
}

/* 모달 콘텐츠 정렬 */
.sample-modal .modal-content {
  max-width: 900px;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 슬라이더 내부 이미지 자동 리사이징 */
.modal-slider img {
  width: auto;
  max-width: 100%;
  max-height: 90vh; /* 화면 높이에 맞게 자동 축소 */
  object-fit: contain;
  display: none;
  border-radius: 10px;
}

.modal-slider img.active {
  display: block;
}

/* 좌우 버튼 정렬 보정 */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 1rem 1.4rem;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
  z-index: 1000;
}

.modal-nav.left {
  left: 0;
}
.modal-nav.right {
  right: 0;
}

.sample-modal-button {
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

/* ===== Difference Section Background (은은한 따뜻한 톤) ===== */
.difference {
  background: #faf5f0; /* 기존 흰색과 다르게 아주 연한 베이지 */
  position: relative;
}

.difference::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(185, 28, 28, 0.06), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05), transparent 70%);
  pointer-events: none;
}

/* ===== Sample Report Section Background (차분한 세컨드 톤) ===== */
.sample-report {
  background: #f3eee9; /* 더 따뜻하고 차분한 톤 */
  position: relative;
}

.sample-report::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 80%, rgba(120, 53, 15, 0.08), transparent 65%),
    radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.06), transparent 70%);
  pointer-events: none;
}

/* Price Section */
.price {
  background: var(--bg-secondary);
  position: relative;
}

.price-group {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.price-group-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.price-group-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.price-grid.price-grid-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(245, 158, 11, 0.6);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.price-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.price-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
  white-space: nowrap;
}

.price-card-desc {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.price-card-desc small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: rgba(100, 116, 139, 0.9);
}

.price-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.price-tags li {
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

/* Price Section Responsive */
@media (max-width: 1024px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-grid.price-grid-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .price-group {
    margin-bottom: 3rem;
  }

  .price-grid,
  .price-grid.price-grid-options {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 1.5rem 1.5rem;
  }

  .price-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Contact Section (Hero 스타일과 통일) */
.contact {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(120, 53, 15, 0.92)),
    url('../images/main_loge.png') center/contain no-repeat;
  color: var(--text-light);
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  z-index: 1;
}

/* Hero처럼 빛 퍼지는 효과만 유지 */
.contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.18) 0%, transparent 55%);
  z-index: 0;
}

/* 상담섹션 제목 스타일 = Hero 제목과 어울리게 */
.contact .section-title {
  background: var(--gradient-elegant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* 폼 전체는 Hero 버튼처럼 둥근 유리 느낌 */
.contact-form {
  margin-top: 3rem;
  z-index: 2;
  position: relative;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.submit-btn {
  background: var(--gradient-primary);
  border-radius: 50px;
  padding: 1.1rem 2.6rem;
  font-weight: 600;
  font-size: 1.05rem;
  transform: translateY(0);
  transition: 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(185, 28, 28, 0.35);
}

/* Contact Floating Shapes */
.contact-floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.contact-shape-1 {
  width: 70px;
  height: 70px;
  top: 15%;
  left: 8%;
  animation: contactFloatShape1 24s ease-in-out infinite;
}

.contact-shape-2 {
  width: 110px;
  height: 110px;
  top: 65%;
  right: 12%;
  background: rgba(255, 255, 255, 0.06);
  animation: contactFloatShape2 28s ease-in-out infinite reverse;
}

.contact-shape-3 {
  width: 55px;
  height: 55px;
  top: 25%;
  right: 30%;
  background: rgba(255, 255, 255, 0.1);
  animation: contactFloatShape3 20s ease-in-out infinite;
}

.contact-shape-4 {
  width: 90px;
  height: 90px;
  bottom: 20%;
  left: 18%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  animation: contactFloatShape4 26s ease-in-out infinite;
}

.contact-shape-5 {
  width: 35px;
  height: 35px;
  top: 12%;
  right: 45%;
  background: rgba(255, 255, 255, 0.12);
  animation: contactFloatShape5 18s ease-in-out infinite reverse;
}

.contact-shape-6 {
  width: 130px;
  height: 130px;
  bottom: 12%;
  right: 8%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 35px;
  animation: contactFloatShape6 32s ease-in-out infinite;
}

@keyframes contactFloatShape1 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-25px) translateX(15px) rotate(90deg);
  }

  50% {
    transform: translateY(-10px) translateX(-8px) rotate(180deg);
  }

  75% {
    transform: translateY(-35px) translateX(12px) rotate(270deg);
  }
}

@keyframes contactFloatShape2 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  33% {
    transform: translateY(20px) translateX(-15px) scale(1.05);
  }

  66% {
    transform: translateY(-15px) translateX(20px) scale(0.95);
  }
}

@keyframes contactFloatShape3 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) translateX(-25px) rotate(180deg);
  }
}

@keyframes contactFloatShape4 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  25% {
    transform: translateY(15px) translateX(-12px) rotate(30deg);
  }

  50% {
    transform: translateY(-8px) translateX(25px) rotate(60deg);
  }

  75% {
    transform: translateY(12px) translateX(-18px) rotate(90deg);
  }
}

@keyframes contactFloatShape5 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  50% {
    transform: translateY(-30px) translateX(15px) scale(1.15);
  }
}

@keyframes contactFloatShape6 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) translateX(8px) rotate(45deg);
  }

  66% {
    transform: translateY(8px) translateX(-20px) rotate(90deg);
  }
}

@keyframes contactFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-15px) rotate(0.5deg);
  }

  66% {
    transform: translateY(-10px) rotate(-0.5deg);
  }
}

@keyframes contactPulse {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.7;
  }
}

.contact-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.contact .section-title {
  color: var(--text-light);
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.form-group label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
  padding: 1.2rem 3rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .difference-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .difference-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-text h3 {
    font-size: 2rem;
  }

  .skills {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}
