:root {
  color-scheme: light;
  --text: #101624;
  --muted: #5c667a;
  --line: rgba(16, 22, 36, 0.12);
  --surface: rgba(255, 255, 255, 0.86);
  --blue: #0078ff;
  --blue-dark: #005bd6;
  --cyan: #00c2ff;
  --pink: #ff4fc4;
  --green: #10b981;
  --shadow: 0 24px 80px rgba(42, 65, 105, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 22% 12%, rgba(0, 194, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(255, 79, 196, 0.22), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #eef7ff 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.home-button,
.lang-button,
.primary-action,
.secondary-action {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(21, 40, 78, 0.08);
}

.home-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  font-size: 1rem;
  line-height: 1;
}

.language-switcher {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 30px rgba(21, 40, 78, 0.08);
}

.lang-button {
  min-width: 48px;
  padding: 0 0.75rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-button.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--pink));
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 7vw, 60px) 0 24px;
}

.hero-header h1 {
  white-space: normal;
}

.hero-header .hero-app-icon {
  margin: 0 auto 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.4fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.hero-copy {
  max-width: 680px;
}

.hero-explanation {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 16px;
}

.hero-explanation .hero-text {
  margin: 0 auto;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(0, 120, 255, 0.18);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-text {
  max-width: 620px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-app-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 120, 255, 0.15);
  object-fit: contain;
}

.download-section {
  margin-top: 0;
}

.overtake-note {
  margin: 0 0 0.8rem 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  white-space: nowrap;
}

.primary-action {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 34px rgba(0, 120, 255, 0.25);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.72);
}

.slideshow-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
}

.gradient-orbit {
  position: absolute;
  width: min(500px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--blue), var(--cyan), var(--pink), var(--blue));
  filter: blur(10px);
  opacity: 0.86;
}

.slideshow-frame {
  position: relative;
  max-width: 100%;
  width: fit-content;
  border: 6px solid #111827;
  border-radius: 12px;
  background: #111827;
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
}

.slide-image {
  max-width: 100%;
  max-height: 65vh;
  width: auto;
  height: auto;
  opacity: 1;
  transition: opacity 420ms ease;
  display: block;
}

.slide-image.is-changing {
  opacity: 0;
}

.slide-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 16px;
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slide-controls button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s, transform 0.1s;
  padding: 0;
  line-height: 1;
}

.slide-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slide-controls button:active {
  transform: scale(0.92);
}

.slide-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-height: 28px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(16, 22, 36, 0.62);
  backdrop-filter: blur(14px);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.slide-caption:empty {
  display: none;
}

.slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.slide-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(16, 22, 36, 0.18);
}

.slide-dots span.is-active {
  width: 18px;
  border-radius: 999px;
  background: #ffffff;
}
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 58px rgba(42, 65, 105, 0.1);
}

.feature {
  padding: 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature h2 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.08rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .home-button {
    justify-content: center;
  }

  .language-switcher {
    justify-content: center;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .slideshow-stage {
    min-height: 300px;
  }

  .feature-band {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
}

@media (max-width: 460px) {
  .site-header,
  .hero,
  .feature-band,
  .site-footer {
    width: min(100% - 20px, 1160px);
  }

  .lang-button {
    min-width: 42px;
    padding: 0 0.55rem;
  }

  .actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.65rem, 17vw, 4.2rem);
  }
}

body.is-locked {
  overflow: hidden;
}

.page-shell {
  transition: filter 180ms ease, opacity 180ms ease;
}

body.is-locked .page-shell {
  height: 100vh;
  overflow: hidden;
  filter: blur(14px);
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(248, 251, 255, 0.72);
  backdrop-filter: blur(20px);
}

body:not(.is-locked) .password-gate {
  display: none;
}

.password-card {
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.password-card h1 {
  font-size: clamp(2.4rem, 9vw, 4.5rem);
}

.password-copy {
  margin: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.password-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.password-row {
  display: flex;
  gap: 0.7rem;
}

.password-input,
.password-submit {
  min-height: 48px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.password-input {
  min-width: 0;
  flex: 1;
  padding: 0 1rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.password-input:focus {
  border-color: rgba(0, 120, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 120, 255, 0.12);
}

.password-submit {
  padding: 0 1.2rem;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  cursor: pointer;
}

.password-error {
  min-height: 1.3rem;
  margin: 0.8rem 0 0;
  color: #c0262d;
  font-size: 0.92rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .password-row {
    flex-direction: column;
  }

  .password-submit {
    width: 100%;
  }
}