/* Navigation Styles */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.5s var(--ease-out-expo);
}

.navigation.is-scrolled {
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(74, 144, 226, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-blue));
  transition: width 0.3s var(--ease-out-expo);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 24px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-lang:hover {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.4);
  transform: translateY(-2px);
}

.lang-icon {
  font-size: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s var(--ease-out-expo);
  border-radius: 2px;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Styles */
.home-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 0% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(216, 10, 30, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-primary) 0%, #0d1020 25%, #0f0d1a 50%, #0e0a15 75%, var(--color-bg-primary) 100%);
}

.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(74, 144, 226, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.hero-full {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0e1a;
}

.hero-photo,
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  background: url('/assets/images/hong-kong-hero.webp') center 42% / cover no-repeat;
  opacity: 0.84;
  transform: scale(1.03);
  animation: heroPhotoDrift 18s ease-in-out infinite alternate;
}

.hero-photo-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 10, 22, 0.28) 0%, rgba(5, 10, 22, 0.56) 58%, rgba(10, 14, 26, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 10, 22, 0.58) 0%, rgba(5, 10, 22, 0.08) 50%, rgba(5, 10, 22, 0.58) 100%);
}

@keyframes heroPhotoDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-0.5%, -1%, 0); }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  opacity: 0.03;
  background: radial-gradient(ellipse at center, rgba(74, 144, 226, 0.8) 0%, transparent 60%);
  animation: waveFlow 30s ease-in-out infinite;
}

.wave-1 {
  top: -50%;
  left: -50%;
  animation-delay: 0s;
}

.wave-2 {
  top: 0%;
  right: -50%;
  animation-delay: 10s;
  animation-duration: 40s;
}

.wave-3 {
  bottom: -50%;
  left: 10%;
  animation-delay: 20s;
  animation-duration: 35s;
}

@keyframes waveFlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, -30px) scale(1.1);
  }
  66% {
    transform: translate(30px, -20px) scale(0.9);
  }
}

.hero-background canvas {
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(74, 144, 226, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 144, 226, 0.015) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.8;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: center;
}

.hero-main {
  text-align: center;
  animation: fadeInUp 1s var(--ease-out-expo) both;
}

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

.hero-mega-title {
  position: relative;
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  cursor: default;
}

.title-wrapper {
  position: relative;
  z-index: 2;
}

.hero-mega-title .line {
  display: block;
  position: relative;
}

.hero-mega-title .char {
  display: inline-block;
  opacity: 0;
  animation: charReveal 1s var(--ease-out-expo) forwards;
  transform-origin: center;
  transition: all 0.3s var(--ease-out-expo);
}

@keyframes charReveal {
  0% {
    opacity: 0;
    transform: translateY(100px) scale(0.5) rotate(-10deg);
    filter: blur(10px);
  }
  60% {
    transform: translateY(-10px) scale(1.05) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

.hero-mega-title .line-1 {
  color: var(--color-text);
  text-shadow:
    0 0 40px rgba(74, 144, 226, 0.4),
    0 0 80px rgba(74, 144, 226, 0.2);
}

.hero-mega-title .line-2.accent {
  filter: drop-shadow(0 0 40px rgba(216, 10, 30, 0.6))
          drop-shadow(0 0 80px rgba(74, 144, 226, 0.4));
}

.hero-mega-title .line-2.accent .char {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-blue) 50%, #5eb3d6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease-in-out infinite, charReveal 1s var(--ease-out-expo) forwards;
}

@keyframes shimmerText {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

.company-name {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  text-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
}

.company-tagline {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 1.3s forwards;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.8s forwards;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--color-accent-blue), transparent);
  animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

/* Quick Links Section */
.quick-links-section {
  position: relative;
  padding: 100px 0;
  background: var(--color-bg-primary);
}

.section-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.quick-link-card {
  position: relative;
  padding: 2.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-primary));
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.quick-link-card:hover::before {
  opacity: 0.5;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 144, 226, 0.4);
  box-shadow: 0 20px 60px rgba(74, 144, 226, 0.2);
}

.quick-link-icon {
  font-size: 48px;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.4s var(--ease-out-expo);
}

.quick-link-card:hover .quick-link-icon {
  transform: scale(1.2) rotate(5deg);
}

.quick-link-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.quick-link-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* About Preview Section */
.about-preview-section {
  position: relative;
  padding: 120px 0;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.about-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 13, 26, 0.78) 0%, rgba(7, 13, 26, 0.32) 100%),
    url('/assets/images/jieshao.jpg') center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  padding: 2.5rem;
  background: rgba(30, 40, 64, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0 0 1.5rem 0;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text .lead {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

/* Values Section */
.values-section {
  padding: 100px 0;
  background: var(--color-bg-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.value-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Animation States */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--color-accent-blue);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 20px;
    font-weight: 600;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}
