:root {
  --brand-yellow: #f5c518;
  --brand-yellow-dark: #e8a800;
  --brand-yellow-darker: #8a6d00;
  --bg-primary: #f7f8fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eef0f7;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.5);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5e;
  --text-muted: #8a8a9e;
  --border-color: #e2e4ee;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 6px 24px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.16);
  --shadow-glow: 0 0 32px rgba(245, 197, 24, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --header-height: 68px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-hero-1: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --gradient-hero-2: linear-gradient(135deg, #2d1b4e 0%, #3d2b5e 50%, #5e2b8a 100%);
  --gradient-hero-3: linear-gradient(135deg, #1b2d1b 0%, #2b3d2b 50%, #1b4d2b 100%);
  --gradient-brand: linear-gradient(135deg, #f5c518 0%, #e8a800 100%);
  --gradient-accent: linear-gradient(135deg, #f5c518 0%, #ff8c00 100%);
  --gradient-card: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #0e0e1a;
  --bg-secondary: #16162a;
  --bg-tertiary: #1e1e36;
  --bg-glass: rgba(22, 22, 42, 0.78);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #eaeaf5;
  --text-secondary: #b0b0c8;
  --text-muted: #6a6a82;
  --border-color: #2a2a44;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --gradient-card: linear-gradient(160deg, rgba(30, 30, 54, 0.9) 0%, rgba(22, 22, 42, 0.6) 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-yellow-dark);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--brand-yellow);
  opacity: 0.9;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-brand);
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 1.4rem 0 0.6rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ========== HEADER ========== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-area {
  flex-shrink: 0;
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.logo-area svg {
  transition: transform var(--transition-base);
  filter: drop-shadow(0 2px 6px rgba(245, 197, 24, 0.4));
}

.logo-area a:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

#main-nav {
  flex: 1;
  min-width: 0;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

#main-nav ul::-webkit-scrollbar {
  display: none;
}

#main-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
}

#main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

#main-nav a:hover {
  color: var(--text-primary);
  background: rgba(245, 197, 24, 0.1);
}

#main-nav a:hover::after {
  width: 60%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#site-search {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

#site-search:focus-within {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.18);
  background: var(--bg-secondary);
}

#site-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--text-primary);
  width: 150px;
  font-family: inherit;
  transition: width var(--transition-base);
}

#site-search input::placeholder {
  color: var(--text-muted);
}

#site-search input:focus {
  width: 200px;
}

#site-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-brand);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#site-search button:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

#site-search button svg circle,
#site-search button svg line {
  stroke: #1a1a2e;
}

#theme-toggle,
#mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

#theme-toggle:hover,
#mobile-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--bg-tertiary);
}

#theme-toggle svg circle,
#theme-toggle svg line {
  stroke: var(--text-secondary);
  transition: stroke var(--transition-fast);
}

#mobile-menu-btn {
  display: none;
}

#mobile-menu-btn svg line {
  stroke: var(--text-secondary);
}

/* ========== BREADCRUMB ========== */
#breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px 0;
}

#breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

#breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-muted);
  opacity: 0.5;
}

#breadcrumb a {
  color: var(--text-muted);
}

#breadcrumb a:hover {
  color: var(--brand-yellow-dark);
}

#breadcrumb [aria-current="page"] {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========== MAIN ========== */
#main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

#main-content > section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

#main-content > section:hover {
  box-shadow: var(--shadow-md);
}

/* ========== HERO BANNER ========== */
#hero-banner {
  position: relative;
  padding: 0 !important;
  border: none !important;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-hero-1);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
  z-index: 1;
}

.banner-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.banner-slide svg {
  width: 100%;
  height: auto;
  min-height: 240px;
  display: block;
}

.banner-slide:nth-child(1) {
  background: var(--gradient-hero-1);
}

.banner-slide:nth-child(2) {
  background: var(--gradient-hero-2);
}

.banner-slide:nth-child(3) {
  background: var(--gradient-hero-3);
}

.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.7);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ========== CARDS / GLASS ========== */
#brand-intro,
#company-profile,
#brand-history,
#company-culture,
#products,
#product-advantages,
#solutions,
#industry-applications,
#cases,
#testimonials,
#news,
#articles,
#industry-knowledge,
#faq,
#howto,
#contact,
#sitemap,
#friendly-links {
  position: relative;
}

#brand-intro {
  background: var(--gradient-card) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border) !important;
}

#brand-intro h1 {
  background: linear-gradient(120deg, var(--text-primary) 0%, var(--brand-yellow-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== HISTORY TIMELINE ========== */
#brand-history ul {
  position: relative;
  padding-left: 28px;
}

#brand-history ul::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-yellow), transparent);
  border-radius: 2px;
}

#brand-history li {
  position: relative;
  padding: 8px 0 8px 4px;
  color: var(--text-secondary);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

#brand-history li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#brand-history li:hover {
  transform: translateX(6px);
  color: var(--text-primary);
}

#brand-history li:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(245, 197, 24, 0.3);
}

/* ========== CULTURE ========== */
#company-culture h3 {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.14);
  color: var(--brand-yellow-dark);
  font-size: 0.95rem;
}

#company-culture ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

#company-culture ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: rotate(45deg);
}

/* ========== PRODUCTS ========== */
#products h3 {
  padding-left: 16px;
  border-left: 4px solid var(--brand-yellow);
}

/* ========== ADVANTAGES GRID ========== */
#product-advantages ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

#product-advantages li {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#product-advantages li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-yellow);
  background: var(--bg-secondary);
}

#product-advantages li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-yellow-dark);
}

/* ========== SOLUTIONS ========== */
#solutions h3 {
  padding-left: 16px;
  border-left: 4px solid var(--brand-yellow);
}

/* ========== CASES ========== */
#cases h3 {
  color: var(--brand-yellow-dark);
}

/* ========== TESTIMONIALS ========== */
#testimonials blockquote {
  position: relative;
  margin: 0 0 18px;
  padding: 22px 24px 22px 56px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#testimonials blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: 8px;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--brand-yellow);
  opacity: 0.55;
  font-family: Georgia, serif;
}

#testimonials blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-yellow);
}

#testimonials blockquote p {
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 8px;
}

#testimonials blockquote footer {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ========== NEWS & ARTICLES ========== */
#news article,
#articles article {
  padding: 20px 0;
  border-bottom: 1px dashed var(--border-color);
  transition: transform var(--transition-base);
}

#news article:last-child,
#articles article:last-child {
  border-bottom: none;
}

#news article:hover,
#articles article:hover {
  transform: translateX(6px);
}

#news h3,
#articles h3 {
  margin-top: 0;
}

#news h3 a,
#articles h3 a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

#news h3 a:hover,
#articles h3 a:hover {
  color: var(--brand-yellow-dark);
}

#news time,
#articles time {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg-tertiary);
}

#articles article > a:last-child {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-yellow-dark);
  position: relative;
  transition: transform var(--transition-fast);
}

#articles article > a:last-child::after {
  content: " →";
  transition: margin var(--transition-fast);
}

#articles article > a:last-child:hover {
  transform: translateX(4px);
}

/* ========== INDUSTRY KNOWLEDGE ========== */
#industry-knowledge h3 {
  padding-left: 16px;
  border-left: 4px solid var(--brand-yellow);
}

/* ========== FAQ ========== */
#faq details {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-tertiary);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#faq details[open] {
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}

#faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--transition-fast), background var(--transition-fast);
  font-size: 0.95rem;
}

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

#faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #1a1a2e;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--transition-base);
}

#faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

#faq summary:hover {
  color: var(--brand-yellow-dark);
  background: rgba(245, 197, 24, 0.06);
}

#faq details p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--text-secondary);
  animation: fadeInUp 0.4s ease;
}

/* ========== HOWTO ========== */
#howto ol {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 60px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(245, 197, 24, 0.4);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-yellow);
}

#howto ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

#howto ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: rotate(45deg);
}

/* ========== CONTACT ========== */
#contact ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  color: var(--text-secondary);
}

#contact ul li:last-child {
  border-bottom: none;
}

#contact ul li strong {
  display: inline-block;
  min-width: 90px;
  color: var(--text-primary);
}

/* ========== SITEMAP & FRIENDLY LINKS ========== */
#sitemap ul,
#friendly-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap a,
#friendly-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

#sitemap a:hover,
#friendly-links a:hover {
  background: var(--gradient-brand);
  color: #1a1a2e;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ========== FOOTER ========== */
#site-footer {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--border-color);
  padding: 48px 20px 24px;
  margin-top: 20px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand svg {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 260px;
}

.footer-links h3,
.footer-contact h3,
.footer-legal h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-legal h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-brand);
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--brand-yellow-dark);
  padding-left: 4px;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

#privacy-policy,
#disclaimer,
#copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

#privacy-policy h3,
#disclaimer h3,
#copyright h3 {
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}

#privacy-policy p,
#disclaimer p,
#copyright p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ========== BACK TO TOP ========== */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--gradient-brand);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base), box-shadow var(--transition-base);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--shadow-glow);
}

#back-to-top svg polyline {
  stroke: #1a1a2e;
}

/* ========== SCROLL ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(245, 197, 24, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-yellow), var(--brand-yellow-dark));
  border-radius: 999px;
  border: 2px solid var(--bg-tertiary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-yellow-dark);
}

/* ========== SELECTION ========== */
::selection {
  background: rgba(245, 197, 24, 0.35);
  color: var(--text-primary);
}

/* ========== FOCUS VISIBLE ========== */
:focus-visible {
  outline: 3px solid rgba(245, 197, 24, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  #site-search input {
    width: 120px;
  }

  #site-search input:focus {
    width: 160px;
  }
}

@media (max-width: 900px) {
  #main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-base);
    padding: 0 20px;
  }

  #main-nav.open {
    max-height: 480px;
    overflow-y: auto;
    padding: 12px 20px 20px;
  }

  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow: visible;
  }

  #main-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  #main-nav a::after {
    display: none;
  }

  #mobile-menu-btn {
    display: flex;
  }

  #site-search {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    padding: 0 14px;
    gap: 10px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .logo-area svg {
    width: 34px;
    height: 34px;
  }

  #main-content {
    padding: 14px 14px 40px;
    gap: 18px;
  }

  #main-content > section {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .banner-slide svg {
    min-height: 180px;
  }

  #breadcrumb {
    padding: 10px 14px 0;
  }

  #product-advantages ul {
    grid-template-columns: 1fr;
  }

  #testimonials blockquote {
    padding: 18px 18px 18px 48px;
  }

  #testimonials blockquote::before {
    font-size: 2.4rem;
    left: 14px;
  }

  #howto ol li {
    padding: 12px 14px 12px 52px;
  }

  #howto ol li::before {
    left: 12px;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  #site-footer {
    padding: 32px 16px 20px;
  }

  #back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  #contact ul li strong {
    display: block;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  #main-content > section {
    padding: 18px 14px;
  }

  .banner-dots {
    bottom: 12px;
    padding: 6px 10px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 22px;
  }

  #sitemap a,
  #friendly-links a {
    padding: 7px 13px;
    font-size: 0.8rem;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== PRINT ========== */
@media print {
  #site-header,
  #back-to-top,
  .banner-dots,
  #site-search,
  #theme-toggle,
  #mobile-menu-btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  #main-content > section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}