/* ============================================
   P.ai.mon - Lusion-Inspired Design System
   ============================================ */

:root {
  --color-bg: #000000;
  --color-surface: #0a0a0a;
  --color-card: #111111;
  --color-white: #ffffff;
  --color-off-white: #f0f1fa;
  --color-text: #f0f1fa;
  --color-text-secondary: rgba(240, 241, 250, 0.6);
  --color-text-muted: rgba(240, 241, 250, 0.35);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-accent: #5a7bf7;
  --color-accent-glow: rgba(90, 123, 247, 0.3);
  --color-green: #34c759;
  --color-orange: #ff9f43;
  --color-pink: #ff6b9d;
  --color-purple: #9d8aff;
  --grid-gap: 2vw;
  --radius: 20px;
  --radius-sm: 12px;
  --padding-x: max(5vw, 40px);
  --padding-y: clamp(30px, 4vw, 50px);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
  --cross-size: clamp(0.875rem, 1vw, 2rem);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: rgba(90, 123, 247, 0.4); color: var(--color-white); }
::-webkit-scrollbar { width: 0; }

/* ============================================
   Scroll Progress
   ============================================ */
#scroll-indicator { display: none; }
#scroll-indicator-bar { display: none; }

/* ============================================
   Header
   ============================================ */
#header {
  position: fixed; left: 0; top: 0; z-index: 52; width: 100%;
  padding: var(--padding-y) var(--padding-x);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
#header-container { display: flex; justify-content: space-between; align-items: center; }

#header-logo {
  pointer-events: auto; display: flex; align-items: center; gap: 10px;
  font-size: clamp(16px, 1.2vw, 20px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--color-white); transition: opacity 0.3s;
}
#header-logo:hover { opacity: 0.7; }
#header-logo img { height: clamp(24px, 2.5vw, 32px); width: auto; border-radius: 6px; }

#header-right { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 16px); pointer-events: auto; }

/* Header Dropdowns */
.header-dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 52px; height: 32px;
  padding: 0; font-size: 0.75rem; font-weight: 500;
  border-radius: 100px; color: var(--color-text-secondary);
  background: rgba(255,255,255,0.06); border: 1px solid var(--color-border);
  transition: all 0.3s; cursor: pointer;
}
.dropdown-toggle:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.dropdown-toggle svg {
  transition: transform 0.3s;
}
.header-dropdown.open .dropdown-toggle svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 120px;
  background: rgba(30,30,30,0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--color-border); border-radius: 12px;
  padding: 6px;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  pointer-events: none;
}
.header-dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 12px;
  font-size: 0.8rem; font-weight: 500;
  color: var(--color-text-secondary);
  background: none; border: none; border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
  text-align: left;
}
.dropdown-item:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}
.dropdown-item.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.15);
}

/* Light mode dropdowns */
body.light-mode .dropdown-toggle {
  background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.6);
}
body.light-mode .dropdown-toggle:hover {
  color: #1d1d1f;
  background: rgba(0,0,0,0.08);
}
body.light-mode .dropdown-menu {
  background: rgba(255,255,255,0.98);
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .dropdown-item {
  color: rgba(0,0,0,0.6);
}
body.light-mode .dropdown-item:hover {
  color: #1d1d1f;
  background: rgba(0,0,0,0.05);
}
body.light-mode .dropdown-item.active {
  color: #1d1d1f;
  background: rgba(0,0,0,0.1);
}

/* Legacy styles for subpages */
#lang-switcher {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.06); border-radius: 100px;
  padding: 2px; border: 1px solid var(--color-border);
}
.lang-btn {
  padding: 5px 10px; font-size: 0.7rem; font-weight: 500;
  border-radius: 100px; color: var(--color-text-secondary);
  transition: all 0.3s; letter-spacing: 0.02em;
}
.lang-btn.active { background: rgba(255,255,255,0.15); color: var(--color-white); }
.lang-btn:hover { color: var(--color-white); }

#theme-switcher {
  display: flex; gap: 2px;
  background: rgba(255,255,255,0.06); border-radius: 100px;
  padding: 2px; border: 1px solid var(--color-border);
}
.theme-btn {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--color-text-secondary); transition: all 0.3s;
}
.theme-btn.active { background: rgba(255,255,255,0.15); color: var(--color-white); }
.theme-btn:hover { color: var(--color-white); }

body.light-mode #theme-switcher { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
body.light-mode .theme-btn { color: rgba(0,0,0,0.4); }
body.light-mode .theme-btn.active { background: rgba(0,0,0,0.1); color: #1d1d1f; }
body.light-mode .theme-btn:hover { color: #1d1d1f; }

#menu-btn { display: none; }

.header-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; font-size: 0.8em; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  color: var(--color-white); transition: background 0.3s, border-color 0.3s;
}
.header-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

/* Menu Dropdown (compact) */
#header-menu {
  position: fixed; top: 0; right: var(--padding-x); z-index: 51;
  margin-top: calc(var(--padding-y) + 50px);
  background: rgba(20, 20, 25, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 4px;
  min-width: 180px;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0.3s,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
body.menu-open #header-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s 0s,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.menu-nav { display: flex; flex-direction: column; }
.menu-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; font-size: 0.82rem; font-weight: 500;
  color: var(--color-text-secondary); border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.menu-link:hover { background: rgba(255,255,255,0.08); color: var(--color-white); }
.menu-link svg { opacity: 0; transform: translateX(-8px); transition: opacity 0.2s, transform 0.2s; }
.menu-link:hover svg { opacity: 1; transform: translateX(0); }

#menu-text-close { display: none; }
body.menu-open #menu-text { display: none; }
body.menu-open #menu-text-close { display: inline; }

/* ============================================
   Section & Layout
   ============================================ */
.section { position: relative; padding: 0 var(--padding-x); }

/* Cross Decorations */
.cross { width: var(--cross-size); height: var(--cross-size); position: relative; }
.cross::before, .cross::after { content: ''; position: absolute; background: rgba(255,255,255,0.25); }
.cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.cross::after { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }

/* ============================================
   Hero
   ============================================ */
.hero-section {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(90, 123, 247, 0.6) 0%, transparent 55%),
              radial-gradient(ellipse at 70% 40%, rgba(157, 138, 255, 0.45) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 70%, rgba(255, 107, 157, 0.25) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(52, 199, 89, 0.15) 0%, transparent 45%);
  animation: glowFlow 12s ease-in-out infinite alternate;
}
@keyframes glowFlow {
  0% { opacity: 0.8; transform: scale(1) translate(0, 0); }
  25% { opacity: 1; transform: scale(1.05) translate(2%, -1%); }
  50% { opacity: 0.9; transform: scale(1.08) translate(-1%, 2%); }
  75% { opacity: 1; transform: scale(1.03) translate(-2%, -1%); }
  100% { opacity: 0.85; transform: scale(1.1) translate(1%, 1%); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }

/* P.ai.mon Brand Animation */
.brand-anim {
  position: relative;
  height: 120px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin-bottom: 1.5em;
  overflow: hidden;
}
.brand-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}
.brand-stage.active { opacity: 1; transform: scale(1); }
.brand-word {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #a8c0ff 50%, #ffafbd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-combined {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--color-white);
}
.brand-dot { color: var(--color-accent); }
.brand-dot-red { color: #ff3b30; }
.brand-mon {
  display: inline-block;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-mon.visible { opacity: 1; transform: translateX(0); }

.brand-series {
  position: absolute; bottom: 5px;
  font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s 0.3s, transform 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-series.visible { opacity: 1; transform: translateY(0); }

/* Hero Title */
.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.3;
  letter-spacing: -0.02em; margin-bottom: 0.8em;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s 0.2s, transform 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-title.visible { opacity: 1; transform: translateY(0); }

.hero-title-line {
  display: block;
  opacity: 0; transform: translateY(20px);
  animation: none;
}
.hero-title.visible .hero-title-line {
  animation: lineReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title.visible .hero-title-line:nth-child(1) { animation-delay: 0s; }
.hero-title.visible .hero-title-line:nth-child(2) { animation-delay: 0.12s; }
.hero-title.visible .hero-title-line:nth-child(3) { animation-delay: 0.24s; }

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

.hero-title-gradient {
  background: linear-gradient(135deg, #fff 0%, #a8c0ff 50%, #ffafbd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: clamp(0.9rem, 1.3vw, 1.15rem); font-weight: 300; line-height: 1.7;
  color: var(--color-text-secondary); max-width: 580px; margin: 0 auto 0.3em;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-desc.visible { opacity: 1; transform: translateY(0); }

.hero-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.15rem); font-weight: 300; line-height: 1.7;
  color: var(--color-text-secondary); max-width: 580px; margin: 0 auto;
  opacity: 0; transform: translateY(15px);
  transition: opacity 0.8s 0.5s, transform 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-subtitle.visible { opacity: 1; transform: translateY(0); }

.hero-scroll {
  position: absolute; bottom: var(--padding-y); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1em; z-index: 1;
}
.hero-scroll-text {
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--color-text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero-crosses { display: flex; gap: 2em; }

/* ============================================
   Section Titles
   ============================================ */
.section-sports, .section-health {
  padding-top: 10vh; padding-bottom: 5vh;
}
.section-header { margin-bottom: 3em; }
.section-label {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--color-text-muted); margin-bottom: 1em;
}
.section-title {
  font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 600;
  line-height: 1; letter-spacing: -0.02em;
}

/* ============================================
   App Cards - Subtle 3D Tilt & Parallax
   ============================================ */
.apps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap); margin-top: 3em;
}
.app-card {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: clamp(40px, 5vw, 60px) 20px; min-height: 340px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-border); cursor: pointer;
  transition: box-shadow 0.5s, border-color 0.5s;
  transform-style: preserve-3d;
  will-change: transform;
}
.app-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.15);
}

.app-card-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-size: cover; background-position: center;
  transition: opacity 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-card:hover .app-card-bg {
  opacity: 0.55;
  transform: scale(1.05);
}

.app-card-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
  transition: background 0.5s;
}

.app-card-content {
  position: relative;
  z-index: 2;
  transform: translateZ(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card-icon {
  width: clamp(50px, 5vw, 70px); height: clamp(50px, 5vw, 70px);
  border-radius: clamp(12px, 1.3vw, 18px); overflow: hidden;
  margin: 0 auto 1em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateZ(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.app-card:hover .app-card-icon {
  transform: translateZ(40px) scale(1.03);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
}
.app-card-icon img { width: 100%; height: 100%; object-fit: cover; }

.app-card-name {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.3em;
  letter-spacing: -0.01em;
  transform: translateZ(40px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-card:hover .app-card-name {
  transform: translateZ(50px);
}

.app-card-tagline {
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  color: var(--color-text-secondary);
  margin-bottom: 1.2em;
  transform: translateZ(35px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-card:hover .app-card-tagline {
  transform: translateZ(45px);
}

.app-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8em; color: var(--color-accent);
  transition: gap 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(30px);
}
.app-card:hover .app-card-arrow { gap: 10px; transform: translateZ(40px); }

/* Card color themes */
.app-card--fitness { background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, var(--color-card) 60%); }
.app-card--marathon { background: linear-gradient(135deg, rgba(88,86,214,0.1) 0%, var(--color-card) 60%); }
.app-card--outdoor { background: linear-gradient(135deg, rgba(52,199,89,0.1) 0%, var(--color-card) 60%); }
.app-card--livelife { background: linear-gradient(135deg, rgba(255,99,71,0.1) 0%, var(--color-card) 60%); }

.app-card--wide { grid-column: 1 / -1; min-height: 280px; }

@media (max-width: 768px) {
  .apps-row { grid-template-columns: 1fr; }
  .app-card--wide { grid-column: auto; }
}

/* ============================================
   Footer
   ============================================ */
#footer {
  background: var(--color-card); color: var(--color-text);
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative; z-index: 2;
  border-top: 1px solid var(--color-border);
}
.footer-inner { padding: clamp(1.2em, 2vw, 2em) var(--padding-x) 1em; }

.footer-products {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2em; flex-wrap: wrap;
  padding-bottom: 1.5em; border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5em;
}
.footer-products-left {
  display: flex; align-items: center; gap: 1.2em;
}
.footer-products a, .footer-privacy, .footer-about {
  font-size: 0.9rem; font-weight: 500; color: var(--color-text-secondary);
  transition: color 0.3s;
}
.footer-products a:hover, .footer-privacy:hover, .footer-about:hover { color: var(--color-text); }

.footer-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--color-border); flex-shrink: 0;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1em;
  font-size: 0.75rem; color: var(--color-text-muted);
}
.footer-bottom a { color: var(--color-text-muted); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--color-text); }
.footer-bottom-left {
  display: flex; align-items: center; gap: 0.8em;
}
.footer-bottom-left a { font-size: 0.75rem; color: var(--color-text-secondary); }
.footer-bottom-left a:hover { color: var(--color-text); }
.footer-bottom-center { color: var(--color-text-muted); }
.footer-bottom-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-bottom-right img { width: 14px; height: auto; }

#footer-top-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0; pointer-events: none;
}
#footer-top-btn.visible { opacity: 1; pointer-events: auto; }
#footer-top-btn:hover { background: rgba(0,0,0,0.8); transform: translateY(-2px); }

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-products { flex-direction: column; gap: 0.8em; }
  .footer-products-left { justify-content: center; flex-wrap: wrap; }
}

/* ============================================
   App Detail Page - Hero
   ============================================ */
.app-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px var(--padding-x) 60px; position: relative; overflow: hidden;
}
.app-hero-texture {
  position: absolute; top: 0; left: 0; right: 0; bottom: 40%;
  background-size: cover; background-position: center; opacity: 0.5; z-index: 0;
}
.app-hero-texture::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--color-bg) 100%);
}
body.light-mode .app-hero-texture::after {
  background: linear-gradient(to bottom, transparent 0%, var(--color-bg) 100%);
}
.app-hero-content { position: relative; z-index: 1; }
.app-hero-icon {
  width: 120px; height: 120px; border-radius: 28px; overflow: hidden;
  margin: 0 auto 1.5em; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.app-hero-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.3em; }
.app-hero-tagline { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--color-text-secondary); margin-bottom: 2em; }

.download-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 32px; font-size: 1rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  color: var(--color-white); transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.download-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.download-btn svg { fill: currentColor; }

/* Screenshots */
.screenshots-section { margin-top: 60px; position: relative; z-index: 2; }
.screenshots-container {
  display: flex; gap: 12px; overflow-x: auto; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 0;
}
.screenshots-container::-webkit-scrollbar { display: none; }
.screenshot-slide { flex: 0 0 auto; }
.screenshot-slide img { width: 260px; height: auto; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* ============================================
   App Features Section
   ============================================ */
.features-section { padding: 10vh var(--padding-x); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2em; }
.feature-card {
  padding: 2em; border-radius: var(--radius-sm);
  background: var(--color-card); border: 1px solid var(--color-border);
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.15); }
.feature-icon { font-size: 2em; margin-bottom: 0.8em; }
.feature-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5em; }
.feature-desc { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Philosophy / Story Section
   ============================================ */
.story-section {
  padding: 10vh var(--padding-x);
  max-width: 800px; margin: 0 auto;
}
.story-section p {
  font-size: clamp(0.95rem, 1.1vw, 1.15rem); line-height: 1.8;
  color: var(--color-text-secondary); margin-bottom: 1.5em;
}

/* ============================================
   Privacy Page
   ============================================ */
.privacy-hero {
  padding: 160px var(--padding-x) 60px; text-align: center;
}
.privacy-content {
  max-width: 720px; margin: 0 auto; padding: 0 var(--padding-x) 80px;
}
.privacy-content h2 {
  font-size: 1.4rem; font-weight: 600; margin: 2.5em 0 0.8em;
  color: var(--color-white);
}
.privacy-content p {
  font-size: 1rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 1em;
}
.privacy-content ul { padding-left: 1.5em; margin: 1em 0; list-style: disc; }
.privacy-content li {
  font-size: 1rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 0.5em;
}
.privacy-content strong { color: var(--color-white); font-weight: 600; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px; font-size: 0.85em;
  border: 1px solid var(--color-border); color: var(--color-text-secondary);
  transition: all 0.3s; margin-bottom: 2em;
}
.back-link:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: var(--color-white); }

/* ============================================
   About Me / Resume Page
   ============================================ */

.me-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  max-width: none;
  gap: 0;
  z-index: 1;
}
.me-hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1200px;
  width: 100%;
  padding: 140px var(--padding-x) 100px;
  position: relative;
  z-index: 2;
}
.me-hero-content {
  flex: 1; max-width: 520px; position: relative; z-index: 2;
  padding: 32px;
  border-radius: 20px;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
@media (max-width: 1200px) and (min-width: 769px) {
  .me-hero-content {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.06);
  }
  body.light-mode .me-hero-content {
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,0.06);
  }
}

.me-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 500;
  color: var(--color-accent);
  background: rgba(90, 123, 247, 0.08);
  border: 1px solid rgba(90, 123, 247, 0.2);
  margin-bottom: 28px;
}
.me-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.me-name {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0.3em;
}
.me-name-en {
  font-size: 0.35em;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  vertical-align: baseline;
  margin-left: 0.3em;
}
.me-role {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 1.5em;
  letter-spacing: 0.04em;
}
.me-bio {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.85;
  color: var(--color-text-muted);
  max-width: 440px;
}
.me-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
}
.me-stat-num {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.me-stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

.me-hero-poster {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 0;
  display: flex;
  justify-content: flex-start;
}
.me-hero-poster img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  filter: saturate(0.85) brightness(0.9);
}
.me-hero-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to left,
      var(--color-bg) 0%,
      var(--color-bg) 2%,
      rgba(0,0,0,0.5) 4.5%,
      rgba(0,0,0,0.2) 7.5%,
      rgba(0,0,0,0.05) 10.5%,
      transparent 13%
    ),
    linear-gradient(to top, var(--color-bg) 0%, transparent 1.5%),
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 1%);
}
.me-hero-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.15) 100%);
}

.me-quote {
  margin-top: 36px;
}
.me-quote-text {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--color-accent), var(--color-purple), var(--color-accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: quoteShimmer 4s ease-in-out infinite;
}
@keyframes quoteShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hardware / Suunto Section */
.hw-section {
  position: relative;
  padding: 0;
  margin: 60px 0;
  overflow: hidden;
}
.hw-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hw-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.35) saturate(0.5);
}
.hw-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--color-bg) 0%,
    rgba(0,0,0,0.3) 15%,
    rgba(0,0,0,0.2) 75%,
    var(--color-bg) 100%
  );
}
.hw-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--padding-x);
}
.hw-desc {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.hw-watches {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 32px);
}
.hw-watch {
  flex: 1;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hw-watch:hover {
  transform: translateY(-8px);
}
.hw-watch-img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hw-watch-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
  transition: filter 0.5s;
}
.hw-watch:hover .hw-watch-img img {
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)) brightness(1.05);
}
.hw-watch-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  color: rgba(255,255,255,0.85);
}
.hw-watch-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

/* Apps Section */
.apps-section {
  padding: clamp(80px, 12vw, 140px) var(--padding-x);
  max-width: 1200px;
  margin: 0 auto;
}
.apps-desc {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  color: var(--color-text-muted);
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Video Section */
.video-section {
  padding: clamp(80px, 12vw, 140px) var(--padding-x);
  max-width: 1200px;
  margin: 0 auto;
}
.video-desc {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  transform: translateY(-4px);
}
.video-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(90,123,247,0.15) 0%, rgba(157,138,255,0.1) 100%);
  overflow: hidden;
}
.video-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-card:hover .video-card-cover img {
  transform: scale(1.05);
}
.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card-play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-card:hover .video-card-play-btn {
  background: rgba(255,255,255,0.25);
  transform: scale(1.1);
}
.video-card-info {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s;
}
.video-card:hover .video-card-title { color: var(--color-accent); }
.video-card-ext {
  color: var(--color-text-muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.video-card:hover .video-card-ext {
  opacity: 1;
  transform: translate(0, 0);
}

/* Timeline */
.timeline-section {
  padding: clamp(80px, 12vw, 140px) var(--padding-x) clamp(60px, 10vw, 100px);
  max-width: 800px;
  margin: 0 auto;
}
.timeline-list {
  position: relative;
  padding-left: 32px;
}
.timeline-list::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0.8em;
  bottom: 3em;
  width: 1.5px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.15) 85%, transparent 100%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2em;
  padding: 2em 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 2.4em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid var(--color-bg);
  transition: all 0.3s;
}
.timeline-item:hover::before {
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent-glow);
}
.timeline-item--current::before {
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent-glow);
}
.timeline-item--current .timeline-period {
  color: var(--color-accent);
  font-weight: 500;
}
.timeline-item--current .timeline-content .timeline-company {
  color: var(--color-accent);
}
.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  padding-top: 0.2em;
}
.timeline-company {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.3em;
}
.timeline-content h3 {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 0.6em;
}
.timeline-company-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.timeline-company-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.timeline-content p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Me page light mode */
body.light-mode .me-hero-poster img { filter: saturate(0.95) brightness(1.05); }
body.light-mode .me-hero-poster::before {
  background:
    linear-gradient(to left,
      var(--color-bg) 0%,
      var(--color-bg) 2%,
      rgba(245,245,247,0.5) 4.5%,
      rgba(245,245,247,0.2) 7.5%,
      rgba(245,245,247,0.05) 10.5%,
      transparent 13%
    ),
    linear-gradient(to top, var(--color-bg) 0%, transparent 1.5%),
    linear-gradient(to bottom, var(--color-bg) 0%, transparent 1%);
}
body.light-mode .me-hero-poster::after {
  background: radial-gradient(ellipse at center, transparent 60%, rgba(245,245,247,0.12) 100%);
}
body.light-mode .hw-bg img { filter: brightness(0.5) saturate(0.6); }
body.light-mode .hw-desc { color: rgba(255,255,255,0.6); }
body.light-mode .hw-watch-name { color: rgba(255,255,255,0.9); }
body.light-mode .hw-watch-desc { color: rgba(255,255,255,0.5); }

body.light-mode .app-card { border-color: rgba(0,0,0,0.08); }
body.light-mode .app-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
body.light-mode .app-card--fitness { background: linear-gradient(135deg, rgba(255,107,53,0.08) 0%, #fff 60%); }
body.light-mode .app-card--marathon { background: linear-gradient(135deg, rgba(88,86,214,0.08) 0%, #fff 60%); }
body.light-mode .app-card--outdoor { background: linear-gradient(135deg, rgba(52,199,89,0.08) 0%, #fff 60%); }
body.light-mode .app-card--livelife { background: linear-gradient(135deg, rgba(255,149,0,0.08) 0%, #fff 60%); }
body.light-mode .app-card-bg { opacity: 0.25; filter: grayscale(0.2) brightness(1.1); }
body.light-mode .app-card:hover .app-card-bg { opacity: 0.35; }
body.light-mode .app-card-gradient {
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.85) 100%);
}
body.light-mode .app-card-name { color: #1d1d1f !important; }
body.light-mode .app-card-tagline { color: rgba(29,29,31,0.6) !important; }

body.light-mode .video-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.light-mode .video-card:hover { border-color: rgba(0,0,0,0.15); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }

body.light-mode .timeline-list::before { background: linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.12) 85%, transparent 100%); }
body.light-mode .timeline-item::before { background: rgba(0,0,0,0.15); border-color: var(--color-bg); }

@media (max-width: 768px) {
  :root { --padding-x: 20px; --padding-y: 20px; }
  .me-hero { min-height: auto; }
  .me-hero-inner {
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 55vh;
    padding-bottom: 60px;
    text-align: center;
  }
  .me-hero-content {
    max-width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
  }
  body.light-mode .me-hero-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
  }
  .me-hero-poster {
    position: absolute;
    width: 100%;
    height: 60vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    justify-content: center;
  }
  .me-hero-poster img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .me-hero-poster::before {
    background:
      linear-gradient(to bottom,
        transparent 0%,
        transparent 20%,
        rgba(0,0,0,0.15) 40%,
        rgba(0,0,0,0.5) 65%,
        var(--color-bg) 90%,
        var(--color-bg) 100%
      ),
      linear-gradient(to top, var(--color-bg) 0%, transparent 10%);
  }
  .me-hero-poster::after {
    background: radial-gradient(ellipse at center top, transparent 40%, rgba(0,0,0,0.2) 100%);
  }
  body.light-mode .me-hero-poster::before {
    background:
      linear-gradient(to bottom,
        transparent 0%,
        transparent 20%,
        rgba(245,245,247,0.15) 40%,
        rgba(245,245,247,0.5) 65%,
        var(--color-bg) 90%,
        var(--color-bg) 100%
      ),
      linear-gradient(to top, var(--color-bg) 0%, transparent 10%);
  }
  .me-bio { margin: 0 auto; }
  .me-stats { justify-content: center; gap: 32px; }

  .hw-watches { flex-wrap: wrap; }
  .hw-watch { flex: 0 0 calc(50% - 12px); }
  .hw-watch-img { max-width: 140px; }

  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }

  .timeline-list { padding-left: 20px; }
  .timeline-list::before { left: 4px; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.4em;
    padding: 1.5em 0;
  }
  .timeline-item::before { left: -17px; top: 1.8em; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-products { flex-direction: column; gap: 0.8em; }
  .footer-products-left { justify-content: center; flex-wrap: wrap; }
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  :root { --padding-x: 20px; --padding-y: 20px; }
  .hero-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .app-hero-icon { width: 80px; height: 80px; border-radius: 20px; }
  #header-menu { right: var(--padding-x); left: var(--padding-x); min-width: auto; }
  .brand-word, .brand-combined { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .brand-anim { height: 90px; }
}

/* ============================================
   Light Mode
   ============================================ */
body.light-mode {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-card: #ffffff;
  --color-white: #1d1d1f;
  --color-off-white: #1d1d1f;
  --color-text: #1d1d1f;
  --color-text-secondary: rgba(29, 29, 31, 0.6);
  --color-text-muted: rgba(29, 29, 31, 0.35);
  --color-border: rgba(0, 0, 0, 0.1);
  --color-accent: #3d5af1;
  --color-accent-glow: rgba(61, 90, 241, 0.1);
}
body.light-mode ::selection { background: rgba(61, 90, 241, 0.25); color: #1d1d1f; }

body.light-mode .cross::before, body.light-mode .cross::after { background: rgba(0,0,0,0.12); }

body.light-mode #lang-switcher { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
body.light-mode .lang-btn { color: rgba(0,0,0,0.4); }
body.light-mode .lang-btn.active { background: rgba(0,0,0,0.1); color: #1d1d1f; }
body.light-mode .lang-btn:hover { color: #1d1d1f; }

body.light-mode .header-btn { border-color: rgba(0,0,0,0.15); color: #1d1d1f; }
body.light-mode .header-btn:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.25); }

body.light-mode #header-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .menu-link { color: rgba(0,0,0,0.5); }
body.light-mode .menu-link:hover { background: rgba(0,0,0,0.05); color: #1d1d1f; }

body.light-mode .brand-word {
  background: linear-gradient(135deg, #1d1d1f 0%, #3d5af1 50%, #e84393 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.light-mode .hero-title-gradient {
  background: linear-gradient(135deg, #1d1d1f 0%, #3d5af1 50%, #e84393 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
}

body.light-mode .hero-bg-glow {
  background: radial-gradient(ellipse at 25% 45%, rgba(61, 90, 241, 0.35) 0%, transparent 55%),
              radial-gradient(ellipse at 70% 35%, rgba(157, 138, 255, 0.3) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 70%, rgba(232, 67, 147, 0.22) 0%, transparent 45%),
              radial-gradient(ellipse at 80% 65%, rgba(52, 199, 89, 0.18) 0%, transparent 40%);
}

/* Light mode card fixes - ensure text is readable */
body.light-mode .app-card { border-color: rgba(0,0,0,0.08); }
body.light-mode .app-card--fitness { background: linear-gradient(135deg, rgba(255,107,53,0.08) 0%, #fff 60%); }
body.light-mode .app-card--marathon { background: linear-gradient(135deg, rgba(88,86,214,0.08) 0%, #fff 60%); }
body.light-mode .app-card--outdoor { background: linear-gradient(135deg, rgba(52,199,89,0.08) 0%, #fff 60%); }
body.light-mode .app-card--livelife { background: linear-gradient(135deg, rgba(255,99,71,0.08) 0%, #fff 60%); }
body.light-mode .app-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

/* FIX: Light mode card - brighten background image and use dark text */
body.light-mode .app-card-bg {
  opacity: 0.25;
  filter: grayscale(0.3) brightness(1.4);
}
body.light-mode .app-card:hover .app-card-bg {
  opacity: 0.35;
}

/* FIX: Light mode card gradient - use white overlay for readability */
body.light-mode .app-card-gradient {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.95) 100%);
}
body.light-mode .app-card:hover .app-card-gradient {
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.9) 100%);
}

/* FIX: Light mode card text colors - force dark text */
body.light-mode .app-card-name {
  color: #1d1d1f !important;
}
body.light-mode .app-card-tagline {
  color: rgba(29, 29, 31, 0.6) !important;
}
body.light-mode .app-card-arrow {
  color: var(--color-accent) !important;
}

body.light-mode .download-btn { border-color: rgba(0,0,0,0.15); color: #1d1d1f; }
body.light-mode .download-btn:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.25); }

body.light-mode .feature-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.light-mode .feature-card:hover { border-color: rgba(0,0,0,0.15); }

body.light-mode .work-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.light-mode .work-card:hover { border-color: rgba(0,0,0,0.15); }

body.light-mode .video-card { background: #f0f0f2; border-color: rgba(0,0,0,0.08); }
body.light-mode .video-card:hover { border-color: rgba(0,0,0,0.15); }

body.light-mode .back-link { border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.5); }
body.light-mode .back-link:hover { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.2); color: #1d1d1f; }

body.light-mode .hero-badge { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }

body.light-mode #scroll-indicator-bar { background: var(--color-accent); }

body.light-mode #footer {
  background: #ffffff;
  color: #000;
  border-top: 1px solid rgba(0,0,0,0.08);
}
body.light-mode .footer-products { border-bottom-color: rgba(0,0,0,0.08); }
body.light-mode .footer-products a,
body.light-mode .footer-privacy,
body.light-mode .footer-about { color: rgba(0,0,0,0.6); }
body.light-mode .footer-products a:hover,
body.light-mode .footer-privacy:hover,
body.light-mode .footer-about:hover { color: #000; }
body.light-mode .footer-dot { background: rgba(0,0,0,0.2); }
body.light-mode .footer-bottom { color: rgba(0,0,0,0.4); }
body.light-mode .footer-bottom a { color: rgba(0,0,0,0.4); }
body.light-mode .footer-bottom a:hover { color: #000; }
body.light-mode .footer-bottom-left a { color: rgba(0,0,0,0.5); }
body.light-mode .footer-bottom-left a:hover { color: #000; }
body.light-mode .footer-bottom-center { color: rgba(0,0,0,0.4); }

body.light-mode #footer-top-btn {
  background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.1); color: #1d1d1f;
}
body.light-mode #footer-top-btn:hover { background: #fff; }
