/* ============================================================
   MUYAO TECHNOLOGY CO., LTD. - Official Website Stylesheet
   Brand Primary: #e66915 (Romix Orange)
   Slate & Dark Accents: #0f172a, #1e293b
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-300: #fdba74;
  --brand-400: #fb923c;
  --brand-500: #e66915;
  --brand-600: #ea580c;
  --brand-700: #c2410c;
  --brand-800: #9a3412;
  --brand-gradient: linear-gradient(135deg, #e66915 0%, #f97316 100%);
  --tech-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --font-sans: 'Outfit', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-nav.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(241, 245, 249, 1);
}

/* Background Gradients & Technology Pattern */
.tech-grid-bg {
  background-color: #f8fafc;
  background-image: radial-gradient(rgba(230, 105, 21, 0.08) 1px, transparent 1px),
                    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 105, 21, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 40%;
  left: -8%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Brand Button Styles */
.btn-brand-primary {
  background: linear-gradient(135deg, #e66915 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 105, 21, 0.28);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-brand-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  box-shadow: 0 6px 20px rgba(230, 105, 21, 0.38);
  transform: translateY(-2px);
}

.btn-brand-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-brand-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #e66915;
  transform: translateY(-2px);
}

/* Feature & Destination Cards */
.card-hover-effect {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.10);
  border-color: rgba(230, 105, 21, 0.3);
}

/* Legal & Documentation Content Styles */
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-content p, .legal-content li {
  color: #475569;
  line-height: 1.8;
  font-size: 0.965rem;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.animate-float-slow {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

/* QR Code Modal Overlay */
.qr-modal {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.qr-modal.active {
  display: flex;
  opacity: 1;
}
