/* 기본 설정 및 CSS 변수 */
:root {
  --primary: #667eea;
  --primary-dark: #5a6fd8;
  --secondary: #764ba2;
  --accent: #f093fb;
  --accent-2: #f5576c;
  --accent-3: #4facfe;
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  
  --bg-glass: rgba(255, 255, 255, 0.1);
  --bg-glass-hover: rgba(255, 255, 255, 0.15);
  --bg-dark: rgba(0, 0, 0, 0.2);
  
  --border-glass: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-strong: 0 24px 64px rgba(0, 0, 0, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
  --font-6xl: 3.75rem;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

/* 메인 그라데이션 배경 - 성능 최적화 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* 단순화된 그라데이션 */
    linear-gradient(135deg, 
      #667eea 0%, 
      #764ba2 25%, 
      #a8caba 50%, 
      #4facfe 75%, 
      #00d2ff 100%);
  background-size: 200% 200%;
  animation: gradientFlow 20s ease-in-out infinite;
  z-index: -2;
  will-change: background-position;
}

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

/* 컨테이너 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* 플로팅 네비게이션 */
.floating-nav {
  position: fixed;
  top: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--spacing-sm) var(--spacing-lg);
  box-shadow: var(--shadow-soft);
  will-change: background;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: var(--font-lg);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.nav-launch-text {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-left: var(--spacing-sm);
}

/* 공통 CTA 버튼 스타일 */
.cta-btn, .nav-cta, .cta-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
}

.nav-cta {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-sm);
  min-width: 120px;
  height: 44px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* 히어로 섹션 */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
  animation-delay: 2s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-sm);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: var(--font-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ff6b9d, #ffa07a, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
}

.hero-description {
  font-size: var(--font-xl);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.hero-store-buttons {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  margin-top: var(--spacing-md);
}

.logo-store-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

/* 폰 모형 */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-container {
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.3s ease;
}

.phone-container:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.phone-frame {
  width: 320px;
  min-height: 640px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: var(--radius-xl);
  z-index: 1;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  border-radius: calc(var(--radius-xl) - 4px);
  color: var(--text-primary);
  overflow: visible;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-screen.dark {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 20;
}

/* 폰 콘텐츠 및 이미지 */
.phone-content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.phone-image-container {
  flex: 1;
  position: relative;
  overflow: visible;
  border-radius: calc(var(--radius-xl) - 4px);
  background: white;
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  border-radius: calc(var(--radius-xl) - 8px);
  display: block;
}

.phone-image.active {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.phone-image.prev {
  transform: translateX(-100%);
}

.phone-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-xs);
  z-index: 5;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  padding-top: var(--spacing-md);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.app-content {
  height: calc(100% - 60px);
  overflow-y: auto;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.back-btn, .info-btn {
  background: var(--bg-glass);
  border: none;
  border-radius: var(--radius-sm);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
}

.race-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
}

.race-card h4 {
  font-size: var(--font-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.race-date {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.race-tags {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.tag {
  padding: 4px 12px;
  border-radius: var(--radius-md);
  font-size: var(--font-xs);
  font-weight: 500;
}

.tag.primary {
  background: #4a90e2;
  color: white;
}

.tag.secondary {
  background: var(--bg-glass);
  color: var(--text-secondary);
}

.tag.tertiary {
  background: #e74c3c;
  color: white;
}

.race-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b47, #e74c3c);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.chart-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
}

.chart-card h5 {
  font-size: var(--font-base);
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.performance-chart {
  position: relative;
  height: 100px;
  margin-bottom: var(--spacing-sm);
}

.chart-line {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.chart-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.point {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff6b47;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-xs);
  font-weight: 600;
  color: white;
  z-index: 2;
}

.point::after {
  content: attr(data-rank);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.chart-dates {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-xs);
  color: var(--text-muted);
  padding: 0 10px;
}

.horse-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
}

.horse-number {
  width: 40px;
  height: 40px;
  background: #4a90e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.horse-info h6 {
  font-size: var(--font-sm);
  margin-bottom: 2px;
}

.horse-info p {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.horse-rating {
  margin-left: auto;
  font-size: var(--font-xl);
  font-weight: 700;
}

/* 섹션 공통 스타일 */
section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-badge {
  display: inline-block;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-sm);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
}

.section-title {
  font-size: var(--font-5xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

section h2 {
  font-size: var(--font-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

section p {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 로고 섹션 */
.logo-section {
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
}

.main-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.malgori-logo {
  max-width: 450px;
  width: 100%;
  height: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.malgori-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.logo-description {
  font-size: var(--font-lg);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--spacing-sm);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  font-size: var(--font-4xl);
  margin-bottom: var(--spacing-md);
}

.feature-card h3 {
  font-size: var(--font-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  font-size: var(--font-base);
  color: var(--text-muted);
}

/* 비교 섹션 */
.comparison-section {
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
}

.comparison-phones {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-2xl);
}

.phone-comparison {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.comparison-content {
  padding: var(--spacing-md);
}

.comparison-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.comparison-header h4 {
  font-size: var(--font-lg);
  margin-bottom: var(--spacing-xs);
}

.comparison-header p {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.horse-comparison-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.horse-compare-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
}

.horse-compare-card.blue {
  border-left: 4px solid #4a90e2;
}

.horse-compare-card.green {
  border-left: 4px solid #2ecc71;
}

.horse-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.horse-header .number {
  width: 24px;
  height: 24px;
  background: #4a90e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  font-weight: 600;
  color: white;
}

.green .number {
  background: #2ecc71;
}

.horse-header .name {
  font-weight: 600;
  font-size: var(--font-base);
}

.badges {
  display: flex;
  gap: var(--spacing-xs);
  margin-left: auto;
}

.badge {
  background: var(--bg-glass);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-xs);
  color: var(--text-secondary);
}

.horse-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xs);
}

.stat {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-xs);
}

.stat .label {
  color: var(--text-muted);
}

.stat .value {
  font-weight: 600;
}

/* 레이더 차트 */
.radar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--spacing-lg);
}

.radar-chart {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: var(--spacing-lg);
}

.radar-svg {
  width: 100%;
  height: 100%;
}

.radar-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.radar-labels .label {
  position: absolute;
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.label.top { top: -10px; left: 50%; transform: translateX(-50%); }
.label.top-right { top: 15%; right: -15px; }
.label.bottom-right { bottom: 15%; right: -15px; }
.label.bottom { bottom: -10px; left: 50%; transform: translateX(-50%); }
.label.bottom-left { bottom: 15%; left: -15px; }
.label.top-left { top: 15%; left: -15px; }

.radar-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

.radar-btn {
  padding: var(--spacing-xs) var(--spacing-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radar-btn.blue {
  background: #4a90e2;
  color: white;
}

.radar-btn.green {
  background: #2ecc71;
  color: white;
}

.radar-btn:not(.active) {
  background: var(--bg-glass);
  color: var(--text-secondary);
}

/* 태블릿 섹션 */
.tablet-section {
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.tablet-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  margin-top: var(--spacing-2xl);
}

.tablet-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
}

.tablet-frame {
  width: 420px;
  height: 600px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: perspective(1500px) rotateY(-8deg) rotateX(3deg);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tablet-container:hover .tablet-frame {
  transform: perspective(1500px) rotateY(-4deg) rotateX(1deg);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.tablet-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border-radius: 28px;
  z-index: 1;
  pointer-events: none;
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tablet-camera {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  z-index: 20;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) inset;
}

.tablet-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 18px;
}

.tablet-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tablet-image.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.tablet-image.prev {
  transform: translateX(-100%);
  opacity: 0;
}

/* 태블릿 네비게이션 버튼 */
.tablet-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.tablet-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tablet-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.tablet-nav.prev {
  left: -25px;
}

.tablet-nav.next {
  right: -25px;
}

/* 태블릿 인디케이터 */
.tablet-indicators {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.tablet-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tablet-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.tablet-indicator.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(103, 126, 234, 0.5);
}

/* 태블릿 기능 설명 */
.tablet-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.tablet-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
}

.tablet-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
  box-shadow: var(--shadow-medium);
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.tablet-feature-item h3 {
  font-size: var(--font-2xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.tablet-feature-item p {
  font-size: var(--font-lg);
  color: var(--text-muted);
  line-height: 1.6;
}

/* AI 섹션 */
.ai-section {
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
}

.ai-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  margin-top: var(--spacing-2xl);
}

.ai-phone .phone-screen {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ai-content {
  padding: var(--spacing-md);
}

.ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.ai-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.ai-notification {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.ai-icon {
  font-size: var(--font-2xl);
}

.ai-text p {
  font-size: var(--font-sm);
  margin: 0;
  line-height: 1.4;
}

.ai-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.ai-card {
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
}

.ai-card.blue {
  background: linear-gradient(135deg, #4a90e2, #357abd);
}

.ai-card.orange {
  background: linear-gradient(135deg, #ff6b47, #e74c3c);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.card-title {
  font-size: var(--font-base);
  font-weight: 600;
}

.card-icon {
  font-size: var(--font-lg);
}

.ai-card p {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.card-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-xs) var(--spacing-md);
  color: white;
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all 0.3s ease;
}

.card-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: 600px;
}

.feature-item {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.feature-number {
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-lg);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

.feature-content {
  flex: 1;
  min-width: 0;
}

.feature-item h3 {
  font-size: var(--font-2xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  word-break: keep-all;
  line-height: 1.3;
}

.feature-item p {
  font-size: var(--font-lg);
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

/* CTA 섹션 */
.cta-section {
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
  text-align: center;
}

.cta-content h2 {
  font-size: var(--font-5xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

.cta-content p {
  font-size: var(--font-xl);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

.cta-primary {
  position: relative;
  padding: var(--spacing-md) var(--spacing-2xl);
  font-weight: 700;
  font-size: var(--font-lg);
  min-width: 200px;
  height: 56px;
  box-shadow: 0 8px 24px rgba(103, 126, 234, 0.25);
  overflow: hidden;
}

.cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(103, 126, 234, 0.35);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-primary:hover .btn-shine {
  left: 100%;
}

.store-buttons {
  display: flex;
  gap: var(--spacing-lg);
}

.store-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 60px;
}

.store-btn:hover {
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.store-logo {
  height: 44px;
  width: auto;
  filter: brightness(1.1);
  object-fit: contain;
}

/* 푸터 */
.footer {
  background: var(--bg-dark);
  backdrop-filter: blur(20px);
  padding: var(--spacing-xl) 0;
  text-align: center;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: var(--font-lg);
}

.footer-logo .logo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
}

.footer-logo .logo-text {
  height: 48px;
  width: auto;
}

.footer-disclaimer {
  max-width: 600px;
  margin: var(--spacing-lg) 0;
}

.disclaimer-text {
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0.9;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.footer-legal {
  margin-top: var(--spacing-md);
}

.trademark-text {
  font-size: var(--font-xs);
  color: var(--text-muted);
  opacity: 0.8;
  margin-bottom: var(--spacing-xs);
}

.footer-copyright {
  font-size: var(--font-xs);
  color: var(--text-muted);
  opacity: 0.7;
  margin: 0;
}

.footer-links {
  margin-top: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--font-sm);
  opacity: 0.8;
  transition: all 0.3s ease;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
}

.footer-links a:hover {
  color: var(--text-primary);
  opacity: 1;
  background: var(--bg-glass);
}

/* 애니메이션 클래스 */
.animate-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-child {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-child.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 로딩 상태 */
body:not(.loaded) * {
  animation-play-state: paused !important;
}

body.loaded {
  animation-play-state: running;
}

/* 모달 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal.show .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-primary);
  box-shadow: var(--shadow-strong);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10000;
}

/* 커스텀 스크롤바 */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.modal-icon {
  font-size: var(--font-4xl);
  margin-bottom: var(--spacing-md);
}

.modal-header h3 {
  font-size: var(--font-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.modal-header p {
  font-size: var(--font-lg);
  color: rgba(255, 255, 255, 0.9);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-form-section {
  animation: slideDown 0.5s ease-out;
  animation-fill-mode: forwards;
  opacity: 1 !important;
}

.contact-form-section .form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

/* 확인 질문 스타일 */
.confirmation-group {
  margin-bottom: var(--spacing-xl);
}

.confirmation-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.confirmation-text {
  font-size: var(--font-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
}

.confirmation-question {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.confirmation-buttons {
  display: flex;
  gap: var(--spacing-md);
}

.confirm-btn {
  flex: 1;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.confirm-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.confirm-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.confirm-no.selected {
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* reCAPTCHA 정보 스타일 */
.recaptcha-info {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-md);
}

.recaptcha-text {
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

.recaptcha-icon {
  margin-right: var(--spacing-xs);
  font-size: var(--font-sm);
}

.recaptcha-text a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.recaptcha-text a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* reCAPTCHA 배지 숨기기 (폼 내부에 이미 안내 있음) */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 개인정보 동의 체크박스 */
.privacy-consent {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  margin-bottom: 0;
  font-size: var(--font-sm);
  line-height: 1.5;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent-3);
  border-color: var(--accent-3);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-text {
  color: white !important;
  font-size: var(--font-sm);
}

.privacy-link {
  color: var(--accent-3);
  text-decoration: underline;
  cursor: help;
  position: relative;
}

/* 툴팁 스타일 */
.privacy-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: var(--spacing-xs);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.privacy-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tooltip-content {
  background: linear-gradient(135deg, #2a2a3a, #1a1a2a);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  max-width: 300px;
  margin: 0 auto;
}

.tooltip-content h4 {
  color: var(--text-primary);
  font-size: var(--font-base);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.tooltip-section {
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-xs);
  line-height: 1.4;
}

.tooltip-section:last-child {
  margin-bottom: 0;
}

.tooltip-section strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.form-group label {
  font-size: var(--font-base);
  font-weight: 600;
  color: white !important;
  display: block !important;
  margin-bottom: var(--spacing-xs) !important;
}

.form-group input {
  padding: var(--spacing-md) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--radius-md) !important;
  font-size: var(--font-base) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
  transition: all 0.3s ease;
  width: 100% !important;
  box-sizing: border-box !important;
}

.form-group input:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group input::placeholder {
  color: #999;
}

.form-submit {
  position: relative;
  background: rgba(255, 255, 255, 0.25) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg) !important;
  color: white !important;
  font-size: var(--font-lg) !important;
  font-weight: 700 !important;
  width: 100% !important;
  margin-top: var(--spacing-md) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: var(--spacing-xl);
}

.form-submit:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

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

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--font-5xl);
  }
  
  .ai-showcase {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .phone-comparison {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  /* 태블릿 섹션 반응형 */
  .tablet-showcase {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .tablet-frame {
    width: 350px;
    height: 500px;
  }
  
  .tablet-container {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  /* 모바일에서 네비게이션을 하단으로 이동 */
  .floating-nav {
    position: fixed !important;
    top: auto;
    bottom: var(--spacing-lg);
    left: var(--spacing-md);
    right: var(--spacing-md);
    transform: none;
    padding: var(--spacing-xs) var(--spacing-md);
    z-index: 1000;
  }
  
  .logo-icon {
    width: 24px;
    height: 24px;
  }
  
  .logo-text {
    height: 16px;
  }
  
  /* 히어로 섹션 패딩 조정 */
  .hero-section {
    padding: var(--spacing-2xl) 0 120px 0; /* 하단 네비를 위한 여백 */
  }
  
  .hero-badge {
    margin-bottom: var(--spacing-lg); /* 배지와 제목 사이 간격 늘림 */
  }
  
  .hero-title {
    font-size: var(--font-4xl);
  }
  
  .hero-description {
    font-size: var(--font-lg);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-store-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .logo-store-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  
  .hero-store-buttons .store-btn,
  .logo-store-buttons .store-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .phone-frame {
    width: 280px;
    min-height: 560px;
  }
  
  .app-logo {
    width: 80px;
    height: 80px;
  }
  
  .text-logo {
    height: 32px;
  }
  
  section h2 {
    font-size: var(--font-3xl);
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  /* AI 섹션 개선 */
  .ai-showcase {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
  
  .ai-phone {
    order: -1; /* 폰을 위로 이동 */
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .ai-phone .phone-container {
    margin: 0 auto;
  }
  
  .ai-features {
    max-width: 100%;
    margin: 0 auto;
  }
  
  /* 모바일에서 feature 넘버링 스타일 개선 */
  .feature-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    font-size: var(--font-xl);
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-medium);
  }
  
  .feature-item {
    align-items: center;
    text-align: left;
  }
  
  .store-buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--spacing-md);
  }
  
  .store-btn {
    width: 100%;
    justify-content: center;
  }
  
  .store-logo {
    height: 40px;
  }
  
  .modal-content {
    padding: var(--spacing-xl);
  }
  
  /* 태블릿 섹션 모바일 */
  .tablet-frame {
    width: 70vw;
    max-width: 300px;
    height: calc(70vw * 1.43);
    max-height: 429px;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
  
  .tablet-container:hover .tablet-frame {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
  
  .tablet-nav {
    width: 40px;
    height: 40px;
  }
  
  .tablet-nav.prev {
    left: -20px;
  }
  
  .tablet-nav.next {
    right: -20px;
  }
  
  .tablet-features {
    text-align: center;
  }
  
  .tablet-feature-item:hover {
    transform: translateX(0) translateY(-5px);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-3xl);
  }
  
  /* 더 작은 화면에서 네비게이션 최적화 */
  .floating-nav {
    position: fixed !important;
    bottom: var(--spacing-lg);
    padding: var(--spacing-xs) var(--spacing-sm);
    z-index: 1000;
  }
  
  .nav-container {
    gap: var(--spacing-xs);
  }
  
  .nav-launch-text {
    font-size: var(--font-xs);
    margin-left: 2px;
  }
  
  .nav-cta {
    font-size: var(--font-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    min-width: 60px;
  }
  
  .logo-icon {
    width: 20px;
    height: 20px;
  }
  
  .phone-frame {
    width: 250px;
    min-height: 500px;
  }
  
  .app-logo {
    width: 60px;
    height: 60px;
  }
  
  .text-logo {
    height: 24px;
  }
  
  .cta-content h2 {
    font-size: var(--font-3xl);
  }
  
  .feature-item {
    flex-direction: row; /* 가로 배치 유지 */
    text-align: left;
    align-items: flex-start;
  }
  
  .feature-number {
    width: 50px;
    height: 50px;
    font-size: var(--font-base);
  }
  
  .store-logo {
    height: 35px;
  }
  
  .nav-cta {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-xs);
    min-width: 100px;
    height: 40px;
  }
  
  .cta-primary {
    min-width: 180px;
    height: 50px;
    font-size: var(--font-md);
    padding: var(--spacing-sm) var(--spacing-xl);
  }
  
  .nav-container {
    gap: var(--spacing-sm);
  }
  
  .nav-launch-text {
    font-size: var(--font-sm);
    margin-left: var(--spacing-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .malgori-logo {
    max-width: 320px;
  }
  
  /* 더 작은 화면에서 섹션 패딩 조정 */
  .hero-section {
    padding: var(--spacing-xl) 0 100px 0;
  }
  
  /* 태블릿 섹션 작은 화면 */
  .tablet-frame {
    width: 65vw;
    max-width: 260px;
    height: calc(65vw * 1.43);
    max-height: 372px;
  }
  
  .tablet-nav {
    width: 36px;
    height: 36px;
  }
  
  .tablet-nav svg {
    width: 18px;
    height: 18px;
  }
  
  .tablet-nav.prev {
    left: -18px;
  }
  
  .tablet-nav.next {
    right: -18px;
  }
  
  .feature-icon-large {
    font-size: 2rem;
  }
  
  .tablet-feature-item h3 {
    font-size: var(--font-xl);
  }
  
  .tablet-feature-item p {
    font-size: var(--font-base);
  }
}