/* CSS variables matching the Flutter light theme */
:root {
  --primary: #1E88E5;
  --primary-dark: #1565C0;
  --primary-light: #E3F2FD;
  --primary-glow: rgba(30, 136, 229, 0.15);
  
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text: #1A1C1E;
  --text-muted: #5F6368;
  --border: #E8EAED;
  --card-radius: 24px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(30, 136, 229, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(30, 136, 229, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 30px 60px -15px rgba(26, 28, 30, 0.08), 0 15px 30px -10px rgba(30, 136, 229, 0.05);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 12px 0;
  background-color: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 234, 237, 0.6);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.03em;
  display: block;
}

.logo-text-light {
  font-weight: 400;
  color: var(--primary);
}

.logo-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.btn-download-outline {
  padding: 8px 18px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 600;
  background-color: transparent;
}

.btn-download-outline:hover {
  background-color: var(--primary);
  color: var(--surface);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(255, 224, 130, 0.08) 0%, transparent 40%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(30, 136, 229, 0.08);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.highlight-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}

/* Store Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-family: inherit;
  transition: var(--transition);
  cursor: pointer;
}

.store-button.google-play {
  background-color: var(--text);
  color: var(--surface);
  box-shadow: var(--shadow-md);
}

.store-button.google-play:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-button.coming-soon {
  background-color: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  opacity: 0.75;
  cursor: not-allowed;
}

.store-button.coming-soon.secondary {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

.store-icon {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.store-main {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Interactive Mobile Phone Mockup */
.hero-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 310px;
  height: 630px;
  background-color: #000;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  transform: rotate(-3deg) translateY(0);
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% {
    transform: rotate(-3deg) translateY(0px) scale(1);
  }
  50% {
    transform: rotate(-1deg) translateY(-15px) scale(1.02);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #1a1a1a;
}

.phone-header {
  background-color: var(--surface);
  padding: 12px 16px 8px 16px;
  border-bottom: 1px solid var(--border);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.phone-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-arrow {
  font-size: 1.1rem;
  font-weight: bold;
}

.app-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.points-badge {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.phone-body {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-prompt {
  background-color: var(--surface);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.card-prompt-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.card-prompt-phrase {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}

.card-prompt-translation {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.mic-container-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.phone-mic-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px var(--primary-glow);
  cursor: pointer;
}

.speaking-feedback {
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* Audio waveform in mockup */
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
}

.bar {
  width: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  animation: bounceWave 1.2s ease-in-out infinite;
}

.bar-1 { height: 10px; animation-delay: 0.1s; }
.bar-2 { height: 25px; animation-delay: 0.3s; }
.bar-3 { height: 18px; animation-delay: 0.5s; }
.bar-4 { height: 28px; animation-delay: 0.2s; }
.bar-5 { height: 12px; animation-delay: 0.4s; }

@keyframes bounceWave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.glow-bg {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  opacity: 0.6;
}

/* Horizontal Languages Parallax Section */
.languages-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #F8F9FA 0%, #E3F2FD 50%, #F8F9FA 100%);
  overflow: hidden;
  border-top: 1px solid rgba(30, 136, 229, 0.08);
  border-bottom: 1px solid rgba(30, 136, 229, 0.08);
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.languages-track-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 10px 0;
  overflow: hidden;
}

.languages-track {
  display: flex;
  gap: 24px;
  padding: 0 40px;
  width: max-content;
  transform: translateX(0);
  will-change: transform;
  transition: transform 0.1s ease-out; /* Slight smoothing to JS update */
}

.lang-card {
  width: 240px;
  height: 280px;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  border-radius: var(--card-radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition-slow);
}

.lang-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26, 28, 30, 0.1) 0%, rgba(26, 28, 30, 0.8) 100%);
  z-index: 1;
  transition: var(--transition);
}

.lang-card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lang-flag-img {
  width: 52px;
  height: 35px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  transition: var(--transition);
}

.lang-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.lang-greeting {
  font-size: 0.95rem;
  color: #BBDEFB;
  font-weight: 600;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lang-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 136, 229, 0.4);
}

.lang-card:hover .lang-overlay {
  background: linear-gradient(180deg, rgba(26, 28, 30, 0) 0%, rgba(26, 28, 30, 0.9) 100%);
}

.lang-card:hover .lang-flag-img {
  transform: scale(1.08);
}

/* Glowing card at the end */
.lang-card-more {
  border: 2px dashed rgba(30, 136, 229, 0.6);
  background-color: var(--surface);
  justify-content: flex-end;
}

.lang-card-more .lang-name {
  color: #FFFFFF;
}

.lang-card-more .lang-greeting {
  color: #BBDEFB;
}

.lang-flag-more {
  font-size: 2.2rem;
  margin-bottom: 12px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Vertical Features Section */
.features-section {
  padding: 120px 0;
  background: radial-gradient(circle at 10% 20%, rgba(30, 136, 229, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.03) 0%, transparent 40%);
  background-color: var(--bg);
  position: relative;
}

.section-pretitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 80px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-text {
  direction: ltr;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-icon-container {
  width: 56px;
  height: 56px;
  background-color: var(--surface);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.feature-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullet-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Feature Visuals / Interactive Cards */
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform;
}

.glass-card {
  background-color: var(--surface);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border);
  padding: 30px;
  width: 100%;
  max-width: 440px;
  position: relative;
}

/* Pronunciation Feature Visual */
.speech-interface-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 280px;
}

.speaker-wave-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.circle-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0;
  animation: ripple 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 0.6s; }
.pulse-3 { animation-delay: 1.2s; }

.pulse-center {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

@keyframes ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.pronounce-scores {
  display: flex;
  gap: 12px;
}

.score-badge {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
}

.score-badge.correct {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.score-badge.warning {
  background-color: #FFF3E0;
  color: #E65100;
}

/* Listening Lab Visual */
.listening-interface-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.audio-player-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: var(--primary);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.progress-bar-mini {
  flex: 1;
  height: 6px;
  background-color: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-mini .fill {
  height: 100%;
  background-color: var(--primary);
}

.time-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blank-sentence {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}

.input-blank {
  color: var(--primary);
  font-weight: 700;
}

.blank-options {
  display: flex;
  gap: 12px;
}

.option-btn {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--surface);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.option-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Sentence Scramble Visual */
.scramble-interface-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scramble-instructions {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.scramble-slots {
  display: flex;
  gap: 10px;
  min-height: 48px;
}

.slot-box {
  flex: 1;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.slot-box.text-filled {
  background-color: var(--primary-light);
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}

.slot-box.text-empty {
  border: 2px dashed var(--border);
  background-color: var(--bg);
}

.scramble-wordpool {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.word-card {
  padding: 8px 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.word-card.muted {
  opacity: 0.4;
  cursor: default;
}

.word-card.animate-float:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Gamified Battle Visual */
.battle-interface-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.battle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heart-lives {
  font-size: 1.1rem;
}

.timer-countdown {
  font-weight: 700;
  color: #D32F2F;
  font-size: 0.9rem;
}

.battle-card {
  background-color: var(--bg);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.battle-german {
  font-size: 1.1rem;
  font-weight: 700;
}

.battle-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #2E7D32;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background-color: var(--surface);
}

.battle-status.correct {
  color: #2E7D32;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Download CTA Section */
.download-section {
  padding: 60px 0 100px 0;
  background-color: var(--bg);
}

.download-card {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 32px;
  padding: 80px 60px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
}

.download-bg-circle {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.download-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.download-title {
  font-size: 2.8rem;
  color: var(--surface);
  font-weight: 800;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 38px;
  align-self: flex-start;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

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

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  grid-column: span 2;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  margin-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
}

/* Scroll Entrance Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .feature-visual {
    order: 2;
  }
  .feature-text {
    order: 1;
    align-items: center;
    text-align: center;
  }
  .feature-bullet-list {
    align-items: flex-start;
  }
  .download-card {
    padding: 60px 40px;
    text-align: center;
    justify-content: center;
  }
  .download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  .header-container {
    align-items: center;
  }
  .logo-link {
    gap: 8px;
  }
  .logo-icon-img {
    height: 32px;
  }
  .logo-text {
    font-size: 17px;
  }
  .logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.01em;
  }
  .nav {
    gap: 8px;
  }
  /* Hide secondary text links on mobile to prevent header overflow */
  .nav-link:not(.btn-download-outline) {
    display: none;
  }
  .btn-download-outline {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-width: 1.5px;
  }
  .hero {
    padding: 110px 0 60px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-main-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  .feature-title {
    font-size: 1.5rem;
  }
  .download-title {
    font-size: 1.8rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-logo-col {
    align-items: center;
  }
  .footer-bottom {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .logo-subtitle {
    font-size: 0.52rem;
  }
  .phone-mockup {
    width: 280px;
    height: 570px;
  }
}
