/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  /* Colors - Dark Theme */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --border: #2a2a2a;
  --text: #ededed;
  --text-secondary: #8a8a8a;
  --text-tertiary: #6a6a6a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --gradient-start: #1fabda;
  --gradient-end: #183ba2;
  
  /* Spacing */
  --container-width: 1280px;
  --section-padding: 120px;
  --section-padding-small: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ========================================
   Container
   ======================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1440px) {
  .container {
    padding: 0 24px;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--text);
}

.lang-separator {
  color: var(--text-tertiary);
  font-size: 13px;
  user-select: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-title {
  margin-bottom: 20px;
  font-size: 56px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.price-tag {
  color: var(--text-secondary);
  font-size: 14px;
}

.hero-demo {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  gap: 24px;
}

/* Railway風タブインジケーター */
.demo-tabs {
  display: flex;
  gap: 32px;
  position: relative;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 800px;
}

.demo-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  padding-bottom: 16px;
  flex: 1;
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tab-label {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px 1px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s ease;
}

/* タブがアクティブになるアニメーション（Railway風） */
.tab-1 {
  animation: tab1Active 24s ease-in-out infinite;
}

.tab-1 .tab-indicator {
  animation: indicator1Active 24s linear infinite;
}

.tab-1 .tab-icon {
  animation: icon1Active 24s linear infinite;
}

.tab-2 {
  animation: tab2Active 24s linear infinite;
}

.tab-2 .tab-indicator {
  animation: indicator2Active 24s linear infinite;
}

.tab-2 .tab-icon {
  animation: icon2Active 24s linear infinite;
}

.tab-3 {
  animation: tab3Active 24s linear infinite;
}

.tab-3 .tab-indicator {
  animation: indicator3Active 24s linear infinite;
}

.tab-3 .tab-icon {
  animation: icon3Active 24s linear infinite;
}

.demo-container-new {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  animation: gridColumnChange 24s linear infinite;
}

.demo-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-column: span 3;
  display: contents;
}

/* デモフェーズ共通 */
.demo-phase {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  opacity: 0.4;
}

/* 各フェーズのアクティブ状態（明暗差） */
.phase-1 {
  animation: phase1Brightness 24s linear infinite;
}

.phase-2 {
  animation: phase2Brightness 24s linear infinite;
}

.phase-3 {
  animation: phase3Brightness 24s linear infinite;
}

.demo-phase:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.phase-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* エディターモック */
.demo-editor {
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  animation: editorPulse 24s ease-in-out infinite;
}

.editor-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editor-dots {
  display: flex;
  gap: 6px;
  margin-right: 12px;
}

.editor-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.editor-dots span:nth-child(1) { background: #ff5f57; }
.editor-dots span:nth-child(2) { background: #febc2e; }
.editor-dots span:nth-child(3) { background: #28c840; }

.editor-title {
  font-size: 11px;
  color: var(--text-secondary);
  font-family: monospace;
}

.editor-content {
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  position: relative;
  min-height: 120px;
}

.typing-text {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1;
  opacity: 0;
}

/* 各デモのテキスト表示タイミング */
.demo-text-1 {
  animation: text1Show 24s linear infinite;
}

.demo-text-2 {
  animation: text2Show 24s linear infinite;
}

.demo-text-3 {
  animation: text3Show 24s linear infinite;
}

.selection-highlight {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-radius: 6px;
  animation: highlightPulse 24s ease-in-out infinite;
  opacity: 0;
}

/* ショートカットプレス */
.shortcut-press {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 16px;
}

.shortcut-press::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: aiPulse 2s ease-in-out infinite;
  pointer-events: none;
}

.shortcut-press::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%);
  animation: aiScan 3s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

.shortcut-group {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  z-index: 1;
}

.demo-keys-1 {
  animation: keys1Show 24s linear infinite;
}

.demo-keys-2 {
  animation: keys2Show 24s linear infinite;
}

.demo-keys-3 {
  animation: keys3Show 24s linear infinite;
}

.key-combo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.key-combo kbd {
  padding: 14px 20px;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.key-combo kbd.key-highlighted {
  background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
  border-color: var(--accent);
  color: white;
  animation: keyGlowContinuous 1.5s ease-in-out infinite;
}

.action-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Phase 2のラベル切り替え */
.phase-label-dynamic {
  position: relative;
  min-height: 20px;
}

.phase-label-dynamic span {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.label-text-1 {
  animation: label1Show 24s linear infinite;
}

.label-text-2 {
  animation: label2Show 24s linear infinite;
}

.label-text-3 {
  animation: label3Show 24s linear infinite;
}

/* 結果表示 */
.demo-result {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 180px;
}

.result-display {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.demo-result-1 {
  animation: result1Show 24s linear infinite;
}

.demo-result-2 {
  animation: result2Show 24s linear infinite;
}

.demo-result-3 {
  animation: result3Show 24s linear infinite;
}

/* 変換の横並びレイアウト */
.transformation-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.transform-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transform-label {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.transform-arrow {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin: 0 4px;
}

/* Before テキスト（長い、灰色） */
.result-before {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* After テキスト（短い、青背景） */
.result-after {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.result-bullets {
  text-align: left;
  line-height: 1.8;
}

/* アニメーション定義 */
@keyframes phaseAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* フェーズの明暗差アニメーション（各アクション8秒内でPhase 1→2→3） */
@keyframes phase1Brightness {
  /* アクション1: Phase 1アクティブ (0-12%) */
  0%, 11.99% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* Phase 1非アクティブ (12-33.3%) */
  12%, 33.29% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* アクション2: Phase 1アクティブ (33.3-45%) */
  33.3%, 44.99% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* Phase 1非アクティブ (45-66.6%) */
  45%, 66.59% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* アクション3: Phase 1アクティブ (66.6-78%) */
  66.6%, 77.99% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* Phase 1非アクティブ (78-100%) */
  78%, 100% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
}

@keyframes phase2Brightness {
  /* アクション1: Phase 2非アクティブ (0-12%) */
  0%, 11.99% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* Phase 2アクティブ (12-22%) */
  12%, 21.99% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* Phase 2非アクティブ (22-33.3%) */
  22%, 33.29% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* アクション2: Phase 2非アクティブ (33.3-45%) */
  33.3%, 44.99% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* Phase 2アクティブ (45-55%) */
  45%, 54.99% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* Phase 2非アクティブ (55-66.6%) */
  55%, 66.59% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* アクション3: Phase 2非アクティブ (66.6-78%) */
  66.6%, 77.99% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* Phase 2アクティブ (78-88%) */
  78%, 87.99% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* Phase 2非アクティブ (88-100%) */
  88%, 100% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
}

@keyframes phase3Brightness {
  /* アクション1: Phase 3非アクティブ (0-22%) */
  0%, 21.99% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* Phase 3アクティブ (22-33.3%) */
  22%, 33.29% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* アクション2: Phase 3非アクティブ (33.3-55%) */
  33.3%, 54.99% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* Phase 3アクティブ (55-66.6%) */
  55%, 66.59% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
  /* アクション3: Phase 3非アクティブ (66.6-88%) */
  66.6%, 87.99% {
    opacity: 0.4;
    border-color: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
  }
  /* Phase 3アクティブ (88-100%) */
  88%, 100% {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1);
  }
}

@keyframes editorPulse {
  0%, 5% {
    border-color: rgba(59, 130, 246, 0.3);
  }
  10%, 100% {
    border-color: rgba(255, 255, 255, 0.08);
  }
}

@keyframes highlightPulse {
  0%, 3% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  10%, 100% {
    opacity: 0;
  }
}

@keyframes keyBounce {
  0%, 100% {
    transform: scale(1);
  }
  37.5% {
    transform: scale(1.08);
  }
  50% {
    transform: scale(1);
  }
}

@keyframes keyGlowContinuous {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(59, 130, 246, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 0 rgba(59, 130, 246, 0.6);
  }
  50% {
    box-shadow: 
      0 4px 20px rgba(59, 130, 246, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 0 12px rgba(59, 130, 246, 0);
  }
}

@keyframes labelFade {
  0%, 25% {
    opacity: 0;
  }
  37.5% {
    opacity: 1;
  }
  62.5% {
    opacity: 1;
  }
  75%, 100% {
    opacity: 0;
  }
}

/* Railway風タブアクティブアニメーション */
@keyframes tab1Active {
  0%, 30% {
    color: #ffffff;
  }
  33%, 100% {
    color: rgba(255, 255, 255, 0.3);
  }
}

@keyframes tab2Active {
  0%, 33% {
    color: rgba(255, 255, 255, 0.3);
  }
  33.3%, 63% {
    color: #ffffff;
  }
  66%, 100% {
    color: rgba(255, 255, 255, 0.3);
  }
}

@keyframes tab3Active {
  0%, 66% {
    color: rgba(255, 255, 255, 0.3);
  }
  66.6%, 100% {
    color: #ffffff;
  }
}

/* Railway風 下線インジケーター（シームレスに進む） */
@keyframes indicator1Active {
  0% {
    transform: scaleX(0);
  }
  33% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes indicator2Active {
  0%, 33% {
    transform: scaleX(0);
  }
  33.3% {
    transform: scaleX(0);
  }
  66% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes indicator3Active {
  0%, 66% {
    transform: scaleX(0);
  }
  66.6% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

/* アイコンのアクティブアニメーション */
@keyframes icon1Active {
  0%, 30% {
    color: var(--accent);
    transform: scale(1.1);
  }
  33%, 100% {
    color: var(--text-secondary);
    transform: scale(1);
  }
}

@keyframes icon2Active {
  0%, 33% {
    color: var(--text-secondary);
    transform: scale(1);
  }
  33.3%, 63% {
    color: var(--accent);
    transform: scale(1.1);
  }
  66%, 100% {
    color: var(--text-secondary);
    transform: scale(1);
  }
}

@keyframes icon3Active {
  0%, 66% {
    color: var(--text-secondary);
    transform: scale(1);
  }
  66.6%, 100% {
    color: var(--accent);
    transform: scale(1.1);
  }
}

/* 近未来的なAIアクセント */
@keyframes aiPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

@keyframes aiScan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}


/* テキスト切り替えアニメーション (各8秒) */
@keyframes text1Show {
  0% { opacity: 1; }
  30% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes text2Show {
  0%, 33% { opacity: 0; }
  33.3% { opacity: 1; }
  63% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes text3Show {
  0%, 66% { opacity: 0; }
  66.6% { opacity: 1; }
  100% { opacity: 1; }
}

/* ラベル切り替え */
@keyframes label1Show {
  0% { opacity: 1; }
  30% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes label2Show {
  0%, 33% { opacity: 0; }
  33.3% { opacity: 1; }
  63% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes label3Show {
  0%, 66% { opacity: 0; }
  66.6% { opacity: 1; }
  100% { opacity: 1; }
}

/* キー切り替え */
@keyframes keys1Show {
  0% { opacity: 1; }
  30% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes keys2Show {
  0%, 33% { opacity: 0; }
  33.3% { opacity: 1; }
  63% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes keys3Show {
  0%, 66% { opacity: 0; }
  66.6% { opacity: 1; }
  100% { opacity: 1; }
}

/* Phase 3: Before/After 横並び表示（表示切り替え） */

/* アクション1: 要約 (Phase 3は5-8秒 = 22-33.3%) */
@keyframes result1Show {
  0%, 20% { 
    display: block;
    opacity: 0.3;
    transform: scale(0.98);
  }
  22%, 33% { 
    display: block;
    opacity: 1;
    transform: scale(1);
  }
  33.3% {
    display: none;
    opacity: 0;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

/* アクション2: 翻訳 (Phase 3は13-16秒 = 55-66.6%) */
@keyframes result2Show {
  0%, 33% {
    display: none;
    opacity: 0;
  }
  33.3%, 53% { 
    display: block;
    opacity: 0.3;
    transform: scale(0.98);
  }
  55%, 66% { 
    display: block;
    opacity: 1;
    transform: scale(1);
  }
  66.6% {
    display: none;
    opacity: 0;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

/* アクション3: 箇条書き (Phase 3は21-24秒 = 88-100%) */
@keyframes result3Show {
  0%, 66% {
    display: none;
    opacity: 0;
  }
  66.6%, 86% { 
    display: block;
    opacity: 0.3;
    transform: scale(0.98);
  }
  88%, 100% { 
    display: block;
    opacity: 1;
    transform: scale(1);
  }
}

/* グリッド列幅の変更アニメーション（スムーズな遷移） */
@keyframes gridColumnChange {
  /* アクション1: 要約 (0-8秒 = 0-33.3%) */
  
  /* Phase 1アクティブ (0-10%) */
  0%, 10% {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
  /* Phase 1→2 スムーズトランジション (10-12%) */
  12% {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  /* Phase 2アクティブ (12-20%) */
  20% {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  /* Phase 2→3 スムーズトランジション (20-22%) */
  22% {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }
  /* Phase 3アクティブ (22-33%) */
  33% {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }
  
  /* アクション2: 翻訳 (8-16秒 = 33.3-66.6%) */
  
  /* Phase 1アクティブ (33.3-43%) */
  33.3%, 43% {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
  /* Phase 1→2 スムーズトランジション (43-45%) */
  45% {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  /* Phase 2アクティブ (45-53%) */
  53% {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  /* Phase 2→3 スムーズトランジション (53-55%) */
  55% {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }
  /* Phase 3アクティブ (55-66%) */
  66% {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }
  
  /* アクション3: 箇条書き (16-24秒 = 66.6-100%) */
  
  /* Phase 1アクティブ (66.6-76%) */
  66.6%, 76% {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
  /* Phase 1→2 スムーズトランジション (76-78%) */
  78% {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  /* Phase 2アクティブ (78-86%) */
  86% {
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
  }
  /* Phase 2→3 スムーズトランジション (86-88%) */
  88% {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }
  /* Phase 3アクティブ (88-100%) */
  100% {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .demo-container-new {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .demo-tabs {
    flex-direction: column;
    width: 100%;
  }
  
  .phase-featured {
    padding: 32px;
  }
}

/* App Window - リッチでかっこいいヒーロー画像 */
.app-window {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0d0d 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 0;
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  box-shadow: 
    0 50px 150px rgba(59, 130, 246, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transform: perspective(1000px) rotateX(2deg);
  transition: all 0.5s ease;
}

.app-window:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-8px);
  box-shadow: 
    0 60px 180px rgba(59, 130, 246, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Top Bar (Copipe Header) */
.app-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 0;
  margin-bottom: 20px;
}

.app-top-left {
  flex: 1;
  min-width: 0;
  max-width: 400px;
}

.app-brand {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.app-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.app-top-right {
  display: flex;
  gap: 6px;
  flex: 0;
}

.app-icon-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.app-icon-btn svg {
  width: 14px;
  height: 14px;
}

.app-icon-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
}

/* Plan Card */
.app-plan-card {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 0 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.app-plan-left {
  flex: 1;
}

.app-plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.app-plan-details {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.app-plan-details strong {
  font-weight: 500;
  color: var(--text);
}

.app-manage-button {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.app-manage-button:hover {
  border-color: var(--accent);
}

/* Section Header (for Actions) */
.app-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 24px 16px;
}

.app-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.app-section-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
}

.app-add-btn {
  padding: 7px 14px;
  background: var(--accent);
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.app-add-btn:hover {
  background: var(--accent-hover);
}

/* Actions Container */
.app-actions-container {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 24px 24px;
}

.app-action-row {
  padding: 11px 12px 11px 6px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.app-action-row:last-child {
  border-bottom: none;
}

.app-action-row:hover {
  background: var(--bg-tertiary);
}

.app-drag-handle {
  color: var(--text-secondary);
  font-size: 10px;
  cursor: grab;
  user-select: none;
}

.app-action-main {
  flex: 1;
  min-width: 0;
}

.app-action-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.app-action-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.app-action-keys {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-action-keys kbd {
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: monospace;
  color: var(--accent);
  font-size: 11px;
}

.app-action-keys span {
  color: var(--text-secondary);
  font-size: 11px;
}

.app-action-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 400;
}

.app-action-target {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 0px;
  line-height: 1.4;
}

.app-delete-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.app-delete-btn svg {
  width: 12px;
  height: 12px;
}

.app-delete-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}


.hero-gradient {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-card {
  padding: 32px 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.02);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  margin-bottom: 20px;
}

.feature-icon svg {
  color: var(--accent);
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
  flex: 1;
}

/* ========================================
   What You Can Do Section
   ======================================== */
.what-you-can-do {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.capabilities-list {
  max-width: 750px;
  margin: 0 auto;
}

.capability-item {
  padding: 16px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.capability-item-header {
  margin-bottom: 12px;
}

.capability-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.capability-icon-simple {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent);
  flex-shrink: 0;
}

.capability-icon-simple svg {
  width: 18px;
  height: 18px;
}

.capability-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.capability-title-row h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.capability-shortcut-simple {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.capability-shortcut-simple kbd {
  padding: 2px 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'SF Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.capability-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  padding-left: 48px;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.step-visual {
  margin-bottom: 20px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
}

/* Mock Window */
.mock-window {
  width: 100%;
  max-width: 320px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.mock-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mock-header > span {
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: var(--text-secondary);
}

.mock-content {
  padding: 16px;
}

.mock-action-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.mock-action-item.active {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.05);
}

.mock-shortcut {
  padding: 4px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'SF Mono', monospace;
  font-size: 11px;
  color: var(--accent);
}

/* Keyboard Visual */
.keyboard-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.key-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.key {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.key.highlight {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-color: var(--accent);
  color: white;
  animation: keyPulse 2s ease-in-out infinite;
}

@keyframes keyPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5); }
}

.key-plus {
  font-size: 20px;
  color: var(--text-secondary);
}

.key-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Result Visual */
.result-visual {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.result-before,
.result-after {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.result-text {
  padding: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text);
  min-height: 60px;
  display: flex;
  align-items: center;
  flex: 1;
}

.result-text.long {
  color: var(--text-secondary);
  font-size: 11px;
}

.result-after .result-text {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.05);
}

.result-arrow {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: var(--section-padding) 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pricing-card-featured {
  border-color: rgba(59, 130, 246, 0.5);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--accent);
  border-radius: 100px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(42, 42, 42, 0.5);
}

.pricing-header h3 {
  margin-bottom: 16px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.period {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-subtitle {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 4px;
  color: #22c55e;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
}

.pricing-features svg {
  flex-shrink: 0;
  color: var(--accent);
  width: 18px;
  height: 18px;
}

/* ========================================
   Download Section
   ======================================== */
.download {
  padding: var(--section-padding-small) 0;
  background: var(--bg-secondary);
}

.download-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.download-content h2 {
  margin-bottom: 12px;
}

.download-content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 400;
}

.download-buttons {
  margin-bottom: 32px;
}

.download-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.download-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.download-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.download-feature svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 40px;
  }
  
  h2 {
    font-size: 32px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .capability-description {
    padding-left: 0;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .nav-links {
    display: none;
  }
  
  .lang-switcher {
    margin-left: auto;
  }
  
  :root {
    --section-padding: 64px;
    --section-padding-small: 48px;
  }
}

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

.hero-content,
.feature-card,
.pricing-card {
  animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

