/* ============================================================
   朋皇国际教育 — 公共样式
   Phoenix International Education — Shared Styles
   ============================================================ */

:root {
  --navy:       #0B1D3A;
  --navy-mid:   #132848;
  --navy-light: #1E3A5F;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --gold-dim:   rgba(201,168,76,0.15);
  --sky:        #4A90D9;
  --cream:      #FAF6EE;
  --cream-dark: #EDE7D9;
  --white:      #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-body:  #3D3D5C;
  --text-light: #6B7280;
  --border:     rgba(0,0,0,0.08);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family:'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color:var(--text-body);
  background:var(--white);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

::selection { background:var(--gold); color:var(--navy); }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--navy); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:3px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family:'Noto Serif SC','STSong','SimSun',serif; }

/* ── NAV ── */
.ph-nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:72px; padding:0 60px;
  display:flex; align-items:center; justify-content:space-between;
  transition:var(--transition);
  background:transparent;
}
.ph-nav.scrolled {
  background:rgba(11,29,58,0.97);
  backdrop-filter:blur(20px);
  box-shadow:0 2px 40px rgba(0,0,0,0.3);
  height:64px;
}
.ph-nav.solid {
  background:var(--navy);
  height:64px;
}
.nav-logo {
  display:flex; align-items:center; gap:12px;
  text-decoration:none; color:var(--white); flex-shrink:0;
}
.nav-logo-icon {
  width:40px; height:40px;
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Noto Serif SC',serif; font-weight:900; font-size:18px;
  color:var(--navy); flex-shrink:0;
}
.nav-logo-text { display:flex; flex-direction:column; line-height:1.2; }
.nav-logo-text .cn {
  font-family:'Noto Serif SC',serif; font-weight:700; font-size:15px;
  color:var(--white); letter-spacing:1px;
}
.nav-logo-text .en {
  font-size:10px; color:var(--gold); letter-spacing:2px;
  text-transform:uppercase; font-weight:300;
}
.nav-links { display:flex; align-items:center; gap:6px; list-style:none; }
.nav-links a {
  text-decoration:none; color:rgba(255,255,255,0.8);
  font-size:13px; font-weight:400; letter-spacing:0.5px;
  padding:6px 12px; border-radius:6px;
  transition:var(--transition); white-space:nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color:var(--gold); background:rgba(201,168,76,0.1);
}
.nav-cta {
  padding:8px 20px !important;
  border:1px solid var(--gold) !important;
  color:var(--gold) !important;
  border-radius:6px !important;
  font-size:13px !important;
  letter-spacing:1px !important;
}
.nav-cta:hover {
  background:var(--gold) !important;
  color:var(--navy) !important;
}
.nav-mobile-toggle {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; padding:5px; background:none; border:none;
}
.nav-mobile-toggle span {
  width:24px; height:2px; background:var(--white);
  transition:var(--transition); display:block;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display:none; position:fixed; inset:0;
  background:rgba(11,29,58,0.99); z-index:999;
  flex-direction:column; align-items:center; justify-content:center; gap:28px;
}
.mobile-menu.active { display:flex; }
.mobile-menu a {
  text-decoration:none; color:var(--white);
  font-family:'Noto Serif SC',serif; font-size:22px; font-weight:600;
  transition:color 0.3s; padding:8px 24px;
}
.mobile-menu a:hover { color:var(--gold); }
.mobile-close {
  position:absolute; top:24px; right:30px;
  font-size:28px; color:var(--white); cursor:pointer;
  background:none; border:none; font-family:inherit; line-height:1;
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  background:var(--navy); padding:140px 60px 80px;
  position:relative; overflow:hidden; text-align:center;
}
.page-hero-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(74,144,217,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.page-hero-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.page-hero-content { position:relative; z-index:2; max-width:800px; margin:0 auto; }
.page-hero-tag {
  display:inline-flex; align-items:center; gap:8px;
  padding:5px 18px; border:1px solid rgba(201,168,76,0.4);
  border-radius:100px; color:var(--gold); font-size:11px;
  letter-spacing:3px; text-transform:uppercase; margin-bottom:24px;
}
.page-hero h1 {
  font-size:clamp(28px,4vw,48px); font-weight:700;
  color:var(--white); line-height:1.2; margin-bottom:16px;
}
.page-hero h1 .gold {
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.page-hero p {
  font-size:15px; color:rgba(255,255,255,0.55);
  font-weight:300; line-height:1.8; max-width:600px; margin:0 auto;
}

/* ── SECTION BASE ── */
.ph-section { padding:100px 60px; }
.ph-section.bg-cream { background:var(--cream); }
.ph-section.bg-navy { background:var(--navy); }
.ph-section.bg-white { background:var(--white); }

.section-inner { max-width:1200px; margin:0 auto; }

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

.section-tag {
  display:inline-flex; align-items:center; gap:10px;
  font-size:11px; letter-spacing:4px; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px;
}
.section-tag::before { content:''; width:24px; height:1px; background:var(--gold); }

.section-title {
  font-size:clamp(26px,3.5vw,40px); font-weight:700;
  color:var(--navy); line-height:1.2; margin-bottom:16px;
}
.section-title.white { color:var(--white); }

.section-desc {
  font-size:15px; color:var(--text-light);
  line-height:1.9; font-weight:300; max-width:600px;
}
.section-header .section-desc { margin:0 auto; }
.section-desc.white { color:rgba(255,255,255,0.5); }

.section-divider {
  width:48px; height:2px;
  background:linear-gradient(to right,var(--gold),var(--gold-light));
  margin:20px 0;
}
.section-header .section-divider { margin:20px auto; }

/* ── CARDS ── */
.card {
  background:var(--white); border-radius:var(--radius-md);
  border:1px solid var(--border); transition:var(--transition);
  overflow:hidden;
}
.card:hover {
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.card-gold-top::before {
  content:''; display:block; height:3px;
  background:linear-gradient(to right,var(--gold),var(--gold-light));
}

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 32px; border-radius:6px;
  font-size:14px; font-weight:600; letter-spacing:1px;
  cursor:pointer; text-decoration:none; transition:var(--transition);
  font-family:'Noto Sans SC',sans-serif; border:none; white-space:nowrap;
}
.btn-gold {
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:var(--navy);
}
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(201,168,76,0.4); }
.btn-outline {
  background:transparent; color:var(--white);
  border:1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }
.btn-outline-navy {
  background:transparent; color:var(--navy);
  border:1px solid rgba(11,29,58,0.25);
}
.btn-outline-navy:hover { border-color:var(--gold); color:var(--gold); }
.btn-sm { padding:9px 22px; font-size:13px; }

/* ── PLACEHOLDER BLOCK ── */
.placeholder-block {
  border:2px dashed rgba(201,168,76,0.3);
  border-radius:var(--radius-md);
  padding:48px 32px; text-align:center;
  background:rgba(201,168,76,0.03);
}
.placeholder-block .ph-icon { font-size:36px; margin-bottom:12px; opacity:0.5; }
.placeholder-block p {
  font-size:13px; color:var(--text-light);
  line-height:1.7; font-weight:300;
}
.placeholder-block strong { color:var(--gold); font-weight:600; }

/* ── GRID LAYOUTS ── */
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--gold);
}
.cta-section h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
  font-weight: 300;
}
.cta-btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

/* ── FOOTER ── */
.ph-footer { background:var(--navy); padding:60px 60px 28px; }
.footer-top {
  display:flex; justify-content:space-between; align-items:flex-start;
  padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.08);
  margin-bottom:28px; flex-wrap:wrap; gap:40px;
}
.footer-brand p {
  color:rgba(255,255,255,0.4); font-size:13px;
  line-height:1.8; margin-top:12px; max-width:280px; font-weight:300;
}
.footer-col h4 {
  color:var(--gold); font-size:11px; letter-spacing:2px;
  text-transform:uppercase; margin-bottom:16px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col a {
  color:rgba(255,255,255,0.45); text-decoration:none;
  font-size:13px; transition:color 0.3s;
}
.footer-col a:hover { color:var(--gold); }
.footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p { color:rgba(255,255,255,0.25); font-size:12px; font-weight:300; }
.footer-social { display:flex; gap:10px; }
.footer-social a {
  width:34px; height:34px; border:1px solid rgba(255,255,255,0.12);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.4); text-decoration:none; font-size:14px;
  transition:var(--transition);
}
.footer-social a:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity:0; transform:translateY(32px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }
.reveal-delay-5 { transition-delay:0.5s; }
.reveal-delay-6 { transition-delay:0.6s; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .ph-nav { padding:0 32px; }
  .ph-section { padding:80px 40px; }
  .page-hero { padding:120px 40px 70px; }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .ph-footer { padding:50px 40px 24px; }
}
@media (max-width:768px) {
  .ph-nav { padding:0 20px; }
  .nav-links { display:none; }
  .nav-mobile-toggle { display:flex; }
  .ph-section { padding:60px 20px; }
  .page-hero { padding:100px 20px 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
  .ph-footer { padding:40px 20px 20px; }
  .footer-top { flex-direction:column; gap:28px; }
  .cta-section { padding:60px 20px; }
  .cta-section h2 { font-size:26px; }
  .cta-btn { padding:14px 36px; font-size:15px; }
}
@media (max-width:480px) {
  .ph-nav { height:60px; }
  .ph-nav.scrolled, .ph-nav.solid { height:56px; }
}
