/* MotionDay 프로모션 웹사이트 스타일 - 블랙&화이트 테마 */

/* 기본 설정 */
:root {
  --primary-color: #000000;
  --secondary-color: #333333;
  --accent-color: #666666;
  --text-dark: #000000;
  --text-light: #555555;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
  --gradient-accent: linear-gradient(135deg, #666666 0%, #999999 100%);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* 언어 토글 */
.language-toggle {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1030;
  height: 50px;
}

.lang-btn {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  transition: var(--transition);
  border: none;
  position: relative;
  border-radius: 6px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.lang-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
}

.lang-btn.active::after {
  width: 100%;
}

.lang-btn:hover::after {
  width: 80%;
}

/* 네비게이션 */
.navbar {
  background: rgba(0, 0, 0, 0.98) !important;
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  top: 50px;
  z-index: 1020;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.99) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: white !important;
  text-decoration: none;
  font-size: 1.6rem;
}

.navbar-brand img {
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.brand-text {
  color: white;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.75rem 1.25rem !important;
  margin: 0 0.1rem;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar-nav .nav-link.active {
  background: white;
  color: var(--primary-color) !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link.active::before {
  display: none;
}

.navbar-nav .nav-link.active:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* 히어로 섹션 */
.hero-section {
  background: linear-gradient(135deg, #000000 0%, #333333 50%, #666666 100%);
  color: white;
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="100" fill="url(%23a)"/><circle cx="400" cy="800" r="200" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  text-align: center;
  position: relative;
  z-index: 2;
}

.phone-mockup {
  position: relative;
  max-width: 350px;
  margin: 0 auto;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: var(--transition);
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.hero-phone-img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 8px #1a1a1a,
    0 0 0 12px #333333;
  position: relative;
  z-index: 2;
}

.phone-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
  border-radius: 30px;
  z-index: 1;
}

/* 버튼 스타일 */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.3px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-light);
  border: 2px solid #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: white;
}

.btn-outline-primary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-primary:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  border: 2px solid #ffffff;
}

/* 섹션 공통 스타일 */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000000;
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #000000;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

/* 기능 섹션 */
.features-section {
  padding: 5rem 0;
  background: var(--bg-white);
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    var(--shadow-medium),
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  border-radius: var(--border-radius);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.03;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: 1;
}

.feature-card:hover .feature-icon::before {
  transform: scale(1);
}

.feature-icon i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000000;
  line-height: 1.4;
}

.feature-card p {
  color: #000000;
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 500;
}

/* 스크린샷 섹션 */
.screenshots-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.screenshot-lang-toggle {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.screenshot-lang-toggle .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid #000000;
  color: #000000;
}

.screenshot-lang-toggle .btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.screenshot-lang-toggle .btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.screenshot-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
}

.screenshot-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

.screenshots-container {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.screenshots-container.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.screenshots-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 다운로드 섹션 */
.download-section {
  padding: 5rem 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(0, 0, 0, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.download-section .container {
  position: relative;
  z-index: 2;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 200px;
  position: relative;
}

.download-buttons .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.download-buttons .btn:active::after {
  width: 300px;
  height: 300px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.download-buttons .btn-dark {
  animation: pulse 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(51, 51, 51, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(51, 51, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

.download-buttons .btn-success {
  animation: pulse-green 2s infinite 0.5s;
}

.btn-dark {
  background: linear-gradient(135deg, #000000 0%, #434343 100%);
  color: white;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #333333 0%, #666666 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-dark:hover {
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover::before {
  opacity: 1;
}

.btn-dark i,
.btn-dark span {
  position: relative;
  z-index: 2;
}

.btn-success {
  background: linear-gradient(135deg, #333333 0%, #555555 100%);
  color: white;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #555555 0%, #777777 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-success:hover {
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(51, 51, 51, 0.4);
}

.btn-success:hover::before {
  opacity: 1;
}

.btn-success i,
.btn-success span {
  position: relative;
  z-index: 2;
}

/* 연락처 섹션 */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.contact-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

/* 푸터 */
.footer {
  background: var(--text-dark) !important;
  color: white;
}

.footer p {
  margin: 0;
  opacity: 0.8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .feature-card p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #000000;
  }
  
  .feature-card h3 {
    color: #000000;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000000;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-item {
    width: 100%;
    max-width: 300px;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .phone-mockup {
    max-width: 280px;
    transform: none;
  }
  
  .phone-mockup:hover {
    transform: scale(1.05);
  }
  
  .screenshot-lang-toggle {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .screenshot-lang-toggle .btn {
    width: 150px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .language-toggle {
    display: none;
  }
  
  .navbar {
    top: 0;
    padding: 0.5rem 0;
  }
  
  .hero-section {
    padding-top: 80px;
    min-height: 90vh;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
  }
  
  .phone-mockup {
    max-width: 240px;
  }
  
  .contact-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .contact-item i {
    font-size: 1.5rem;
  }
}

/* 애니메이션 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 로딩 스피너 */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 스무스 스크롤 */
html {
  scroll-behavior: smooth;
}

/* 접근성 개선 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s ease;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
  color: white;
}

/* 포커스 스타일 */
.btn:focus,
.nav-link:focus,
.lang-btn:focus,
.screenshot-item:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --text-dark: #000000;
    --text-light: #333333;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .feature-card,
  .contact-item,
  .screenshot-item {
    border: 1px solid var(--text-light);
  }
}

/* 애니메이션 감소 모드 지원 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .phone-mockup {
    transform: none !important;
  }
  
  .download-buttons .btn {
    animation: none !important;
  }
}

/* 다크 모드 지원 (선택사항) */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #FFFFFF;
    --text-light: #B2BEC3;
    --bg-white: #2D3436;
    --bg-light: #636E72;
  }
} 