:root {
  --color-navy: #0c1337;
  --color-mint: #73e68d;
  --color-mint-border: #4bda87;
  --color-mint-border-strong: #2fcf6f;
  --color-mist: #f2f5fa;
  --color-ice: #e7ecf5;
  --color-muted: #64748b;
  --color-line: rgba(15, 23, 42, 0.08);
  --font-sans: 'Exo', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei',
    sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--color-navy);
  background: var(--color-mist);
  line-height: 1.6;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

.theme-night {
  background: #0b1120;
  color: #e2e8f0;
}

.theme-night .site-header {
  background: rgba(10, 12, 24, 0.92);
  border-bottom-color: rgba(226, 232, 240, 0.1);
}

.theme-night .brand-mark {
  background: var(--color-mint);
}

.theme-night .brand-mark::after {
  background: var(--color-navy);
}

.theme-night .hero {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95));
}

.theme-night .hero-left__content {
  background: #020617;
  color: #e2e8f0;
}

.theme-night .hero-description {
  color: rgba(226, 232, 240, 0.8);
}

.theme-night .hero-right {
  background: transparent;
}

.theme-night button {
  color: white;
}

.theme-night button:hover {
  color: white;
}

.theme-night button {
  box-shadow:
    0 0 1px rgb(151, 243, 255) inset,
    0 0 3px rgb(151, 243, 255) inset,
    0 0 10px rgb(151, 243, 255) inset,
    0 0 30px rgb(151, 243, 255),
    0 0 80px rgb(151, 243, 255),
    0 0 5px rgb(151, 243, 255);
  border: 2px solid rgb(255, 255, 255);
  background: linear-gradient(to right, #1a1a2e, #16213e, #0f3460);
}

.theme-night .animated-button {
  background-color: var(--color-mint);
  color: #0b1120;
}

.theme-night .animated-button:hover {
  color: #020617;
}

.theme-night .animated-button:hover svg {
  fill: #020617;
}

.theme-night .animated-button .circle {
  background-color: rgba(15, 23, 42, 0.06);
}

.theme-night .site-footer {
  background: #020617;
  color: rgba(226, 232, 240, 0.7);
  border-top-color: rgba(226, 232, 240, 0.1);
}

.theme-night .footer-links a:hover {
  color: #e0f2fe;
}

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

main {
  flex: 1;
  display: flex;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.nav {
  width: calc(100% - 60px);
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  -webkit-user-select: none;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  position: relative;
  width: 128px;
}

.language-switcher__toggle {
  display: grid;
  grid-template-columns: 1fr 14px;
  align-items: center;
  column-gap: 6px;
  width: 100%;
  padding: 8px 16px 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(12, 19, 55, 0.25);
  background: rgba(12, 19, 55, 0.06);
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: default;
  transition: none;
}

.language-switcher__toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 19, 55, 0.12);
}

.language-switcher__toggle span {
  transform: none;
  transition: none;
  justify-self: start;
  text-align: left;
  width: 100%;
}

.language-switcher__toggle:hover span,
.language-switcher__toggle:focus-visible span {
  transform: none;
}

.language-switcher__chevron {
  transform: rotate(0deg);
  transition: none;
  justify-self: end;
}

.language-switcher__toggle .language-switcher__chevron {
  transform: rotate(0deg);
}

.language-switcher__toggle:hover .language-switcher__chevron,
.language-switcher__toggle:focus-visible .language-switcher__chevron {
  transform: rotate(0deg);
}

.language-switcher.is-open .language-switcher__toggle .language-switcher__chevron {
  transform: rotate(-90deg);
}

.language-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 128px;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  padding: 2px 0;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(12, 19, 55, 0.1);
  background: #fff;
  box-shadow: 0 18px 44px rgba(12, 19, 55, 0.18);
  z-index: 20;
}

.language-switcher__menu > li {
  margin: 0;
}

.language-switcher__menu > li + li {
  margin-top: 4px;
}

.language-switcher__menu::-webkit-scrollbar {
  width: 6px;
}

.language-switcher__menu::-webkit-scrollbar-thumb {
  background: rgba(12, 19, 55, 0.2);
  border-radius: 999px;
}

.language-switcher__menu::-webkit-scrollbar-track {
  background: transparent;
}

.language-switcher__option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 14px;
  align-items: center;
  column-gap: 6px;
  padding: 8px 16px 8px 18px;
  line-height: 1.1;
  background: transparent;
  border: none;
  color: var(--color-navy);
  font-size: 0.9rem;
  cursor: pointer;
  transition: none;
}

.language-switcher__option:focus {
  outline: none;
}

.language-switcher__label {
  transform: none;
  transition: none;
  justify-self: start;
  text-align: left;
  width: 100%;
}

.language-switcher__check {
  opacity: 0;
  font-size: 0.8rem;
  color: var(--color-navy);
  transition: opacity 0.15s ease;
  justify-self: end;
  text-align: right;
  width: 14px;
  display: inline-block;
}

.language-switcher__option:hover .language-switcher__label,
.language-switcher__option:focus-visible .language-switcher__label {
  transform: none;
}

.language-switcher__option:hover .language-switcher__check,
.language-switcher__option:focus-visible .language-switcher__check {
  transform: none;
}

.language-switcher__option[aria-selected='true'] {
  font-weight: 700;
  color: var(--color-navy);
  background: transparent;
}

.language-switcher__option[aria-selected='true'] .language-switcher__check {
  opacity: 1;
}

.theme-night .language-switcher__toggle {
  background: rgba(28, 38, 64, 0.95);
  border-color: rgba(148, 163, 184, 0.32);
  color: #e2e8f0;
  transition: none;
}

.theme-night .language-switcher__toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.32);
}

.theme-night .language-switcher__menu {
  background: #1a2239;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 44px rgba(4, 9, 24, 0.6);
  color: #e2e8f0;
}

.theme-night .language-switcher__menu::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
}

.theme-night .language-switcher__option {
  color: #e2e8f0;
}

.theme-night .language-switcher__option[aria-selected='true'] {
  color: #60a5fa;
}

.theme-night .language-switcher__check {
  color: #60a5fa;
}

.brand-text {
  font-family: 'Exo', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy);
  user-select: none;
  -webkit-user-select: none;
}

.theme-night .brand-text {
  color: #e2e8f0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.04rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-mint);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 9px 10px;
  border-radius: 18px 50% 50% 18px;
  transform: rotate(15deg);
  background: #fff;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--color-navy);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* Button Styles */
button {
  display: flex;
  align-items: center;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  padding: 0.8em 1.3em 0.8em 0.9em;
  color: white;
  background: #ad5389;
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  border: none;
  letter-spacing: 0.05em;
  border-radius: 16px;
  margin-top: 47px;
}

button svg {
  margin-right: 3px;
  transform: rotate(30deg);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

button span {
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

button:hover svg {
  transform: translateX(5px) rotate(90deg);
}

button:hover span {
  transform: translateX(7px);
}

/* Hero gallery navigation button overrides */
.hero-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 17, 32, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.24s ease;
  z-index: 2;
  margin-top: 0;
  padding: 0;
}

.hero-gallery__nav img {
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
  transform: none !important;
  margin-right: 0 !important;
}

.hero-gallery__nav:focus-visible {
  outline: 2px solid rgba(128, 255, 157, 0.6);
  outline-offset: 2px;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-gallery__nav--prev {
  left: 16px;
}

.hero-gallery__nav--next {
  right: 16px;
}

/* Animated CTA button */
.animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 30px;
  margin-top: 47px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--color-mint);
  color: var(--color-navy);
  box-shadow: inset 0 0 0 0 var(--color-mint-border);
  cursor: pointer;
  overflow: hidden;
  transition:
    color 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    border-radius 0.12s ease-out;
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: var(--color-navy);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 18px;
}

.animated-button .arr-2 {
  left: -26%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: var(--color-mint);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 3;
  transform: translateX(-12px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  background-color: var(--color-mint);
  box-shadow: inset 0 0 0 4px var(--color-mint-border-strong);
  color: #0b1329;
  border-radius: 18px;
}

.animated-button:hover .arr-1 {
  right: -26%;
}

.animated-button:hover .arr-2 {
  left: 18px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #0b1329;
}

.animated-button:active {
  transform: scale(0.96);
  box-shadow: inset 0 0 0 4px var(--color-mint-border-strong);
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 0.18;
}

.animated-button:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 4px var(--color-mint-border-strong),
    0 0 0 4px rgba(63, 157, 100, 0.35);
}

/* Theme switcher */
#checkbox {
  display: none;
}

.switch {
  position: relative;
  width: 32px;
  height: 32px;
  background-color: var(--color-navy);
  border-radius: 50%;
  z-index: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(15, 23, 42, 0.5);
  box-shadow: 0 0 4px rgba(15, 23, 42, 0.35) inset;
}

.switch-letter {
  font-family: 'Exo', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--color-mint);
  transform: translateY(0.5px);
  user-select: none;
  -webkit-user-select: none;
}

#checkbox:checked + .switch {
  box-shadow:
    0 0 1px rgb(151, 243, 255) inset,
    0 0 2px rgb(151, 243, 255) inset,
    0 0 10px rgb(151, 243, 255) inset,
    0 0 40px rgb(151, 243, 255),
    0 0 100px rgb(151, 243, 255),
    0 0 5px rgb(151, 243, 255);
  border: 2px solid rgb(255, 255, 255);
  background-color: rgba(16, 185, 129, 0.3);
}

#checkbox:checked + .switch .switch-letter {
  color: #ffffff;
  transform: translateY(0.5px);
  text-shadow: 0 0 6px rgba(151, 243, 255, 0.8);
}

.theme-night .switch {
  background-color: rgba(15, 23, 42, 0.85);
  border-color: rgba(16, 185, 129, 0.55);
}

.theme-night .switch-letter {
  color: var(--color-mint);
}


.hero {
  flex: 1;
  padding: 0 0 60px;
  display: flex;
  width: 100%;
}

.hero-inner {
  width: min(1560px, 98.5vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-left {
  width: 100%;
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-left__content {
  max-width: 1160px;
  width: 100%;
  padding: 72px 32px 48px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  color: var(--color-navy);
}

.hero-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 16px;
  min-width: 260px;
  margin-top: 70px;
}

.hero-description {
  color: rgba(12, 19, 55, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 760px;
}

.hero-footnote {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(12, 19, 55, 0.64);
  text-align: left;
}

html[dir='rtl'] .site-header,
html[dir='rtl'] .site-header .nav,
html[dir='rtl'] .hero,
html[dir='rtl'] .hero-inner,
html[dir='rtl'] .hero-text-grid,
html[dir='rtl'] .hero-left,
html[dir='rtl'] .hero-right,
html[dir='rtl'] .hero-gallery,
html[dir='rtl'] .hero-gallery__track,
html[dir='rtl'] .site-footer,
html[dir='rtl'] .footer-content {
  direction: ltr;
}

html[dir='rtl'] .hero-copy,
html[dir='rtl'] .hero-title,
html[dir='rtl'] .hero-title span,
html[dir='rtl'] .hero-description,
html[dir='rtl'] .hero-footnote {
  direction: rtl;
  text-align: right;
}

html[dir='rtl'] .hero-actions {
  text-align: right;
}

html[dir='rtl'] .hero-footnote {
  text-align: right;
}

html[dir='rtl'] .footer-rights {
  text-align: right;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(115, 230, 141, 0.16);
  color: rgba(12, 19, 55, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 8px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-weight: 700;
}

.hero-title span:first-child {
  font-size: clamp(2.9rem, 5vw, 3.6rem);
  line-height: 1.06;
  color: var(--color-navy);
}

.hero-title-sub {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 500;
  color: rgba(12, 19, 55, 0.78);
  line-height: 1.32;
}

.hero-description {
  color: rgba(12, 19, 55, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 760px;
}

.btn-cta {
  background: var(--color-mint);
  color: var(--color-navy);
  box-shadow: 0 14px 28px rgba(18, 196, 139, 0.32);
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(18, 196, 139, 0.4);
}

.hero-footnote {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(12, 19, 55, 0.64);
}

.hero-right {
  width: 100%;
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: center;
}

.hero-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
}


.hero-gallery__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
}

.hero-gallery__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.hero-gallery__slide {
  min-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.hero-gallery__slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease;
}

.hero-gallery__slide img:hover {
  transform: translateY(-3px);
}

.hero-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 17, 32, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.24s ease;
  z-index: 2;
}

.hero-gallery__nav img {
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
}

.hero-gallery__nav:focus-visible {
  outline: 2px solid rgba(128, 255, 157, 0.6);
  outline-offset: 2px;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-gallery__nav--prev {
  left: 16px;
}

.hero-gallery__nav--next {
  right: 16px;
}

.hero-gallery__dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.hero-gallery__dot {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 24, 70, 0.5);
  padding: 0;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease;
}

.hero-gallery__dot.is-active {
  background: var(--color-navy);
  transform: scaleX(1.15);
}

.hero-gallery__dot:focus-visible {
  outline: 2px solid rgba(15, 24, 70, 0.5);
  outline-offset: 2px;
}


.site-footer {
  margin-top: -35px;
  padding: 15px 0;
  border-top: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-muted);
}

.footer-content {
  width: calc(100% - 60px);
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-rights {
  margin-right: auto;
}

.footer-icp {
  color: inherit;
  text-decoration: none;
}

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

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

@media (max-width: 1200px) {
  .hero-inner {
    width: min(1100px, 94vw);
  }

  .hero-left__content {
    max-width: 960px;
    padding: 56px 28px 56px;
  }

  .hero-text-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    width: min(900px, 94vw);
  }

  .hero-text-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-actions {
    width: 100%;
    align-items: flex-start;
  }

  .hero-left__content {
    padding: 48px 20px 44px;
  }

  .hero-title span:first-child {
    font-size: clamp(2.6rem, 7vw, 3.2rem);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 28px 0 42px;
  }

  .hero-left__content {
    padding: 40px 16px 36px;
  }

  .hero-gallery__nav {
    width: 34px;
    height: 34px;
  }

  .hero-gallery__dots {
    bottom: 32px;
  }
}

.theme-night .hero-left__content {
  color: #f6f8ff;
}

.theme-night .hero-title span:first-child {
  color: #f8faff;
}

.theme-night .hero-title-sub {
  color: rgba(226, 232, 240, 0.78);
}

.theme-night .hero-description {
  color: rgba(226, 232, 240, 0.82);
}

.theme-night .hero-footnote {
  color: rgba(226, 232, 240, 0.7);
}
