/* ====================================================
   蘿蔔科技 RollBytes Inc. 官網 — 樣式表
   綠色系暗色主題（預設 Dark）+ Light 模式
   © 2026 蘿蔔科技 RollBytes Inc.. All rights reserved.
   ==================================================== */

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

/* ====== Dark 模式（預設） ====== */
:root {
  --primary: #2E7D32;
  --primary-light: #43A047;
  --primary-dark: #1B5E20;
  --primary-glow: rgba(46, 125, 50, 0.3);
  --accent: #66BB6A;
  --accent-dim: rgba(102, 187, 106, 0.15);
  --bg: #0A0F0A;
  --bg-card: #111A11;
  --bg-card-hover: #1A241A;
  --bg-elevated: #1E2A1E;
  --text: #E8F5E9;
  --text-secondary: #B8D0B8;
  --text-dim: #8AA88A;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --gradient-hero: linear-gradient(135deg, #2E7D32 0%, #66BB6A 50%, #1B5E20 100%);
  --gradient-text: linear-gradient(135deg, #A5D6A7, #66BB6A);
  --font-sans: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 60px rgba(46, 125, 50, 0.15);
  --neural-opacity: 0.7;
  --grid-line-alpha: 0.03;
  --grid-green-alpha: 0.02;
  --navbar-bg: rgba(10, 15, 10, 0.7);
  --navbar-scrolled-bg: rgba(10, 15, 10, 0.85);
}

/* ====== Light 模式 ====== */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F5F5;
  --bg-elevated: #F0F0F0;
  --text: #1A2E1A;
  --text-secondary: #5A7A5A;
  --text-dim: #8AA08A;
  --border: rgba(0,0,0,0.06);
  --border-light: rgba(0,0,0,0.1);
  --accent: #2E7D32;
  --accent-dim: rgba(46, 125, 50, 0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 60px rgba(46, 125, 50, 0.08);
  --neural-opacity: 0.9;
  --grid-line-alpha: 0.04;
  --grid-green-alpha: 0.03;
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --navbar-scrolled-bg: rgba(255, 255, 255, 0.95);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; scroll-padding-top: 80px; }
section[id] { scroll-margin-top: 80px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 700px; line-height: 1.7;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem;
  font-weight: 600; font-family: var(--font-sans); cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none; border: none; position: relative; overflow: hidden;
}

.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4);
}

.btn-primary:hover {
  background: var(--primary-light); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 125, 50, 0.5);
}

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
}

/* ====== Navbar ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: all 0.3s ease;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { border-bottom-color: var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.4rem; font-weight: 800;
  text-decoration: none; cursor: pointer;
  transition: opacity 0.2s; color: var(--text);
}
.logo:hover { opacity: 0.8; }
.logo-emoji { font-size: 1.6rem; }
.logo-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 24px !important; font-size: 0.85rem !important; }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 8px;
  color: var(--text-secondary); font-size: 0.8rem; font-weight: 500;
  font-family: var(--font-sans); cursor: pointer; transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--text); }
.lang-btn svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.2s; }
.lang-switcher.open .lang-btn svg { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 160px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: all 0.2s ease; z-index: 200;
}
.lang-switcher.open .lang-dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; color: var(--text-secondary); font-size: 0.85rem;
  cursor: pointer; transition: all 0.15s; border: none; background: none;
  width: 100%; text-align: left; font-family: var(--font-sans);
}
.lang-option:hover { background: var(--bg-elevated); color: var(--text); }
.lang-option.active { color: var(--accent); background: var(--accent-dim); }
.lang-option .lang-code { font-size: 0.75rem; font-weight: 600; color: var(--accent); min-width: 28px; text-align: center; }

/* Background switcher */
.bg-switcher { display: none !important; }
.bg-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 8px;
  color: var(--text-secondary); font-size: 0.8rem; font-weight: 500;
  font-family: var(--font-sans); cursor: pointer; transition: all 0.2s;
}
.bg-btn:hover { border-color: var(--accent); color: var(--text); }
.bg-btn svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.2s; }
.bg-switcher.open .bg-btn svg { transform: rotate(180deg); }
.bg-btn-label { }
.bg-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px; max-height: 320px; overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 12px;
  box-shadow: var(--shadow); overflow-x: hidden;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: all 0.2s ease; z-index: 200;
}
.bg-switcher.open .bg-dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bg-option {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; color: var(--text-secondary); font-size: 0.82rem;
  cursor: pointer; transition: all 0.15s; border: none; background: none;
  width: 100%; text-align: left; font-family: var(--font-sans);
}
.bg-option:hover { background: var(--bg-elevated); color: var(--text); }
.bg-option.active { color: var(--accent); background: var(--accent-dim); }
.bg-num { font-size: 0.7rem; font-weight: 700; color: var(--accent); min-width: 18px; text-align: center; }

/* Theme toggle */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  color: var(--text-secondary); cursor: pointer;
  font-size: 1.1rem; transition: all 0.2s;
  font-family: var(--font-sans); padding: 0; line-height: 1;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--text); }

.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--text); cursor: pointer; padding: 8px;
}

/* Layout switcher removed — fixed Layout C */

/* ====== Hero ====== */
.hero {
  position: relative;
  display: flex; align-items: flex-start;
  height: 100vh; min-height: 500px;
  padding: 68px 0 0;
  overflow: hidden; z-index: 1; background: transparent;
}

.hero::before {
  content: ''; position: absolute; top: -30%; left: 50%;
  transform: translateX(-50%); width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: none;
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255, var(--grid-line-alpha)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255, var(--grid-line-alpha)) 1px, transparent 1px),
    linear-gradient(rgba(46,125,50, var(--grid-green-alpha)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,125,50, var(--grid-green-alpha)) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 120px 120px, 120px 120px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  pointer-events: none;
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(46,125,50, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,125,50, 0.03) 1px, transparent 1px);
}

.hero-neural-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: var(--neural-opacity);
  transition: opacity 0.3s ease;
}

.hero .container {
  position: relative; z-index: 1; width: 100%;
}

.hero-content {
  width: 100%;
}

.hero-text-group {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--accent-dim);
  border: 1px solid rgba(102, 187, 106, 0.2); border-radius: 50px;
  font-size: 0.8rem; color: var(--accent);
  animation: fadeInUp 0.6s ease;
  margin: 0;
}

.hero-badge .dot {
  width: 6px; height: 6px; background: #00E676;
  border-radius: 50%; animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 28px; letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary);
  margin-bottom: 28px; line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.2s both;
  max-width: 680px;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.4s both;
  margin-bottom: 0;
}
.hero-actions .btn { padding: 14px 32px; font-size: 1rem; }

.hero-stats {
  display: flex; gap: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
  padding: 16px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  justify-content: center;
  margin: 0 auto 28px;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 1.8rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }

/* ====== Hero Content — Fixed Layout C (Classic) ====== */
.hero-content {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: calc(100vh - 68px);
}
.hero-text-group {
  align-items: center; max-width: 800px;
  flex-shrink: 0;
  padding: 24px 0 0;
}
.hero-video-wrapper {
  flex: 1 1 auto;
  max-width: 100%;
  margin: 16px auto 16px;
  min-height: 0;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Hide video if remaining space is too small */
@media (max-height: 600px) {
  .hero-video-wrapper { display: none; }
}

/* ====== Services ====== */
.services { padding: 100px 0; position: relative; z-index: 1; background: transparent; }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}

.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gradient-hero);
  opacity: 0; transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(46, 125, 50, 0.3); background: var(--bg-card-hover);
  transform: translateY(-4px); box-shadow: var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px; display: flex;
  align-items: center; justify-content: center;
  background: var(--accent-dim); border-radius: 14px;
  font-size: 1.6rem; margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.01em;
}

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

/* ====== Process ====== */
.process { padding: 100px 0; position: relative; z-index: 1; background: transparent; }
.process-header { text-align: center; margin-bottom: 64px; }
.process-header .section-desc { margin: 0 auto; }

.process-steps {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 32px;
}

.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 32px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all 0.3s ease;
}

.process-step:hover {
  border-color: rgba(46, 125, 50, 0.3);
  transform: translateX(8px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  font-size: 2rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0; line-height: 1;
}

.step-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ====== Why Us ====== */
.why-us { padding: 100px 0; position: relative; z-index: 1; background: transparent; }

.why-us::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.why-us-header { text-align: center; margin-bottom: 64px; }
.why-us-header .section-desc { margin: 0 auto; }

.why-us-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}

.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; transition: all 0.3s ease;
}

.why-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.why-icon {
  font-size: 2.5rem; margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--accent); margin-bottom: 8px;
}

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

/* ====== CTA ====== */
.cta-section { padding: 100px 0 120px; text-align: center; position: relative; z-index: 1; background: transparent; }

.cta-section::before {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 100%; height: 400px;
  background: radial-gradient(ellipse at bottom, rgba(46, 125, 50, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box {
  max-width: 800px; margin: 0 auto; padding: 60px 40px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}

.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gradient-hero);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  margin-bottom: 16px; letter-spacing: -0.02em;
}

.cta-box p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }

.cta-note {
  font-size: 0.85rem !important; color: var(--text-dim) !important;
  margin-top: 24px !important; margin-bottom: 0 !important;
}

/* ====== Footer ====== */
.footer { padding: 40px 0; border-top: 1px solid var(--border); position: relative; z-index: 1; background: transparent; }
.footer .container { display: flex; align-items: center; justify-content: space-between; }
.footer-text { color: var(--text-dim); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====== RWD ====== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .why-us-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .container { padding: 0 16px; }

  /* 手機版隱藏背景選擇器，太擠 */
  .bg-switcher { display: none !important; }
  .nav-right { gap: 8px; }

  .hero { padding: 80px 0 0; }
  .hero-content { height: calc(100vh - 80px); }
  .hero-text-group { padding: 8px 0 0; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); margin-bottom: 10px; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 14px; }
  .hero-stats { gap: 24px; padding: 12px 24px; }
  .stat-number { font-size: 1.4rem; }

  .services, .process, .why-us, .cta-section { padding: 64px 0; }
  .services-header, .process-header, .why-us-header { margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 24px; }
  .hero-stats { gap: 20px; padding: 10px 20px; }

  .process-step { flex-direction: column; gap: 12px; padding: 24px; }

  .footer .container { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: row; gap: 16px; padding: 8px 16px; }
  .stat-number { font-size: 1.1rem; }
  .stat-label { font-size: 0.7rem; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.5rem; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
}

/* ====== Light mode adjustments ====== */
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(46, 125, 50, 0.08) 0%, transparent 60%);
}
[data-theme="light"] .logo { color: var(--text); }
[data-theme="light"] .logo-accent {
  background: linear-gradient(135deg, #2E7D32, #43A047);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light Theme: 按鈕與文字對比度修正 */
[data-theme="light"] .btn-primary {
  background: #1B5E20;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.35);
}
[data-theme="light"] .btn-primary:hover {
  background: #2E7D32;
  box-shadow: 0 8px 30px rgba(27, 94, 32, 0.45);
}
[data-theme="light"] .nav-cta {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Light Theme: 漸層文字加深（WCAG ≥ 4.5:1） */
[data-theme="light"] .text-gradient,
[data-theme="light"] .stat-number,
[data-theme="light"] .step-number {
  background: linear-gradient(135deg, #1B5E20, #2E7D32);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== Hero Video ====== */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(46, 125, 50, 0.15);
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.video-sound-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.video-sound-btn:hover {
  background: rgba(0,0,0,0.7);
}
[data-theme="light"] .hero-video-wrapper {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-color: rgba(46, 125, 50, 0.1);
}
@media (max-width: 768px) {
  .hero-video-wrapper { border-radius: 10px; }
  .hero-video { border-radius: 10px; }
}
@media (max-width: 480px) {
  .hero-video-wrapper { border-radius: 8px; }
  .hero-video { border-radius: 8px; }
}

/* Footer logo theme switching */
.footer-logo-light { display: none; }
.footer-logo-dark { display: inline; }
[data-theme="light"] .footer-logo-light { display: inline; }
[data-theme="light"] .footer-logo-dark { display: none; }
