/* =========================================================
   DONYLOGIC™ INTERACTIVE — iOS 26 Liquid Glassmorphism
   Ultra-Translucent Glass, Fluid Mesh Curves & 100% Responsive
   ========================================================= */

:root {
  --bg-main: #07090e;
  --bg-surface: rgba(15, 20, 32, 0.72);
  --bg-surface-elevated: rgba(22, 28, 44, 0.85);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-specular: rgba(255, 255, 255, 0.18);
  --border-hover: rgba(255, 255, 255, 0.24);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #ffffff;
  --accent-contrast: #07090e;
  --accent-indigo: #6366f1;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --nav-height: 64px;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", monospace;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --glass-specular: inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

[data-theme="light"] {
  --bg-main: #dce3eb;
  --bg-surface: rgba(230, 237, 245, 0.88);
  --bg-surface-elevated: rgba(245, 248, 252, 0.95);
  --bg-surface-hover: rgba(218, 226, 236, 0.85);
  --border: rgba(100, 116, 139, 0.32);
  --border-specular: rgba(255, 255, 255, 0.95);
  --border-hover: rgba(71, 85, 105, 0.55);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #0f172a;
  --accent-contrast: #ffffff;
  --glass-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  --glass-specular: inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

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

body.startup-body {
  background-color: #06070b;
  background-image: 
    radial-gradient(1000px circle at 50% -10%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(900px circle at 85% 35%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(1100px circle at 15% 75%, rgba(56, 189, 248, 0.10), transparent 65%),
    linear-gradient(180deg, #06070b 0%, #090c15 40%, #0a0e1c 70%, #05060a 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              background-image 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.35s ease;
}

[data-theme="light"] body.startup-body {
  background-color: #edf2f7;
  background-image: 
    radial-gradient(1100px circle at 50% -10%, rgba(99, 102, 241, 0.12), transparent 70%),
    radial-gradient(900px circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 60%),
    radial-gradient(1000px circle at 15% 75%, rgba(56, 189, 248, 0.09), transparent 65%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 45%, #e2e8f0 100%);
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* iOS 26 Liquid Scroll Canvas */
.bg-liquid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

/* Background Animated Scroll Spline */
.bg-scroll-spline-wrap {
  position: fixed;
  top: 50%;
  right: -120px;
  width: 840px;
  height: 840px;
  margin-top: -420px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  transition: opacity 0.4s ease;
  will-change: transform;
}

[data-theme="light"] .bg-scroll-spline-wrap {
  opacity: 0.20;
  filter: contrast(1.1);
}

.bg-scroll-spline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Live Pulse Dot for Real-time presence */
.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: livePulseDot 2s infinite ease-in-out;
  margin-right: 5px;
  vertical-align: middle;
}

@keyframes livePulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #10b981; }
  50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 16px #10b981; }
}

/* =========================================================
   1. NAVBAR (EDGE-TO-EDGE LIQUID GLASS)
   ========================================================= */
.startup-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: var(--bg-surface);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  overflow: visible !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.startup-nav {
  width: 100%;
  height: var(--nav-height);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  position: relative;
  overflow: visible !important;
}

@media (max-width: 640px) {
  .startup-nav {
    padding: 0 14px;
  }
}

/* =========================================================
   UNIVERSAL BRAND: VERTICAL STACK (LOGO TOP, SERVICE UNDERNEATH)
   ========================================================= */
.nav-brand-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand-link,
a.brand-link,
a.nav-brand,
a.brand {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  text-decoration: none !important;
  color: var(--text-primary) !important;
  line-height: 1 !important;
  padding: 2px 0 !important;
}

.nav-brand-logo,
.brand-logo,
.nav-logo,
#logo img,
a.brand img,
a.nav-brand img,
a.brand-link img {
  height: 20px !important;
  width: auto !important;
  max-width: 130px !important;
  display: block !important;
  object-fit: contain !important;
}

[data-theme="light"] .nav-brand-logo,
[data-theme="light"] .brand-logo,
[data-theme="light"] .nav-logo,
[data-theme="light"] #logo img,
[data-theme="light"] a.brand img,
[data-theme="light"] .footer-logo {
  filter: invert(1);
}

/* =========================================================
   NAVBAR LOGO SYNCHRONIZED TELEPORTATION
   ========================================================= */
.nav-logo-teleport-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  line-height: 0;
}

.nav-brand-logo.is-teleport-pending {
  opacity: 0 !important;
  visibility: hidden !important;
}

.nav-logo-beam {
  position: absolute;
  left: 0;
  top: -30%;
  height: 160%;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.95), 0 0 24px 6px rgba(32, 180, 255, 0.9);
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.nav-logo-teleport-wrap.is-teleporting .nav-brand-logo {
  animation: dl-nav-logo-materialize var(--teleport-dur, 1200ms) cubic-bezier(0.2, 0, 0.2, 1) forwards !important;
}

.nav-logo-teleport-wrap.is-teleporting .nav-logo-beam {
  animation: dl-nav-beam-sweep var(--teleport-dur, 1200ms) cubic-bezier(0.2, 0, 0.2, 1) forwards !important;
}

.nav-brand-logo.is-teleported {
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
}

@keyframes dl-nav-logo-materialize {
  0% {
    clip-path: inset(-20% 100% -20% -20%);
    opacity: 1;
    visibility: visible;
  }
  60% {
    clip-path: inset(-20% 0% -20% -20%);
    opacity: 1;
    visibility: visible;
  }
  100% {
    clip-path: inset(-20% 0% -20% -20%);
    opacity: 1;
    visibility: visible;
  }
}

@keyframes dl-nav-beam-sweep {
  0% {
    left: 0%;
    opacity: 0;
    transform: scaleY(0);
  }
  5% {
    left: 0%;
    opacity: 1;
    transform: scaleY(1);
  }
  60% {
    left: 100%;
    opacity: 1;
    transform: scaleY(1);
    box-shadow: 0 0 14px 3px rgba(255, 255, 255, 0.95), 0 0 28px 8px rgba(32, 180, 255, 0.9);
    background: #ffffff;
  }
  72% {
    left: 100%;
    opacity: 1;
    transform: scaleY(1.3);
    box-shadow: 0 0 25px 8px rgba(255, 255, 255, 1), 0 0 45px 15px rgba(32, 180, 255, 1);
    background: #ffffff;
  }
  90% {
    left: 100%;
    opacity: 1;
    transform: scaleY(0.1);
    box-shadow: 0 0 35px 12px rgba(32, 180, 255, 1);
    background: #20b4ff;
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: scaleY(0);
    box-shadow: none;
  }
}

.nav-brand-service,
.brand-service-name,
.nav-brand-text,
.logo-games-text,
.brand .ai,
.brand span {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--text-primary) !important;
  font-family: var(--font-main, "Inter", sans-serif) !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0.98;
}

/* Menu Groups */
.nav-menu-groups {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  overflow: visible !important;
}

@media (max-width: 960px) {
  .nav-menu-groups {
    display: none !important;
  }
}

.nav-drop-item {
  position: relative;
  overflow: visible !important;
}

.nav-drop-trigger, .nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  transform: none !important;
}

.nav-drop-trigger:hover, 
.nav-drop-item.is-open .nav-drop-trigger,
.nav-link-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  border-color: var(--border-specular);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: none !important;
}

.drop-arrow {
  font-size: 0.78rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* iOS 26 Floating Frosted Dropdown Menu with Luminous Glass */
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 316px;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(36px) saturate(210%);
  -webkit-backdrop-filter: blur(36px) saturate(210%);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), var(--glass-specular);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.22s ease;
  pointer-events: none;
  z-index: 99999;
}

.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-drop-item:hover .nav-drop-menu,
.nav-drop-item.is-open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drop-item:hover .drop-arrow,
.nav-drop-item.is-open .drop-arrow {
  transform: rotate(180deg);
}

/* Dropdown Items Interactive Hover Effect */
.drop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  border-left: 2px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  transform: none !important;
  position: relative;
  overflow: hidden;
}

.drop-link:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-left-color: var(--accent-indigo);
  padding-left: 17px;
  transform: none !important;
}

.drop-link:active {
  background: rgba(99, 102, 241, 0.25);
  transform: scale(0.985) !important;
  transition: transform 0.08s ease;
}

[data-theme="light"] .drop-link:hover {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0.8) 100%);
  border-left-color: var(--accent-indigo);
  padding-left: 17px;
}

.drop-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.drop-link:hover .drop-link-icon {
  background: var(--accent-indigo);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
}

.drop-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drop-link-text strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.15s ease;
}

.drop-link:hover .drop-link-text strong {
  color: #ffffff;
}

[data-theme="light"] .drop-link:hover .drop-link-text strong {
  color: #0f172a;
}

.drop-link-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.drop-link:hover .drop-link-text small {
  color: var(--text-secondary);
}

/* Right Navigation Controls */
.nav-actions-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-donate-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  transform: none !important;
}

.btn-donate-nav:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: none !important;
}

.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  transform: none !important;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  transform: none !important;
}

/* Stable Language Switcher */
.lang-switch-startup {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.lang-btn {
  width: 32px;
  height: 26px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.12s ease, background-color 0.12s ease;
  transform: none !important;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  transform: none !important;
}

/* Auth Buttons (Sign In / Sign Up) */
.nav-auth-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-auth-signin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform: none !important;
}

.btn-auth-signin:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.22);
  transform: none !important;
}

.btn-auth-signup {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--accent);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  transform: none !important;
}

.btn-auth-signup:hover {
  opacity: 0.95;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
  filter: brightness(1.06);
  transform: none !important;
}

.btn-admin-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-indigo);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transform: none !important;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-admin-nav:hover {
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
  transform: none !important;
}

.btn-admin-nav[hidden],
.btn-admin-nav.is-hidden,
[hidden] {
  display: none !important;
}

.user-profile-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.user-avatar { font-size: 0.95rem; }
.user-name-text {
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-icon-action {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}
.nav-icon-action:hover { color: var(--text-primary); }

/* Mobile Hamburger Toggle */
.nav-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  transform: none !important;
}

.nav-mobile-toggle:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
}

@media (max-width: 960px) {
  .nav-mobile-toggle {
    display: inline-flex !important;
  }
  .btn-donate-nav, .nav-auth-buttons {
    display: none !important;
  }
}

/* Mobile Frosted Glass Drawer */
.nav-mobile-drawer {
  display: none;
  width: 100%;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
  max-height: 80vh;
  overflow-y: auto;
  padding: 18px 20px 28px;
  box-sizing: border-box;
}

.nav-mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 0.15s ease;
}

.mobile-menu-link:hover {
  background: var(--bg-surface-hover);
}

.mobile-menu-link i {
  font-size: 1.25rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.mobile-menu-link div {
  display: flex;
  flex-direction: column;
}

.mobile-menu-link strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-menu-link small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mobile-grid-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-grid-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mobile-grid-btn:hover {
  background: var(--bg-surface-hover);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.mobile-action-btn.donate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   1.5 FULL-SITE CINEMA BACKGROUND LAYER & CONTROLS
   ========================================================= */
body.cinema-active .startup-header {
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-cinema-bg,
.site-cinema-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1; /* Above bgLiquidCanvas (z: 0), but BEHIND content (z: 2) */
  background: #000000;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-cinema-bg.is-ended,
.site-cinema-overlay.is-ended {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-cinema-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow: hidden;
  background: #000000;
  pointer-events: none;
}

/* CINEMA VIEWPORT STAGE SPACER
   Allows the first screen (100vh) to showcase the cinema animation,
   while page contents start underneath on the old gradient background.
   Contents smoothly scroll OVER the backgrounds without layout shifts! */
.cinema-stage-spacer {
  width: 100%;
  height: calc(100vh - var(--nav-height, 64px));
  min-height: 560px;
  position: relative;
  pointer-events: none;
  background: transparent;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1), min-height 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  will-change: height, min-height;
}

.cinema-stage-spacer.is-collapsed {
  height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.startup-main {
  position: relative;
  z-index: 2;
}

/* CINEMA CONTENT FROSTED BLUR BACKDROP
   While the cinema intro is active, content scrolling over the animation
   receives a luxury frosted blur & soft dimming so text is crystal clear.
   When the cinema ends, body.cinema-active is removed and this blur completely
   melts away — leaving the old gradient background 100% crisp and unblurred! */
.startup-content-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 36px;
  transition: backdrop-filter 0.8s ease, -webkit-backdrop-filter 0.8s ease, background 0.8s ease, box-shadow 0.8s ease;
}

body.cinema-active .startup-content-body,
body.cinema-active .startup-footer {
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  background: rgba(4, 3, 15, 0.72);
  box-shadow: 0 -30px 60px rgba(4, 3, 15, 0.8);
}

body.cinema-active .startup-content-body::before {
  content: "";
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  height: 48px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(4, 3, 15, 0.72) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

[data-theme="light"] body.cinema-active .startup-content-body,
[data-theme="light"] body.cinema-active .startup-footer {
  background: rgba(245, 247, 250, 0.78);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] body.cinema-active .startup-content-body::before {
  background: linear-gradient(to top, rgba(245, 247, 250, 0.78) 0%, transparent 100%);
}

/* =========================================================
   2. HERO SECTION (HIGH VELOCITY MINIMALISM)
   ========================================================= */
.startup-hero {
  max-width: 980px;
  margin: 0 auto 44px;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 26px;
}

.status-dot-clean {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hero-title {
  font-size: clamp(2.4rem, 6.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-desc {
  max-width: 640px;
  font-size: clamp(0.96rem, 2vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  transform: none !important;
}

.hero-btn.primary {
  background: var(--accent);
  color: var(--accent-contrast);
  border: 1px solid var(--accent);
}

.hero-btn.primary:hover {
  opacity: 0.95;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.25);
  filter: brightness(1.08);
  transform: none !important;
}

.hero-btn.outline {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.hero-btn.outline:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.22);
  transform: none !important;
}

/* Minimalist Metrics Panel */
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 16px 32px;
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow), var(--glass-specular);
  max-width: 840px;
  width: 100%;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-size: 1.32rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.metric-sep {
  width: 1px;
  height: 26px;
  background: var(--border);
}

@media (max-width: 600px) {
  .metric-sep { display: none; }
  .hero-metrics-bar { gap: 16px; padding: 14px 20px; }
}

/* =========================================================
   3. BENTO PRODUCTS SHOWCASE
   ========================================================= */
.startup-section {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-header-clean {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 38px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--accent-indigo);
  text-transform: uppercase;
  font-weight: 700;
}

.section-header-clean h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 8px 0;
  letter-spacing: -0.6px;
  color: var(--text-primary);
}

.section-header-clean p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 960px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* iOS 26 Glass Bento Card */
.bento-card {
  background: var(--bg-surface);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow), var(--glass-specular);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  transform: none !important;
}

.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
  transform: none !important;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.card-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bento-card h3 {
  font-size: 1.26rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.bento-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.card-features span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.card-features span i {
  color: var(--accent-emerald);
}

.card-footer-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bento-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
  transform: none !important;
}

.bento-link-btn:hover { opacity: 0.88; transform: none !important; }

.bento-sub-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.bento-sub-link:hover { color: var(--text-primary); }

.card-bots {
  grid-column: span 2;
}

@media (max-width: 960px) {
  .card-bots { grid-column: span 2; }
}
@media (max-width: 640px) {
  .card-bots { grid-column: span 1; }
}

/* APK Download Card */
.apps-download-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.app-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.15rem;
}

.app-item-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.app-item-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  transform: none !important;
}

.app-download-btn:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
  transform: none !important;
}

/* =========================================================
   4. STARTUP FOOTER & LEGAL
   ========================================================= */
.startup-footer {
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(28px);
  border-top: 1px solid var(--border);
  padding: 48px 20px 28px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

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

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .footer-top-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
  transform: none !important;
}

.footer-links a:hover { color: var(--text-primary); transform: none !important; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo { height: 22px; width: auto; }
.brand-legal { font-size: 0.96rem; font-weight: 800; color: var(--text-primary); }
.footer-mission { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }

/* Operating Lifetime Stopwatch */
.age-timer-clean {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.age-label { font-size: 0.7rem; font-family: var(--font-mono); color: var(--text-muted); }
.age-timer { display: flex; align-items: center; gap: 4px; }
.age-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 42px;
}
.age-pill span { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.age-pill small { font-size: 0.55rem; color: var(--text-muted); }
.age-colon { font-family: var(--font-mono); font-weight: 700; color: var(--text-muted); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================================================
   5. MODALS & DIALOGS (DONATE, LEGAL, AUTH)
   ========================================================= */
.modal-backdrop-clean {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 16px;
}

.modal-card-clean {
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), var(--glass-specular);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-card-head h3 {
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-clean {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.modal-close-clean:hover { color: var(--text-primary); background: var(--bg-surface-hover); }

.modal-card-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.donate-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donate-item-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.donate-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.donate-number-display {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.btn-copy-card {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.15s ease, color 0.15s ease;
  transform: none !important;
}

.btn-copy-card:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  transform: none !important;
}

.donate-stat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.donate-stat-footer strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
}

/* Legal Policy Content Body */
.legal-modal-body {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-modal-body h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-top: 6px;
}

.legal-modal-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* =========================================================
   6. COOKIE CONSENT BANNER (FROSTED GLASS PILL)
   ========================================================= */
.cookie-consent-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99990;
  max-width: 680px;
  width: calc(100% - 32px);
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--glass-specular);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .cookie-consent-pill {
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
}

.cookie-pill-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.cookie-pill-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cookie-pill-content a {
  color: var(--text-primary);
  text-decoration: underline;
}

.cookie-pill-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.76rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cookie-dismiss {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-dismiss:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* =========================================================
   7. ZERO HOVER SCALE ENFORCEMENT
   ========================================================= */
a, button, span, .btn, .card, .bento-card, .drop-link, .nav-link-btn {
  transform: none;
}

/* =========================================================
   8. TACTILE 3D BUTTON STYLING (PERCEPTIBLE 3D DEPTH, ZERO SCALE DISTORTION)
   ========================================================= */
.hero-btn,
.btn-auth-signin,
.btn-auth-signup,
.bento-link-btn,
.btn-donate-nav,
.btn-admin-nav,
.app-download-btn,
.theme-toggle-btn,
.lang-btn {
  position: relative;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1), 
              box-shadow 0.15s ease, 
              background-color 0.15s ease, 
              border-color 0.15s ease,
              color 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

/* 3D Base Elevation for Action Buttons */
.hero-btn.primary,
.btn-auth-signup,
.bento-link-btn,
.app-download-btn {
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45), 0 5px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4) !important;
}

.hero-btn.outline,
.btn-auth-signin,
.btn-donate-nav,
.theme-toggle-btn {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid rgba(0, 0, 0, 0.3) !important;
}

[data-theme="light"] .hero-btn.primary,
[data-theme="light"] .btn-auth-signup,
[data-theme="light"] .bento-link-btn,
[data-theme="light"] .app-download-btn {
  box-shadow: 0 3px 0 rgba(15, 23, 42, 0.55), 0 5px 12px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(15, 23, 42, 0.5) !important;
}

[data-theme="light"] .hero-btn.outline,
[data-theme="light"] .btn-auth-signin,
[data-theme="light"] .btn-donate-nav,
[data-theme="light"] .theme-toggle-btn {
  box-shadow: 0 2px 0 rgba(100, 116, 139, 0.45), 0 4px 8px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(100, 116, 139, 0.4) !important;
}

/* 3D Tactile Hover: Enhanced Depth and Top Specular Light, Zero Size Change */
.hero-btn.primary:hover,
.btn-auth-signup:hover,
.bento-link-btn:hover,
.app-download-btn:hover {
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 9px 20px rgba(0, 0, 0, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transform: none !important;
  filter: brightness(1.05);
}

.hero-btn.outline:hover,
.btn-auth-signin:hover,
.btn-donate-nav:hover,
.theme-toggle-btn:hover {
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transform: none !important;
}

[data-theme="light"] .hero-btn.primary:hover,
[data-theme="light"] .btn-auth-signup:hover,
[data-theme="light"] .bento-link-btn:hover,
[data-theme="light"] .app-download-btn:hover {
  box-shadow: 0 4px 0 rgba(15, 23, 42, 0.65), 0 9px 20px rgba(15, 23, 42, 0.18), inset 0 1px 1px rgba(255, 255, 255, 1);
  transform: none !important;
}

[data-theme="light"] .hero-btn.outline:hover,
[data-theme="light"] .btn-auth-signin:hover,
[data-theme="light"] .btn-donate-nav:hover,
[data-theme="light"] .theme-toggle-btn:hover {
  box-shadow: 0 3px 0 rgba(100, 116, 139, 0.6), 0 6px 14px rgba(15, 23, 42, 0.12), inset 0 1px 1px rgba(255, 255, 255, 1);
  transform: none !important;
}

/* 3D Mechanical Press Down on Active Click (Tactile Physical Feel) */
.hero-btn:active,
.btn-auth-signin:active,
.btn-auth-signup:active,
.bento-link-btn:active,
.btn-donate-nav:active,
.btn-admin-nav:active,
.app-download-btn:active,
.theme-toggle-btn:active {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  border-bottom-width: 1px !important;
}

[data-theme="light"] .hero-btn:active,
[data-theme="light"] .btn-auth-signin:active,
[data-theme="light"] .btn-auth-signup:active,
[data-theme="light"] .bento-link-btn:active,
[data-theme="light"] .btn-donate-nav:active,
[data-theme="light"] .btn-admin-nav:active,
[data-theme="light"] .app-download-btn:active,
[data-theme="light"] .theme-toggle-btn:active {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.6), 0 2px 4px rgba(15, 23, 42, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Font Studio Bento Card Icon Accent */
.card-font .card-icon {
  background: rgba(124, 92, 255, 0.12);
  color: var(--violet);
  border: 1px solid rgba(124, 92, 255, 0.25);
}


/* =========================================================
   DONYLOGIC STUDIO — PARTICLE LOGO & AGENCY SERVICES
   ========================================================= */

/* Logo Particle Convergence Canvas */
.logo-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Nav Logo Forming & Formed States */
.nav-brand-logo.is-forming {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand-logo.is-formed {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  animation: logoMaterializeGlow 1.4s ease-out forwards;
}

@keyframes logoMaterializeGlow {
  0% {
    filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.9)) brightness(1.6);
  }
  60% {
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.5)) brightness(1.2);
  }
  100% {
    filter: drop-shadow(0 0 0px transparent) brightness(1);
  }
}

[data-theme="light"] .nav-brand-logo.is-formed {
  filter: invert(1) !important;
}

/* Minimalist Nav CTA button */
.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-contact-btn i {
  color: #38bdf8;
  font-size: 1rem;
}

.nav-contact-btn:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.3));
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

/* Studio Highlights Pill */
.interactive-highlights-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.interactive-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: var(--text-secondary);
  backdrop-filter: blur(16px);
}

.interactive-pill i {
  color: #38bdf8;
}

/* Services 3-Column Glass Bento Grid */
.agency-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .agency-services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

.service-glass-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.12);
}

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

/* Card Specific Accents */
.card-service-bot .service-badge {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.card-service-web .service-badge {
  background: rgba(129, 140, 248, 0.12);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.card-service-app .service-badge {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-specular);
}

.card-service-bot .service-icon-box { color: #38bdf8; }
.card-service-web .service-icon-box { color: #818cf8; }
.card-service-app .service-icon-box { color: #34d399; }

.service-glass-card h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 72px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.service-features-list li i {
  color: #38bdf8;
  font-size: 1.05rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.card-service-web .service-features-list li i { color: #818cf8; }
.card-service-app .service-features-list li i { color: #34d399; }

.service-card-action {
  margin-top: auto;
}

.service-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-action-btn:hover {
  background: var(--text-primary);
  color: var(--bg-main);
  border-color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* Values Grid (Honest, direct, transparent) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

@media (max-width: 960px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-specular);
}

.value-icon {
  font-size: 1.5rem;
  color: #38bdf8;
  margin-bottom: 12px;
}

.value-item-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.value-item-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Workflow Steps */
.workflow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

@media (max-width: 960px) {
  .workflow-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .workflow-row { grid-template-columns: 1fr; }
}

.workflow-step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-num-badge {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.35);
  margin-bottom: 8px;
  line-height: 1;
}

.workflow-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.workflow-step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Big CTA Banner */
.cta-glass-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  margin: 60px 0 20px 0;
}

.cta-glass-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.cta-glass-banner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.cta-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #38bdf8;
  color: #05060a;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.btn-cta-main:hover {
  background: #ffffff;
  color: #05060a;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-cta-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-specular);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cta-sub:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* =========================================================
   DONYLOGIC INTERACTIVE — NEXT-GEN CYBER & RESPONSIVE ENGINE
   ========================================================= */

/* Floating Frosted Glass Navbar */
.startup-header {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: 100%;
  padding: 0 16px;
  pointer-events: none;
}

.startup-nav {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--bg-surface);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--border-specular);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), var(--glass-specular);
  pointer-events: auto;
  transition: all 0.3s ease;
}

[data-theme="light"] .startup-nav {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.nav-brand-wrap {
  display: flex;
  align-items: center;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-logo {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-brand-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: #00f2fe;
}

[data-theme="light"] .nav-brand-tag {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  color: #4f46e5;
}

.nav-actions-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: rotate(15deg) scale(1.05);
}

/* Contact Button */
.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #38bdf8;
  color: #05060a !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  transition: all 0.25s ease;
}

.nav-contact-btn:hover {
  background: #ffffff;
  color: #05060a !important;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Gradient Text Mask */
.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.startup-hero {
  max-width: 920px;
  margin: 50px auto 40px auto;
  text-align: center;
  padding: 0 20px;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  margin: 20px 0;
}

.hero-subline {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-glow-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #38bdf8;
  color: #05060a;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glow-primary:hover {
  background: #ffffff;
  color: #05060a;
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

.btn-frosted-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-specular);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.btn-frosted-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Service Card Hover Shine */
.service-glass-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(56, 189, 248, 0.12);
}

[data-theme="light"] .service-glass-card:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

/* Full Responsiveness */
@media (max-width: 900px) {
  .hero-headline {
    font-size: 2.3rem;
    letter-spacing: -0.6px;
  }
  .hero-subline {
    font-size: 1.02rem;
  }
  .agency-services-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .startup-header {
    top: 8px;
    padding: 0 8px;
  }
  .startup-nav {
    padding: 6px 14px;
  }
  .nav-brand-logo {
    max-width: 105px;
    height: 24px;
  }
  .nav-brand-tag {
    display: none;
  }
  .hero-headline {
    font-size: 1.85rem;
    line-height: 1.25;
    margin: 16px 0;
  }
  .hero-subline {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .btn-glow-primary,
  .btn-frosted-secondary {
    width: 100%;
    justify-content: center;
  }
  .interactive-highlights-row {
    flex-direction: column;
    align-items: stretch;
  }
  .interactive-pill {
    justify-content: center;
  }
  .service-glass-card {
    padding: 24px 20px;
  }
  .cta-glass-banner {
    padding: 32px 20px;
    margin: 40px 0 20px 0;
  }
  .cta-glass-banner h2 {
    font-size: 1.5rem;
  }
}

/* =========================================================
   VIDEO MASK HERO SECTION (RUST-STYLE VERTICAL WORD ROLLER)
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-hero-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin-top: -112px;
  padding: 120px 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #000000;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  filter: brightness(1.22) contrast(1.12) saturate(1.18);
}

.hero-mask-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000000;
  mix-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--hero-top-pad, 74px);
  padding-bottom: var(--hero-fg-h, 240px);
  pointer-events: none;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-word-viewport {
  --word-step: clamp(3.2rem, min(14vw, 15svh), 12.8rem);
  width: 100%;
  height: calc(var(--word-step) * 2.45);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.16) 18%,
    #000000 37%,
    #000000 63%,
    rgba(0, 0, 0, 0.16) 82%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.16) 18%,
    #000000 37%,
    #000000 63%,
    rgba(0, 0, 0, 0.16) 82%,
    transparent 100%
  );
}

.hero-word-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, calc((0.725 - var(--active-idx, 0)) * var(--word-step)), 0);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-word-track.no-transition {
  transition: none !important;
}

  .hero-word-item {
    height: var(--word-step);
    line-height: var(--word-step);
    overflow: hidden;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.55rem, min(calc(var(--word-step) * 0.82), calc(104vw / var(--word-len, 5))), 10.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
    user-select: none;
    text-align: center;
  }

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 18%,
    transparent 58%,
    rgba(4, 3, 15, 0.88) 88%,
    var(--bg-void, #04030f) 100%
  );
}

.hero-foreground {
  position: relative;
  z-index: 3;
  max-width: 820px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.video-hero-section .hero-badge {
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  margin-bottom: 16px;
}

.video-hero-section .hero-subline {
  color: #cbd5e1;
  margin-bottom: 24px;
}

.video-hero-section .btn-frosted-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

.video-hero-section .btn-frosted-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.video-hero-section .interactive-pill {
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

@media (max-width: 900px) {
  .video-hero-section {
    min-height: 92svh;
    padding-bottom: 44px;
  }
}

@media (max-width: 600px) {
  .video-hero-section {
    min-height: 100svh;
    margin-top: -96px;
    padding: 96px 14px 34px;
  }
}

/* Light Mode Support for Video Hero */
[data-theme="light"] .video-hero-section {
  background: #f8fafc;
}

[data-theme="light"] .hero-bg-video {
  filter: brightness(1.05) contrast(1.15) saturate(1.2);
}

[data-theme="light"] .hero-mask-overlay {
  background: #f8fafc;
  mix-blend-mode: screen;
}

[data-theme="light"] .hero-word-item {
  color: #000000;
}

[data-theme="light"] .hero-vignette {
  background: linear-gradient(
    to bottom,
    rgba(248, 250, 252, 0.45) 0%,
    transparent 18%,
    transparent 58%,
    rgba(248, 250, 252, 0.88) 88%,
    var(--bg-void, #f8fafc) 100%
  );
}

[data-theme="light"] .video-hero-section .hero-badge {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .video-hero-section .hero-subline {
  color: #334155;
}

[data-theme="light"] .video-hero-section .btn-frosted-secondary {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

[data-theme="light"] .video-hero-section .btn-frosted-secondary:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .video-hero-section .interactive-pill {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
  color: #1e293b;
}

/* =========================================================
   NAVBAR LANGUAGE DROPDOWN (UZB / ENG / RUS)
   ========================================================= */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill, 999px);
  background: var(--bg-surface-elevated, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border-specular, rgba(255, 255, 255, 0.14));
  color: var(--text-primary, #f8fafc);
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-drop-btn:hover {
  background: var(--bg-surface-hover, rgba(255, 255, 255, 0.12));
  border-color: var(--border-hover, rgba(255, 255, 255, 0.28));
}

.lang-drop-arrow {
  font-size: 1rem;
  transition: transform 0.22s ease;
}

.lang-dropdown.is-open .lang-drop-arrow {
  transform: rotate(180deg);
}

.lang-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 158px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(12, 14, 24, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 2000;
}

.lang-dropdown.is-open .lang-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.lang-option.is-active {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  font-weight: 700;
}

.lang-code {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

[data-theme="light"] .lang-drop-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

[data-theme="light"] .lang-drop-btn:hover {
  background: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .lang-drop-menu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .lang-option {
  color: #334155;
}

[data-theme="light"] .lang-option:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

[data-theme="light"] .lang-option.is-active {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

/* =========================================================
   NAVBAR & GLOBAL RESPONSIVE POLISH (ALL SCREENS)
   ========================================================= */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

.startup-nav {
  gap: 10px;
}

.nav-brand-wrap,
.nav-brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-actions-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-contact-btn {
  height: 36px;
  padding: 0 15px;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-contact-btn i {
  color: #05060a !important;
  font-size: 1.05rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .startup-header {
    top: 8px;
    padding: 0 8px;
  }

  .startup-nav {
    padding: 6px 10px;
    gap: 6px;
  }

  .nav-brand-logo {
    max-width: 84px;
    height: 20px;
  }

  .nav-actions-wrap {
    gap: 6px;
  }

  .lang-drop-btn {
    height: 32px;
    padding: 0 9px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .theme-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: 0.96rem;
  }

  .nav-contact-btn {
    height: 32px;
    padding: 0 11px;
    font-size: 0.76rem;
    gap: 5px;
  }

  .nav-contact-btn i {
    font-size: 0.92rem;
  }

  .video-hero-section .hero-badge {
    font-size: 0.66rem;
    padding: 5px 12px;
    gap: 6px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  .video-hero-section .hero-subline {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .btn-glow-primary,
  .btn-frosted-secondary,
  .service-action-btn {
    font-size: 0.86rem;
    padding: 12px 16px;
    line-height: 1.3;
    text-align: center;
  }

  .interactive-highlights-row {
    gap: 8px;
    width: 100%;
  }

  .interactive-pill {
    font-size: 0.78rem;
    padding: 7px 12px;
  }

  .values-grid,
  .workflow-row,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .nav-brand-logo {
    max-width: 72px;
    height: 18px;
  }

  .lang-drop-btn .ri-global-line {
    display: none;
  }

  .nav-contact-btn {
    padding: 0 9px;
    font-size: 0.72rem;
  }
}

/* ============================================================================
   DONYLOGIC™ — 0.5x Tezlikdagi (4.8s) 60fps Mobil Intro Animatsiya
   donylogic_final_logo.svg bilan to'g'ridan-to'g'ri ishlaydi
   ============================================================================ */
.donylogic-logo {
  width: auto;
  height: 36px;
  max-width: 185px;
  display: block;
  will-change: transform;
}

.donylogic-logo #logo-mark-anim {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.86);
  will-change: transform, opacity;
  animation: dl-mark-in 4.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.donylogic-logo #wordmark-wipe-poly {
  transform: translateX(-480px);
  will-change: transform;
  animation: dl-wordmark-wipe 4.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.donylogic-logo #sheen-beam {
  transform: translateX(-110px);
  opacity: 0;
  will-change: transform, opacity;
  animation: dl-mark-sheen 4.8s cubic-bezier(0.35, 0, 0.2, 1) forwards;
}

@keyframes dl-mark-in {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  30%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dl-wordmark-wipe {
  0%, 18% {
    transform: translateX(-480px);
  }
  58%, 100% {
    transform: translateX(0px);
  }
}

@keyframes dl-mark-sheen {
  0%, 60% {
    transform: translateX(-110px);
    opacity: 0;
  }
  68%, 88% {
    opacity: 1;
  }
  100% {
    transform: translateX(130px);
    opacity: 0;
  }
}

[data-theme="light"] .donylogic-logo [fill="#F1F5F9"] {
  fill: #0F172A;
}

/* =========================================================
   PROFESSIONAL NAVBAR REDESIGN (EXECUTIVE GLASS DOCK)
   ========================================================= */
.startup-nav {
  max-width: 1180px;
  padding: 8px 12px 8px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-brand-wrap {
  justify-self: start;
}

.nav-center-links {
  justify-self: center;
}

.nav-actions-wrap {
  justify-self: end;
}

[data-theme="light"] .startup-nav {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-center-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .nav-center-links {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav-link-item {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary, #cbd5e1);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-link-item:hover {
  color: var(--text-primary, #ffffff);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-link-item:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.07);
}

.nav-utility-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-utility-group {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav-utility-group .lang-drop-btn,
.nav-utility-group .theme-toggle-btn {
  border-color: transparent;
  background: transparent;
}

.nav-utility-group .lang-drop-btn:hover,
.nav-utility-group .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

[data-theme="light"] .nav-utility-group .lang-drop-btn:hover,
[data-theme="light"] .nav-utility-group .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.07);
}

.nav-contact-btn {
  height: 38px;
  padding: 0 18px;
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

@media (max-width: 900px) {
  .startup-nav {
    display: flex;
    justify-content: space-between;
  }
  .nav-center-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .startup-nav,
  .service-glass-card,
  .btn-frosted-secondary,
  .lang-drop-menu {
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }
}

@media (max-width: 640px) {
  .startup-nav {
    padding: 6px 8px 6px 10px;
    gap: 5px;
  }

  .donylogic-logo {
    height: 24px;
    max-width: 116px;
  }

  .nav-actions-wrap {
    gap: 5px;
  }

  .nav-utility-group {
    padding: 2px;
    gap: 2px;
  }

  .lang-drop-btn {
    height: 30px;
    padding: 0 7px;
    font-size: 0.7rem;
    gap: 3px;
  }

  .lang-drop-btn .ri-global-line {
    font-size: 0.85rem;
  }

  .theme-toggle-btn {
    width: 30px;
    height: 30px;
    font-size: 0.92rem;
  }

  .nav-contact-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 0.74rem;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .donylogic-logo {
    height: 21px;
    max-width: 105px;
  }
}

/* =========================================================
   PROJECTS, STBA METHODOLOGY & FOUNDER PROFILE SECTIONS
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto 24px;
}

.project-glass-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 22px;
  background: var(--bg-surface-elevated, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-specular, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.28s ease;
}

.project-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 24px rgba(56, 189, 248, 0.1);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.project-icon-birgalikda {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
}

.project-icon-logo {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
}

.project-icon-manager {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.project-demo-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.project-glass-card h3 {
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.project-glass-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 20px;
  flex: 1;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-specular, rgba(255, 255, 255, 0.14));
  text-decoration: none;
  transition: all 0.2s ease;
}

.project-link-btn:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #05060a;
}

/* STBA Methodology Card */
.stba-banner-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(99, 102, 241, 0.09) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  text-align: center;
}

.stba-badge-row {
  margin-bottom: 12px;
}

.stba-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.stba-banner-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.stba-banner-card p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Founder / CEO Profile Card */
.founder-glass-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 26px;
  background: var(--bg-surface-elevated, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-specular, rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.founder-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.founder-avatar-ring {
  width: 172px;
  height: 172px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 55%, #0007a2 100%);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #05060a;
}

.founder-role-badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  white-space: nowrap;
}

.founder-name-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.founder-name-row h3 {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.founder-full-patronymic {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.founder-bio {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.founder-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.founder-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.founder-meta-item i {
  font-size: 1.2rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.founder-meta-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.founder-meta-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.founder-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.founder-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-specular, rgba(255, 255, 255, 0.12));
  text-decoration: none;
  transition: all 0.2s ease;
}

.founder-social-pill:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #05060a;
}

/* Light Mode Support for Projects, STBA & Founder */
[data-theme="light"] .project-glass-card,
[data-theme="light"] .founder-glass-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .project-glass-card:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .project-link-btn,
[data-theme="light"] .founder-social-pill {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

[data-theme="light"] .project-link-btn:hover,
[data-theme="light"] .founder-social-pill:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

[data-theme="light"] .stba-banner-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(99, 102, 241, 0.07) 100%);
  border-color: rgba(2, 132, 199, 0.24);
}

[data-theme="light"] .stba-pill,
[data-theme="light"] .project-demo-pill,
[data-theme="light"] .founder-role-badge {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .founder-meta-item {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

@media (max-width: 820px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .founder-glass-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 26px 20px;
    gap: 22px;
  }

  .founder-name-row,
  .founder-links-row {
    justify-content: center;
  }

  .founder-meta-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .project-glass-card,
  .stba-banner-card {
    padding: 20px 18px;
  }

  .founder-avatar-ring {
    width: 144px;
    height: 144px;
  }
}

/* =========================================================
   ARCHITECTURAL REDESIGN: FIXED CLEAN NAVBAR, SEAMLESS HERO
   MELT, MODERN CONTENT BACKDROP & REFINED CTA
   ========================================================= */

/* 1. Replace chaotic liquid canvas with calm architectural dot-grid canvas */
#bgLiquidCanvas {
  display: none !important;
}

body.startup-body {
  background-color: #05060a;
  background-image:
    radial-gradient(ellipse 75% 40% at 50% 0%, rgba(56, 189, 248, 0.06), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  background-attachment: scroll, scroll;
}

[data-theme="light"] body.startup-body {
  background-color: #f7f9fc;
  background-image:
    radial-gradient(ellipse 75% 40% at 50% 0%, rgba(2, 132, 199, 0.05), transparent 70%),
    radial-gradient(rgba(15, 23, 42, 0.065) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
}

.startup-content-body {
  padding-top: 0 !important;
}

/* 2. Fixed Minimal Navbar (No nested boxes or extra borders) */
.startup-header {
  position: fixed !important;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 0 16px;
  pointer-events: none;
}

.startup-nav {
  pointer-events: auto;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 10px 8px 18px;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .startup-nav {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-center-links,
.nav-utility-group {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.nav-center-links {
  gap: 6px;
}

.nav-link-item {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.78);
}

.nav-link-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-link-item {
  color: #475569;
}

[data-theme="light"] .nav-link-item:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

.nav-actions-wrap {
  gap: 8px;
}

.nav-utility-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-utility-group .lang-drop-btn,
.nav-utility-group .theme-toggle-btn {
  border: 1px solid transparent;
  background: transparent;
}

.nav-utility-group .lang-drop-btn:hover,
.nav-utility-group .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-utility-group .lang-drop-btn:hover,
[data-theme="light"] .nav-utility-group .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-contact-btn {
  height: 36px;
  padding: 0 16px;
  background: #38bdf8;
  box-shadow: 0 2px 14px rgba(56, 189, 248, 0.25);
}

.nav-contact-btn:hover {
  background: #e0f2fe;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.4);
}

/* 3. Smooth Dissolved Boundary Between Video Hero & Content */
.video-hero-section {
  margin-top: 0 !important;
  padding: 110px 20px 84px !important;
  min-height: 100svh;
}

.hero-vignette {
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 10, 0.45) 0%,
    rgba(5, 6, 10, 0) 20%,
    rgba(5, 6, 10, 0) 48%,
    rgba(5, 6, 10, 0.35) 68%,
    rgba(5, 6, 10, 0.78) 85%,
    #05060a 100%
  ) !important;
}

.video-hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(5, 6, 10, 0.6) 50%, #05060a 100%);
}

[data-theme="light"] .hero-vignette {
  background: linear-gradient(
    to bottom,
    rgba(247, 249, 252, 0.45) 0%,
    rgba(247, 249, 252, 0) 20%,
    rgba(247, 249, 252, 0) 48%,
    rgba(247, 249, 252, 0.38) 68%,
    rgba(247, 249, 252, 0.82) 85%,
    #f7f9fc 100%
  ) !important;
}

[data-theme="light"] .video-hero-section::after {
  background: linear-gradient(to bottom, transparent 0%, rgba(247, 249, 252, 0.65) 50%, #f7f9fc 100%);
}

#services {
  margin-top: 0;
  padding-top: 36px;
}

/* 4. Refined Architectural Split CTA Card */
.cta-section-wrap {
  padding-top: 8px;
  padding-bottom: 32px;
}

.cta-glass-banner {
  max-width: 1120px;
  margin: 20px auto 0 !important;
  padding: 36px 40px !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left !important;
}

.cta-copy-col {
  max-width: 600px;
}

.cta-copy-col .section-tag {
  margin-bottom: 10px;
  display: inline-block;
}

.cta-glass-banner h2 {
  font-size: 1.75rem !important;
  margin: 0 0 8px !important;
}

.cta-glass-banner p {
  margin: 0 !important;
  font-size: 0.98rem !important;
  max-width: 540px !important;
}

.cta-buttons-wrap {
  flex-shrink: 0;
}

.btn-cta-main {
  padding: 13px 24px !important;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.22) !important;
}

.btn-cta-main:hover {
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35) !important;
}

[data-theme="light"] .cta-glass-banner {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06) !important;
}

@media (max-width: 860px) {
  .cta-glass-banner {
    flex-direction: column;
    text-align: center !important;
    padding: 28px 22px !important;
    gap: 20px;
  }

  .cta-copy-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .startup-header {
    top: 8px;
    padding: 0 8px;
  }

  .startup-nav {
    padding: 6px 8px 6px 10px;
  }

  .video-hero-section {
    padding: 88px 14px 56px !important;
  }

  .nav-contact-btn {
    height: 32px;
    padding: 0 10px;
  }
}
