/* ============================================================
   Warner Telecom - Global Stylesheet
   Brand: purple gradient / clean / tech feel
   ============================================================ */
:root {
  --brand: #7b1fa2;
  --brand-deep: #4a0e6e;
  --brand-bright: #a64ce0;
  --gradient: linear-gradient(135deg, #6a1fb0 0%, #8e2de2 60%, #b06ee8 100%);
  --ink: #1d2333;
  --ink-soft: #5a6378;
  --bg: #f7f6fb;
  --card: #ffffff;
  --line: #e6e2f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 14, 110, .10);
  --shadow-lg: 0 20px 50px rgba(74, 14, 110, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 44px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block; padding: 10px 16px; font-size: 15px; font-weight: 600;
  color: var(--ink); border-radius: 8px; transition: .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); background: rgba(123, 31, 162, .07); }
.has-dropdown.active > a { color: var(--brand); background: rgba(123, 31, 162, .07); }
.caret {
  display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: .2s;
}
.has-dropdown:hover .caret { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 210px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 8px; opacity: 0; visibility: hidden;
  transition: .22s ease; list-style: none; display: block !important;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a { padding: 10px 14px; font-weight: 500; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(78vh, 640px); min-height: 420px; overflow: hidden; background: var(--brand-deep); }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide img.bg {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover;
  will-change: transform;
}
.slide.active img.bg { animation: kenburns 7s ease-out; }
@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 5, 50, .72) 20%, rgba(60, 15, 100, .35) 60%, rgba(0, 0, 0, .15));
}
.slide-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 0 24px; }
.slide-content .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 99px; margin-bottom: 18px;
  backdrop-filter: blur(4px); background: rgba(255, 255, 255, .06);
}
.slide.active .slide-content .kicker { animation: fadeUp .8s .2s cubic-bezier(.22,1,.36,1) both; }
.slide.active .slide-content h1 { animation: fadeUp .9s .35s cubic-bezier(.22,1,.36,1) both; }
.slide.active .slide-content p { animation: fadeUp .9s .5s cubic-bezier(.22,1,.36,1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide-content h1 {
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15; margin-bottom: 14px;
  background: linear-gradient(100deg, #fff 20%, #e3bfff 45%, #fff 70%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textFlow 7s linear infinite;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35));
}
@keyframes textFlow {
  to { background-position: 220% center; }
}
.slide-content p { font-size: clamp(16px, 1.8vw, 20px); opacity: .92; }
/* 漂浮光斑 */
.hero .orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  filter: blur(70px); mix-blend-mode: screen;
}
.hero .orb.o1 { width: 420px; height: 420px; right: 6%; top: -12%; background: rgba(166, 76, 224, .5); animation: orbDrift 11s ease-in-out infinite alternate; }
.hero .orb.o2 { width: 300px; height: 300px; right: 26%; bottom: -14%; background: rgba(90, 130, 255, .35); animation: orbDrift 14s ease-in-out infinite alternate-reverse; }
.hero .orb.o3 { width: 200px; height: 200px; left: 38%; top: 8%; background: rgba(255, 170, 220, .28); animation: orbDrift 17s ease-in-out infinite alternate; }
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-36px, 26px) scale(1.12); }
  to { transform: translate(28px, -20px) scale(.94); }
}
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button {
  width: 34px; height: 4px; border: none; border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .4); transition: .3s;
}
.hero-dots button.active { background: #fff; width: 48px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); background: rgba(123, 31, 162, .08); padding: 6px 16px; border-radius: 99px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 17px; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card {
  position: relative; overflow: hidden;
  background: var(--card); border-radius: var(--radius); padding: 36px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.why-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(142, 45, 226, .13), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.why-card::after {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 3px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(106, 31, 176, .22); }
.why-card:hover::before { opacity: 1; }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(142, 45, 226, .35);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.why-card:hover .why-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 28px rgba(142, 45, 226, .55);
}
.why-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: 15px; }

/* About strip on home */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; }
.about-imgs img.main { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-imgs img.float {
  position: absolute; width: 46%; right: -20px; bottom: -36px;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg);
  animation: floatY 5.5s ease-in-out infinite alternate;
}
@keyframes floatY {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}
.about-points { display: grid; gap: 18px; margin-top: 28px; }
.about-point { display: flex; gap: 14px; transition: transform .3s; }
.about-point:hover { transform: translateX(6px); }
.about-point .num {
  flex: 0 0 34px; height: 34px; border-radius: 10px; background: rgba(123, 31, 162, .1);
  color: var(--brand); font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: .3s;
}
.about-point:hover .num { background: var(--gradient); color: #fff; box-shadow: 0 6px 16px rgba(142, 45, 226, .4); }
.about-point h4 { font-size: 16px; }
.about-point p { color: var(--ink-soft); font-size: 14.5px; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.plan-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.plan-card {
  position: relative;
  background: var(--card); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.plan-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(142, 45, 226, .1), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(106, 31, 176, .24); }
.plan-card:hover::after { opacity: 1; }
.plan-media { position: relative; height: 210px; overflow: hidden; }
.plan-media::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -90%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg); transition: left .8s ease; pointer-events: none;
}
.plan-card:hover .plan-media::after { left: 140%; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; transition: .6s cubic-bezier(.22,1,.36,1); }
.plan-card:hover .plan-media img { transform: scale(1.07); }
.plan-media .badge {
  position: absolute; top: 14px; left: 14px; color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 99px;
  background: linear-gradient(110deg, #6a1fb0, #8e2de2, #c98af0, #6a1fb0);
  background-size: 300% auto; animation: badgeFlow 5s linear infinite;
  box-shadow: 0 6px 16px rgba(106, 31, 176, .4);
}
@keyframes badgeFlow {
  to { background-position: 300% center; }
}
.plan-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.plan-body h3 { font-size: 21px; margin-bottom: 6px; }
.plan-speed { color: var(--brand); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.plan-body .desc { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.plan-price { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.plan-price .amount { font-size: 30px; font-weight: 800; color: var(--ink); }
.plan-price .amount small { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.plan-price ul { list-style: none; margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.plan-price ul li { padding: 3px 0; padding-left: 18px; position: relative; }
.plan-price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 99px; font-weight: 700; font-size: 15px;
  transition: .25s; cursor: pointer; border: none;
}
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #6a1fb0, #8e2de2, #a64ce0, #6a1fb0);
  background-size: 260% auto; animation: btnFlow 6s linear infinite;
  color: #fff !important; box-shadow: 0 10px 24px rgba(142, 45, 226, .4);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -90%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .65s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(142, 45, 226, .55); }
.btn-primary:hover::after { left: 140%; }
@keyframes btnFlow {
  to { background-position: 260% center; }
}
.btn-outline { border: 2px solid var(--brand); color: var(--brand); transition: .3s; }
.btn-outline:hover { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(142, 45, 226, .35); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #5a1894, #8e2de2, #b06ee8, #5a1894);
  background-size: 300% auto; animation: auroraFlow 14s ease-in-out infinite alternate;
  color: #fff; text-align: center; padding: 70px 24px; border-radius: 22px;
  box-shadow: 0 24px 60px rgba(106, 31, 176, .35);
}
.cta-band::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  left: -100px; top: -160px; background: rgba(255, 255, 255, .12); filter: blur(50px);
  animation: orbDrift 12s ease-in-out infinite alternate;
}
.cta-band::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  right: -80px; bottom: -140px; background: rgba(140, 190, 255, .18); filter: blur(50px);
  animation: orbDrift 15s ease-in-out infinite alternate-reverse;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { opacity: .9; margin-bottom: 26px; position: relative; z-index: 1; }
.cta-band .btn { background: #fff; color: var(--brand) !important; position: relative; z-index: 1; }
.cta-band .btn:hover { box-shadow: 0 12px 30px rgba(255, 255, 255, .35); transform: translateY(-2px); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, #3a0a5c 0%, #6a1fb0 40%, #8e2de2 70%, #3a0a5c 100%);
  background-size: 260% auto; animation: auroraFlow 16s ease-in-out infinite alternate;
  color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden;
}
@keyframes auroraFlow {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255, 255, 255, .09); filter: blur(6px);
  animation: orbDrift 13s ease-in-out infinite alternate;
}
.page-hero::before {
  content: ""; position: absolute; right: 60px; bottom: -160px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, .06); filter: blur(6px);
  animation: orbDrift 17s ease-in-out infinite alternate-reverse;
}
.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px); position: relative; z-index: 2;
  background: linear-gradient(100deg, #fff 25%, #e3bfff 50%, #fff 75%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textFlow 8s linear infinite;
}
.page-hero p { opacity: .9; margin-top: 10px; max-width: 640px; position: relative; z-index: 2; }

/* QR cards */
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 760px; margin: 0 auto; }
.qr-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 34px; text-align: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.qr-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(142, 45, 226, .12), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.qr-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(106, 31, 176, .2); }
.qr-card:hover::before { opacity: 1; }
.qr-card img { width: 190px; height: 190px; object-fit: contain; margin: 0 auto 16px; transition: transform .4s; }
.qr-card:hover img { transform: scale(1.05); }
.qr-card h3 { font-size: 18px; }
.qr-card p { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }

/* FAQ */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 26px; font-size: 16.5px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .ico { flex: 0 0 26px; height: 26px; border-radius: 8px; background: rgba(123, 31, 162, .1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: .25s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 26px 22px; color: var(--ink-soft); }
.faq-cat { margin: 34px 0 16px; font-size: 20px; }

/* Downloads */
.dl-list { max-width: 840px; margin: 0 auto; display: grid; gap: 16px; }
.dl-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; gap: 22px; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.dl-item:hover { transform: translateX(6px); box-shadow: 0 16px 40px rgba(106, 31, 176, .18); }
.dl-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--gradient); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(142, 45, 226, .35); }
.dl-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; }
.dl-info { flex: 1; }
.dl-info h3 { font-size: 17px; }
.dl-info p { color: var(--ink-soft); font-size: 14px; }
.dl-meta { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.empty-note { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 34px; }
.contact-line { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border: none; }
.contact-line .ci { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(123, 31, 162, .1); display: flex; align-items: center; justify-content: center; }
.contact-line .ci svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 2; }
.contact-line h4 { font-size: 15px; }
.contact-line p, .contact-line a { color: var(--ink-soft); font-size: 15px; }

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(160deg, #1a0630 0%, #2b0b4a 55%, #22093a 100%);
  color: #cfc3e0; margin-top: 90px;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #a64ce0, #5a82ff, #a64ce0, transparent);
  background-size: 200% auto; animation: textFlow 6s linear infinite;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 44px; }
.footer-logo { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; opacity: .8; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a { color: #cfc3e0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13.5px; text-align: center; }

/* ---------- Admin ---------- */
.admin-body { background: #f3f1f8; min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 230px; background: #22093a; color: #cfc3e0; padding: 24px 0; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh;
}
.admin-side .logo { padding: 0 22px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-side .logo img { height: 38px; }
.admin-side nav { margin-top: 18px; }
.admin-side nav a {
  display: block; padding: 12px 22px; color: #cfc3e0; font-size: 14.5px; font-weight: 600; transition: .2s;
}
.admin-side nav a:hover, .admin-side nav a.active { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-main { flex: 1; padding: 30px 36px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-top h1 { font-size: 24px; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.stat-card .num { font-size: 34px; font-weight: 800; color: var(--brand); }
.stat-card .lbl { color: var(--ink-soft); font-size: 14px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.table th { color: var(--ink-soft); font-weight: 600; background: #faf8fd; }
.table img.thumb { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; }
.badge-on { color: #0a8a3a; background: #e5f6ec; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.badge-off { color: #b03a3a; background: #fbe9e9; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input[type=text], .form-row input[type=password], .form-row input[type=number],
.form-row input[type=file], .form-row textarea, .form-row select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; background: #fbfaff;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid rgba(123, 31, 162, .35); border-color: var(--brand); }
.form-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.msg { padding: 13px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; }
.msg.ok { background: #e5f6ec; color: #0a8a3a; }
.msg.err { background: #fbe9e9; color: #b03a3a; }
.actions { display: flex; gap: 10px; }
.btn-sm { padding: 7px 16px; font-size: 13.5px; }
.btn-danger { background: #fbe9e9; color: #b03a3a; }
.btn-danger:hover { background: #b03a3a; color: #fff; }

/* Login */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #3a0a5c, #8e2de2); }
.login-box { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 44px; width: 400px; max-width: 92vw; }
.login-box img { height: 46px; margin: 0 auto 26px; }
.login-box h1 { font-size: 22px; text-align: center; margin-bottom: 24px; }

/* Install */
.install-wrap { min-height: 100vh; background: linear-gradient(120deg, #3a0a5c, #8e2de2); padding: 60px 20px; }
.install-box { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 44px; max-width: 640px; margin: 0 auto; }
.install-box .logo { height: 48px; margin: 0 auto 10px; display: block; }
.install-steps { display: flex; gap: 8px; justify-content: center; margin: 24px 0 30px; }
.install-steps span { padding: 6px 16px; border-radius: 99px; background: #f0ebf7; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.install-steps span.on { background: var(--gradient); color: #fff; }
.check-list { list-style: none; margin: 10px 0 24px; }
.check-list li { padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 14.5px; }

/* ---------- 附加光影效果 ---------- */
/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, #6a1fb0, #b06ee8, #5a82ff);
  box-shadow: 0 0 12px rgba(166, 76, 224, .7);
  transition: width .1s linear;
}
/* 头部滚动加深 */
.site-header.scrolled { box-shadow: 0 8px 30px rgba(74, 14, 110, .14); }
/* section 角标微光 */
.section-head .tag { position: relative; overflow: hidden; }
.section-head .tag::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg); animation: tagShine 4.5s ease-in-out infinite;
}
@keyframes tagShine {
  0%, 60% { left: -80%; }
  100% { left: 160%; }
}
/* FAQ 展开发光 */
.faq-item { transition: box-shadow .3s, border-color .3s; }
.faq-item.open { border-color: rgba(142, 45, 226, .45); box-shadow: 0 14px 36px rgba(106, 31, 176, .15); }
/* 联系卡片聚光 */
.contact-card { position: relative; overflow: hidden; }
.contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(142, 45, 226, .1), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.contact-card:hover::before { opacity: 1; }
/* 尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 70px; }
  .plan-grid, .plan-grid.cols-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 560px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px; }
  .main-nav a { padding: 13px 16px; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: #faf8fd; margin: 4px 0; display: none !important; }
  .has-dropdown.open .dropdown { display: block !important; }
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; }
  .admin-main { padding: 20px; }
}
