/* Zeya Shared Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  background: #F5F0E8;
  color: #1a1a1a;
  line-height: 1.8;
  font-size: 18px;
}

/* Header */
.header {
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 18px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}

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

.logo {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #86868b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #1d1d1f;
}

.btn {
  background: #0071e3;
  color: white;
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #0077ed;
}

/* Apple-style Hamburger Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 44px;
  height: 44px;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 1px;
  background: #1d1d1f;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn span:first-child { top: 13px; }
.mobile-menu-btn span:last-child { bottom: 13px; }

.mobile-menu-btn.active span:first-child {
  transform: translateX(-50%) rotate(45deg);
  top: 22px;
}

.mobile-menu-btn.active span:last-child {
  transform: translateX(-50%) rotate(-45deg);
  bottom: 21px;
}

/* Mobile Nav - Apple-style full screen */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(245,240,232,0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  padding: 0 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  color: #1d1d1f;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: opacity 0.3s;
}

.mobile-nav a:first-child {
  padding-top: 30px;
}

.mobile-nav a:active {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links, .header .btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container {
    padding: 0 20px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 36px;
  }
}

/* Rest of styles */
.main { padding: 80px 20px 60px; }
.hero { text-align: center; padding: 100px 16px 60px; }
.hero h1 { font-size: 56px; font-weight: 600; letter-spacing: -0.02em; }
.section { padding: 60px 0; }
.section-title { font-size: 32px; font-weight: 600; color: #1d1d1f; text-align: center; margin-bottom: 40px; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article { background: white; border-radius: 20px; padding: 48px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
h1 { color: #1d1d1f; font-size: 48px; margin-bottom: 16px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
h2 { color: #1d1d1f; font-size: 28px; margin: 40px 0 16px; font-weight: 600; }
h3 { color: #1d1d1f; font-size: 22px; margin: 24px 0 12px; font-weight: 600; }
p { color: #86868b; margin-bottom: 18px; line-height: 1.6; }
ul, ol { color: #86868b; margin: 0 0 18px 24px; }
li { margin-bottom: 12px; }
.tag { display: inline-block; background: rgba(45,74,62,0.1); color: #2D4A3E; padding: 6px 14px; border-radius: 9999px; font-size: 14px; margin-bottom: 12px; }
.box { background: rgba(45,74,62,0.05); border-left: 4px solid #2D4A3E; padding: 24px; margin: 32px 0; border-radius: 0 12px 12px 0; }
.back-link { color: #2D4A3E; text-decoration: none; font-size: 17px; display: inline-block; margin-bottom: 24px; }
.back-link:hover { text-decoration: underline; }
.card { background: white; border-radius: 20px; padding: 32px; border: none; box-shadow: 0 4px 24px rgba(0,0,0,0.06); transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.card h3 { font-size: 21px; color: #1d1d1f; margin-bottom: 8px; }
.card p { font-size: 15px; color: #86868b; margin-bottom: 0; }
.card-link { color: #2D4A3E; font-size: 15px; font-weight: 500; }
.footer { background: #f5f5f7; color: #86868b; padding: 40px 0; text-align: center; font-size: 12px; }
.footer .container { border-top: 1px solid #d2d2d7; padding-top: 20px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .section-title { font-size: 28px; }
  .article { padding: 24px; border-radius: 16px; }
}
