@charset "utf-8";
:root {
    --navy: #101927;
    --navy-mid: #122040;
    --navy-light: #1a3060;
    --gold: #c8a84b;
    --gold-light: #e8c96a;
    --gold-pale: #f5e9c0;
    --white: #ffffff;
    --off-white: #f8f6f0;
    --gray-light: #e8e4da;
    --gray-mid: #9a8f7e;
    --text-dark: #1a1a2e;
    --text-body: #3a3530;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Noto Sans TC', sans-serif;
    background: var(--off-white);
    color: var(--text-body);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(200,168,75,0.25);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .nav-links { display: flex; gap: 0; list-style: none; }
  .nav-links a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0 1rem;
    line-height: 64px;
    letter-spacing: 0.08em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a.active { color: var(--gold); }
  .nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 700;
    border-radius: 2px;
    padding: 0 1.2rem !important;
    margin-left: 0.5rem;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

  /* ── HAMBURGER ── */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }
  .mobile-menu {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
    background: rgba(10,22,40,0.98);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(200,168,75,0.2);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, background 0.2s;
  }
  .mobile-menu a:hover { color: var(--gold); background: rgba(200,168,75,0.08); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex; flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 60% at 80% 20%, rgba(200,168,75,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200,168,75,0.05) 0%, transparent 50%);
    pointer-events: none;
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(200,168,75,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200,168,75,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
  }
  .hero-inner {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 4rem 2rem 2rem;
    position: relative; z-index: 1;
    text-align: center;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1px solid rgba(200,168,75,0.4);
    border-radius: 2px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 2rem;
    font-family: 'Noto Serif TC', serif;
  }
  .hero-badge::before, .hero-badge::after {
    content: '◆';
    font-size: 0.5rem;
    opacity: 0.6;
  }
  .hero-title {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
  }
  .hero-title span { color: var(--gold); }
  .hero-en {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
  }
  .hero-leaders {
    display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
    margin-bottom: 3rem;
  }
  .leader-card {
    border: 1px solid rgba(200,168,75,0.2);
    border-top: 2px solid var(--gold);
    padding: 1rem 1.5rem;
    min-width: 160px;
    text-align: center;
    background: rgba(255,255,255,0.02);
  }
  .leader-title {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }
  .leader-name {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
  }
  .hero-video-wrap {
    width: 100%; max-width: 760px;
    aspect-ratio: 16/9;
    border: 1px solid rgba(200,168,75,0.3);
    box-shadow: 0 0 60px rgba(200,168,75,0.12);
    position: relative;
    margin: 0 auto;
  }
  .hero-video-wrap iframe { width: 100%; height: 100%; display: block; }
  .hero-video-label {
    position: absolute; top: -1px; left: -1px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.25rem 0.75rem;
  }

  /* ── SECTION WRAPPER ── */
  section { padding: 5rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 700;
  }
  .section-title {
    font-family: 'Noto Serif TC', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }
  .divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 2rem;
  }

  /* ── SERVICES ── */
  .services { background: var(--white); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--gray-light);
    border: 1px solid var(--gray-light);
    margin-top: 2.5rem;
  }
  .service-item {
    background: var(--white);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .service-item::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: bottom;
  }
  .service-item:hover { background: var(--off-white); }
  .service-item:hover::before { transform: scaleY(1); }
  .service-num {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .service-name {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }
  .service-desc {
    font-size: 0.83rem;
    color: var(--gray-mid);
    line-height: 1.7;
    letter-spacing: 0.03em;
  }

  /* ── ABOUT / PURPOSE ── */
  .about { background: var(--navy); }
  .about .section-title { color: var(--white); }
  .about .section-label { color: var(--gold); }
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 1rem;
  }
  .about-text {
    font-size: 1.05rem;
    line-height: 2.2;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
  }
  .about-pillars { display: flex; flex-direction: column; gap: 1rem; }
  .pillar {
    border-left: 2px solid var(--gold);
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.03);
  }
  .pillar-text {
    font-family: 'Noto Serif TC', serif;
    font-size: 1rem;
    color: var(--gold-pale);
    line-height: 1.8;
    font-weight: 600;
  }

  /* ── MEMBERS ── */
  .members { background: var(--off-white); }
  .member-tabs {
    display: flex; gap: 0; flex-wrap: wrap;
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  .member-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--gray-mid);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
  }
  .member-tab:hover { color: var(--navy); }
  .member-tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }
  .member-panel { display: none; }
  .member-panel.active { display: block; }
  .member-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-top: 3px solid var(--gold);
    padding: 2rem;
    margin-bottom: 1rem;
  }
  .member-card h3 {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
  }
  .member-card p {
    font-size: 0.9rem;
    line-height: 2;
    color: var(--text-body);
  }
  .fee-badge {
    display: inline-block;
    background: var(--navy);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    margin-top: 0.75rem;
    border-radius: 2px;
  }
  .fee-badge.free { background: var(--off-white); color: var(--gray-mid); border: 1px solid var(--gray-light); }

  /* ── JOIN ── */
  .join {
    background: var(--navy);
    text-align: center;
    padding: 5rem 2rem;
  }
  .join .section-title { color: var(--white); margin-bottom: 1rem; }
  .join p { color: rgba(255,255,255,0.6); font-size: 1rem; margin-bottom: 2.5rem; }
  .join-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    padding: 0.9rem 2.5rem;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
  }
  .join-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

  /* ── GOOD MEMBERS ── */
  .good-members { background: var(--white); }
  .good-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  .good-member-item {
    border: 1px solid var(--gray-light);
    padding: 1.25rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .good-member-item:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(200,168,75,0.1); }
  .good-member-logo {
    width: 80px; height: 80px;
    background: var(--off-white);
    border-radius: 4px;
    margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    color: var(--gray-mid);
    letter-spacing: 0.05em;
    text-align: center;
    border: 1px dashed var(--gray-light);
  }
  .good-member-name {
    font-family: 'Noto Serif TC', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
    letter-spacing: 0.03em;
  }
  .good-member-id {
    font-size: 0.7rem;
    color: var(--gray-mid);
    letter-spacing: 0.08em;
  }

  /* ── CONTACT ── */
  .contact { background: var(--off-white); }
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
  }
  .contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
  .contact-row {
    display: flex; gap: 1rem; align-items: flex-start;
  }
  .contact-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: #d9d3c3;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }
  .contact-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--gray-mid);
    margin-bottom: 0.2rem;
    font-weight: 700;
  }
  .contact-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
  }
  .contact-value a { color: var(--navy); text-decoration: none; }
  .contact-value a:hover { color: var(--gold); }
  .social-links { display: flex; flex-direction: column; gap: 0.75rem; }
  .social-link {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    transition: border-color 0.2s, transform 0.2s;
  }
  .social-link:hover { border-color: var(--gold); transform: translateX(4px); }
  .social-link-icon {
    width: 23px; height: 23px; flex-shrink: 0;
    background: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--navy-mid);
    border-top: 1px solid rgba(200,168,75,0.2);
    padding: 2rem;
    text-align: center;
  }
  footer p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
  }
  .footer-links {
    display: flex; gap: 1.5rem; justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
  .footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero-leaders { gap: 1rem; }
    .leader-card { min-width: 130px; padding: 0.8rem 1rem; }
  }