*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #00F2FF;
  --accent-dark: #0891b2;
  --accent-hover: #0e7490;
  --purple: #a855f7;

  --bg: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f4f4f5;
  --card-bg: #ffffff;
  --nav-bg: #ffffff;
  --nav-glass: rgba(255, 255, 255, 0.95);
  --overlay: rgba(0,0,0,0.04);

  --text: #3f3f46;
  --text-secondary: #52525b;
  --text-tertiary: #a1a1aa;
  --text-on-accent: #0a0a0f;

  --border: #e4e4e7;
  --border-hover: rgba(0,242,255,0.4);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);

  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dark {
  --bg: #131316;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --card-bg: #18181b;
  --nav-bg: #131316;
  --nav-glass: rgba(10, 10, 15, 0.85);

  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #52525b;
  --text-on-accent: #0a0a0f;

  --border: #27272a;
  --border-hover: rgba(0,242,255,0.4);
  --overlay: rgba(255,255,255,0.04);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
}

.dark .card h3 { color: #fff; }
.dark .card p { color: #d4d4d8; }

html {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: padding 0.6s ease, background 0.6s ease;
}

.navbar.scrolled {
  padding: 0.75rem 0;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 2rem;
  border-radius: 999px;
  background: var(--nav-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: max-width 0.6s ease, height 0.6s ease, padding 0.6s ease,
              border-radius 0.6s ease, background 0.6s ease, gap 0.6s ease,
              border-color 0.5s ease, box-shadow 0.6s ease;
}

.navbar.scrolled .navbar-inner {
  max-width: 720px;
  height: 52px;
  padding: 0 1.25rem;
  gap: 0.75rem;
  border-color: rgba(255,255,255,0.08);
}

.nav-start {
  flex: 1 1 0%;
  display: flex;
  justify-content: flex-start;
  transition: flex 0.6s ease, opacity 0.6s ease;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.6s ease, width 0.6s ease;
}

.nav-end {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
  transition: flex 0.6s ease, opacity 0.6s ease;
}

.navbar.scrolled .nav-start,
.navbar.scrolled .nav-end {
  flex: 0 0 auto;
}

.navbar.scrolled .nav-center {
  opacity: 1;
  pointer-events: auto;
  width: auto;
  overflow: visible;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  transition: gap 0.6s ease;
}

.navbar.scrolled .navbar-brand span {
  opacity: 0;
  width: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.navbar.scrolled .navbar-brand img {
  transform: none;
}

.navbar-brand span {
  transition: opacity 0.6s ease, width 0.6s ease, margin 0.6s ease, padding 0.6s ease;
}

.navbar-brand img {
  transition: transform 0.6s ease;
}

.navbar-brand svg {
  color: var(--accent);
  flex-shrink: 0;
}

.nav-center a {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-center a:hover {
  background: var(--overlay);
  color: var(--text);
}

.nav-center a.active {
  background: rgba(0,242,255,0.15);
  color: var(--accent-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: calc(0.375rem - 2px);
}

.navbar.scrolled .theme-btn {
  display: none;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin-left: 0.5rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
}

.theme-btn:hover {
  background: var(--overlay);
  border-color: var(--border-hover);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
}
.mobile-toggle:hover { opacity: 0.7; }
.mobile-toggle:active { opacity: 0.5; }

/* --- Mobile Hamburger Bars --- */
.hamburger-bars {
  width: 20px;
  height: 18px;
  position: relative;
}
.hamburger-bars span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger-bars span:nth-child(1) { top: 0; }
.hamburger-bars span:nth-child(2) { top: 8px; }
.hamburger-bars span:nth-child(3) { top: 16px; }

.mobile-toggle.active .hamburger-bars span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.mobile-toggle.active .hamburger-bars span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .hamburger-bars span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* --- Mobile Slide-in Drawer --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 75vw;
  max-width: 320px;
  min-width: 260px;
  height: 100vh;
  z-index: 99;
  background: rgba(15,15,25,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,229,255,0.12);
  overflow-y: auto;
  border: none;
  max-height: none;
  padding: 0;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.mobile-menu-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #00e5ff;
  flex-shrink: 0;
}

.mobile-menu-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.06);
  color: #00e5ff;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.12); }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem 0.75rem 0.75rem 0;
  flex: 1;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  margin-left: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  position: relative;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: transparent;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s ease;
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.mobile-menu a:hover::before,
.mobile-menu a.active::before {
  background: #00e5ff;
}

.mobile-menu a.active {
  background: rgba(0,229,255,0.1);
  color: #00e5ff;
  font-weight: 600;
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 1.25rem;
  flex-shrink: 0;
}

.mobile-menu-bottom {
  padding: 1rem 1.25rem;
  flex-shrink: 0;
}

/* --- Theme Switch (Pill Toggle) --- */
.theme-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-switch-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.theme-switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.theme-switch-track.active { background: #00e5ff; }

.theme-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.theme-switch-track.active .theme-switch-thumb {
  transform: translateX(20px);
}

/* --- Mobile nav item stagger --- */
@keyframes mobile-nav-fade-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 767px) {
  .nav-center { display: none; }
  .mobile-toggle { display: flex; }
  .theme-btn.desktop { display: none; }
}

@media (min-width: 768px) {
  .theme-btn.mobile { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 4px 16px rgba(0,242,255,0.25);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 0 24px rgba(0,242,255,0.4);
  transform: translateY(-1px) scale(1.05);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
}

.btn-lg { height: 3rem; padding: 0 2rem; font-size: 0.9375rem; }

.btn-sm {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .btn-group { flex-direction: row; justify-content: center; }
}

.icon-svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.5;
  color: var(--accent);
  flex-shrink: 0;
}

.icon-lg {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.25;
}

.icon-nav {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.5;
}

.section { padding: 3rem 0; }
@media (min-width: 640px) { .section { padding: 4rem 0; } }

.section-header { max-width: 32rem; margin: 0 auto 3rem; text-align: center; }

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) { .section-header h2 { font-size: 2.25rem; } }

.section-header p { margin-top: 0.75rem; font-size: 1.0625rem; color: var(--text-secondary); }

.feature-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,242,255,0.1), rgba(168,85,247,0.1));
  margin-bottom: 0.75rem;
}

.card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.375rem; }
.card p { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary); }

.card-lg { display: flex; align-items: flex-start; gap: 1rem; }

.card-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  flex-shrink: 0;
}

.card-body { flex: 1; min-width: 0; }
.card-role { font-size: 0.8125rem; font-weight: 600; color: var(--accent-dark); }

.card-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.card-social span, .card-social a { font-size: 0.75rem; color: var(--text-tertiary); }
.card-social a:hover { color: var(--accent); }

.stats { border-bottom: 1px solid var(--border); padding: 3rem 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }

.stat-label { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--text-tertiary); }

@keyframes pulse-dots {
  0%, 20% { opacity: 0.3; }
  50% { opacity: 1; }
  80%, 100% { opacity: 0.3; }
}
.loading-dots { animation: pulse-dots 1.4s ease-in-out infinite; }

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 2rem 0 1.5rem;
  margin-top: auto;
}

.footer h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.375rem; }

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent-dark); }

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.page-header { text-align: center; padding: 1.75rem 0 2rem; }
@media (min-width: 640px) { .page-header { padding: 2.5rem 0 2rem; } }

.page-header h1 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 640px) { .page-header h1 { font-size: 2.5rem; } }

.page-header p { margin-top: 0.75rem; font-size: 0.9375rem; color: var(--text-tertiary); }

.page-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,242,255,0.1), rgba(168,85,247,0.1));
}

.content-page { max-width: 48rem; margin: 0 auto; padding: 2rem 1rem 4rem; }
@media (min-width: 640px) { .content-page { padding: 2rem 1.5rem 5rem; } }

.content-page h1 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 640px) { .content-page h1 { font-size: 2.5rem; } }

.content-page .updated { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--text-tertiary); }

.content-body { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

.content-body h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.content-body p, .content-body li { font-size: 0.875rem; line-height: 1.75; color: var(--text-secondary); }

.content-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.page-centered { max-width: 48rem; margin: 0 auto; padding: 3rem 1rem; text-align: center; }
@media (min-width: 640px) { .page-centered { padding: 4rem 1.5rem; } }
.page-centered .btn-group { justify-content: center; margin-top: 2rem; }

.info-card { margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-secondary); text-align: left; }
.info-card h3 { font-weight: 600; font-size: 1.0625rem; margin-bottom: 0.75rem; }
.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.info-card li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-secondary); }
.info-card .check { color: var(--accent); flex-shrink: 0; font-weight: 700; }

.info-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }

.info-grid .num {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-grid p { margin-top: 0.125rem; font-size: 0.8125rem; color: var(--text-secondary); }

.bg-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.bg-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-section > .container {
  position: relative;
  z-index: 2;
}

.bg-section-1::before { background-image: url('../../assets/banner.png'); }
.bg-section-2::before { background-image: url('../../assets/bg2.jpg'); }
.bg-section-3::before { background-image: url('../../assets/bg3.jpg'); }
.bg-section-4::before { background-image: url('../../assets/bg4.jpg'); }
.bg-section-5::before { background-image: url('../../assets/bg5.jpg'); }
.bg-section-6::before { background-image: url('../../assets/bg6.jpg'); }
.bg-section-7::before { background-image: url('../../assets/get.jpg'); }

.bg-section-dark::after {
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.bg-section-light::after {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
}

.dark .bg-section-light::after {
  background: linear-gradient(135deg, rgba(9,9,11,0.92), rgba(9,9,11,0.95));
}

.bg-section .stat-value,
.bg-section .stat-label,
.bg-section h2,
.bg-section p,
.bg-section .section-header p {
  color: #fff;
}

.bg-section .section-header h2 { color: #fff; }

.bg-section h1 { color: #fff; }
.bg-section > .container > .page-header h1 { color: #fff; }
.bg-section > .container > .page-header p { color: rgba(255,255,255,0.85); }

.bg-section .card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.15);
}

.bg-section .card h3 { color: #fff; }
.bg-section .card p { color: rgba(255,255,255,0.8); }
.bg-section .card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

.dark .bg-section .card {
  background: rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.1);
}

.dark .bg-section .card:hover {
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.2);
}

.bg-section .badge {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.bg-section .btn-secondary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.bg-section .btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.bg-section .page-centered h1 { color: #fff; }
.bg-section .page-centered p { color: rgba(255,255,255,0.85); }

.bg-section .stat-value {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

/* Mobile menu backdrop */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Stats dark container */
.stats-inner {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}

@media (max-width: 767px) {
  body {
    padding-top: 0;
  }

  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
    transition: padding 0.6s ease;
  }

  .navbar.scrolled {
    padding: 0.5rem 0;
  }

  .navbar-inner {
    width: calc(100% - 2rem);
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: width 0.6s ease, max-width 0.6s ease, height 0.6s ease,
                padding 0.6s ease, border-radius 0.6s ease, background 0.6s ease,
                gap 0.6s ease, border-color 0.5s ease, box-shadow 0.6s ease;
  }

  .navbar.scrolled .navbar-inner {
    width: auto;
    max-width: 380px;
    height: 44px;
    padding: 0 0.5rem;
    gap: 0.25rem;
    border-color: rgba(255,255,255,0.08);
  }

  .navbar-brand {
    gap: 0.25rem;
    transition: gap 0.6s ease;
  }

  .navbar-brand span {
    display: inline;
    font-size: 1rem;
  }

  .navbar.scrolled .navbar-brand span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .navbar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #00e5ff;
  }

  .mobile-toggle {
    display: flex;
  }

  .feature-grid {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (min-width: 768px) {
  .navbar-brand img {
    width: 40px;
    height: 40px;
  }
}

/* Footer: 1 col mobile, 3 col desktop */
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
