/*--------------------------------------------------------------
# THEME VARIABLES & FONTS — CBT Archive (Amber Theme)
--------------------------------------------------------------*/
:root {
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] {
  --bg: #070913;
  --bg-alt: #0a0c16;
  --surface: rgba(15, 18, 36, 0.6);
  --surface-hover: rgba(22, 27, 54, 0.85);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(245, 158, 11, 0.4);
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --glow-accent: rgba(245, 158, 11, 0.25);
  --glow-blue: rgba(99, 102, 241, 0.2);
  --glow-purple: rgba(168, 85, 247, 0.2);
  --glow-cyan: rgba(6, 182, 212, 0.2);
  --nav-bg: rgba(7, 9, 19, 0.85);
  --footer-bg: rgba(7, 9, 19, 0.95);
  --card-solid: #0f1224;
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 1px 1px rgba(245, 158, 11, 0.15);
}

[data-theme="light"] {
  --bg: #fffbf0;
  --bg-alt: #fef3c7;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --border: rgba(245, 158, 11, 0.12);
  --border-hover: rgba(245, 158, 11, 0.4);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --glow-accent: rgba(245, 158, 11, 0.1);
  --glow-blue: rgba(99, 102, 241, 0.06);
  --glow-purple: rgba(168, 85, 247, 0.06);
  --glow-cyan: rgba(6, 182, 212, 0.05);
  --nav-bg: rgba(255, 251, 240, 0.85);
  --footer-bg: rgba(255, 251, 240, 0.95);
  --card-solid: #ffffff;
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.05);
}

/*--------------------------------------------------------------
# RESET & BASE
--------------------------------------------------------------*/
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Ambient Background Overlay */
.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.12;
}
.bg-mesh::before, .bg-mesh::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  transition: var(--transition-smooth);
}
.bg-mesh::before {
  top: 10%;
  left: -100px;
  background: var(--accent);
}
.bg-mesh::after {
  top: 50%;
  right: -100px;
  background: #6366f1;
}

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  transition: var(--transition-smooth);
}
[data-theme="light"] .bg-grid {
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.06) 1px, transparent 1px);
}

/*--------------------------------------------------------------
# PRELOADER
--------------------------------------------------------------*/
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.loader { position: relative; width: 100px; height: 100px; }
.loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid transparent;
  animation: loaderSpin 1.2s linear infinite;
}
.loader-ring:nth-child(1) { border-top-color: var(--accent); }
.loader-ring:nth-child(2) { inset: 10px; border-right-color: #6366f1; animation-duration: 1.8s; animation-direction: reverse; }
.loader-ring:nth-child(3) { inset: 20px; border-bottom-color: var(--accent-cyan); animation-duration: 2.4s; }
.loader-text {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-size: .8rem; font-weight: 800; letter-spacing: 3px; color: var(--accent);
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/*--------------------------------------------------------------
# NAVBAR
--------------------------------------------------------------*/
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-smooth);
}
#navbar.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-img { height: 44px; width: auto; filter: drop-shadow(0 4px 8px rgba(245,158,11,0.25)); }
.nav-brand-text {
  font-family: var(--font-title);
  font-size: 1.15rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #f97316, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 5s ease infinite;
}

.nav-center { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); padding: 0.6rem 1rem;
  border-radius: 12px; transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); transition: var(--transition-spring);
}
.nav-icon-btn:hover { color: #22c55e; background: var(--surface-hover); transform: translateY(-3px); }
.nav-icon-btn:active { transform: scale(0.95); }
.nav-icon-btn svg { width: 20px; height: 20px; }

#theme-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; transition: var(--transition-spring);
}
#theme-toggle:hover { color: var(--accent); background: var(--surface-hover); transform: translateY(-3px) rotate(15deg); }
#theme-toggle:active { transform: scale(0.95); }
#theme-toggle svg { width: 20px; height: 20px; }

[data-theme="dark"] .icon-sun { display: block; color: #f59e0b; filter: drop-shadow(0 0 8px rgba(245,158,11,0.6)); }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; color: var(--accent); filter: drop-shadow(0 0 8px rgba(245,158,11,0.3)); }

/* Hamburger Menu Button */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0; transition: var(--transition-smooth);
}
.mobile-menu-btn span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--transition-smooth);
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Sleek Glassmorphic Mobile Menu Drawer */
.mobile-menu {
  position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
  background: rgba(7, 9, 19, 0.65);
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  z-index: 998; display: flex; flex-direction: column;
  justify-content: flex-start; padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}
.mobile-menu.open {
  transform: translateY(0); opacity: 1; visibility: visible;
}

[data-theme="light"] .mobile-menu {
  background: rgba(255, 251, 240, 0.75);
}

.mobile-menu-inner { display: flex; flex-direction: column; gap: 1rem; }
.mobile-link {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600;
  color: var(--text); padding: 1.1rem 1.5rem; border-radius: 16px;
  text-align: left; cursor: pointer; transition: var(--transition-spring);
  width: 100%;
}
.mobile-link svg {
  width: 22px; height: 22px; color: var(--accent);
  transition: var(--transition-spring);
}
.mobile-link:hover { background: var(--surface-hover); border-color: var(--border-hover); }
.mobile-link:active { transform: scale(0.96); filter: brightness(0.9); }

@media (max-width: 768px) {
  .nav-center { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-inner { height: 70px; }
  .mobile-menu { top: 70px; }
  .nav-logo-img { height: 38px; }
  .nav-brand-text { font-size: 1rem; }
}

/*--------------------------------------------------------------
# HERO
--------------------------------------------------------------*/
.hero-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 110px 1.5rem 2rem;
  background: url("img/bg_1.jpg") center center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,9,19,0.85), rgba(10,12,22,0.92));
  z-index: 1;
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(135deg, rgba(255,251,240,0.85), rgba(255,247,220,0.92));
}

#particle-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero-content {
  position: relative; z-index: 3; text-align: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-block; padding: 0.4rem 1.4rem; border-radius: 50px;
  background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent); font-family: var(--font-body); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.5px; margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
}

.hero-title { margin-bottom: 1.5rem; }
.hero-title-line {
  display: block; font-size: clamp(1.2rem, 3.5vw, 1.8rem); font-weight: 500;
  color: var(--text-muted); margin-bottom: 0.25rem;
}
.hero-title-highlight {
  display: block; font-size: clamp(2.4rem, 7.5vw, 4.25rem); font-weight: 950;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--accent), #f97316, #ef4444);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 5s ease infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-muted); line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero-subtitle strong { color: var(--text); font-weight: 700; }

.hero-cta { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.75rem; padding: 1.1rem 2.25rem; border-radius: 18px;
  font-size: 1rem; font-weight: 700; font-family: var(--font-body);
  cursor: pointer; border: none; transition: var(--transition-spring);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn svg { width: 20px; height: 20px; transition: var(--transition-spring); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff; box-shadow: 0 8px 24px var(--glow-accent);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--glow-accent); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: scale(0.96); filter: brightness(0.95); }

.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.btn-ghost:active { transform: scale(0.96); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.8rem; font-weight: 500; z-index: 3;
}
.mouse {
  width: 26px; height: 40px; border: 2px solid var(--border);
  border-radius: 14px; position: relative;
}
.mouse-wheel {
  width: 4px; height: 8px; background: var(--accent);
  border-radius: 2px; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.5s ease infinite;
}
@keyframes mouseScroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@media (max-width: 576px) {
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .btn { width: 100%; justify-content: center; }
  .scroll-indicator { display: none; }
}

/*--------------------------------------------------------------
# SECTION COMMON
--------------------------------------------------------------*/
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px;
  background: rgba(245, 158, 11, 0.1); color: var(--accent);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.section-title { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; line-height: 1.65; }

/* Check list */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text); font-weight: 500;
}
.check-list li::before {
  content: ""; width: 18px; height: 18px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# TENTANG SECTION
--------------------------------------------------------------*/
.tentang-section { padding: 5rem 0; }

.tentang-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center;
}

.tentang-preview {
  border-radius: 28px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); padding: 1.25rem;
  box-shadow: var(--shadow-glow); backdrop-filter: blur(10px);
}
.tentang-img {
  width: 100%; border-radius: 18px;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tentang-preview:hover .tentang-img { transform: scale(1.03); }

.tentang-cards { display: flex; flex-direction: column; gap: 1.5rem; }

.tentang-card {
  display: flex; gap: 1.5rem; padding: 1.75rem;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow); transition: var(--transition-spring);
}
.tentang-card:hover {
  background: var(--surface-hover); border-color: var(--border-hover);
  transform: translateX(8px); box-shadow: var(--shadow-card), var(--shadow-glow);
}
.tentang-card:active { transform: scale(0.98); }

.tentang-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(245,158,11,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tentang-card-icon svg { width: 28px; height: 28px; }
.tentang-card-icon-alt { background: rgba(99,102,241,0.1); color: #6366f1; }

.tentang-card-body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.tentang-card-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 992px) {
  .tentang-grid { grid-template-columns: 1fr; gap: 3rem; }
  .tentang-preview { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 576px) {
  .tentang-card { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
}

/*--------------------------------------------------------------
# FITUR SECTION
--------------------------------------------------------------*/
.fitur-section { padding: 5rem 0; }

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

.fitur-card {
  position: relative; border-radius: 26px; overflow: hidden;
  transition: var(--transition-spring);
}

.fitur-card-glow {
  position: absolute; inset: -2px; border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), #f97316, #ef4444);
  opacity: 0; transition: opacity 0.4s ease; z-index: -1; filter: blur(12px);
}
.fitur-card:hover .fitur-card-glow { opacity: 0.4; }
.glow-amber { background: linear-gradient(135deg, var(--accent), #6366f1, #06b6d4); }
.glow-purple { background: linear-gradient(135deg, #8b5cf6, var(--accent), #f43f5e); }

.fitur-card-inner {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 26px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem; height: 100%; box-shadow: var(--shadow-glow);
  transition: var(--transition-spring);
}
.fitur-card:hover .fitur-card-inner {
  background: var(--surface-hover); border-color: transparent;
  transform: translateY(-8px); box-shadow: var(--shadow-card);
}
.fitur-card:active { transform: scale(0.97); }

.fitur-icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 1.75rem;
}
.fitur-icon svg { width: 28px; height: 28px; }

.fitur-icon-amber { background: rgba(245,158,11,0.1); color: var(--accent); }
.fitur-icon-cyan { background: rgba(6,182,212,0.1); color: #06b6d4; }
.fitur-icon-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.fitur-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.25rem; }

@media (max-width: 992px) {
  .fitur-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .fitur-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .fitur-card-inner { padding: 1.75rem; }
}

/*--------------------------------------------------------------
# STATS / KONTAK CARDS
--------------------------------------------------------------*/
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

.stat-card {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow); transition: var(--transition-spring);
}
.stat-card:hover {
  transform: translateY(-8px); background: var(--surface-hover);
  border-color: var(--border-hover); box-shadow: var(--shadow-card), var(--shadow-glow);
}
.stat-card:active { transform: scale(0.97); filter: brightness(0.92); }

.stat-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.stat-icon svg { width: 26px; height: 26px; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.footer {
  padding: 3.5rem 0; background: var(--footer-bg);
  border-top: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; z-index: 5;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 42px; width: auto; filter: drop-shadow(0 4px 8px rgba(245,158,11,0.2)); }
.footer-brand h4 { font-family: var(--font-title); font-size: 1.1rem; font-weight: 800; }
.footer-brand p { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  color: #22c55e; transition: var(--transition-spring);
}
.social-link:hover { background: #22c55e; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(34,197,94,0.3); }
.social-link:active { transform: scale(0.92); }
.social-link svg { width: 20px; height: 20px; }

.footer-copy { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.footer-copy a { color: var(--accent); font-weight: 700; }
.footer-copy a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }
  .footer-brand { flex-direction: column; gap: 0.5rem; }
}

/*--------------------------------------------------------------
# SCROLL TO TOP
--------------------------------------------------------------*/
#scrollTopBtn {
  position: fixed; bottom: 2.5rem; right: 2.5rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff; border: none; cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: var(--transition-spring);
  box-shadow: 0 8px 24px var(--glow-accent);
}
#scrollTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTopBtn:hover { transform: translateY(-4px); box-shadow: 0 12px 30px var(--glow-accent); }
#scrollTopBtn:active { transform: scale(0.92); }
#scrollTopBtn svg { width: 22px; height: 22px; }

/*--------------------------------------------------------------
# SCROLL ANIMATIONS
--------------------------------------------------------------*/
[data-animate] {
  opacity: 0; transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-right"] { transform: translateX(-35px); }
[data-animate="fade-left"] { transform: translateX(35px); }
[data-animate].visible { opacity: 1; transform: translate(0); }

/*--------------------------------------------------------------
# REDUCED MOTION
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #particle-canvas { display: none; }
  [data-animate] { opacity: 1; transform: none; }
}
