/* ============================================
   Hero Section v3.0 - Modern Trendy + Warm Brown
   Redesigned for 2024
   ============================================ */

/* ■ Hero Section Container */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: var(--space-16);
}

/* ■ Hero Background Layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(139, 90, 43, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(93, 58, 26, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, 
      #0A0908 0%,
      #1A1512 30%,
      #12100E 60%,
      #0A0908 100%
    );
}

/* Animated Grid Pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201, 169, 98, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 98, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  animation: gridPulse 10s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Ambient Light Orbs */
.hero-ambient-light {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.3), transparent 70%);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.ambient-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.25), transparent 70%);
  bottom: 10%;
  left: -5%;
  animation-delay: -7s;
}

.ambient-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.2), transparent 70%);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ■ Hero Content Layout */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Text Area */
.hero-text {
  margin-bottom: var(--space-12);
}

/* Mission Statement - Small Caps */
.hero-mission {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

/* Headline - Large, Impactful */
.hero-headline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

/* Main Brand Title */
.hero-brand-main {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

/* Text Gradient with Animation */
.hero-brand-main .text-gradient,
.hero-brand-main .text-gradient-animated {
  background: linear-gradient(
    135deg,
    #C9A962 0%,
    #E5D4A8 25%,
    #C9A962 50%,
    #E5D4A8 75%,
    #C9A962 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  text-shadow: none;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ■ Hero Stats Section */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: calc(-1rem - clamp(1rem, 3vw, 2.5rem));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(201, 169, 98, 0.3), transparent);
}

.hero-stat:last-child::after {
  display: none;
}

.hero-stat-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #C9A962, #E5D4A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ■ Hero Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(139, 90, 43, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: var(--radius-full);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 500;
  color: var(--brand-light);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.hero-badge:hover {
  background: rgba(139, 90, 43, 0.35);
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}

.hero-badge.badge-highlight {
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.4), rgba(201, 169, 98, 0.3));
  border-color: rgba(201, 169, 98, 0.5);
  color: white;
}

.hero-badge i {
  font-size: 0.9em;
  color: var(--brand-gold);
}

/* Badge Tooltip */
.badge-tooltip {
  position: relative;
  cursor: help;
}

.badge-tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: var(--space-2) var(--space-4);
  background: rgba(26, 21, 18, 0.95);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 10;
}

.badge-tooltip::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(26, 21, 18, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.badge-tooltip:hover::before,
.badge-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ■ Hero CTA Buttons */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.2s;
}

.hero-cta .btn {
  min-width: 160px;
}

.hero-cta .btn-primary {
  background: linear-gradient(135deg, #8B5A2B 0%, #C9A962 100%);
  box-shadow: 
    0 4px 20px rgba(139, 90, 43, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: none;
}

.hero-cta .btn-primary:hover {
  box-shadow: 
    0 8px 35px rgba(139, 90, 43, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  filter: brightness(1.1);
}

.hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 98, 0.4);
  color: var(--brand-gold);
  backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
  background: rgba(201, 169, 98, 0.15);
  border-color: var(--brand-gold);
}

/* ■ Hero Visual - Cards */
.hero-visual {
  margin-top: var(--space-16);
  width: 100%;
  max-width: 900px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.4s;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.hero-card {
  background: linear-gradient(
    145deg,
    rgba(45, 36, 32, 0.6) 0%,
    rgba(26, 21, 18, 0.8) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.hero-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(201, 169, 98, 0.35);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(201, 169, 98, 0.15);
}

.hero-card:hover::before {
  opacity: 1;
}

.hero-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8B5A2B, #C9A962);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-5);
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.3);
  position: relative;
  z-index: 1;
}

.icon-pulse {
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-card-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, #C9A962, #E5D4A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.hero-card-label {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* 3D Hover Effect */
.card-3d-hover {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d-hover:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
}

/* ■ Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
}

.hero-scroll span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(201, 169, 98, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--brand-gold);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.5; }
}

/* ■ Responsive Styles */
@media (max-width: 1024px) {
  .hero-cards {
    gap: var(--space-4);
  }
  
  .hero-card {
    padding: var(--space-6);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: var(--space-20);
  }
  
  .hero-content {
    padding: 0 var(--space-4);
  }
  
  .hero-stats {
    gap: var(--space-8);
  }
  
  .hero-stat::after {
    display: none;
  }
  
  .hero-cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero-card {
    padding: var(--space-5);
    flex-direction: row;
    text-align: left;
    gap: var(--space-4);
  }
  
  .hero-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin: 0;
    flex-shrink: 0;
  }
  
  .hero-card-content {
    flex: 1;
  }
  
  .hero-card-num {
    font-size: 1.75rem;
  }
  
  .hero-card-label {
    font-size: 0.8rem;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-badges {
    gap: var(--space-2);
  }
  
  .hero-badge {
    padding: var(--space-2) var(--space-3);
    font-size: 0.75rem;
  }
  
  .badge-tooltip::before {
    display: none;
  }
  
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-brand-main {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: var(--space-8);
  }
  
  .hero-headline {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }
  
  .hero-stat-num {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  
  .hero-visual {
    margin-top: var(--space-10);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ■ Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-grid-pattern,
  .ambient-orb,
  .scroll-indicator::before,
  .icon-pulse {
    animation: none !important;
  }
}

/* ============================================
   ✨ NEW HERO HOOK - "No 과잉진료" Style
   중앙 정렬, 심플, 임팩트
   ============================================ */

/* Hero Content - 완전 중앙 정렬 */
.hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  min-height: calc(100dvh - 160px);
}

.hero .hero-text {
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 메인 후킹 메시지 */
.hero-hook-main {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

/* 서브 메시지 */
.hero-hook-sub {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

/* 브랜드 + 신뢰 뱃지 바 */
.hero-brand-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-brand-name {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  color: #C9A962;
}

.hero-divider {
  color: rgba(255, 255, 255, 0.25);
}

.hero-info {
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  color: rgba(255, 255, 255, 0.65);
}

/* CTA 버튼 */
.hero .hero-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

/* 소셜 프루프 */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-stars {
  display: flex;
  gap: 2px;
  color: #C9A962;
  font-size: 0.85rem;
}

.hero-rating {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-dot {
  color: rgba(255, 255, 255, 0.4);
}

.hero-review-count {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

/* ■ 태블릿 (768px ~ 1024px) */
@media (max-width: 1024px) {
  .hero-hook-main {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  
  .hero-hook-sub {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  }
}

/* ■ 모바일 (768px 이하) */
@media (max-width: 768px) {
  .hero .hero-content {
    min-height: calc(100vh - 180px);
    min-height: calc(100svh - 180px);
    padding: 0;
  }
  
  .hero .hero-text {
    padding: 0 24px;
  }
  
  .hero-hook-main {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
    margin-bottom: 12px;
    word-break: keep-all;
    line-height: 1.3;
  }
  
  .hero-hook-sub {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* 브랜드바 - 한 줄 컴팩트 */
  .hero-brand-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 32px;
    padding: 0 10px;
  }
  
  .hero-divider {
    display: none;
  }
  
  .hero-brand-name {
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
  }
  
  .hero-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  /* 정보 사이에 점 추가 */
  .hero-info:not(:last-child)::after {
    content: '·';
    margin-left: 16px;
    color: rgba(255, 255, 255, 0.3);
  }
  
  .hero .hero-cta {
    margin-bottom: 24px;
  }
  
  .hero .hero-cta .btn {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-social-proof {
    padding: 12px 20px;
    gap: 8px;
  }
  
  .hero-stars {
    font-size: 0.8rem;
  }
  
  .hero-rating,
  .hero-review-count {
    font-size: 0.8rem;
  }
}

/* ■ 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
  .hero .hero-text {
    padding: 0 20px;
  }
  
  .hero-hook-main {
    font-size: clamp(1.25rem, 7vw, 1.6rem);
  }
  
  .hero-hook-sub {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .hero-brand-bar {
    gap: 6px 12px;
    margin-bottom: 28px;
  }
  
  .hero-brand-name {
    font-size: 0.9rem;
  }
  
  .hero-info {
    font-size: 0.75rem;
  }
  
  .hero-info:not(:last-child)::after {
    margin-left: 12px;
  }
  
  .hero .hero-cta .btn {
    min-width: 180px;
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  .hero-social-proof {
    padding: 10px 16px;
    gap: 6px;
  }
  
  .hero-stars {
    font-size: 0.75rem;
  }
  
  .hero-rating,
  .hero-review-count {
    font-size: 0.75rem;
  }
}
