/* =========================================================
   cocoduck (cocoduckv.click) - Pale Imperial Yellow Palace Theme
   Pure Native CSS · Zero JS · Staggered Classical Layout
   ========================================================= */

:root {
  --bg-main: #fbf4df;
  --bg-surface: #f5e8c6;
  --bg-card: #fffcf2;
  --bg-card-hover: #fff8e4;
  --border-subtle: rgba(184, 134, 11, 0.28);
  --border-accent: rgba(158, 42, 43, 0.55);
  --text-primary: #2c1e14;
  --text-secondary: #533c29;
  --text-muted: #7f6346;
  --accent-red: #9e2a2b;
  --accent-red-deep: #7c1916;
  --accent-gold: #b8860b;
  --accent-gold-soft: #d4a644;
  --accent-jade: #3c6e57;
  --grad-primary: linear-gradient(135deg, #9e2a2b 0%, #b8860b 100%);
  --grad-cta: linear-gradient(135deg, #b22d2d 0%, #861b18 100%);
  --shadow-card: 0 10px 28px rgba(108, 72, 22, 0.11);
  --shadow-hover: 0 18px 36px rgba(124, 25, 22, 0.16);
  --shadow-glow: 0 14px 36px rgba(184, 134, 11, 0.24);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "KaiTi", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  /* Subtle classical imperial cloud & silk lattice watermark */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='M24 44C30 34 44 34 49 42C56 37 68 41 70 48H19C19 45 21 44 24 44Z' stroke='%23c89c3d' stroke-opacity='0.14' stroke-width='1.2'/%3E%3Cpath d='M104 118C110 108 124 108 129 116C136 111 148 115 150 122H99C99 119 101 118 104 118Z' stroke='%239e2a2b' stroke-opacity='0.09' stroke-width='1.2'/%3E%3Crect x='118' y='24' width='18' height='18' rx='2' stroke='%23c89c3d' stroke-opacity='0.12' stroke-width='1'/%3E%3Crect x='122' y='28' width='10' height='10' stroke='%23c89c3d' stroke-opacity='0.12' stroke-width='1'/%3E%3Ccircle cx='34' cy='124' r='9' stroke='%23c89c3d' stroke-opacity='0.11' stroke-width='1' stroke-dasharray='3 3'/%3E%3C/svg%3E");
  color: var(--text-primary);
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-red);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: var(--accent-red-deep);
}

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

/* ==================== Header & Pure CSS Mobile Nav ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 244, 223, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(184, 134, 11, 0.35);
  box-shadow: 0 4px 18px rgba(108, 72, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
  position: relative;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--accent-red-deep);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--accent-red);
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(158, 42, 43, 0.22);
}

.nav-toggle {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent-red-deep);
  border-radius: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-red);
}

.nav-links a.nav-highlight {
  color: var(--accent-red);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(158, 42, 43, 0.09);
  border: 1px solid rgba(158, 42, 43, 0.25);
}

.nav-links a.nav-highlight:hover {
  background: rgba(158, 42, 43, 0.16);
}

/* ==================== Buttons (Imperial Vermilion & Gold) ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--grad-cta);
  color: #fff8e6;
  border-color: rgba(212, 166, 68, 0.7);
  box-shadow: 0 8px 20px rgba(158, 42, 43, 0.26);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(158, 42, 43, 0.36);
}

.btn-outline {
  background: rgba(255, 252, 242, 0.92);
  color: var(--accent-red-deep);
  border-color: var(--accent-gold);
}

.btn-outline:hover {
  color: #fff8e6;
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 9px;
}

.btn-lg {
  min-height: 54px;
  padding: 14px 34px;
  font-size: 1.06rem;
}

.btn-block {
  width: 100%;
}

/* ==================== Hero Section with Palace Scenery Icons ==================== */
.hero {
  position: relative;
  padding: 86px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 58% at 50% 0%, rgba(235, 198, 108, 0.35), transparent 72%),
    radial-gradient(ellipse 40% 42% at 88% 28%, rgba(158, 42, 43, 0.09), transparent 70%),
    linear-gradient(180deg, #fdf7e4 0%, #f7ebca 100%);
  border-bottom: 2px solid rgba(184, 134, 11, 0.32);
}

/* Left decorative ancient lantern & cloud scenery */
.hero::before {
  content: "";
  position: absolute;
  top: 26px;
  left: max(18px, 3vw);
  width: 150px;
  height: 190px;
  pointer-events: none;
  opacity: 0.72;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 190' fill='none'%3E%3Cline x1='52' y1='0' x2='52' y2='34' stroke='%23b8860b' stroke-width='2'/%3E%3Crect x='38' y='34' width='28' height='8' rx='3' fill='%23b8860b'/%3E%3Cellipse cx='52' cy='72' rx='26' ry='32' fill='%239e2a2b' fill-opacity='0.14' stroke='%239e2a2b' stroke-width='2'/%3E%3Cpath d='M52 40V104M36 46C42 62 42 82 36 98M68 46C62 62 62 82 68 98' stroke='%23b8860b' stroke-opacity='0.65' stroke-width='1.3'/%3E%3Crect x='40' y='104' width='24' height='7' rx='2' fill='%23b8860b'/%3E%3Cpath d='M46 111V134M52 111V140M58 111V134' stroke='%239e2a2b' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M62 158C72 144 92 144 100 154C110 147 128 152 132 162H54C54 159 57 158 62 158Z' fill='%23d4a644' fill-opacity='0.26' stroke='%23b8860b' stroke-opacity='0.45' stroke-width='1.3'/%3E%3C/svg%3E");
}

/* Right decorative palace roof eaves & imperial seal scenery */
.hero::after {
  content: "";
  position: absolute;
  bottom: 18px;
  right: max(16px, 2.5vw);
  width: 210px;
  height: 170px;
  pointer-events: none;
  opacity: 0.68;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 170' fill='none'%3E%3Cpath d='M18 96C52 88 82 66 108 40C134 66 164 88 198 96L184 104H32L18 96Z' fill='%23c9972c' fill-opacity='0.22' stroke='%23b8860b' stroke-width='1.8'/%3E%3Cpath d='M36 124C64 118 86 102 108 82C130 102 152 118 180 124H36Z' fill='%239e2a2b' fill-opacity='0.11' stroke='%239e2a2b' stroke-opacity='0.5' stroke-width='1.5'/%3E%3Crect x='54' y='124' width='108' height='32' fill='%23fff8e4' fill-opacity='0.5' stroke='%23b8860b' stroke-width='1.4'/%3E%3Cline x1='74' y1='124' x2='74' y2='156' stroke='%239e2a2b' stroke-opacity='0.55' stroke-width='2.4'/%3E%3Cline x1='108' y1='124' x2='108' y2='156' stroke='%239e2a2b' stroke-opacity='0.55' stroke-width='2.4'/%3E%3Cline x1='142' y1='124' x2='142' y2='156' stroke='%239e2a2b' stroke-opacity='0.55' stroke-width='2.4'/%3E%3Crect x='146' y='14' width='36' height='36' rx='6' fill='%239e2a2b' fill-opacity='0.14' stroke='%239e2a2b' stroke-width='1.6'/%3E%3Ctext x='164' y='37' fill='%239e2a2b' font-family='serif' font-size='15' font-weight='700' text-anchor='middle'%3E%E5%BE%A1%E9%80%9F%3C/text%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 234, 0.9);
  border: 1.5px solid rgba(184, 134, 11, 0.55);
  color: var(--accent-red);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.14);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.9vw, 3.05rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero h1 .text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
}

/* Staggered Imperial Plaque Stats Bar ("稍微乱点") */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 6px 4px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stat-item {
  background: var(--bg-card);
  border: 1.5px solid rgba(184, 134, 11, 0.42);
  border-radius: 14px;
  padding: 20px 14px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(184, 134, 11, 0.28);
  border-radius: 10px;
  pointer-events: none;
}

.stat-item:nth-child(1) {
  transform: translateY(-6px) rotate(-1.1deg);
}

.stat-item:nth-child(2) {
  transform: translateY(10px) rotate(0.9deg);
}

.stat-item:nth-child(3) {
  transform: translateY(-9px) rotate(-0.7deg);
}

.stat-item:nth-child(4) {
  transform: translateY(7px) rotate(1deg);
}

.stat-item:hover {
  transform: translateY(-10px) rotate(0deg);
  box-shadow: var(--shadow-hover);
}

.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.62rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1.3;
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==================== Sections with Subtle Classical Scenery ==================== */
.section {
  padding: 82px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 250, 232, 0.65), transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(212, 166, 68, 0.14), transparent 45%);
  border-top: 1.5px solid rgba(184, 134, 11, 0.26);
  border-bottom: 1.5px solid rgba(184, 134, 11, 0.26);
}

/* Decorative cloud/seal icon flourishes on alternating sections */
.section-alt::before {
  content: "";
  position: absolute;
  top: 24px;
  right: max(18px, 3vw);
  width: 118px;
  height: 76px;
  pointer-events: none;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 76' fill='none'%3E%3Cpath d='M16 46C24 32 44 30 52 41C62 31 84 35 88 47C98 44 110 49 112 58H10C10 51 12 48 16 46Z' fill='%23e7ca82' fill-opacity='0.38' stroke='%23b8860b' stroke-opacity='0.5' stroke-width='1.4'/%3E%3Ccircle cx='96' cy='20' r='11' stroke='%239e2a2b' stroke-opacity='0.38' stroke-width='1.5' stroke-dasharray='3 2'/%3E%3C/svg%3E");
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-red);
  background: rgba(158, 42, 43, 0.08);
  border: 1px solid rgba(158, 42, 43, 0.22);
  padding: 3px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-red), var(--accent-gold), transparent);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 12px;
}

/* ==================== Staggered Organic Grids ("稍微乱点比较好看") ==================== */
.grid-3 {
  display: grid;
  grid-template-columns: 1.08fr 0.94fr 1.03fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 36px;
}

.grid-3 > .card:nth-child(1) {
  margin-top: 0;
  transform: rotate(-0.85deg);
}

.grid-3 > .card:nth-child(2) {
  margin-top: 38px;
  transform: rotate(0.75deg);
}

.grid-3 > .card:nth-child(3) {
  margin-top: 14px;
  transform: rotate(-0.6deg);
}

.grid-4 {
  display: grid;
  grid-template-columns: 0.96fr 1.02fr 1.08fr 0.98fr;
  gap: 22px;
  align-items: start;
  padding-top: 12px;
  padding-bottom: 32px;
}

.grid-4 > .pricing-card:nth-child(1) {
  margin-top: 24px;
  transform: rotate(-0.8deg);
}

.grid-4 > .pricing-card:nth-child(2) {
  margin-top: 6px;
  transform: rotate(0.65deg);
}

.grid-4 > .pricing-card:nth-child(3) {
  margin-top: -12px;
  transform: rotate(-0.35deg);
}

.grid-4 > .pricing-card:nth-child(4) {
  margin-top: 30px;
  transform: rotate(0.85deg);
}

.card {
  background: var(--bg-card);
  border: 1.5px solid rgba(184, 134, 11, 0.36);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Subtle classical golden inner corner accent */
.card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(184, 134, 11, 0.45);
  border-left: 2px solid rgba(184, 134, 11, 0.45);
  border-top-left-radius: 4px;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid rgba(158, 42, 43, 0.35);
  border-right: 2px solid rgba(158, 42, 43, 0.35);
  border-bottom-right-radius: 4px;
  pointer-events: none;
}

.card:hover,
.grid-3 > .card:hover,
.grid-4 > .pricing-card:hover {
  transform: translateY(-7px) rotate(0deg);
  border-color: var(--accent-red);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
  z-index: 3;
}

.card-media {
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.28);
}

.card-media img {
  width: 100%;
  height: auto;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-block;
  padding: 4px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(184, 134, 11, 0.12);
  color: #6f4807;
  border: 1px solid rgba(184, 134, 11, 0.35);
}

/* ==================== Security Highlight Notice ==================== */
.security-banner {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 250, 232, 0.96) 0%, rgba(246, 230, 187, 0.85) 100%);
  border: 1.5px solid rgba(158, 42, 43, 0.35);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.security-banner p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  flex: 1;
  min-width: 260px;
}

.security-banner strong {
  color: var(--accent-red);
}

/* ==================== Pricing Cards & Comparison Table ==================== */
.pricing-card {
  position: relative;
  justify-content: space-between;
}

.pricing-card.featured {
  border: 2px solid var(--accent-red);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, #fffdf5 0%, #faecc8 100%);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--grad-cta);
  color: #fff8e6;
  border: 1px solid #e7c268;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(158, 42, 43, 0.25);
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
}

.plan-price .currency {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--accent-red);
}

.plan-price .amount {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 800;
  color: var(--accent-red-deep);
  line-height: 1;
}

.plan-price .period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}

.plan-features li::before {
  content: "❖";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.85rem;
  top: 1px;
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(184, 134, 11, 0.4);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: center;
}

.compare-table th,
.compare-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.compare-table thead th {
  background: linear-gradient(180deg, #9e2a2b 0%, #831d1b 100%);
  color: #fff6dc;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.compare-table tbody td:first-child,
.compare-table thead th:first-child {
  text-align: left;
  font-weight: 700;
  padding-left: 22px;
}

.compare-table tbody td:first-child {
  color: var(--text-primary);
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(245, 232, 198, 0.35);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .col-featured {
  background: rgba(212, 166, 68, 0.16);
  color: var(--accent-red-deep);
  font-weight: 700;
}

.compare-table thead th.col-featured {
  background: linear-gradient(180deg, #b8860b 0%, #946807 100%);
  color: #fffdf5;
}

/* ==================== User Reviews ==================== */
.review-stars {
  color: #c98a09;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed rgba(184, 134, 11, 0.35);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-cta);
  border: 2px solid #e5be65;
  color: #fff8e6;
  font-family: var(--font-serif);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.review-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== FAQ Accordion (Staggered Classical Scroll Feel) ==================== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1.5px solid rgba(184, 134, 11, 0.34);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(108, 72, 22, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item:nth-child(odd) {
  margin-right: 26px;
}

.faq-item:nth-child(even) {
  margin-left: 26px;
}

.faq-item[open] {
  border-color: var(--accent-red);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-red);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 14px 24px 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  border-top: 1px dashed rgba(184, 134, 11, 0.32);
  background: rgba(251, 244, 223, 0.45);
}

/* ==================== Bottom CTA ==================== */
.cta-box {
  background: linear-gradient(135deg, #fffaf0 0%, #f5e2b1 100%);
  border: 2px solid rgba(184, 134, 11, 0.55);
  border-radius: var(--radius-lg);
  padding: 50px 32px;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(158, 42, 43, 0.25);
  border-radius: 14px;
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  color: var(--accent-red-deep);
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ==================== Minimal 4-Title Palace Footer ==================== */
.site-footer {
  background: #432318;
  border-top: 3px solid var(--accent-gold);
  padding: 36px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 44px;
  list-style: none;
}

.footer-links a {
  color: #f6e7c1;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 6px;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffe28a;
}

/* ==================== Subpages / Info Hub / Staggered Article Cards ==================== */
.page-hero {
  padding: 58px 0 44px;
  background:
    radial-gradient(ellipse 65% 55% at 50% -10%, rgba(224, 182, 86, 0.34), transparent 72%),
    linear-gradient(180deg, #fdf7e4 0%, #f5e6c0 100%);
  border-bottom: 2px solid rgba(184, 134, 11, 0.3);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.32;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 780px;
  font-size: 1rem;
}

/* Slightly staggered editorial gallery for the 12 SEO articles */
.article-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.96fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(184, 134, 11, 0.36);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.article-card:nth-child(odd) {
  transform: rotate(-0.55deg);
}

.article-card:nth-child(even) {
  margin-top: 26px;
  transform: rotate(0.55deg);
}

.article-card:hover {
  transform: translateY(-5px) rotate(0deg);
  border-color: var(--accent-red);
  box-shadow: var(--shadow-hover);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-card h2 {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.46;
  color: var(--text-primary);
}

.article-card h2 a {
  color: var(--text-primary);
}

.article-card h2 a:hover {
  color: var(--accent-red);
}

.article-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.article-readmore {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-red);
}

/* Article Detail & Legal Content */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.prose {
  background: var(--bg-card);
  border: 1.5px solid rgba(184, 134, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 42px 44px;
  box-shadow: var(--shadow-card);
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-red-deep);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed rgba(184, 134, 11, 0.35);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-red);
  margin: 22px 0 10px;
}

.prose p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.88;
}

.prose ul,
.prose ol {
  margin: 0 0 18px 22px;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.78;
}

.prose strong {
  color: var(--text-primary);
}

.article-cta {
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fdf5df 0%, #f5e2b5 100%);
  border: 1.5px solid rgba(158, 42, 43, 0.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta h3 {
  margin: 0 0 6px;
  color: var(--accent-red-deep);
  font-size: 1.16rem;
}

.article-cta p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.related-box {
  margin-top: 36px;
  padding: 28px 32px;
  background: var(--bg-surface);
  border: 1.5px solid rgba(184, 134, 11, 0.34);
  border-radius: var(--radius-md);
}

.related-box h2 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.related-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.related-list a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.94rem;
  padding: 6px 0;
}

.related-list a:hover {
  color: var(--accent-red);
}

.sitemap-section {
  margin-bottom: 28px;
}

.sitemap-section ul {
  list-style: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.sitemap-section li {
  margin-bottom: 0;
}

/* ==================== Responsive Media Queries ==================== */
@media (max-width: 992px) {
  .hero::before,
  .hero::after {
    opacity: 0.28;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 > .card:nth-child(n),
  .grid-4 > .pricing-card:nth-child(n) {
    margin-top: 0;
  }

  .grid-3 > .card:nth-child(even),
  .grid-4 > .pricing-card:nth-child(even) {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero::before,
  .hero::after,
  .section-alt::before {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(253, 247, 228, 0.98);
    border-bottom: 2px solid rgba(184, 134, 11, 0.35);
    padding: 18px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    box-shadow: 0 16px 32px rgba(108, 72, 22, 0.16);
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links a {
    display: block;
    padding: 12px 12px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .nav-links a:hover {
    background: rgba(184, 134, 11, 0.12);
  }

  .hero {
    padding: 52px 0 48px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .article-cta .btn,
  .security-banner .btn,
  .cta-box .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1.02rem;
  }

  .hero-stats,
  .grid-3,
  .grid-4,
  .article-grid,
  .related-list,
  .sitemap-section ul {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  /* Clean single-column reset on mobile for smooth thumb reading */
  .stat-item:nth-child(n),
  .grid-3 > .card:nth-child(n),
  .grid-4 > .pricing-card:nth-child(n),
  .article-card:nth-child(n),
  .faq-item:nth-child(n) {
    transform: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .section {
    padding: 54px 0;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .prose {
    padding: 24px 18px;
  }

  .faq-item summary {
    padding: 18px 18px;
    font-size: 0.98rem;
  }

  .faq-answer {
    padding: 12px 18px 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    padding: 10px 16px;
  }
}
