/* ===== CSS Variables & Reset ===== */
:root {
  /* Light Theme (Default) */
  --color-bg: #f8fafc;
  --color-bg-light: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.8);
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: rgba(148, 163, 184, 0.3);
  --color-shadow: rgba(0, 0, 0, 0.1);

  /* Brand Colors */
  --color-red: #f43f5e;
  --color-blue: #3b82f6;
  --color-yellow: #eab308;
  --color-green: #22c55e;
  --color-purple: #a855f7;
  --color-cyan: #06b6d4;

  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;

  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Theme */
:root[data-theme="dark"] {
  --color-bg: #0f172a;
  --color-bg-light: #1e293b;
  --color-bg-card: rgba(30, 41, 59, 0.7);
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-border: rgba(148, 163, 184, 0.2);
  --color-shadow: rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ===== Navigation ===== */
.navbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-normal);
}

:root[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.8);
}

.navbar.scrolled {
  background: rgba(248, 250, 252, 0.95);
}

:root[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  font-weight: 500;
  transition: var(--transition-fast);
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-primary);
}

.nav-btn {
  background: var(--color-primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  opacity: 1 !important;
  transition: var(--transition-fast);
}

.nav-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Theme & Language Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--color-text-muted);
}

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

.lang-btn {
  width: auto;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
}

:root[data-theme="dark"] .mobile-menu {
  background: rgba(15, 23, 42, 0.98);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.1rem;
  padding: 8px 0;
}

.mobile-controls {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-controls {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  padding: clamp(60px, 8vh, 100px) 24px clamp(40px, 6vh, 60px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.bead {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(80px);
  animation: float 20s infinite ease-in-out;
}

:root[data-theme="dark"] .bead {
  opacity: 0.15;
}

.bead-1 {
  width: 400px;
  height: 400px;
  background: var(--color-red);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.bead-2 {
  width: 350px;
  height: 350px;
  background: var(--color-blue);
  top: 20%;
  right: -5%;
  animation-delay: -5s;
}

.bead-3 {
  width: 300px;
  height: 300px;
  background: var(--color-yellow);
  bottom: 20%;
  left: 10%;
  animation-delay: -10s;
}

.bead-4 {
  width: 350px;
  height: 350px;
  background: var(--color-green);
  bottom: 10%;
  right: 10%;
  animation-delay: -15s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(-30px, -20px) scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon {
  position: relative;
  margin-bottom: clamp(16px, 3vh, 24px);
  display: inline-block;
  overflow: hidden;
  /* For corner ribbon clipping */
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px var(--color-shadow);
}

.hero-icon img {
  width: clamp(80px, 15vh, 120px);
  height: clamp(80px, 15vh, 120px);
  display: block;
  animation: iconFloat 4s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  top: 10px;
  right: -30px;
  width: 110px;
  background: linear-gradient(135deg, #ff4d4d 0%, #f43f5e 100%);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 0;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  white-space: nowrap;
}

@keyframes pulse {
  0% {
    transform: rotate(15deg) scale(1);
  }

  50% {
    transform: rotate(15deg) scale(1.05);
  }

  100% {
    transform: rotate(15deg) scale(1);
  }
}

.hero-title {
  font-size: clamp(2rem, 6vh, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: clamp(4px, 1vh, 8px);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vh, 1.5rem);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: clamp(12px, 2.5vh, 20px);
}

.hero-desc {
  font-size: clamp(0.9rem, 2vh, 1.1rem);
  color: var(--color-text-muted);
  margin-bottom: clamp(24px, 5vh, 36px);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: clamp(20px, 4vh, 40px);
}

.cta-hint {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.platform-icons {
  display: flex;
  gap: 8px;
}

.platform-icon {
  min-width: 50px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.platform-icon:hover,
.platform-icon.active {
  background: var(--color-bg-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.platform-icon svg {
  width: 20px;
  height: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.5;
  color: var(--color-text-muted);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(59, 130, 246, 0.1);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-ios {
  background: linear-gradient(135deg, #000 0%, #333 100%);
}

.btn-android {
  background: linear-gradient(135deg, var(--color-green) 0%, #16a34a 100%);
}


.btn-harmonyos {
  background: linear-gradient(135deg, #e60012 0%, #ff4d4d 100%);
}

.btn-group {
  background: linear-gradient(135deg, #07c160 0%, #05a04f 100%);
  color: white;
}

/* ===== Image Modal ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-modal.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s ease;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== Platform Showcase Section ===== */
.platform-showcase {
  padding: 100px 0;
  background: var(--color-bg);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.showcase-tab:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.showcase-tab.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.showcase-tab.active:hover {
  transform: translateY(-2px);
}

.showcase-content {
  position: relative;
  min-height: 400px;
}

.showcase-panel {
  display: none;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 40px;
  align-items: center;
  gap: 40px;
  animation: fadeIn 0.5s ease;
}

.showcase-panel.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-text {
  flex: 1;
}

.panel-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-text p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.platform-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
}

.showcase-panel:hover .badge {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.panel-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mockup {
  width: 100%;
  max-width: 400px;
}

.device-mockup svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px var(--color-shadow));
}

@media (max-width: 900px) {
  .showcase-panel.active {
    flex-direction: column-reverse;
    text-align: center;
    padding: 24px;
    gap: 32px;
  }

  .panel-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .platform-badges {
    justify-content: center;
  }

  .showcase-tab span[data-i18n] {
    display: inline;
  }
}

/* ===== Features Section ===== */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.15rem;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--color-shadow);
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.feature-icon[data-color="red"] {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15) 0%, rgba(244, 63, 94, 0.05) 100%);
  color: var(--color-red);
}

.feature-icon[data-color="green"] {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
  color: var(--color-green);
}

.feature-icon[data-color="yellow"] {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(234, 179, 8, 0.05) 100%);
  color: var(--color-yellow);
}

.feature-icon[data-color="purple"] {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0.05) 100%);
  color: var(--color-purple);
}

.feature-icon[data-color="cyan"] {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
  color: var(--color-cyan);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.download-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--color-shadow);
}

.download-card.recommended {
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.download-card.recommended::before {
  content: attr(data-recommended);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.download-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: var(--radius-md);
}

:root:not([data-theme="dark"]) .download-icon {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.download-icon svg {
  width: 36px;
  height: 36px;
}

.download-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.download-card .btn {
  width: 100%;
}

.web-version {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.web-version p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 30px;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  text-align: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-desc {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

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

.footer-links .divider {
  color: var(--color-border);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

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

.footer-icp {
  margin-top: 8px;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }

  .hero-desc br {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links .divider {
    display: none;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content>* {
  animation: fadeInUp 0.8s ease backwards;
}

.hero-icon {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.3s;
}

.hero-desc {
  animation-delay: 0.4s;
}

.hero-cta {
  animation-delay: 0.5s;
}

.hero-platforms {
  animation-delay: 0.6s;
}

/* Intersection Observer animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Short Screen Optimizations ===== */
@media (max-height: 720px) {
  .hero {
    padding-top: clamp(40px, 5vh, 60px);
    padding-bottom: clamp(20px, 4vh, 40px);
  }

  .hero-icon {
    margin-bottom: 12px;
  }

  .hero-subtitle {
    margin-bottom: 12px;
  }

  .hero-desc {
    margin-bottom: 16px;
    display: none;
    /* Hide long description on very short screens to prioritize CTA and platform info */
  }

  .hero-cta {
    margin-bottom: 16px;
    gap: 12px;
  }

  .scroll-indicator {
    bottom: 15px;
  }
}