:root {
  /* Colors */
  --color-light: #1565c0;
  --color-primary: #1565c0;
  --color-primary-dark: #4488d6;
  --color-text: #0a396e;
  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, 0.9);
  --color-white-75: rgba(255, 255, 255, 0.75);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-35: rgba(255, 255, 255, 0.35);
  --color-white-30: rgba(255, 255, 255, 0.3);
  --color-white-25: rgba(255, 255, 255, 0.25);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-15: rgba(255, 255, 255, 0.15);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-white-08: rgba(255, 255, 255, 0.08);
  
  /* Glass morphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.15);
  --glass-bg-medium: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-border-light: rgba(255, 255, 255, 0.35);
  --glass-border-medium: rgba(255, 255, 255, 0.45);
  --glass-shadow: rgba(10, 57, 110, 0.2);
  --glass-glow: rgba(255, 255, 255, 0.15);
  
  /* Blur amounts */
  --blur-amount: 16px;
  --blur-amount-nav: 20px;
  --blur-amount-card: 20px;
  --blur-amount-large: 26px;
  
  /* Border radius - standardized */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 28px;
  --radius-full: 999px;
  
  /* Spacing - standardized */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem;
  
  /* Shadows - standardized */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 24px 56px rgba(0, 0, 0, 0.2);
  --shadow-inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --shadow-inset-medium: inset 0 2px 4px rgba(255, 255, 255, 0.4);
  
  /* Transitions - standardized */
  --transition-fast: 0.1s ease;
  --transition-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  touch-action: manipulation;
}
/* Performance optimizations */
body, main, section {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
html {
  overflow: hidden;
}
html.lenis {
  height: auto;
}
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
html.lenis.lenis-stopped {
  overflow: hidden;
}
html.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
html, body {
  margin: 0; padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Arial', sans-serif;
  background: 
    radial-gradient(circle at 20% 30%, rgba(68, 136, 214, 0.45), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.4), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(21, 101, 192, 0.25), transparent 75%),
    linear-gradient(135deg, #0d47a1 0%, #1565c0 45%, #1976d2 75%, #42a5f5 100%);
  background-attachment: scroll;
}
body {
  padding-top: 0;
  overflow-x: hidden;
  position: relative;
}

/* Universal Navbar Styles - Only applies to old navbar class, not navbar-island */
.navbar:not(.navbar-island) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--spacing-md);
  pointer-events: none;
  transform: translateZ(0);
  contain: layout style paint;
}

/* Navbar island - floating rounded pill, sticky at top when scrolling */
.navbar-island {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  padding: var(--spacing-md) 0 !important;
  margin: 0 !important;
  pointer-events: auto;
  transform: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10000 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

.navbar-island-container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-lg) !important;
  min-height: 3.5rem;
  backdrop-filter: blur(20px) saturate(180%) brightness(1.1) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.2)) !important;
  border: 1px solid rgba(147, 197, 253, 0.3) !important;
  border-radius: 9999px !important;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
  transition: all var(--transition-base);
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

.navbar-island-container:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.25));
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-container {
  width: 100%;
  max-width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-base);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  display: block;
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.navbar-icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid var(--glass-border-light);
  border-radius: 12px;
  color: var(--color-white);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  transform: translateZ(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.nav-icon-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.12));
  border-color: var(--glass-border-medium);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.nav-icon-btn:active {
  transform: translateY(0) scale(0.98);
  transition: all var(--transition-fast);
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 768px) {
  .navbar-island {
    padding: var(--spacing-sm) var(--spacing-sm) !important;
  }
  
  .navbar-island-container {
    width: 100% !important;
    padding: var(--spacing-xs) var(--spacing-md) !important;
    min-height: 3rem;
    gap: var(--spacing-md);
    border-radius: 9999px !important;
  }
  
  .navbar-brand img {
    height: 28px;
    width: 28px;
  }
  
  .nav-icon-btn {
    width: 36px;
    height: 36px;
  }
  
  .nav-icon-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .navbar-island {
    top: var(--spacing-xs);
    left: var(--spacing-xs);
    right: var(--spacing-xs);
  }
  
  .navbar-island-container {
    padding: var(--spacing-xs) var(--spacing-sm);
    gap: var(--spacing-sm);
  }
}
#smooth-wrapper {
  overflow-x: hidden;
}
/* Fullscreen Three.js canvas */
#bg-three {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
}
#bg-three canvas {
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}
.container, .container-fluid {
  background: transparent !important;
}
main {
  border-radius: 0;
}
header .social-btn {
  background: var(--glass-bg-light) !important;
  backdrop-filter: blur(var(--blur-amount)) saturate(160%) brightness(1.05);
  -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(160%) brightness(1.05);
  border: 1px solid var(--color-white-30) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  min-width: 48px;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  opacity: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
  -webkit-user-select: none;
  user-select: none;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
header .social-btn:hover,
header .social-btn:active {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: var(--color-white) !important;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 255, 255, 0.1);
}
header .social-btn img {
  max-height: 24px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transform: translateZ(0);
  pointer-events: none;
  position: relative;
  z-index: 1;
  will-change: transform;
}
header {
  background: linear-gradient(135deg, var(--glass-bg-light), var(--glass-bg));
  backdrop-filter: blur(var(--blur-amount-nav)) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(var(--blur-amount-nav)) saturate(180%) brightness(1.1);
  border: 1px solid var(--color-white-30);
  border-radius: var(--radius-2xl);
  margin: var(--spacing-xl) auto var(--spacing-md);
  padding: var(--spacing-3xl) var(--spacing-xl);
  max-width: 720px;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0.8;
}
header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.7;
  animation: gentleGlow 6s ease-in-out infinite;
}
@keyframes gentleGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}
header h1 {
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
}
header p {
  color: var(--color-white-90);
  max-width: 520px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  -webkit-user-select: text;
  user-select: text;
}
.hero-tagline {
  font-size: 1.08rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
#duck-container {
  position: fixed;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  -webkit-user-select: none;
  user-select: none;
}
    #duck-container canvas {
  width: 100% !important;
  height: 100% !important;
}
.btn-outline-primary {
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  color: rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
  -webkit-user-select: none;
  user-select: none;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}
.btn-outline-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.btn-outline-primary:hover::before {
  left: 100%;
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(255, 255, 255, 0.15);
}
.btn-outline-primary:active {
  transform: translateY(0) scale(0.98);
  transition: all var(--transition-fast);
}
.feature-section {
  backdrop-filter: blur(var(--blur-amount-nav)) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(var(--blur-amount-nav)) saturate(180%) brightness(1.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), var(--color-white-08));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-3xl) var(--spacing-2xl);
  box-shadow: var(--shadow-lg), 0 2px 8px rgba(255, 255, 255, 0.1) inset, 0 -1px 0 rgba(0, 0, 0, 0.05) inset;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
  transform: translateZ(0);
  contain: layout style paint;
  content-visibility: auto;
}
.feature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0.8;
}
.feature-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 85%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.8;
  border-radius: var(--radius-2xl);
}
.feature-section h2 {
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* App cards */
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 0.5px solid var(--color-white-20);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  will-change: transform;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.5) 20%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.5) 80%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: 0 1px 6px rgba(255, 255, 255, 0.25);
}
.feature-card.app-card {
  width: 100%;
  min-height: 180px;
}
.feature-card:hover,
.feature-card:active {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 24px 56px rgba(0, 0, 0, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.15),
    inset 0 2px 6px rgba(255, 255, 255, 0.5),
    inset 0 -2px 6px rgba(255, 255, 255, 0.15),
    inset 0 0 60px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
}
.feature-card:active {
  transform: translateY(-4px) scale(1.01);
  transition: all var(--transition-fast);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card h3 {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.feature-card p {
  color: var(--color-white-90);
  margin-bottom: 1.2rem;
  flex-grow: 1;
  line-height: 1.6;
  -webkit-user-select: text;
  user-select: text;
}
.feature-card .feature-cta {
  margin-top: auto;
  align-self: flex-start;
}
.placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(227, 242, 253, 0.55);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.6rem;
  color: rgba(227, 242, 253, 0.75);
}
    .app-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 1rem 0;
}
.category-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}
.app-logo:hover {
  transform: scale(1.1);
}
footer {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}
footer a:hover {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}
.roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
}
.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(var(--blur-amount-large)) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(var(--blur-amount-large)) saturate(200%) brightness(1.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(255, 255, 255, 0.12),
    inset 0 0 50px rgba(255, 255, 255, 0.05);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.roadmap-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.7;
}
.roadmap-step:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.roadmap-step:not(:last-child) {
  margin-bottom: 1rem;
}
.roadmap-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  backdrop-filter: blur(14px) saturate(170%) brightness(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(170%) brightness(1.1);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-md);
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.roadmap-step h4 {
  color: var(--color-white);
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.roadmap-step p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.member-card {
  background: linear-gradient(135deg, var(--glass-bg-medium), rgba(255, 255, 255, 0.14));
  backdrop-filter: blur(var(--blur-amount-large)) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(var(--blur-amount-large)) saturate(200%) brightness(1.08);
  border: 1.5px solid var(--glass-border-light);
  border-top: 2px solid var(--glass-border-medium);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  color: var(--color-white);
  box-shadow: var(--shadow-xl), var(--shadow-md), var(--shadow-inset-medium), inset 0 -2px 4px rgba(255, 255, 255, 0.12), inset 0 0 50px rgba(255, 255, 255, 0.05);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  will-change: transform;
}
.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.member-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.member-card:hover,
.member-card:active {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 24px 56px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15),
    0 0 30px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.14));
  backdrop-filter: blur(20px) saturate(190%) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(190%) brightness(1.1);
}
.member-card:active {
  transform: translateY(-4px) scale(1.01);
  transition: all var(--transition-fast);
}
.member-card:hover::before {
  opacity: 1;
}
.member-card:hover::after {
  opacity: 0.6;
}
.member-card h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.member-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--color-white-75);
  margin-bottom: 0.85rem;
}
.member-card p {
  font-size: 0.95rem;
  color: var(--color-white-90);
  margin-bottom: 0;
  line-height: 1.6;
  -webkit-user-select: text;
  user-select: text;
}
.cta-panel {
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.9), rgba(33, 150, 243, 0.85));
  border-radius: 1.75rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 18px 44px rgba(13, 71, 161, 0.35);
  text-align: center;
  color: #e3f2fd;
}
.cta-panel h2 {
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.cta-panel p {
  color: rgba(227, 242, 253, 0.85);
  margin-bottom: 1.5rem;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.1rem;
  min-width: 280px;
  max-width: 340px;
}
.newsletter-form button {
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
}
.form-confirmation {
  color: rgba(227, 242, 253, 0.85);
  font-size: 0.95rem;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.form-confirmation.visible {
  opacity: 1;
  transform: translateY(0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 768px) {
  :root {
    --blur-amount: 15px;
    --blur-amount-nav: 12px;
  }
  
  body {
    padding-top: 5rem;
  }
  
  header {
    margin: 1.5rem 0.75rem 0;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-xl);
  }
  header h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  header p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  header .social-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 0.75rem;
    margin: 0.5rem;
  }
  header .social-btn img {
    max-height: 26px;
  }
  
  .feature-section {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
  }
  .feature-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-card {
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    min-height: auto;
    margin-bottom: 1rem;
  }
  .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  .feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  
  .btn-outline-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    min-height: 48px;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .member-card {
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  .member-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .member-card span {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  .member-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .team-grid {
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }
  
  
  .cta-panel {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
  }
  .cta-panel h2 {
    font-size: 1.5rem;
  }
  
  .roadmap-step {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-xl);
  }
  .roadmap-step span {
    margin-bottom: 0.75rem;
    align-self: flex-start;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  #duck-container {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    left: 1rem;
  }
  
  main.container-xxl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  
  footer {
    padding: 2rem 1rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Improve touch spacing between interactive elements */
  .d-flex.flex-wrap {
    gap: 0.5rem;
  }
  
  /* Ensure text is selectable on mobile */
  p, span, h1, h2, h3, h4, h5, h6 {
    -webkit-user-select: text;
    user-select: text;
  }
  
  /* Better spacing for feature cards on mobile */
  .row.g-4 {
    --bs-gutter-y: 1.25rem;
  }
}

/* Additional optimizations for very small screens */
@media (max-width: 480px) {
  header {
    margin: 1.25rem 0.5rem 0;
    padding: 2rem 1.25rem;
  }
  header h1 {
    font-size: 1.5rem;
  }
  
  .feature-section {
    padding: 1.75rem 1rem;
  }
  .feature-section h2 {
    font-size: 1.35rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  
  main.container-xxl {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
