/* =============================================
   Fengdu Advertising & Media — official site v3
   Sky blue + white, light clean corporate style
   ============================================= */

:root {
  --sky-700: #0369a1;
  --sky-600: #0284c7;
  --sky-500: #0ea5e9;
  --sky-400: #38bdf8;
  --sky-100: #e0f2fe;
  --sky-50: #f0f9ff;
  --deep: #082f49;
  --deep-2: #0b3a5c;
  --ink: #0f172a;
  --ink-sub: #475569;
  --ink-muted: #94a3b8;
  --line: #e2e8f0;
  --line-sky: #bae6fd;
  --paper: #ffffff;
  --paper-alt: #f8fafc;
  --maxw: 1180px;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(2, 132, 199, 0.18);
  --shadow-lg: 0 24px 48px -20px rgba(2, 132, 199, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sky-600); text-decoration: none; }
a:hover { color: var(--sky-700); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- reveal-on-scroll (added by site.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- topbar ---------- */
.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px;
}
.topbar .co-name { letter-spacing: 0.02em; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: #fff; }
.topbar .lang {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1px 10px; border-radius: 99px; font-weight: 500;
}
.topbar .lang:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.15); }
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-name {
  font-size: 19px; font-weight: 700; color: var(--ink);
  line-height: 1.25; display: flex; flex-direction: column;
}
.brand-sub {
  font-size: 11px; font-weight: 500; color: var(--ink-muted);
  letter-spacing: 0.06em;
}
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  position: relative; color: var(--ink-sub); font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--sky-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover { color: var(--sky-700); background: var(--sky-50); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--sky-700); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(680px 380px at 88% -10%, rgba(56, 189, 248, 0.22), transparent 65%),
    radial-gradient(520px 320px at -8% 108%, rgba(14, 165, 233, 0.12), transparent 60%),
    linear-gradient(180deg, var(--sky-50), var(--paper) 78%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 480px at 75% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(720px 480px at 75% 30%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center;
  padding: 92px 0 100px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--sky-700); font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--sky-500); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 900;
  line-height: 1.22; letter-spacing: 0.01em; margin-bottom: 24px;
}
.hero h1 .accent { color: var(--sky-600); }
.hero .sub { font-size: 17.5px; color: var(--ink-sub); max-width: 560px; margin-bottom: 16px; }
.hero .note { font-size: 14px; color: var(--ink-muted); max-width: 560px; margin-bottom: 34px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px; border-radius: 10px; font-weight: 700; font-size: 15.5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { border: 1.5px solid var(--line-sky); color: var(--sky-700); background: #fff; }
.btn-ghost:hover { background: var(--sky-50); transform: translateY(-2px); }

/* hero entrance */
.hero .eyebrow, .hero h1, .hero .sub, .hero .note, .hero .btn-row, .hero-art {
  opacity: 0; animation: heroUp 0.8s ease forwards;
}
.hero h1 { animation-delay: 0.1s; }
.hero .sub { animation-delay: 0.2s; }
.hero .note { animation-delay: 0.28s; }
.hero .btn-row { animation-delay: 0.36s; }
.hero-art { animation-delay: 0.25s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .sub, .hero .note, .hero .btn-row, .hero-art {
    animation: none; opacity: 1;
  }
}

/* hero decorative art (pure CSS/SVG, no photos) */
.hero-art { position: relative; min-height: 340px; }
.hero-art svg { width: 100%; height: auto; }
.hero-art .float-1, .hero-art .float-2 { animation: floatY 6s ease-in-out infinite; }
.hero-art .float-2 { animation-delay: -3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .float-1, .hero-art .float-2 { animation: none; }
}

/* ---------- fact band ---------- */
.fact-band { background: var(--paper); padding: 0 0 8px; }
.fact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: -46px; position: relative; z-index: 2;
}
.fact {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--sky-500);
  border-radius: 12px; padding: 22px 24px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.f-num { font-size: 30px; font-weight: 900; color: var(--sky-700); line-height: 1.2; }
.f-num em { font-style: normal; font-size: 16px; font-weight: 700; color: var(--sky-500); margin-left: 2px; }
.f-label { font-size: 13.5px; color: var(--ink-sub); margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--paper-alt); }
.section.sky {
  background:
    radial-gradient(560px 300px at 100% 0%, rgba(56, 189, 248, 0.14), transparent 60%),
    var(--sky-50);
}
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--sky-600); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px;
}
.sec-label::before { content: ""; width: 26px; height: 2px; background: var(--sky-400); }
.sec-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; line-height: 1.3; margin-bottom: 14px; }
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-desc { color: var(--ink-sub); font-size: 16.5px; }

/* about split */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: start; }
.lead-para { color: var(--ink-sub); font-size: 16.5px; margin-bottom: 18px; }
.lead-para strong { color: var(--ink); }
.text-link { font-weight: 700; display: inline-block; margin-top: 6px; }
.text-link:hover { text-decoration: underline; }

.side-panel {
  background: linear-gradient(165deg, var(--deep), var(--deep-2));
  color: #fff; border-radius: 14px; padding: 30px 30px 24px;
  position: relative; overflow: hidden;
}
.side-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.sp-title {
  position: relative; font-size: 17px; font-weight: 700; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.side-panel dl { position: relative; }
.side-panel dl div { margin-bottom: 14px; }
.side-panel dt { font-size: 12px; color: var(--sky-400); letter-spacing: 0.08em; margin-bottom: 2px; }
.side-panel dd { font-size: 14.5px; line-height: 1.6; }
.side-panel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- business ---------- */
.biz-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.biz-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 34px 30px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.biz-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--sky-400), var(--sky-600));
  transform: scaleY(0); transform-origin: top; transition: transform 0.35s ease;
}
.biz-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-sky); }
.biz-item:hover::before { transform: scaleY(1); }
.b-no {
  font-size: 15px; font-weight: 900; color: var(--sky-500);
  letter-spacing: 0.12em; margin-bottom: 12px;
}
.biz-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.b-body p { color: var(--ink-sub); font-size: 15px; margin-bottom: 12px; }
.b-body p:last-child { margin-bottom: 0; }
.b-body ul { padding-left: 20px; color: var(--ink-sub); font-size: 15px; }
.b-body li { margin-bottom: 6px; }
.b-body strong { color: var(--ink); }

/* ---------- compliance / deep band ---------- */
.section.dark {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(170deg, var(--deep), var(--deep-2));
  color: #fff;
}
.section.dark .sec-title { color: #fff; }
.section.dark .sec-desc { color: rgba(255, 255, 255, 0.72); }
.section.dark .sec-label { color: var(--sky-400); }
.section.dark .sec-label::before { background: var(--sky-400); }
.pledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pledge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px; padding: 30px 28px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.pledge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.45);
}
.p-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(56, 189, 248, 0.15); color: var(--sky-400);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.p-icon svg { width: 24px; height: 24px; }
.pledge h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.pledge p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }

/* ---------- registry table ---------- */
.registry { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.registry-head {
  background: linear-gradient(135deg, var(--sky-600), var(--sky-700));
  color: #fff; font-weight: 700; padding: 15px 24px; font-size: 15.5px;
}
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td { padding: 14px 24px; text-align: left; font-size: 15px; border-top: 1px solid var(--line); }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: none; }
.registry .info-table tr:first-child th, .registry .info-table tr:first-child td { border-top: none; }
.info-table th { width: 180px; color: var(--ink-sub); font-weight: 500; background: var(--paper-alt); }
.info-table tr:hover td { background: var(--sky-50); }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--sky-600), var(--sky-500) 60%, var(--sky-400));
  color: #fff; padding: 60px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(600px 300px at 85% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(600px 300px at 85% 50%, #000 20%, transparent 80%);
}
.cta-inner {
  position: relative; display: flex; justify-content: space-between;
  align-items: center; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 560px; }
.cta-band .btn-primary {
  background: #fff; color: var(--sky-700); box-shadow: 0 10px 26px -10px rgba(8, 47, 73, 0.5);
}
.cta-band .btn-primary:hover { color: var(--sky-700); }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.75); font-size: 14.5px; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px;
  padding: 56px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand span { color: #fff; font-weight: 700; font-size: 17px; }
.site-footer h4 {
  color: #fff; font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.f-links { display: flex; flex-direction: column; gap: 9px; }
.f-links a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease, padding-left 0.2s ease; }
.f-links a:hover { color: var(--sky-400); padding-left: 4px; }
.site-footer p a { color: rgba(255, 255, 255, 0.85); }
.site-footer p a:hover { color: var(--sky-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; padding: 20px 0 26px; font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.fb-links { display: flex; gap: 18px; }
.fb-links a { color: rgba(255, 255, 255, 0.55); }
.fb-links a:hover { color: var(--sky-400); }

/* ---------- sub-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(560px 300px at 90% -20%, rgba(56, 189, 248, 0.2), transparent 60%),
    linear-gradient(180deg, var(--sky-50), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(600px 320px at 80% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 320px at 80% 0%, #000 25%, transparent 75%);
}
.page-hero-inner { position: relative; padding: 58px 0 54px; }
.breadcrumb { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--sky-600); }
.breadcrumb .sep { margin: 0 8px; color: var(--line-sky); }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; line-height: 1.25; margin-bottom: 10px; }
.ph-desc { color: var(--ink-sub); font-size: 16px; max-width: 680px; }

/* ---------- article (about / legal) ---------- */
.article { max-width: 820px; }
.article-block { margin-bottom: 48px; }
.article-block:last-child { margin-bottom: 0; }
.article h2 {
  font-size: 23px; font-weight: 900; margin-bottom: 16px;
  padding-left: 16px; border-left: 4px solid var(--sky-500); line-height: 1.4;
}
.article p { color: var(--ink-sub); margin-bottom: 14px; font-size: 15.5px; }
.article p strong { color: var(--ink); }
.article ul, .article ol { padding-left: 22px; color: var(--ink-sub); font-size: 15.5px; margin-bottom: 14px; }
.article li { margin-bottom: 8px; }
.article li strong { color: var(--ink); }
.article .muted { color: var(--ink-muted); font-size: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 20px; }
.c-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-sky); }
.c-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 11px;
  background: var(--sky-100); color: var(--sky-600);
  display: flex; align-items: center; justify-content: center;
}
.c-icon svg { width: 22px; height: 22px; }
.c-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.c-card p { color: var(--ink-sub); font-size: 14.5px; }
.c-card a { font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 84px; }
  .hero-art { display: none; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); margin-top: -36px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .biz-list { grid-template-columns: 1fr; }
  .pledge-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .topbar .co-name { display: none; }
}
@media (max-width: 620px) {
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact { padding: 16px 16px 14px; }
  .f-num { font-size: 24px; }
  .section { padding: 60px 0; }
  .main-nav a { padding: 8px 8px; font-size: 14px; }
  .brand-sub { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .info-table th { width: 110px; }
  .info-table th, .info-table td { padding: 12px 14px; font-size: 14px; }
}
