body {
  margin: 0;
  font-family: 'Rubik', Arial, sans-serif;
  /* Inform browsers that site is designed for dark mode */
  color-scheme: dark;
  background: radial-gradient(circle, #0d0d0d 0%, #000000 100%);
  color: #ddd;
  overflow-x: hidden;
  position: relative;
  opacity: 1; /* Changed from 0 to 1 to ensure content is visible immediately */
  transition: opacity 0.5s ease; /* Reduced transition time */
  padding-bottom: 120px; /* Add padding to prevent content from being hidden behind fixed footer */
  min-height: 100vh; /* Ensure minimum height */
  width: 100%; /* Ensure full width */
}
body.loaded {
  opacity: 1;
}

/* Disable animations on mobile devices and small screens */
@media (max-width: 768px) {
  /* Disable all animations and transitions */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force all content to be visible immediately - EXCLUDING SLIDER */
  body,
  section,
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .manifest-block {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Preserve slider functionality on mobile */
  .modern-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.6s ease, visibility 0.6s ease !important;
  }
  
  .modern-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Ensure all sections are visible */
  .section-animate.visible,
  .feature.visible,
  .manifest-feature.visible,
  .principle-card.visible,
  .feature-card.visible,
  .plan-card.visible,
  .vision-item.visible,
  .manifest-block.active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Disable floating animations */
  .floating-element {
    animation: none !important;
    opacity: 0.3 !important;
  }
  
  /* Ensure particles container allows particles to appear from bottom */
  .particles {
    height: 120vh !important;
    top: -10vh !important;
  }
  
  /* Ensure particles container allows particles to appear from bottom */
  .particles {
    height: 120vh !important;
    top: -10vh !important;
  }
  
  /* Ensure particles container allows particles to appear from bottom */
  .particles {
    height: 120vh !important;
    top: -10vh !important;
  }
  
  /* Optimize particles for mobile devices */
  .particle,
  .micro-particle {
    animation: particleFloatMobile 15s linear infinite !important;
    opacity: 0.4 !important;
    transform: scale(0.8) !important;
  }
  
  /* Mobile-specific particle animation - particles appear from bottom and float up */
  @keyframes particleFloatMobile {
    0% {
      transform: translateY(100vh) translateX(0) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      transform: translateY(-100px) translateX(var(--drift, 0)) rotate(360deg);
      opacity: 0;
    }
  }
  
  /* Reduce particle count and size on mobile */
  .particle.small {
    width: 1px !important;
    height: 1px !important;
  }
  
  .particle.medium {
    width: 2px !important;
    height: 2px !important;
  }
  
  .particle.large {
    width: 3px !important;
    height: 3px !important;
  }
  
  .micro-particle.tiny {
    width: 0.5px !important;
    height: 0.5px !important;
  }
  
  .micro-particle.small {
    width: 1px !important;
    height: 1px !important;
  }
  
  .micro-particle.medium {
    width: 1.5px !important;
    height: 1.5px !important;
  }
  
  /* Disable background animations */
  .background-circles {
    animation: none !important;
  }
  
  /* Prevent text overflow and overlapping */
  .slide-body p {
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  
  /* Ensure proper spacing between elements */
  .slide-body p + p {
    margin-top: 15px !important;
  }
  
  .slide-list li + li {
    margin-top: 10px !important;
  }
  
  /* Disable card hover effects */
  .feature:hover,
  .manifest-feature:hover,
  .principle-card:hover,
  .feature-card:hover,
  .plan-card:hover,
  .vision-item:hover {
    transform: none !important;
    transition: none !important;
  }
  
  /* Fix container and layout */
  .container {
    padding: 20px 16px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  header {
    padding: 20px 16px;
    text-align: center;
    height: auto;
    min-height: 60vh;
  }
  
  header h1 {
    font-size: clamp(32px, 8vw, 48px);
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  header h2 {
    font-size: clamp(18px, 4.5vw, 24px);
    margin-bottom: 20px;
  }
  
  .cta-button {
    font-size: clamp(14px, 3.5vw, 18px);
    padding: 10px 24px;
    margin-bottom: 40px;
  }
  
  .modern-slider-container {
    padding: 0 16px;
  }
  
  /* Disable slider animations */
  .manifest-slider,
  .modern-slider {
    scroll-behavior: auto !important;
  }
  
  /* Ensure all content sections are visible */
  .manifest-section,
  .upcoming-plans-grid,
  .vision-principles,
  .how-it-works,
  .social,
  .support-section,
  footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Mobile-specific grid adjustments */
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .manifest-features {
    flex-direction: column;
    gap: 20px;
  }
  
  .manifest-feature {
    min-width: 0;
    width: 100%;
    padding: 20px;
  }
  
  .vision-principles {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .principle-card {
    padding: 20px;
    height: auto;
    min-height: 200px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 0;
  }
  
  .feature-header {
    padding: 20px 20px 15px 20px;
  }
  
  .feature-content {
    padding: 0 20px 15px 20px;
  }
  
  .feature-footer {
    padding: 15px 20px 20px 20px;
  }
  
  .upcoming-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .plan-card {
    padding: 20px;
  }
  
  /* Mobile slider adjustments */
  .manifest-slider .manifest-block {
    flex: 0 0 90vw;
    padding: 20px;
    min-height: 40vh;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  
  .slider-arrow.prev {
    left: -20px;
  }
  
  .slider-arrow.next {
    right: -20px;
  }
  
  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  /* Mobile modern slider */
  .modern-slider {
    height: auto;
    min-height: 400px;
    padding: 20px;
    overflow: hidden;
  }
  
  .slide-subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 15px;
    line-height: 1.3;
  }
  
  .slide-body p {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .slide-list li {
    font-size: clamp(13px, 3vw, 15px);
    padding: 8px 0 8px 20px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  /* Mobile navigation */
  .modern-nav-arrow {
    width: 40px;
    height: 40px;
  }
  
  .modern-slider-nav {
    gap: 20px;
    margin-top: 20px;
  }
  
  /* Mobile language switch */
  .lang-toggle {
    font-size: 20px;
    width: 40px;
    height: 40px;
  }
  
  .lang-menu {
    grid-template-columns: repeat(4, 40px);
    gap: 4px;
    padding: 8px;
  }
  
  .lang-btn {
    font-size: 18px;
    width: 40px;
    height: 40px;
  }
  
  /* Mobile search section */
  section#search {
    min-height: 40vh;
    padding: 20px;
  }
  
  .onion-address-input {
    font-size: clamp(12px, 3vw, 16px);
    padding: 12px 16px;
    width: 90%;
    max-width: 400px;
  }
  
  /* Mobile footer */
  footer {
    font-size: clamp(12px, 3vw, 14px);
    padding: 10px;
    margin-top: 20px;
  }
  
  /* Mobile support section */
  .support-section {
    padding: 20px;
    margin: 40px auto;
  }
  
  .support-section h2 {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  
  .support-section h3 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  /* Mobile social section */
  .social {
    margin: 100px 0 80px;
    padding: 0 16px;
  }
  
  .telegram-card {
    max-width: 280px;
    padding: 16px;
  }
  
  .telegram-card-content {
    gap: 12px;
  }
  
  .telegram-icon {
    width: 40px;
    height: 40px;
  }
  
  .telegram-name {
    font-size: 16px;
  }
  
  .telegram-website {
    font-size: 13px;
  }
  
  .telegram-description,
  .telegram-subscribers {
    font-size: 11px;
  }
  
  .telegram-join-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  /* Mobile vision section */
  .vision-title {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  .vision-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .vision-quote.primary {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .vision-quote.secondary {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  
  /* Mobile manifest section */
  .manifest-title {
    font-size: clamp(20px, 5vw, 28px);
  }
  
  .manifest-subtitle {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .manifest-list {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  
  .manifest-list li {
    padding-left: 20px;
    margin-bottom: 8px;
  }
  
  .manifest-list li::before {
    font-size: 1em;
  }
  
  /* Mobile feature text */
  .feature h4 {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .feature p {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  
  .feature-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .feature-list li {
    font-size: clamp(13px, 3vw, 15px);
    padding-left: 16px;
  }
  
  .plan-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .plan-list li {
    font-size: clamp(13px, 3vw, 15px);
    padding-left: 16px;
  }
  
  /* Mobile privacy note */
  .privacy-note {
    font-size: clamp(14px, 3.5vw, 16px);
    padding: 15px;
    margin-top: 20px;
  }
  
  /* Mobile spoiler */
  .spoiler-button {
    font-size: clamp(14px, 3.5vw, 16px);
    padding: 8px 16px;
  }
  
  .spoiler-content {
    font-size: clamp(14px, 3.5vw, 16px);
    padding: 15px;
  }
  
  /* Mobile compact features */
  .feature-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .feature-compact .manifest-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-compact b {
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.2;
  }
  
  /* Mobile scroll offset */
  html {
    scroll-padding-top: 20vh;
  }
  
  /* Mobile-specific scroll behavior */
  html {
    scroll-behavior: auto;
  }
  
  /* Remove problematic scroll settings */
  .manifest-slider,
  .modern-slider,
  .scroll-to-top,
  a[href^="#"]:not([data-no-scroll]) {
    scroll-behavior: auto;
  }
}

/* Extra small mobile optimizations */
@media (max-width: 480px) {
  /* Disable ALL animations and transitions for very small screens */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force immediate visibility of all content */
  body,
  section,
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .modern-slide,
  .manifest-block,
  .slide-content,
  .slide-header,
  .slide-body,
  .slide-highlight,
  .slide-list,
  .slide-list li,
  .floating-element,
  .background-circles {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Optimize particles for small mobile devices */
  .particle,
  .micro-particle {
    animation: particleFloatMobileSmall 12s linear infinite !important;
    opacity: 0.3 !important;
    transform: scale(0.6) !important;
  }
  
  /* Small mobile-specific particle animation */
  @keyframes particleFloatMobileSmall {
    0% {
      transform: translateY(100vh) translateX(0) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      transform: translateY(-100px) translateX(var(--drift, 0)) rotate(360deg);
      opacity: 0;
    }
  }
  
  /* Further reduce particle size on small screens */
  .particle.small {
    width: 0.5px !important;
    height: 0.5px !important;
  }
  
  .particle.medium {
    width: 1px !important;
    height: 1px !important;
  }
  
  .particle.large {
    width: 1.5px !important;
    height: 1.5px !important;
  }
  
  .micro-particle.tiny {
    width: 0.3px !important;
    height: 0.3px !important;
  }
  
  .micro-particle.small {
    width: 0.5px !important;
    height: 0.5px !important;
  }
  
  .micro-particle.medium {
    width: 0.8px !important;
    height: 0.8px !important;
  }
  
  /* Language toggle mobile optimization */
  .lang-toggle {
    font-size: 18px;
    width: 36px;
    height: 36px;
  }
  
  .lang-switch.open .lang-toggle {
    font-size: 16px;
  }
  
  .lang-menu {
    grid-template-columns: repeat(4, 36px);
    gap: 4px;
    padding: 6px;
  }
  
  .lang-btn {
    font-size: 16px;
    width: 36px;
    height: 36px;
  }
  
  /* General mobile optimizations */
  .container {
    padding: 15px 12px;
  }
  
  header {
    padding: 15px 12px;
    min-height: 50vh;
  }
  
  header h1 {
    font-size: clamp(28px, 7vw, 36px);
  }
  
  header h2 {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .cta-button {
    font-size: clamp(13px, 3vw, 16px);
    padding: 8px 20px;
  }
  
  /* Mobile slider adjustments */
  .manifest-slider .manifest-block {
    flex: 0 0 95vw;
    padding: 15px;
    min-height: 35vh;
  }
  
  .slider-arrow {
    width: 35px;
    height: 35px;
  }
  
  .slider-arrow.prev {
    left: -15px;
  }
  
  .slider-arrow.next {
    right: -15px;
  }
  
  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }
  
  /* Mobile modern slider */
  .modern-slider {
    height: auto;
    min-height: 350px;
    padding: 15px;
    overflow: hidden;
  }
  
  .slide-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
    margin-bottom: 12px;
    line-height: 1.3;
  }
  
  .slide-body p {
    font-size: clamp(13px, 3vw, 15px);
    margin-bottom: 10px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .slide-list li {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 6px 0 6px 18px;
    line-height: 1.4;
    margin-bottom: 6px;
  }
  
  /* Mobile navigation */
  .modern-nav-arrow {
    width: 35px;
    height: 35px;
  }
  
  .modern-slider-nav {
    gap: 15px;
    margin-top: 15px;
  }
  
  /* Mobile onion address input */
  .onion-address-input {
    font-size: clamp(11px, 2.8vw, 14px);
    padding: 10px 12px;
    width: 95%;
  }
  
  /* Mobile footer */
  footer {
    font-size: clamp(11px, 2.8vw, 13px);
    padding: 8px;
    margin-top: 15px;
  }
  
  /* Mobile support section */
  .support-section {
    padding: 15px;
    margin: 30px auto;
  }
  
  .support-section h2 {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .support-section h3 {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  /* Mobile social section */
  .social {
    margin: 80px 0 60px;
    padding: 0 12px;
  }
  
  .telegram-card {
    max-width: 260px;
    padding: 12px;
  }
  
  .telegram-card-content {
    gap: 10px;
  }
  
  .telegram-icon {
    width: 35px;
    height: 35px;
  }
  
  .telegram-name {
    font-size: 14px;
  }
  
  .telegram-website {
    font-size: 12px;
  }
  
  .telegram-description,
  .telegram-subscribers {
    font-size: 10px;
  }
  
  .telegram-join-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  /* Mobile vision section */
  .vision-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  
  .vision-subtitle {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .vision-quote.primary {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .vision-quote.secondary {
    font-size: clamp(12px, 3vw, 15px);
  }
  
  /* Mobile manifest section */
  .manifest-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  
  .manifest-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .manifest-list {
    font-size: clamp(13px, 3vw, 15px);
  }
  
  .manifest-list li {
    padding-left: 18px;
    margin-bottom: 6px;
  }
  
  .manifest-list li::before {
    font-size: 0.9em;
  }
  
  /* Mobile feature text */
  .feature h4 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .feature p {
    font-size: clamp(13px, 3vw, 15px);
  }
  
  .feature-title {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .feature-list li {
    font-size: clamp(12px, 2.8vw, 14px);
    padding-left: 14px;
  }
  
  .plan-title {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .plan-list li {
    font-size: clamp(12px, 2.8vw, 14px);
    padding-left: 14px;
  }
  
  /* Mobile privacy note */
  .privacy-note {
    font-size: clamp(13px, 3vw, 15px);
    padding: 12px;
    margin-top: 15px;
  }
  
  /* Mobile spoiler */
  .spoiler-button {
    font-size: clamp(13px, 3vw, 15px);
    padding: 6px 12px;
  }
  
  .spoiler-content {
    font-size: clamp(13px, 3vw, 15px);
    padding: 12px;
  }
  
  /* Mobile compact features */
  .feature-compact {
    gap: 6px;
    padding: 6px 10px;
  }
  
  .feature-compact .manifest-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .feature-compact b {
    font-size: clamp(13px, 3vw, 15px);
  }
  
  /* Mobile scroll offset */
  html {
    scroll-padding-top: 15vh;
  }
}

/* Ultra small mobile optimizations */
@media (max-width: 320px) {
  /* Disable ALL animations and transitions for ultra small screens - EXCLUDING SLIDER */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force immediate visibility of all content - EXCLUDING SLIDER */
  body,
  section,
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .manifest-block,
  .floating-element,
  .background-circles {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Ultra optimized particles for very small screens */
  .particle,
  .micro-particle {
    animation: particleFloatMobileUltra 10s linear infinite !important;
    opacity: 0.2 !important;
    transform: scale(0.4) !important;
  }
  
  /* Ultra small mobile-specific particle animation */
  @keyframes particleFloatMobileUltra {
    0% {
      transform: translateY(100vh) translateX(0) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      transform: translateY(-100px) translateX(var(--drift, 0)) rotate(360deg);
      opacity: 0;
    }
  }
  
  /* Minimal particle size for ultra small screens */
  .particle.small {
    width: 0.3px !important;
    height: 0.3px !important;
  }
  
  .particle.medium {
    width: 0.5px !important;
    height: 0.5px !important;
  }
  
  .particle.large {
    width: 0.8px !important;
    height: 0.8px !important;
  }
  
  .micro-particle.tiny {
    width: 0.2px !important;
    height: 0.2px !important;
  }
  
  .micro-particle.small {
    width: 0.3px !important;
    height: 0.3px !important;
  }
  
  .micro-particle.medium {
    width: 0.4px !important;
    height: 0.4px !important;
  }
  
  /* Preserve slider functionality on ultra small mobile */
  .modern-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.6s ease, visibility 0.6s ease !important;
  }
  
  .modern-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Language toggle ultra small optimization */
  .lang-toggle {
    font-size: 16px;
    width: 32px;
    height: 32px;
  }
  
  .lang-switch.open .lang-toggle {
    font-size: 14px;
  }
  
  .lang-menu {
    grid-template-columns: repeat(4, 32px);
    gap: 3px;
    padding: 5px;
  }
  
  .lang-btn {
    font-size: 14px;
    width: 32px;
    height: 32px;
  }
  
  /* General ultra small optimizations */
  .container {
    padding: 10px 8px;
  }
  
  header {
    padding: 10px 8px;
    min-height: 40vh;
  }
  
  header h1 {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  header h2 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .cta-button {
    font-size: clamp(12px, 2.8vw, 15px);
    padding: 6px 16px;
  }
  
  /* Ultra small onion address input */
  .onion-address-input {
    font-size: clamp(10px, 2.5vw, 13px);
    padding: 8px 10px;
    width: 98%;
  }
  
  /* Ultra small footer */
  footer {
    font-size: clamp(10px, 2.5vw, 12px);
    padding: 6px;
  }
  
  /* Ultra small support section */
  .support-section {
    padding: 12px;
    margin: 25px auto;
  }
  
  .support-section h2 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .support-section h3 {
    font-size: clamp(12px, 2.8vw, 15px);
  }
  
  /* Ultra small social section */
  .social {
    margin: 60px 0 50px;
    padding: 0 8px;
  }
  
  .telegram-card {
    max-width: 240px;
    padding: 10px;
  }
  
  .telegram-card-content {
    gap: 8px;
  }
  
  .telegram-icon {
    width: 30px;
    height: 30px;
  }
  
  .telegram-name {
    font-size: 13px;
  }
  
  .telegram-website {
    font-size: 11px;
  }
  
  .telegram-description,
  .telegram-subscribers {
    font-size: 9px;
  }
  
  .telegram-join-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  /* Ultra small vision section */
  .vision-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .vision-subtitle {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  .vision-quote.primary {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .vision-quote.secondary {
    font-size: clamp(11px, 2.5vw, 13px);
  }
  
  /* Ultra small manifest section */
  .manifest-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .manifest-subtitle {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .manifest-list {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  .manifest-list li {
    padding-left: 16px;
    margin-bottom: 5px;
  }
  
  .manifest-list li::before {
    font-size: 0.8em;
  }
  
  /* Ultra small feature text */
  .feature h4 {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .feature p {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  .feature-title {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .feature-list li {
    font-size: clamp(11px, 2.5vw, 13px);
    padding-left: 12px;
  }
  
  .plan-title {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .plan-list li {
    font-size: clamp(11px, 2.5vw, 13px);
    padding-left: 12px;
  }
  
  /* Ultra small privacy note */
  .privacy-note {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 10px;
    margin-top: 12px;
  }
  
  /* Ultra small spoiler */
  .spoiler-button {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 5px 10px;
  }
  
  .spoiler-content {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 10px;
  }
  
  /* Ultra small compact features */
  .feature-compact {
    gap: 5px;
    padding: 5px 8px;
  }
  
  .feature-compact .manifest-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .feature-compact b {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  /* Ultra small scroll offset */
  html {
    scroll-padding-top: 10vh;
  }
}

/* Enhanced background elements with improved blur */
.background-circles {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1500px;
  height: 1500px;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: none;
  background: radial-gradient(circle, rgba(167,139,250,0.08) 0%, rgba(167,139,250,0.04) 30%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  box-shadow: 0 0 300px 50px rgba(99, 20, 215, 0.03);
  animation: pulse 10s infinite alternate;
  filter: blur(1px);
}

/* Additional background elements with improved edge blur */
.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.12) 0%, rgba(167,139,250,0.04) 40%, rgba(167,139,250,0.01) 70%, transparent 100%);
  filter: blur(3px);
  animation: floatAround 20s infinite linear;
}

.floating-element:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-duration: 25s;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.floating-element:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-duration: 20s;
  animation-delay: -10s;
}

.floating-element:nth-child(4) {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-duration: 35s;
  animation-delay: -15s;
}

.floating-element:nth-child(5) {
  width: 80px;
  height: 80px;
  bottom: 40%;
  right: 10%;
  animation-duration: 18s;
  animation-delay: -8s;
}

.floating-element:nth-child(6) {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 5%;
  animation-duration: 22s;
  animation-delay: -12s;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, rgba(219, 39, 119, 0.03) 40%, rgba(219, 39, 119, 0.01) 70%, transparent 100%);
}

.floating-element:nth-child(7) {
  width: 90px;
  height: 90px;
  top: 15%;
  left: 80%;
  animation-duration: 28s;
  animation-delay: -18s;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.03) 40%, rgba(37, 99, 235, 0.01) 70%, transparent 100%);
}

.floating-element:nth-child(8) {
  width: 70px;
  height: 70px;
  bottom: 10%;
  left: 70%;
  animation-duration: 24s;
  animation-delay: -14s;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.03) 40%, rgba(22, 163, 74, 0.01) 70%, transparent 100%);
}

@keyframes floatAround {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(100px, -50px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translate(50px, -100px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(-50px, -50px) rotate(270deg);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.3;
  }
}

@keyframes pulse {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-50%, -50%) scale(1.05); }
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(167,139,250,0.6) 0%, rgba(167,139,250,0.3) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  animation: particleFloat linear infinite;
  opacity: 0;
}

.particle.small {
  width: 2px;
  height: 2px;
  background: radial-gradient(circle, rgba(167,139,250,0.8) 0%, rgba(167,139,250,0.4) 50%, transparent 100%);
}

.particle.medium {
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(167,139,250,0.6) 0%, rgba(167,139,250,0.3) 50%, transparent 100%);
}

.particle.large {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(167,139,250,0.5) 0%, rgba(167,139,250,0.2) 50%, transparent 100%);
}

.particle.purple {
  background: radial-gradient(circle, rgba(167,139,250,0.6) 0%, rgba(167,139,250,0.3) 50%, transparent 100%);
}

.particle.blue {
  background: radial-gradient(circle, rgba(59,130,246,0.6) 0%, rgba(59,130,246,0.3) 50%, transparent 100%);
}

.particle.pink {
  background: radial-gradient(circle, rgba(236,72,153,0.6) 0%, rgba(236,72,153,0.3) 50%, transparent 100%);
}

.particle.cyan {
  background: radial-gradient(circle, rgba(34,211,238,0.6) 0%, rgba(34,211,238,0.3) 50%, transparent 100%);
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(var(--drift)) rotate(360deg);
    opacity: 0;
  }
}

/* Particle glow effect */
.particle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: inherit;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(1px);
  z-index: -1;
}

/* Enhanced container with parallax effect */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

/* Enhanced header with text animations */
header {
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

header h1 {
  font-size: 8vw;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(167,139,250,0.4);
  animation: titleGlow 3s ease-in-out infinite alternate;
  position: relative;
}

header h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  right: -50%;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    transparent 10%, 
    rgba(167,139,250,0.01) 20%, 
    rgba(167,139,250,0.03) 30%, 
    rgba(167,139,250,0.08) 40%, 
    rgba(167,139,250,0.15) 50%, 
    rgba(167,139,250,0.08) 60%, 
    rgba(167,139,250,0.03) 70%, 
    rgba(167,139,250,0.01) 80%, 
    transparent 90%, 
    transparent 100%
  );
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
  filter: blur(0.5px);
}

@keyframes titleGlow {
  from { text-shadow: 0 0 20px rgba(167,139,250,0.4); }
  to { text-shadow: 0 0 30px rgba(167,139,250,0.6), 0 0 40px rgba(167,139,250,0.3); }
}

@keyframes shimmer {
  0% { 
    transform: translateX(-100%); 
    opacity: 0;
    filter: blur(2px);
  }
  10% { 
    opacity: 0.3;
    filter: blur(1.5px);
  }
  20% { 
    opacity: 0.6;
    filter: blur(1px);
  }
  30% { 
    opacity: 0.8;
    filter: blur(0.5px);
  }
  40% { 
    opacity: 0.9;
    filter: blur(0.3px);
  }
  50% { 
    opacity: 1;
    filter: blur(0px);
  }
  60% { 
    opacity: 0.9;
    filter: blur(0.3px);
  }
  70% { 
    opacity: 0.8;
    filter: blur(0.5px);
  }
  80% { 
    opacity: 0.6;
    filter: blur(1px);
  }
  90% { 
    opacity: 0.3;
    filter: blur(1.5px);
  }
  100% { 
    transform: translateX(100%); 
    opacity: 0;
    filter: blur(2px);
  }
}

header h2 {
  font-size: 5vw;
  color: #a78bfa;
  margin-bottom: 40px;
  animation: subtitleFloat 4s ease-in-out infinite;
}

@keyframes subtitleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-button {
    background: linear-gradient(135deg, #7e22ce1a 0%, #a78bfa1a 100%);
    color: #fff;
    padding: 12px 40px;
    border: 1px solid #7e22ce;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(67, 59, 94, 0.59);
    margin-bottom: 80px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(167, 139, 250, 0.4);
  border-color: #a78bfa;
  background: linear-gradient(135deg, #7e22ce2a 0%, #a78bfa2a 100%);
}

/* Enhanced section animations */
section {
  margin: 80px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
  transition: width 0.8s ease;
}

section.visible::before {
  width: 100px;
}

h3 {
  font-size: 7vw;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #a78bfa, #8b5cf6);
  border-radius: 2px;
  animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
  from { box-shadow: 0 0 5px rgba(167, 139, 250, 0.5); }
  to { box-shadow: 0 0 15px rgba(167, 139, 250, 0.8); }
}

/* Enhanced features grid with diverse card styles */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature {
  background: rgba(46, 46, 70, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(84, 38, 151, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 6s ease-in-out infinite;
}

.feature:nth-child(odd) {
  animation-delay: 0s;
}

.feature:nth-child(even) {
  animation-delay: 2s;
}

.feature:nth-child(3n) {
  animation-delay: 4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover::before {
  opacity: 1;
}

.feature:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border-color: rgba(167, 139, 250, 0.4);
}

.feature h4 {
  color: #a78bfa;
  margin-bottom: 15px;
  font-size: 6vw;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.feature:hover h4 {
  color: #8b5cf6;
  transform: scale(1.05);
}

.feature p {
  font-size: 4vw;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.feature:hover p {
  color: #e0e0e0;
}

/* Special card variants */
.feature.premium {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 2px solid rgba(167, 139, 250, 0.3);
}

.feature.premium::after {
  content: '⭐';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.feature.tech {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature.security {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.feature.community {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.05) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Enhanced manifest features with diverse styles */
.manifest-features {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.manifest-feature {
  background: rgba(46, 46, 70, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(84, 38, 151, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 30px 25px 25px 25px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 100%;
  margin-bottom: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: manifestCardFloat 8s ease-in-out infinite;
}

.manifest-feature:nth-child(1) { animation-delay: 0s; }
.manifest-feature:nth-child(2) { animation-delay: 0.2s; }
.manifest-feature:nth-child(3) { animation-delay: 0.4s; }
.manifest-feature:nth-child(4) { animation-delay: 0.6s; }
.manifest-feature:nth-child(5) { animation-delay: 0.8s; }
.manifest-feature:nth-child(6) { animation-delay: 1s; }
.manifest-feature:nth-child(7) { animation-delay: 6s; }
.manifest-feature:nth-child(8) { animation-delay: 7s; }

@keyframes manifestCardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(0.5deg); }
  50% { transform: translateY(-5px) rotate(-0.5deg); }
  75% { transform: translateY(-12px) rotate(0.3deg); }
}

.manifest-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.1), transparent);
  transition: left 0.6s ease;
}

.manifest-feature:hover::before {
  left: 100%;
}

.manifest-feature:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border-color: rgba(167, 139, 250, 0.4);
}

.manifest-feature b {
  color: #a78bfa;
  font-size: 1.2em;
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.manifest-feature:hover b {
  color: #8b5cf6;
  transform: scale(1.05);
}

.manifest-icon {
  font-size: 1.5em;
  margin-right: 8px;
  vertical-align: middle;
  transition: all 0.3s ease;
}
.manifest-icon .advertising-icon {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  display: inline-block;
}

.manifest-feature:hover .manifest-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Enhanced manifest list with hover effects */
.manifest-list {
  margin: 18px 0 18px 0;
  padding-left: 0;
  font-size: 1.08em;
  list-style: none;
}

.manifest-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 28px;
  transition: all 0.3s ease;
  cursor: default;
}

.manifest-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: #a78bfa;
  font-size: 1.2em;
  font-weight: bold;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.manifest-list li:hover::before {
  color: #8b5cf6;
  transform: scale(1.3) rotate(15deg);
  opacity: 1;
}

.manifest-list li:hover {
  color: #e0e0e0;
  transform: translateX(8px);
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

/* Alternative markers for different sections */
.manifest-feature:nth-child(odd) .manifest-list li::before {
  content: "◆";
}

.manifest-feature:nth-child(even) .manifest-list li::before {
  content: "●";
}

.manifest-feature:nth-child(3n) .manifest-list li::before {
  content: "◇";
}

.manifest-feature:nth-child(4n) .manifest-list li::before {
  content: "▪";
}

.manifest-feature:nth-child(5n) .manifest-list li::before {
  content: "★";
}

.manifest-feature:nth-child(6n) .manifest-list li::before {
  content: "♦";
}

.manifest-feature:nth-child(7n) .manifest-list li::before {
  content: "♠";
}

.manifest-feature:nth-child(8n) .manifest-list li::before {
  content: "♣";
}

/* Special card variants for manifest features */
.manifest-feature.premium {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 2px solid rgba(167, 139, 250, 0.3);
}

.manifest-feature.premium::after {
  content: '⭐';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  animation: starTwinkle 2s ease-in-out infinite;
}

.manifest-feature.tech {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.manifest-feature.tech::after {
  content: '⚡';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  animation: techPulse 1.5s ease-in-out infinite;
}

@keyframes techPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.manifest-feature.security {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.manifest-feature.security::after {
  content: '🛡️';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  animation: securityShield 3s ease-in-out infinite;
}

@keyframes securityShield {
  0%, 100% { opacity: 0.8; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(5deg); }
}

.manifest-feature.community {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.05) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.manifest-feature.community::after {
  content: '💖';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  25% { opacity: 1; transform: scale(1.2); }
  50% { opacity: 0.9; transform: scale(1.1); }
  75% { opacity: 1; transform: scale(1.15); }
}

.manifest-quote {
  margin: 32px auto 18px auto;
  padding: 18px 24px;
  background: #22223a57;
  border-left: 4px solid #3f306c;
  border-radius: 10px;
  font-style: italic;
  color: #bcbcff;
  max-width: 700px;
  font-size: 1.15em;
}
.manifest-links {
  text-align: center;
  margin-top: 18px;
  font-size: 1.1em;
}
.manifest-link {
  color: #a78bfa;
  font-weight: 600;
  margin: 0 8px;
  word-break: break-all;
}
@media (max-width: 900px) {
  .manifest-section {
    padding: 32px 8vw 24px 8vw;
  }
  .manifest-features {
    flex-direction: column;
    gap: 18px;
  }
  .manifest-feature {
    min-width: 0;
    width: 100%;
  }
  .feature-compact {
    flex:0;
  }
}
.section-animate {
  opacity: 1; /* Changed from 0 to 1 to ensure content is visible */
  transform: translateY(0); /* Changed from translateY(40px) to ensure content is in position */
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.section-animate.visible {
  opacity: 1;
  transform: none;
}
.section-animate:nth-child(1) { transition-delay: 0s; }
.section-animate:nth-child(2) { transition-delay: 0s; }
.section-animate:nth-child(3) { transition-delay: 0s; }
.section-animate:nth-child(4) { transition-delay: 0s; }
.section-animate:nth-child(5) { transition-delay: 0s; }
.section-animate:nth-child(6) { transition-delay: 0s; }
.scroll-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1000;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.4s, transform 0.4s;
  box-shadow: 0 4px 24px 0 rgba(167,139,250,0.10);
  border-radius: 50%;
  padding: 0;
}
.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-to-top svg {
  display: block;
}
.scroll-to-top:hover svg circle {
  fill: #232326;
}
.scroll-to-top:hover svg path {
  stroke: #fff;
}
@media (max-width: 600px) {
  .scroll-to-top {
    right: 16px;
    bottom: 16px;
  }
}
#safari-bg-fix {
  transition: background 0.5s, opacity 0.5s;
}
#safari-bg-fix.transparent {
  background: none !important;
  opacity: 0;
  pointer-events: none;
}
/* Presentation slider styles */
.manifest-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 4vw;
  padding-bottom: 16px;
  scroll-behavior: auto;
}
.manifest-slider::-webkit-scrollbar {
  display: none;
}
.manifest-slider .manifest-block {
  flex: 0 0 80vw;
  max-width: 800px;
  min-height: 45vh;
  scroll-snap-align: start;
  background: #2e2e4626;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(167,139,250,0.05);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .manifest-slider .manifest-block {
    flex: 0 0 60vw;
  }
}
/* Slider arrow controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(46, 46, 70, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(167, 139, 250, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
  background: rgba(167, 139, 250, 0.4);
  border-color: rgba(167, 139, 250, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.6);
  opacity: 1;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
  left: -80px;
}

.slider-arrow.next {
  right: -80px;
}

.slider-arrow svg {
  transition: all 0.3s ease;
  width: 28px;
  height: 28px;
}

.slider-arrow:hover svg {
  transform: scale(1.2);
}

.slider-arrow:hover svg path {
  stroke: #ffffff;
}

/* Rubik local font */
@font-face {
  font-family: 'Rubik';
  src: url('../static/fonts/Rubik/Rubik-Regular.woff2') format('woff2'),
       url('../static/fonts/Rubik/Rubik-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../static/fonts/Rubik/Rubik-Bold.woff2') format('woff2'),
       url('../static/fonts/Rubik/Rubik-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Language switch */
.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 1100;
}
.lang-btn, .lang-toggle{ display:flex; align-items:center; justify-content:center; }
.lang-btn {
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  filter: grayscale(0.5);
  transition: filter 0.2s, background 0.3s;
}
.lang-btn.active, .lang-btn:hover {
  filter: grayscale(0);
  background: rgba(0,0,0,0.7);
}
.lang-btn:focus { outline: 2px solid #a78bfa; }

/* --- Language dropdown styles --- */
.lang-switch{ flex-direction:column; align-items:flex-end; gap:4px; position:relative; }
.lang-toggle{ background:rgba(0,0,0,0.4); border:none; border-radius:50%; width:40px; height:40px; font-size:25px; cursor:pointer; filter:grayscale(0.5); transition:filter 0.2s, background 0.3s, transform 0.2s; }
.lang-toggle:hover, .lang-toggle:focus, .lang-switch.open .lang-toggle{ filter:grayscale(0); background:rgba(0,0,0,0.7); transform:scale(1.05); }
.lang-btn{ display:flex; margin:2px; transition:all 0.2s ease; }
.lang-menu{ display:grid; grid-template-columns:repeat(7,45px); gap:4px; justify-content:center; position:absolute; top:100%; right:0; background:rgba(0,0,0,0.8); padding:8px; border-radius:12px; margin-top:4px; z-index:1000; backdrop-filter:blur(10px); border:1px solid rgba(167,139,250,0.2); transition:opacity 0.3s ease, transform 0.3s ease; opacity:0; transform:translateY(-10px); pointer-events:none; }
.lang-switch.open .lang-menu{ display:grid; opacity:1; transform:translateY(0); pointer-events:auto; }
.lang-switch{ flex-direction:column; }
.lang-switch.open{ width:auto; background:rgba(0,0,0,0.6); padding:8px; border-radius:12px; }
.lang-menu .active{ display:none !important; }
.lang-switch.open .lang-toggle{ display:none !important; }

/* Hide language menu by default on mobile devices */
@media (max-width: 768px) {
  .lang-menu {
    display: none !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
  }
  
  .lang-switch.open .lang-menu {
    display: grid !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* ----------- Mobile (<=480px) optimizations ----------- */
@media (max-width: 480px) {
  /* Disable ALL animations and transitions for very small screens - EXCLUDING SLIDER */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force immediate visibility of all content - EXCLUDING SLIDER */
  body,
  section,
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .manifest-block,
  .floating-element,
  .particle,
  .micro-particle,
  .background-circles {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Preserve slider functionality on small mobile */
  .modern-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.6s ease, visibility 0.6s ease !important;
  }
  
  .modern-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Language toggle mobile optimization */
  .lang-toggle {
    font-size: 18px;
    width: 36px;
    height: 36px;
  }
  
  .lang-switch.open .lang-toggle {
    font-size: 16px;
  }
  
  .lang-menu {
    grid-template-columns: repeat(4, 36px);
    gap: 4px;
    padding: 6px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
  
  .lang-btn {
    font-size: 16px;
    width: 36px;
    height: 36px;
  }
  
  /* General mobile optimizations */
  header h1 { 
    font-size: clamp(28px, 7vw, 36px); 
    line-height: 1.2;
  }
  header h2 { 
    font-size: clamp(16px, 4vw, 20px); 
  }
  .cta-button { 
    font-size: clamp(13px, 3vw, 16px); 
    padding: 8px 20px; 
  }
  .container { 
    padding: 15px 12px; 
  }
  .manifest-title { 
    font-size: clamp(18px, 4.5vw, 24px); 
  }
  .manifest-subtitle { 
    font-size: clamp(14px, 3.5vw, 18px); 
  }
  .manifest-list, .feature p, .privacy-note, .spoiler-content { 
    font-size: clamp(13px, 3vw, 15px); 
  }
  .manifest-list li {
    padding-left: 18px;
    margin-bottom: 6px;
  }
  .manifest-list li::before {
    font-size: 0.9em;
  }
  .lang-btn, .lang-toggle {  
    padding: 0; 
  }
  .manifest-slider .manifest-block { 
    flex: 0 0 95vw; 
    padding: 15px; 
    min-height: 35vh;
  }
  .slider-arrow { 
    width: 35px; 
    height: 35px; 
  }
  .feature-compact{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    white-space: nowrap;
    overflow: hidden;
  }
  .feature-compact .manifest-icon svg{ 
    width: 18px; 
    height: 18px; 
  }
  .feature-compact b{ 
    font-size: clamp(13px, 3vw, 15px); 
    line-height: 1.2; 
  }
  
  /* Mobile-specific scroll offset */
  html {
    scroll-padding-top: 15vh;
  }
  
  /* Mobile search section adjustments */
  section#search {
    min-height: 40vh;
    padding: 20px;
  }
  
  /* Mobile onion address input */
  .onion-address-input {
    font-size: clamp(11px, 2.8vw, 14px);
    padding: 10px 12px;
    width: 95%;
  }
  
  /* Mobile footer */
  footer {
    font-size: clamp(11px, 2.8vw, 13px);
    padding: 8px;
  }
  
  /* Mobile support section */
  .support-section {
    padding: 15px;
    margin: 30px auto;
  }
  
  .support-section h2 {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .support-section h3 {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  /* Mobile social section */
  .social {
    margin: 80px 0 60px;
    padding: 0 12px;
  }
  
  .telegram-card {
    max-width: 260px;
    padding: 12px;
  }
  
  .telegram-card-content {
    gap: 10px;
  }
  
  .telegram-icon {
    width: 35px;
    height: 35px;
  }
  
  .telegram-name {
    font-size: 14px;
  }
  
  .telegram-website {
    font-size: 12px;
  }
  
  .telegram-description,
  .telegram-subscribers {
    font-size: 10px;
  }
  
  .telegram-join-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  /* Mobile vision section */
  .vision-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  
  .vision-subtitle {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .vision-quote.primary {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .vision-quote.secondary {
    font-size: clamp(12px, 3vw, 15px);
  }
  
  /* Mobile manifest section */
  .manifest-title {
    font-size: clamp(18px, 4.5vw, 24px);
  }
  
  .manifest-subtitle {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .manifest-list {
    font-size: clamp(13px, 3vw, 15px);
  }
  
  .manifest-list li {
    padding-left: 18px;
    margin-bottom: 6px;
  }
  
  .manifest-list li::before {
    font-size: 0.9em;
  }
  
  /* Mobile feature text */
  .feature h4 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .feature p {
    font-size: clamp(13px, 3vw, 15px);
  }
  
  .feature-title {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .feature-list li {
    font-size: clamp(12px, 2.8vw, 14px);
    padding-left: 14px;
  }
  
  .plan-title {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .plan-list li {
    font-size: clamp(12px, 2.8vw, 14px);
    padding-left: 14px;
  }
  
  /* Mobile privacy note */
  .privacy-note {
    font-size: clamp(13px, 3vw, 15px);
    padding: 12px;
    margin-top: 15px;
  }
  
  /* Mobile spoiler */
  .spoiler-button {
    font-size: clamp(13px, 3vw, 15px);
    padding: 6px 12px;
  }
  
  .spoiler-content {
    font-size: clamp(13px, 3vw, 15px);
    padding: 12px;
  }
  
  /* Mobile compact features */
  .feature-compact {
    gap: 6px;
    padding: 6px 10px;
  }
  
  .feature-compact .manifest-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .feature-compact b {
    font-size: clamp(13px, 3vw, 15px);
  }
  
  /* Mobile scroll offset */
  html {
    scroll-padding-top: 15vh;
  }
}
/* ---- Global layout safety ---- */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ width:100%; max-width:100%; overflow-x:hidden; }

/* Remove problematic scroll settings that cause unwanted scroll-to-top */
html {
  /* Remove scroll-padding-top that can cause unwanted scrolling */
  /* scroll-padding-top: 50vh; */
  /* Remove all smooth scrolling to prevent unwanted behavior */
  scroll-behavior: auto;
  scroll-padding-top: 20vh; /* Add padding for anchor scrolling to center */
}

/* Remove smooth scrolling from all elements */
.manifest-slider,
.modern-slider,
.scroll-to-top,
a[href^="#"]:not([data-no-scroll]) {
  scroll-behavior: auto;
}

/* Remove problematic scroll-margin-top fallback */
/* @supports not (scroll-padding-top: 50vh) {
  section#search {
    scroll-margin-top: 50vh;
  }
} */
img{ max-width:100%; height:auto; }
/* Responsive onion URL */
section#search a[href*=".onion"]{
  display:inline-block;
  font-size:clamp(2px,2.8vw,22px);
  white-space:nowrap;
}

/* Enhanced search section styling */
section#search {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  scroll-margin-top: 20vh; /* Add margin for anchor scrolling to center */
}
/* Animated shadow keyframes for QR code */
@keyframes qrShadowPulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 25px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 35px rgba(0, 0, 0, 0.1));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
  }
}

@keyframes qrGlow {
  0% {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.2));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.2));
  }
}

/* Fallback for browsers that don't support drop-shadow */
@supports not (filter: drop-shadow(0 0 5px rgba(0,0,0,0.5))) {
  .social-telegram .social-tooltip {
    animation: none;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
  }
  
  .social-telegram:hover .social-tooltip {
    animation: none;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  }
}

/* Tooltip for Telegram icon */
.social-telegram:hover .social-tooltip{ opacity:1; transform:translate(-50%,-6px); }
.social-telegram .social-tooltip{
  position:absolute; bottom:110%; left:50%; transform:translateX(-50%) scale(1);
  transform-origin:center bottom;
  width:120px; background:transparent; padding:0; border-radius:0; box-shadow:none;
  z-index:9999;
  opacity:0; pointer-events:none; transition:opacity .2s, transform .25s ease;
  animation: qrShadowPulse 3s ease-in-out infinite;
}
/* enlarge 5x on hover */
.social-telegram:hover .social-tooltip{
  opacity:1;
  transform:translate(-50%,-6px) scale(2);
  animation: qrGlow 2s ease-in-out infinite;
}
@media (max-width:480px){ 
  .social-telegram .social-tooltip{ 
    width:90px; 
    background:transparent; 
    padding:0; 
    border-radius:0; 
    box-shadow:none;
    animation: qrShadowPulse 3s ease-in-out infinite;
  } 
  
  .social-telegram:hover .social-tooltip{
    animation: qrGlow 2s ease-in-out infinite;
  }
}
/* pointer cursor */
.social-telegram svg{ cursor:pointer; }
/* --- Support / Donations section --- */
.support-section{
  background:#0907074f;
  color:#eee;
  padding:2rem;
  border-radius:12px;
  max-width:700px;
  margin:80px auto;
  font-family:sans-serif;
}
.support-section h2{
  font-size:1.8rem;
  margin-bottom:0.5rem;
  text-align:center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  width: 100%;
  position: relative;
}
.support-section h2 .heart-icon{
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  display: inline-block;
}
.support-section h3{
  font-size:1.2rem;
  margin:1.2rem 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.support-section h3 .monero-icon{
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.3em;
}
.support-section h3 .bitcoin-icon{
  width: 1.9em;
  height: 1.9em;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.3em;
  margin-left: -0.35em;
}
.support-section p{
  color:#ccc;
  line-height:1.6;
}
.donation-address{
  display:flex;
  align-items:center;
  background:rgba(34, 34, 34, 0.8);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(167, 139, 250, 0.2);
  padding:0.5rem 1rem;
  border-radius:12px;
  font-family:monospace;
  word-break:break-all;
  box-shadow:0 4px 6px rgba(0, 0, 0, 0.1);
  transition:all 0.3s ease;
}

@supports not (backdrop-filter: blur(10px)) {
  .donation-address {
    background:rgba(34, 34, 34, 0.9);
  }
}

.donation-address:hover{
  background:rgba(34, 34, 34, 0.4);
  border-color:rgba(167, 139, 250, 0.4);
  box-shadow:0 6px 12px rgba(0, 0, 0, 0.15);
}
.copy-btn{
  margin-left:auto;
  background:rgba(51, 51, 51, 0.8);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  color:#eee;
  border:1px solid rgba(167, 139, 250, 0.3);
  padding:0.3rem 0.6rem;
  border-radius:6px;
  cursor:pointer;
  transition:all 0.3s ease;
}

@supports not (backdrop-filter: blur(5px)) {
  .copy-btn {
    background:rgba(51, 51, 51, 0.9);
  }
}
.copy-btn:hover,
.copy-btn:focus{
  background:rgba(63, 63, 63, 0.8);
  border-color:rgba(167, 139, 250, 0.6);
  transform:translateY(-1px);
}
/* Font sizes for donation addresses */
#btcAddress{ font-size:15px; }
#xmrAddress{ font-size:9px; }
/* Consistent copy button */
.copy-btn{
  font-size:14px;
  width:36px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.donation-address span{
  flex:1;
  text-align:center;
} 
.beta-note {
  margin-top: 20px;
  font-size: 18px;
  color: #a78bfa;
  animation: betaGlow 3s ease-in-out infinite alternate;
}

@keyframes betaGlow {
  from { text-shadow: 0 0 5px rgba(167, 139, 250, 0.3); }
  to { text-shadow: 0 0 15px rgba(167, 139, 250, 0.6); }
}

.small-note {
  font-size: 14px;
  color: #3e3e3e;
  transition: color 0.3s ease;
}

.small-note:hover {
  color: #666;
}

.privacy-note {
  text-align: center;
  font-size: 4vw;
  margin-top: 30px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background: rgba(167, 139, 250, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
}

.privacy-note:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.2);
  transform: translateY(-2px);
}

footer {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 3.5vw;
  color: #666;
  border-top: 1px solid rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
  margin-top: 40px;
  padding: 20px 0;
}

footer:hover {
  
  border-top-color: rgba(167, 139, 250, 0.2);
}

a {
  color: #a78bfa;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color:#fff;
  text-shadow: 0 10px 30px rgba(72, 70, 77, 0.4);
}

.spoiler {
  margin-top: 20px;
  text-align: center;
}

.spoiler-content {
  display: none;
  margin-top: 20px;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 0 20px rgba(167,139,250,0.1);
  font-size: 4vw;
  transition: all 0.3s ease;
  animation: spoilerSlideIn 0.5s ease-out;
}

@keyframes spoilerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spoiler-button {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  color: #a78bfa;
  border: .1px solid rgba(167, 139, 250, 0.3);
  border-radius: 5px;
  font-size: 5vw;
  cursor: pointer;
  margin-top: 10px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.spoiler-button:hover {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(167, 139, 250, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(167, 139, 250, 0.3);
}

p, .privacy-note, .spoiler-content p {
  word-break: break-word;
}

@media (min-width: 768px) {
  header h1 { font-size: 56px; }
  header h2 { font-size: 28px; }
  .cta-button { font-size: 22px; }
  h3 { font-size: 40px; }
  .feature h4 { font-size: 24px; }
  .feature p, .privacy-note, .spoiler-content { font-size: 18px; }
  footer { font-size: 16px; }
  .spoiler-button { font-size: 18px; }
}

.social {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 250px 0px 150px;
  padding: 0 20px;
}
.social-link {
  display: inline-block;
  cursor: pointer;
}

/* Telegram Card Styles - Fixed */
.telegram-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgb(21, 18, 30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  padding: 20px;
  max-width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.telegram-card:hover {
  background: rgb(23, 20, 32);
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

@supports not (backdrop-filter: blur(10px)) {
  .telegram-card {
    background: rgba(34, 34, 34, 0.9);
  }
}

.telegram-card-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.telegram-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(21, 18, 30);
  border-radius: 50%;
  overflow: hidden;
}

.telegram-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.telegram-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.telegram-name {
  font-size: 18px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telegram-website {
  font-size: 14px;
  color: #888;
  margin-bottom: 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telegram-description {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telegram-subscribers {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telegram-join-btn {
  background: #0088cc;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.telegram-join-btn:hover {
  background: #0077b3;
  transform: translateY(-1px);
}

/* RTL support for telegram card */
[dir="rtl"] .telegram-card-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .telegram-info {
  text-align: right;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .telegram-card {
    max-width: 280px;
    padding: 16px;
    margin: 0 auto;
    display: block;
  }
  
  .telegram-card-content {
    gap: 12px;
  }
  
  .telegram-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  .telegram-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .telegram-name {
    font-size: 16px;
  }
  
  .telegram-website {
    font-size: 13px;
  }
  
  .telegram-description,
  .telegram-subscribers {
    font-size: 11px;
  }
  
  .telegram-join-btn {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}
.centered-text {
  text-align: center;
}
.max-width-900 {
  max-width: 900px;
  margin: 0 auto;
}
.bold {
  font-weight: bold;
}
.margin-top-30 {
  margin-top: 30px;
}
.font-20 {
  font-size: 20px;
}
.font-18 {
  font-size: 18px;
}
.font-24 {
  font-size: 24px;
}
.purple-text {
  color: #a78bfa;
}
.light-purple-text {
  color: #bcbcff;
}
.margin-top-10 {
  margin-top: 10px;
} 

.arabic-text {
  direction: rtl;
  text-align: right;
}

/* RTL support for manifest lists */
[dir="rtl"] .manifest-list {
  padding-left: 0;
  padding-right: 28px;
}

[dir="rtl"] .manifest-list li {
  padding-left: 0;
  padding-right: 28px;
}

[dir="rtl"] .manifest-list li::before {
  left: auto;
  right: 0;
}

@media (max-width: 480px) {
  [dir="rtl"] .manifest-list li {
    padding-right: 24px;
  }
}

/* Vision Section - Redesigned */
.vision-header {
  text-align: center;
  margin-bottom: 3rem;
}

.vision-title {
  font-size: 2.5rem;
  color: #a78bfa;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

.vision-subtitle {
  font-size: 1.3rem;
  color: #ccc;
  font-weight: 300;
  line-height: 1.6;
}

/* Vision Principles - 3x2 Grid */
.vision-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.principle-card {
  background: rgba(46, 46, 70, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 8s ease-in-out infinite;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.principle-card:nth-child(1) { animation-delay: 0s; }
.principle-card:nth-child(2) { animation-delay: 0.2s; }
.principle-card:nth-child(3) { animation-delay: 0.4s; }
.principle-card:nth-child(4) { animation-delay: 0.6s; }
.principle-card:nth-child(5) { animation-delay: 0.8s; }
.principle-card:nth-child(6) { animation-delay: 1s; }

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

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

.principle-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
  border-color: rgba(167, 139, 250, 0.4);
}

.principle-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}
.principle-icon .detective-icon {
  width: 3rem;
  height: 3rem;
  display: block;
}
.principle-icon .anon-icon {
  width: 4rem;
  height: 4rem;
  display: block;
  object-fit: contain;
}

.principle-card:hover .principle-icon {
  transform: scale(1.2) rotate(5deg);
}

.principle-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a78bfa;
  margin: 0 0 1rem 0;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.principle-card:hover h3 {
  color: #8b5cf6;
  transform: scale(1.05);
}

.principle-card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  transition: all 0.3s ease;
}

.principle-card:hover p {
  color: #e0e0e0;
}

/* Responsive Design for Vision Principles */
@media (max-width: 1024px) {
  .vision-principles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .principle-card {
    padding: 1.5rem;
    height: 250px;
  }
  
  .principle-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .principle-card h3 {
    font-size: 1.3rem;
  }
  
  .principle-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .vision-principles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .principle-card {
    padding: 1.2rem;
    height: auto;
    min-height: 200px;
  }
  
  .principle-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  
  .principle-card h3 {
    font-size: 1.2rem;
  }
  
  .principle-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .vision-principles {
    gap: 0.8rem;
  }
  
  .principle-card {
    padding: 1rem;
    min-height: 180px;
  }
  
  .principle-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }
  
  .principle-card h3 {
    font-size: 1.1rem;
  }
  
  .principle-card p {
    font-size: 0.85rem;
  }
}



.vision-quotes {
  margin: 4rem 0;
  text-align: center;
}

.quote-container {
  max-width: 800px;
  margin: 0 auto;
}

.vision-quote.primary {
  font-size: 2rem;
  color: #a78bfa;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(167, 139, 250, 0.3);
}

.vision-quote.secondary {
  font-size: 1.3rem;
  color: #ccc;
  font-weight: 300;
  font-style: italic;
}

.vision-future {
  margin: 4rem 0;
}

.future-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(167, 139, 250, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.2rem;
}

.feature-item span:last-child {
  color: #a78bfa;
  font-weight: 500;
}

.contact-section {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(34, 34, 34, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.1);
}

.contact-section h3 {
  font-size: 1.5rem;
  color: #a78bfa;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Legacy vision styles for backward compatibility */
.vision-text {
  text-align: center;
  font-size: 22px;
  margin-bottom: 25px;
  color: #a78bfa;
  font-weight: 300;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vision-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vision-item {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 30px 20px;
  background: rgba(167, 139, 250, 0.05);
  border-radius: 16px;
  border: 2px solid rgba(167, 139, 250, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.vision-item:nth-child(1) { animation-delay: 0s; }
.vision-item:nth-child(2) { animation-delay: 0.1s; }
.vision-item:nth-child(3) { animation-delay: 0.2s; }
.vision-item:nth-child(4) { animation-delay: 0.3s; }

.vision-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vision-item:hover::before {
  opacity: 1;
}

.vision-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  border-color: rgba(167, 139, 250, 0.4);
}

.vision-item b {
  color: #a78bfa;
  font-size: 22px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.vision-global {
  text-align: center;
  margin: 50px auto 30px;
  font-size: 28px;
  font-weight: 400;
  padding: 25px 40px;
  background: rgba(167, 139, 250, 0.03);
  border-radius: 20px;
  border: 2px solid rgba(167, 139, 250, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.vision-global::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vision-global:hover::before {
  opacity: 1;
}

.vision-global:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
  border-color: rgba(167, 139, 250, 0.25);
}

.vision-global .vision-icon {
  font-size: 42px;
  margin-right: 15px;
  filter: drop-shadow(0 3px 6px rgba(167, 139, 250, 0.4));
  position: relative;
  z-index: 1;
}

.vision-global b {
  color: #a78bfa;
  font-weight: 500;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.vision-anonymous {
  text-align: center;
  margin: 30px auto;
  font-size: 24px;
  font-weight: 400;
  padding: 20px 35px;
  background: rgba(167, 139, 250, 0.03);
  border-radius: 18px;
  border: 2px solid rgba(167, 139, 250, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 350px;
  position: relative;
  overflow: hidden;
}

.vision-anonymous::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.06) 0%, rgba(139, 92, 246, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vision-anonymous:hover::before {
  opacity: 1;
}

.vision-anonymous:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
  border-color: rgba(167, 139, 250, 0.2);
}

.vision-anonymous b {
  color: #a78bfa;
  font-weight: 500;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.vision-quote {
  text-align: center;
  font-size: 24px;
  margin: 25px 0;
  color: #a78bfa;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  position: relative;
  padding: 20px 30px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 15px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vision-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.3);
}

.vision-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 60px;
  color: rgba(167, 139, 250, 0.3);
  font-family: serif;
  line-height: 1;
  animation: fadeInQuote 1s ease-out 0.3s both;
}

.vision-quote::after {
  content: '"';
  position: absolute;
  bottom: -40px;
  right: 20px;
  font-size: 60px;
  color: rgba(167, 139, 250, 0.3);
  font-family: serif;
  line-height: 1;
  animation: fadeInQuote 1s ease-out 0.5s both;
}

@keyframes fadeInQuote {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.vision-blockquote {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: rgba(167, 139, 250, 0.1);
  border-left: 4px solid #a78bfa;
  border-radius: 5px;
}

.vision-blockquote p {
  margin: 0;
  font-size: 18px;
  color: #ccc;
}

.contact-info {
  text-align: center;
  margin: 30px 0;
  font-size: 16px;
  color: #ccc;
}

.contact-info a {
  color: #a78bfa;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* How it works section */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.how-item {
  text-align: center;
  padding: 30px;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.how-item h4 {
  color: #a78bfa;
  font-size: 22px;
  margin-bottom: 15px;
}

.how-item p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

/* Onion guide styles */
.onion-guide {
  text-align: center;
  margin: 30px 0;
}

.onion-how-btn {
  background: #a78bfa;
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.onion-how-btn:hover {
  background: #8b5cf6;
}

.spoiler-content {
  margin-top: 20px;
  padding: 20px;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.spoiler-content p {
  margin: 10px 0;
  color: #ccc;
  font-size: 16px;
}

/* Responsive design for new sections */
@media (max-width: 768px) {
  .vision-principles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .principle-card {
    padding: 1.5rem;
  }

  .principle-icon {
    font-size: 2.5rem;
  }

  .principle-card h3 {
    font-size: 1.3rem;
  }



  .vision-quote.primary {
    font-size: 1.6rem;
  }

  .vision-quote.secondary {
    font-size: 1.1rem;
  }

  .future-features {
    gap: 2rem;
  }

  .feature-item {
    padding: 0.6rem 1.2rem;
  }

  /* Legacy vision styles */
  .vision-grid {
    gap: 15px;
    max-width: 600px;
  }
  
  .vision-item {
    min-width: 140px;
    max-width: 180px;
    padding: 25px 15px;
  }
  
  .vision-item b {
    font-size: 20px;
  }
  
  .vision-global {
    font-size: 24px;
    padding: 20px 30px;
    max-width: 350px;
  }
  
  .vision-global .vision-icon {
    font-size: 36px;
  }
  
  .vision-quote {
    font-size: 18px;
    padding: 15px 20px;
  }
  
  .vision-quote::before,
  .vision-quote::after {
    font-size: 40px;
  }
  
  .vision-quote::before {
    top: -5px;
    left: 15px;
  }
  
  .vision-quote::after {
    bottom: -30px;
    right: 15px;
  }
  
  .how-it-works {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .how-item {
    padding: 20px;
  }
  
  .how-item h4 {
    font-size: 20px;
  }
}

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

  .principle-card {
    padding: 1.2rem;
  }

  .principle-icon {
    font-size: 2rem;
  }

  .principle-card h3 {
    font-size: 1.2rem;
  }

  .principle-card p {
    font-size: 0.9rem;
  }

  .vision-mission {
    gap: 1.5rem;
  }

  .mission-global,
  .mission-anonymous {
    padding: 1.2rem;
    flex-direction: column;
    text-align: center;
  }

  .mission-anonymous {
    flex-direction: column;
  }

  .mission-icon {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
  }

  .mission-content h3 {
    font-size: 1.3rem;
  }

  .mission-content p {
    font-size: 0.9rem;
  }

  .vision-quote.primary {
    font-size: 1.4rem;
  }

  .vision-quote.secondary {
    font-size: 1rem;
  }

  .future-features {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }

  .contact-section {
    padding: 1.5rem;
  }

  .contact-section h3 {
    font-size: 1.3rem;
  }

  /* Legacy vision styles */
  .vision-grid {
    gap: 12px;
    max-width: 100%;
  }
  
  .vision-item {
    min-width: 120px;
    max-width: 150px;
    padding: 20px 12px;
  }
  
  .vision-item b {
    font-size: 18px;
  }
  
  .vision-global {
    font-size: 22px;
    padding: 18px 25px;
    max-width: 300px;
    margin: 40px auto 25px;
  }
  
  .vision-global .vision-icon {
    font-size: 32px;
    margin-right: 12px;
  }
  
  .vision-text {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .vision-quote {
    font-size: 16px;
    padding: 12px 15px;
    margin: 20px 0;
  }
  
  .vision-quote::before,
  .vision-quote::after {
    font-size: 35px;
  }
  
  .vision-quote::before {
    top: -3px;
    left: 10px;
  }
  
  .vision-quote::after {
    bottom: -25px;
    right: 10px;
  }
  
  .vision-anonymous {
    font-size: 18px;
    padding: 15px 20px;
    max-width: 280px;
  }
} 

/* CSS Variables for dynamic effects */
:root {
  --mouse-x: 0px;
  --mouse-y: 0px;
  --card-glow: 0px;
}

/* Enhanced card hover effects with mouse tracking */
.feature, .manifest-feature, .principle-card {
  position: relative;
  overflow: hidden;
}

.feature::after, .manifest-feature::after, .principle-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    rgba(167, 139, 250, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature:hover::after, .manifest-feature:hover::after, .principle-card:hover::after {
  opacity: 1;
}

/* Enhanced vision cards with special effects */
.vision-item {
  position: relative;
  overflow: hidden;
}

.vision-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    rgba(167, 139, 250, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.vision-item:hover::after {
  opacity: 1;
}

/* Enhanced button effects */
.cta-button, .spoiler-button, .onion-how-btn {
  position: relative;
  overflow: hidden;
}

.cta-button::after, .spoiler-button::after, .onion-how-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    rgba(167, 139, 250, 0.2) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cta-button:hover::after, .spoiler-button:hover::after, .onion-how-btn:hover::after {
  opacity: 1;
}

/* Enhanced floating elements with more variety */
.floating-element:nth-child(6) {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 5%;
  animation-duration: 22s;
  animation-delay: -12s;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(219, 39, 119, 0.05) 50%, transparent 100%);
}

.floating-element:nth-child(7) {
  width: 90px;
  height: 90px;
  top: 15%;
  left: 80%;
  animation-duration: 28s;
  animation-delay: -18s;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 100%);
}

.floating-element:nth-child(8) {
  width: 70px;
  height: 70px;
  bottom: 10%;
  left: 70%;
  animation-duration: 24s;
  animation-delay: -14s;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.05) 50%, transparent 100%);
}

/* Enhanced particle animations */
.particle {
  position: absolute;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  animation: float 20s infinite ease-in-out;
  transition: all 0.3s ease;
}

.particle:hover {
  transform: scale(2);
  box-shadow: 0 0 10px currentColor;
}

/* New micro particles system */
.micro-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -4;
  pointer-events: none;
  overflow: hidden;
}

.micro-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(167,139,250,0.4) 0%, rgba(167,139,250,0.2) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  animation: microParticleFloat linear infinite;
  opacity: 0;
}

.micro-particle.tiny {
  width: 1px;
  height: 1px;
  background: radial-gradient(circle, rgba(167,139,250,0.6) 0%, rgba(167,139,250,0.3) 50%, transparent 100%);
}

.micro-particle.small {
  width: 2px;
  height: 2px;
  background: radial-gradient(circle, rgba(167,139,250,0.5) 0%, rgba(167,139,250,0.25) 50%, transparent 100%);
}

.micro-particle.medium {
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, rgba(167,139,250,0.4) 0%, rgba(167,139,250,0.2) 50%, transparent 100%);
}

.micro-particle.purple {
  background: radial-gradient(circle, rgba(167,139,250,0.4) 0%, rgba(167,139,250,0.2) 50%, transparent 100%);
}

.micro-particle.blue {
  background: radial-gradient(circle, rgba(59,130,246,0.4) 0%, rgba(59,130,246,0.2) 50%, transparent 100%);
}

.micro-particle.pink {
  background: radial-gradient(circle, rgba(236,72,153,0.4) 0%, rgba(236,72,153,0.2) 50%, transparent 100%);
}

.micro-particle.cyan {
  background: radial-gradient(circle, rgba(34,211,238,0.4) 0%, rgba(34,211,238,0.2) 50%, transparent 100%);
}

.micro-particle.green {
  background: radial-gradient(circle, rgba(34,197,94,0.4) 0%, rgba(34,197,94,0.2) 50%, transparent 100%);
}

@keyframes microParticleFloat {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 0.3;
  }
  95% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-50px) translateX(var(--drift)) rotate(180deg);
    opacity: 0;
  }
}

/* Micro particle glow effect */
.micro-particle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300%;
  height: 300%;
  background: inherit;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(0.5px);
  z-index: -1;
}

/* Enhanced section animations with stagger */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

.section-animate:nth-child(1) { transition-delay: 0s; }
.section-animate:nth-child(2) { transition-delay: 0s; }
.section-animate:nth-child(3) { transition-delay: 0s; }
.section-animate:nth-child(4) { transition-delay: 0s; }
.section-animate:nth-child(5) { transition-delay: 0s; }
.section-animate:nth-child(6) { transition-delay: 0s; }

.section-animate.visible {
  opacity: 1;
  transform: none;
}

/* Enhanced manifest slider with smooth transitions */
.manifest-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 4vw;
  padding-bottom: 16px;
  scroll-behavior: auto;
  position: relative;
}

.manifest-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(167, 139, 250, 0.05) 20%, 
    rgba(167, 139, 250, 0.05) 80%, 
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}



/* Final enhancements for mobile responsiveness */
@media (max-width: 480px) {
  .vision-principles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .principle-card {
    padding: 1.2rem;
  }

  .principle-icon {
    font-size: 2rem;
  }

  .principle-card h3 {
    font-size: 1.2rem;
  }

  .principle-card p {
    font-size: 0.9rem;
  }

  .vision-mission {
    gap: 1.5rem;
  }

  .mission-global,
  .mission-anonymous {
    padding: 1.2rem;
    flex-direction: column;
    text-align: center;
  }

  .mission-anonymous {
    flex-direction: column;
  }

  .mission-icon {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
  }

  .mission-content h3 {
    font-size: 1.3rem;
  }

  .mission-content p {
    font-size: 0.9rem;
  }

  .vision-quote.primary {
    font-size: 1.4rem;
  }

  .vision-quote.secondary {
    font-size: 1rem;
  }

  .future-features {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }

  .contact-section {
    padding: 1.5rem;
  }

  .contact-section h3 {
    font-size: 1.3rem;
  }

  /* Enhanced mobile animations */
  .floating-element {
    animation-duration: 15s !important;
  }
  
  .particle {
    animation-duration: 12s !important;
  }
  
  .feature, .manifest-feature {
    animation-duration: 4s !important;
  }

  /* Legacy vision styles */
  .vision-grid {
    gap: 12px;
    max-width: 100%;
  }
  
  .vision-item {
    min-width: 120px;
    max-width: 150px;
    padding: 20px 12px;
  }
  
  .vision-item b {
    font-size: 18px;
  }
  
  .vision-global {
    font-size: 22px;
    padding: 18px 25px;
    max-width: 300px;
    margin: 40px auto 25px;
  }
  
  .vision-global .vision-icon {
    font-size: 32px;
    margin-right: 12px;
  }
  
  .vision-text {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .vision-quote {
    font-size: 16px;
    padding: 12px 15px;
    margin: 20px 0;
  }
  
  .vision-quote::before,
  .vision-quote::after {
    font-size: 35px;
  }
  
  .vision-quote::before {
    top: -3px;
    left: 10px;
  }
  
  .vision-quote::after {
    bottom: -25px;
    right: 10px;
  }
  
  .vision-anonymous {
    font-size: 18px;
    padding: 15px 20px;
    max-width: 280px;
  }
}

/* Performance optimizations and accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions for users who prefer reduced motion */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force all content to be visible immediately */
  body,
  section,
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .modern-slide,
  .manifest-block,
  .slide-content,
  .slide-header,
  .slide-body,
  .slide-highlight,
  .slide-list,
  .slide-list li,
  .floating-element,
  .particle,
  .micro-particle,
  .background-circles,
  .background-elements {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Ensure all animated elements are visible */
  .section-animate.visible,
  .feature.visible,
  .manifest-feature.visible,
  .principle-card.visible,
  .feature-card.visible,
  .plan-card.visible,
  .vision-item.visible,
  .modern-slide.active,
  .manifest-block.active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .floating-element {
    opacity: 0.8;
  }
  
  .particle {
    opacity: 0.9;
  }
  
  .feature,
  .manifest-feature {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .background-elements,
  .particles,
  .floating-element {
    display: none !important;
  }
  
  .feature,
  .manifest-feature {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* New Features Grid - Modern Card Design */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: rgba(46, 46, 70, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 24px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: cardFloat 8s ease-in-out infinite;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.6s; }
.feature-card:nth-child(5) { animation-delay: 0.8s; }
.feature-card:nth-child(6) { animation-delay: 1s; }
.feature-card:nth-child(7) { animation-delay: 1.2s; }
.feature-card:nth-child(8) { animation-delay: 1.4s; }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  border-color: rgba(167, 139, 250, 0.4);
}

/* Feature Header */
.feature-header {
  padding: 2rem 2rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem auto;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(167, 139, 250, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

.feature-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a78bfa;
  margin: 0;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #8b5cf6;
  transform: scale(1.05);
}

/* Feature Content */
.feature-content {
  padding: 0 2rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
  transition: all 0.3s ease;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: #a78bfa;
  font-weight: bold;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-list li::before {
  color: #8b5cf6;
  transform: translateX(5px);
}

.feature-card:hover .feature-list li {
  color: #e0e0e0;
  transform: translateX(5px);
}

/* Feature Footer */
.feature-footer {
  padding: 1rem 2rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-status {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  color: #a78bfa;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-status {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
  border-color: rgba(167, 139, 250, 0.5);
  color: #8b5cf6;
  transform: scale(1.05);
}

/* Card Type Variations */
.feature-card.core .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-card.core:hover .feature-icon-wrapper {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.feature-card.encyclopedia .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(167, 139, 250, 0.3);
}

.feature-card.encyclopedia:hover .feature-icon-wrapper {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

.feature-card.global .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.feature-card.global:hover .feature-icon-wrapper {
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.feature-card.help .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.feature-card.help:hover .feature-icon-wrapper {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.feature-card.tools .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-card.tools:hover .feature-icon-wrapper {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.feature-card.search .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(167, 139, 250, 0.3);
}

.feature-card.search:hover .feature-icon-wrapper {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

.feature-card.social .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.feature-card.social:hover .feature-icon-wrapper {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.feature-card.ads .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.feature-card.ads:hover .feature-icon-wrapper {
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

/* Status Colors */
.feature-card.core .feature-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.feature-card.core:hover .feature-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.5);
  color: #2563eb;
}

.feature-card.global .feature-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.feature-card.global:hover .feature-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.2) 100%);
  border-color: rgba(34, 197, 94, 0.5);
  color: #16a34a;
}

.feature-card.help .feature-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  color: #ec4899;
}

.feature-card.help:hover .feature-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.2) 100%);
  border-color: rgba(236, 72, 153, 0.5);
  color: #db2777;
}

.feature-card.tools .feature-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.feature-card.tools:hover .feature-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.5);
  color: #2563eb;
}

.feature-card.social .feature-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  color: #ec4899;
}

.feature-card.social:hover .feature-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.2) 100%);
  border-color: rgba(236, 72, 153, 0.5);
  color: #db2777;
}

.feature-card.ads .feature-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.feature-card.ads:hover .feature-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.2) 100%);
  border-color: rgba(34, 197, 94, 0.5);
  color: #16a34a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 0;
  }
  
  .feature-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .feature-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .feature-content {
    padding: 0 1.5rem 1rem 1.5rem;
  }
  
  .feature-list li {
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }
  
  .feature-footer {
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  }
  
  .feature-status {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    animation-duration: 6s !important;
  }
  
  .feature-header {
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  }
  
  .feature-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .feature-icon {
    font-size: 1.8rem;
  }
  
  .feature-title {
    font-size: 1.2rem;
  }
  
  .feature-content {
    padding: 0 1.2rem 0.8rem 1.2rem;
  }
  
  .feature-list li {
    font-size: 0.85rem;
    padding-left: 1rem;
  }
  
  .feature-footer {
    padding: 0.6rem 1.2rem 1.2rem 1.2rem;
  }
  
  .feature-status {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Modern Manifest Slider - Redesigned */
.manifest-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}

.manifest-block {
  display: none;
  background: rgba(46, 46, 70, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: manifestCardFloat 10s ease-in-out infinite;
}

.manifest-block.active {
  display: block;
}

.manifest-block:nth-child(1) { animation-delay: 0s; }
.manifest-block:nth-child(2) { animation-delay: 0.5s; }
.manifest-block:nth-child(3) { animation-delay: 1s; }
.manifest-block:nth-child(4) { animation-delay: 1.5s; }

.manifest-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.manifest-block:hover::before {
  opacity: 1;
}

.manifest-block:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border-color: rgba(167, 139, 250, 0.4);
}

.manifest-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #a78bfa;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.manifest-block:hover .manifest-subtitle {
  color: #8b5cf6;
  transform: scale(1.05);
}

.manifest-block p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.manifest-block:hover p {
  color: #e0e0e0;
}

.manifest-block b {
  color: #a78bfa;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.manifest-block:hover b {
  color: #8b5cf6;
}

.manifest-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.manifest-list li {
  padding: 0.75rem 0;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 2rem;
  transition: all 0.3s ease;
}

.manifest-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: #a78bfa;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.manifest-block:hover .manifest-list li::before {
  color: #8b5cf6;
  transform: rotate(15deg) scale(1.2);
}

.manifest-block:hover .manifest-list li {
  color: #e0e0e0;
  transform: translateX(8px);
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(46, 46, 70, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(167, 139, 250, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
  background: rgba(167, 139, 250, 0.4);
  border-color: rgba(167, 139, 250, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.6);
  opacity: 1;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-arrow.prev {
  left: -80px;
}

.slider-arrow.next {
  right: -80px;
}

.slider-arrow svg {
  transition: all 0.3s ease;
  width: 28px;
  height: 28px;
}

.slider-arrow:hover svg {
  transform: scale(1.2);
}

.slider-arrow:hover svg path {
  stroke: #ffffff;
}

/* Slider Container */
.manifest-section {
  position: relative;
  padding: 0 3rem;
  margin: 4rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(167, 139, 250, 0.3);
  border: 2px solid rgba(167, 139, 250, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.slider-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #a78bfa;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: rgba(167, 139, 250, 0.8);
  border-color: #a78bfa;
  transform: scale(1.2);
}

.slider-dot.active::before {
  width: 100%;
  height: 100%;
}

.slider-dot:hover {
  background: rgba(167, 139, 250, 0.5);
  border-color: #8b5cf6;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .manifest-section {
    padding: 0 2.5rem;
  }
  
  .manifest-slider {
    max-width: 600px;
  }
  
  .manifest-block {
    padding: 2rem;
  }
  
  .slider-arrow {
    width: 45px;
    height: 45px;
  }
  
  .slider-arrow.prev {
    left: -30px;
  }
  
  .slider-arrow.next {
    right: -30px;
  }
  
  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .manifest-subtitle {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .manifest-section {
    padding: 0 2rem;
  }
  
  .manifest-slider {
    max-width: 100%;
  }
  
  .manifest-block {
    padding: 1.5rem;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  
  .slider-arrow.prev {
    left: -25px;
  }
  
  .slider-arrow.next {
    right: -25px;
  }
  
  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }
  
  .manifest-subtitle {
    font-size: 1.4rem;
  }
  
  .manifest-block p {
    font-size: 1rem;
  }
  
  .manifest-list li {
    font-size: 0.95rem;
    padding-left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .manifest-section {
    padding: 0 2rem;
  }
  
  .manifest-block {
    padding: 1.2rem;
    animation-duration: 8s !important;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  
  .slider-arrow.prev {
    left: -20px;
  }
  
  .slider-arrow.next {
    right: -20px;
  }
  
  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .manifest-subtitle {
    font-size: 1.3rem;
  }
  
  .manifest-block p {
    font-size: 0.95rem;
  }
  
  .manifest-list li {
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }
  
  .slider-dots {
    gap: 0.5rem;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .manifest-block {
    animation: none;
  }
  
  .slider-arrow {
    transition: none;
  }
  
  .slider-dot {
    transition: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .manifest-block {
    border: 2px solid #a78bfa;
  }
  
  .slider-arrow {
    border: 2px solid #a78bfa;
    background: rgba(0, 0, 0, 0.9);
  }
  
  .slider-dot {
    border: 2px solid #a78bfa;
  }
}

/* Arrow Animation */
@keyframes arrowPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(167, 139, 250, 0.4);
  }
}

/* Modern Slider Styles */
.modern-slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 80px 0;
}

.modern-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(46, 46, 70, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Animated particles background */
.modern-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  z-index: -1;
}

.modern-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 60% 60%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  animation: particleFloat 25s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(-20px, -30px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(30px, -20px) scale(0.9);
    opacity: 0.4;
  }
  75% {
    transform: translate(-10px, 20px) scale(1.05);
    opacity: 0.6;
  }
}

.modern-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1;
}

.modern-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide content with proper animation delays */
.slide-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.modern-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Slide header */
.slide-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.4s;
}

.modern-slide.active .slide-header {
  opacity: 1;
  transform: translateY(0);
}

/* Slide number */
.slide-number {
  position: absolute;
  top: -30px;
  left: -30px;
  font-size: 48px;
  font-weight: 700;
  color: #a78bfa;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
  opacity: 0.8;
  z-index: 10;
  background: rgba(46, 46, 70, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.slide-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Slide body */
.slide-body {
  line-height: 1.8;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.6s;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.modern-slide.active .slide-body {
  opacity: 1;
  transform: translateY(0);
}

.slide-body p {
  font-size: 18px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.6;
}

.modern-slide.active .slide-body p {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for paragraphs */
.slide-body p:nth-child(1) { transition-delay: 0.8s; }
.slide-body p:nth-child(2) { transition-delay: 1.0s; }
.slide-body p:nth-child(3) { transition-delay: 1.2s; }
.slide-body p:nth-child(4) { transition-delay: 1.4s; }
.slide-body p:nth-child(5) { transition-delay: 1.6s; }

/* Slide highlight */
.slide-highlight {
  margin-top: 30px;
  padding: 20px;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 1.3s;
}

.modern-slide.active .slide-highlight {
  opacity: 1;
  transform: translateY(0);
}

/* Slide list */
.slide-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 1.0s;
}

.modern-slide.active .slide-list {
  opacity: 1;
  transform: translateY(0);
}

.slide-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.modern-slide.active .slide-list li {
  opacity: 1;
  transform: translateX(0);
}

.slide-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 12px;
  color: #a78bfa;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.slide-list li:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.slide-list li:hover::before {
  color: #ffffff;
  transform: translateX(5px);
}

/* Staggered animation delays for list items */
.slide-list li:nth-child(1) { transition-delay: 1.2s; }
.slide-list li:nth-child(2) { transition-delay: 1.4s; }
.slide-list li:nth-child(3) { transition-delay: 1.6s; }
.slide-list li:nth-child(4) { transition-delay: 1.8s; }

/* Navigation */
.modern-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 80px;
}

.modern-nav-arrow {
  width: 50px;
  height: 50px;
  background: rgba(46, 46, 70, 0.8);
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #a78bfa;
  backdrop-filter: blur(10px);
}

.modern-nav-arrow:hover {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.8);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(167, 139, 250, 0.3);
}

.modern-nav-arrow:active {
  transform: scale(0.95);
}

.modern-nav-arrow svg {
  transition: all 0.3s ease;
}

.modern-nav-arrow:hover svg {
  transform: scale(1.2);
}

/* RTL support */
html[dir="rtl"] .modern-nav-arrow.prev .prev-arrow {
  d: path("M9 6L15 12L9 18");
}

html[dir="rtl"] .modern-nav-arrow.next .next-arrow {
  d: path("M15 18L9 12L15 6");
}

/* Dots navigation */
.modern-slider-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.modern-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.modern-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
}

.modern-dot.active {
  background: rgba(167, 139, 250, 0.8);
  transform: scale(1.2);
}

.modern-dot.active::before {
  transform: translate(-50%, -50%) scale(1);
}

.modern-dot:hover {
  background: rgba(167, 139, 250, 0.6);
  transform: scale(1.1);
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Progress bar */
.modern-slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(167, 139, 250, 0.2);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #a78bfa, #8b5cf6);
  transition: width 0.3s ease;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #a78bfa, #8b5cf6);
  width: 0%;
  transition: width 0.3s ease;
}

/* Responsive Design - Desktop First */
@media (max-width: 1024px) {
  .modern-slider {
    height: 450px;
  }
  
  .slide-number {
    font-size: 42px;
    top: -25px;
    left: -25px;
  }
  
  .slide-subtitle {
    font-size: 22px;
  }
  
  .slide-body p {
    font-size: 17px;
  }
  
  .slide-highlight b {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .modern-slider-container {
    padding: 30px 0 60px 0;
  }
  
  .modern-slider {
    height: 400px;
    padding: 30px;
  }
  
  .slide-header {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .slide-number {
    font-size: 36px;
    top: -20px;
    left: -20px;
    padding: 6px 12px;
  }
  
  .slide-subtitle {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .slide-body p {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .slide-highlight b {
    font-size: 15px;
  }
  
  .modern-slider-nav {
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 60px;
  }
  
  .modern-nav-arrow {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .modern-slider {
    height: 350px;
    padding: 20px;
  }
  
  .slide-number {
    font-size: 28px;
    top: -15px;
    left: -15px;
    padding: 4px 8px;
  }
  
  .slide-subtitle {
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  
  .slide-body p {
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  
  .slide-highlight b {
    font-size: 14px;
  }
  
  .slide-list li {
    font-size: 14px;
    padding: 10px 0 10px 25px;
  }
  
  .modern-slider-nav {
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 50px;
  }
  
  .modern-nav-arrow {
    width: 40px;
    height: 40px;
  }
  
  .modern-dot {
    width: 10px;
    height: 10px;
  }
  
  .modern-dot::before {
    width: 5px;
    height: 5px;
  }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
  .modern-slide,
  .slide-content,
  .slide-header,
  .slide-body,
  .slide-highlight,
  .slide-list,
  .slide-list li {
    transition: none !important;
    animation: none !important;
  }
  
  .modern-slide {
    opacity: 1;
    visibility: visible;
  }
  
  .modern-slider::before,
  .modern-slider::after {
    animation: none !important;
  }
}

@media (prefers-contrast: high) {
  .modern-slider {
    border: 2px solid #a78bfa;
  }
  
  .modern-nav-arrow {
    border: 2px solid #a78bfa;
  }
  
  .modern-dot {
    border: 1px solid #a78bfa;
  }
}

/* Focus states for accessibility */
.modern-nav-arrow:focus,
.modern-dot:focus {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

/* Hover effects */
.modern-slider:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* New Upcoming Plans Grid - Modern Floating Design */
.upcoming-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  perspective: 1000px;
}

.plan-card {
  background: rgba(20, 20, 35, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: planFloat 12s ease-in-out infinite;
  transform-style: preserve-3d;
}

.plan-card:nth-child(1) { animation-delay: 0s; }
.plan-card:nth-child(2) { animation-delay: 0.3s; }
.plan-card:nth-child(3) { animation-delay: 0.6s; }
.plan-card:nth-child(4) { animation-delay: 0.9s; }
.plan-card:nth-child(5) { animation-delay: 1.2s; }
.plan-card:nth-child(6) { animation-delay: 1.5s; }
.plan-card:nth-child(7) { animation-delay: 1.8s; }
.plan-card:nth-child(8) { animation-delay: 2.1s; }

@keyframes planFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  }
  25% {
    transform: translateY(-8px) rotateX(2deg) rotateY(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  }
  50% {
    transform: translateY(-15px) rotateX(1deg) rotateY(-1deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
  }
  75% {
    transform: translateY(-8px) rotateX(-1deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  }
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(139, 92, 246, 0.04) 50%, rgba(99, 20, 215, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

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

.plan-card:hover {
  transform: translateY(-20px) rotateX(5deg) rotateY(3deg) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  border-color: rgba(167, 139, 250, 0.4);
}

/* Plan Icon Wrapper */
.plan-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(167, 139, 250, 0.2);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.plan-card:hover .plan-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
}

.plan-icon {
  width: 32px;
  height: 32px;
  color: #a78bfa;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.plan-card:hover .plan-icon {
  transform: scale(1.1);
  color: #8b5cf6;
  filter: drop-shadow(0 4px 8px rgba(167, 139, 250, 0.4));
}

/* Plan Title */
.plan-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #a78bfa;
  margin: 0 0 1rem 0;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.plan-card:hover .plan-title {
  color: #8b5cf6;
  transform: scale(1.05);
}

/* Specific styles for help and social-card visible */
.plan-card.help .plan-title,
.plan-card.social-card.visible .plan-title {
  color: rgba(236, 72, 153, 0.8);
}

.plan-card.help h3::after,
.plan-card.social-card.visible h3::after {
  background: rgba(236, 72, 153, 0.8);
}

/* Specific styles for core and tools visible */
.plan-card.core.visible .plan-title,
.plan-card.tools.visible .plan-title {
  color: rgba(59, 130, 246, 1);
}

.plan-card.core.visible h3::after,
.plan-card.tools.visible h3::after {
  background: rgba(59, 130, 246, 1);
}

/* Specific styles for ads */
.plan-card.ads .plan-title {
  color: rgba(34, 197, 94, 0.8);
}

.plan-card.ads h3::after {
  background: rgba(34, 197, 94, 0.8);
}

/* Plan Content */
.plan-content {
  position: relative;
  z-index: 1;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-list li {
  padding: 0.6rem 0;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.2rem;
  transition: all 0.3s ease;
}

.plan-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: #a78bfa;
  font-weight: bold;
  transition: all 0.3s ease;
}

.plan-card:hover .plan-list li::before {
  color: #8b5cf6;
  transform: translateX(3px);
}

.plan-card:hover .plan-list li {
  color: #e0e0e0;
  transform: translateX(3px);
}

/* Plan Status */
.plan-status {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 16px;
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  text-align: center;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.plan-card:hover .plan-status {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-color: rgba(167, 139, 250, 0.4);
  color: #8b5cf6;
  transform: scale(1.05);
}

/* Card Type Variations */
.plan-card.core .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.plan-card.core:hover .plan-icon-wrapper {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.plan-card.encyclopedia .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(167, 139, 250, 0.3);
}

.plan-card.encyclopedia:hover .plan-icon-wrapper {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

.plan-card.global .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.plan-card.global:hover .plan-icon-wrapper {
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.plan-card.help .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.plan-card.help:hover .plan-icon-wrapper {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.plan-card.tools .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.plan-card.tools:hover .plan-icon-wrapper {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.plan-card.search .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(167, 139, 250, 0.3);
}

.plan-card.search:hover .plan-icon-wrapper {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
}

.social-card .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
}

.social-card:hover .plan-icon-wrapper {
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.plan-card.social-card.visible:hover .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
}

.plan-card.ads .plan-icon-wrapper {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}

.plan-card.ads:hover .plan-icon-wrapper {
  border-color: rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

/* Status Colors */
.plan-card.core .plan-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.plan-card.core:hover .plan-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.5);
  color: #2563eb;
}

.plan-card.global .plan-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.plan-card.global:hover .plan-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.2) 100%);
  border-color: rgba(34, 197, 94, 0.5);
  color: #16a34a;
}

.plan-card.help .plan-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  color: #ec4899;
}

.plan-card.help:hover .plan-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.2) 100%);
  border-color: rgba(236, 72, 153, 0.5);
  color: #db2777;
}

.plan-card.tools .plan-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.plan-card.tools:hover .plan-status {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.5);
  color: #2563eb;
}

.social-card .plan-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  color: #ec4899;
}

.social-card:hover .plan-status {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.2) 100%);
  border-color: rgba(236, 72, 153, 0.5);
  color: #db2777;
}

.plan-card.ads .plan-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.plan-card.ads:hover .plan-status {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.2) 100%);
  border-color: rgba(34, 197, 94, 0.5);
  color: #16a34a;
}

/* SVG Icon Colors */
.plan-card.core .plan-icon {
  color: rgba(59, 130, 246, 0.8);
}

.plan-card.core:hover .plan-icon {
  color: rgba(59, 130, 246, 1);
}

.plan-card.encyclopedia .plan-icon {
  color: rgba(167, 139, 250, 0.8);
}

.plan-card.encyclopedia:hover .plan-icon {
  color: rgba(167, 139, 250, 1);
}

.plan-card.multilingual .plan-icon {
  color: rgba(167, 139, 250, 0.8);
}

.plan-card.multilingual:hover .plan-icon {
  color: rgba(167, 139, 250, 1);
}

.plan-card.help .plan-icon {
  color: rgba(236, 72, 153, 0.8);
}

.plan-card.help:hover .plan-icon {
  color: rgba(236, 72, 153, 1);
}

.plan-card.tools .plan-icon {
  color: rgba(59, 130, 246, 0.8);
}

.plan-card.tools:hover .plan-icon {
  color: rgba(59, 130, 246, 1);
}

.plan-card.search .plan-icon {
  color: rgba(167, 139, 250, 0.8);
}

.plan-card.search:hover .plan-icon {
  color: rgba(167, 139, 250, 1);
}

.plan-card.social-card .plan-icon {
  color: rgba(236, 72, 153, 0.8);
}

.plan-card.social-card:hover .plan-icon {
  color: rgba(236, 72, 153, 1);
}

.plan-card.ads .plan-icon {
  color: rgba(34, 197, 94, 0.8);
}

.plan-card.ads:hover .plan-icon {
  color: rgba(34, 197, 94, 1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .upcoming-plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .upcoming-plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .plan-card {
    padding: 1.5rem;
  }
  
  .plan-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .plan-icon {
    width: 28px;
    height: 28px;
  }
  
  .plan-title {
    font-size: 1.2rem;
  }
  
  .plan-list li {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .upcoming-plans-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .plan-card {
    padding: 1.2rem;
  }
  
  .plan-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
  }
  
  .plan-icon {
    width: 24px;
    height: 24px;
  }
  
  .plan-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .plan-list li {
    font-size: 0.8rem;
    padding: 0.5rem 0;
    padding-left: 1rem;
  }
  
  .plan-status {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin-top: 0.8rem;
  }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
  .plan-card {
    animation: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .plan-card:hover {
    transform: translateY(-5px);
  }
  
  @keyframes planFloat {
    0%, 100% {
      transform: translateY(0px);
    }
  }
}

@media (prefers-contrast: high) {
  .plan-card {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(20, 20, 35, 0.9);
  }
  
  .plan-icon-wrapper {
    border-color: rgba(167, 139, 250, 0.5);
  }
  
  .plan-status {
    border-color: rgba(167, 139, 250, 0.5);
  }
}

/* Prevent unwanted interactions */
.background-circles,
.floating-element,
.particle,
[data-no-scroll] {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Allow interactions only for specific interactive elements */
.background-circles *,
.floating-element *,
.particle * {
  pointer-events: none;
}

/* Ensure interactive elements work properly */
button, a, input, textarea, select {
  pointer-events: auto;
  user-select: auto;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
}

.slide-highlight b {
  font-size: 24px;
  color: #a78bfa;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.slide-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 1.0s;
}

.modern-slide.active .slide-list {
  opacity: 1;
  transform: translateY(0);
}

.slide-list li {
  padding: 8px 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 25px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  margin-bottom: 8px;
}

.modern-slide.active .slide-list li {
  opacity: 1;
  transform: translateY(0);
}

.slide-list li:nth-child(1) { transition-delay: 0s; }
.slide-list li:nth-child(2) { transition-delay: 0s; }
.slide-list li:nth-child(3) { transition-delay: 0s; }
.slide-list li:nth-child(4) { transition-delay: 0s; }

.onion-address-input {
  background-color: #38393c;
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 14px;
  text-align: center;
  color: #fff;
  cursor: text;
  user-select: all;
  width: 60vw;
  max-width: 600px;
  margin: 0 auto;
  display: block;
}
.onion-address-input:focus {

  outline-offset: 2px;
}
.max-width-900 {
  max-width: 900px;
  margin: 0 auto;
}

.tor-address-bar {
  display: flex;
  align-items: center;
  background-color: #3535357a;
  border-radius: 6px;
  padding: 9px 12px;
  width: 90vw;
  max-width: 650px;
  margin: 0 auto;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
  font-family: "Noto Serif", serif;
}

/* RTL (Right-to-Left) language support - keep tor-address-bar layout unchanged */
html[dir="rtl"] .tor-address-bar {
  direction: ltr;
}

.tor-address-icons-left {
  display: flex;
  align-items: center;
  gap: 0px;
  flex-shrink: 0;
}

.tor-address-icons-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tor-icon,
.relays-icon,
.favorites-icon {
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: block;
}

.tor-icon:hover,
.relays-icon:hover,
.favorites-icon:hover {
  opacity: 1;
}

.onion-address-input {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-family: monospace;
  font-size: 14px;
  text-align: left;
  color: #fff;
  cursor: text;
  user-select: all;
  width: 100%;
  flex: 1;
  outline: none;
}

/* Adaptive font size for onion address input */
@media (max-width: 1200px) {
  .onion-address-input {
    font-size: 13px;
  }
}

@media (max-width: 1000px) {
  .onion-address-input {
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .onion-address-input {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .onion-address-input {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .onion-address-input {
    font-size: 9px;
  }
}

@media (max-width: 400px) {
  .onion-address-input {
    font-size: 8px;
  }
}

@media (max-width: 320px) {
  /* Disable ALL animations and transitions for ultra small screens */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force immediate visibility of all content */
  body,
  section,
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .modern-slide,
  .manifest-block,
  .slide-content,
  .slide-header,
  .slide-body,
  .slide-highlight,
  .slide-list,
  .slide-list li,
  .floating-element,
  .particle,
  .micro-particle,
  .background-circles,
  .background-elements {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Language toggle ultra small optimization */
  .lang-toggle {
    font-size: 16px;
    width: 32px;
    height: 32px;
  }
  
  .lang-switch.open .lang-toggle {
    font-size: 14px;
  }
  
  .lang-menu {
    grid-template-columns: repeat(4, 32px);
    gap: 3px;
    padding: 5px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
  
  .lang-btn {
    font-size: 14px;
    width: 32px;
    height: 32px;
  }
  
  /* General ultra small optimizations */
  .container {
    padding: 10px 8px;
  }
  
  header {
    padding: 10px 8px;
    min-height: 40vh;
  }
  
  header h1 {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  header h2 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .cta-button {
    font-size: clamp(12px, 2.8vw, 15px);
    padding: 6px 16px;
  }
  
  /* Ultra small onion address input */
  .onion-address-input {
    font-size: clamp(10px, 2.5vw, 13px);
    padding: 8px 10px;
    width: 98%;
  }
  
  /* Ultra small footer */
  footer {
    font-size: clamp(10px, 2.5vw, 12px);
    padding: 6px;
    margin-top: 10px;
  }
  
  /* Ultra small support section */
  .support-section {
    padding: 12px;
    margin: 25px auto;
  }
  
  .support-section h2 {
    font-size: clamp(14px, 3.5vw, 18px);
  }
  
  .support-section h3 {
    font-size: clamp(12px, 2.8vw, 15px);
  }
  
  /* Ultra small social section */
  .social {
    margin: 60px 0 50px;
    padding: 0 8px;
  }
  
  .telegram-card {
    max-width: 240px;
    padding: 10px;
  }
  
  .telegram-card-content {
    gap: 8px;
  }
  
  .telegram-icon {
    width: 30px;
    height: 30px;
  }
  
  .telegram-name {
    font-size: 13px;
  }
  
  .telegram-website {
    font-size: 11px;
  }
  
  .telegram-description,
  .telegram-subscribers {
    font-size: 9px;
  }
  
  .telegram-join-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  /* Ultra small vision section */
  .vision-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .vision-subtitle {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  .vision-quote.primary {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .vision-quote.secondary {
    font-size: clamp(11px, 2.5vw, 13px);
  }
  
  /* Ultra small manifest section */
  .manifest-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .manifest-subtitle {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .manifest-list {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  .manifest-list li {
    padding-left: 16px;
    margin-bottom: 5px;
  }
  
  .manifest-list li::before {
    font-size: 0.8em;
  }
  
  /* Ultra small feature text */
  .feature h4 {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .feature p {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  .feature-title {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .feature-list li {
    font-size: clamp(11px, 2.5vw, 13px);
    padding-left: 12px;
  }
  
  .plan-title {
    font-size: clamp(13px, 3vw, 16px);
  }
  
  .plan-list li {
    font-size: clamp(11px, 2.5vw, 13px);
    padding-left: 12px;
  }
  
  /* Ultra small privacy note */
  .privacy-note {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 10px;
    margin-top: 12px;
  }
  
  /* Ultra small spoiler */
  .spoiler-button {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 5px 10px;
  }
  
  .spoiler-content {
    font-size: clamp(12px, 2.8vw, 14px);
    padding: 10px;
  }
  
  /* Ultra small compact features */
  .feature-compact {
    gap: 5px;
    padding: 5px 8px;
  }
  
  .feature-compact .manifest-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .feature-compact b {
    font-size: clamp(12px, 2.8vw, 14px);
  }
  
  /* Ultra small scroll offset */
  html {
    scroll-padding-top: 10vh;
  }
}

/* Copy notification styles */
.copy-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile responsive notification */
@media (max-width: 480px) {
  .copy-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    text-align: center;
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* RTL language support - keep lang-toggle always on the right */
html[dir="rtl"] .lang-switch {
  position: fixed;
  top: 16px;
  right: 16px !important;
  left: auto !important;
}

html[dir="rtl"] .lang-menu {
  right: 0 !important;
  left: auto !important;
}

html[dir="rtl"] .lang-switch {
  align-items: flex-end !important;
}

/* Search section anchor offset */
#search {
  scroll-margin-top: 200px;
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
  /* Disable ALL animations and transitions for mobile devices */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Force all content to be visible on very small screens */
  body, section, .section-animate, .manifest-section, .upcoming-plans-grid, 
  .vision-principles, .how-it-works, .social, .support-section, footer,
  .modern-slide, .plan-card, .feature-card, .principle-card,
  .floating-element, .particle, .micro-particle, .background-circles {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Force all animated elements with visible class to be visible */
  .section-animate.visible,
  .feature.visible,
  .manifest-feature.visible,
  .principle-card.visible,
  .feature-card.visible,
  .plan-card.visible,
  .vision-item.visible,
  .manifest-block.active {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  
  /* Force all individual elements to be visible */
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Ensure proper spacing and sizing */
  .container {
    padding: 20px 12px;
  }
  
  header {
    padding: 20px 12px;
  }
  
  /* Fix font sizes for better readability */
  header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  header h2 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  
  /* Ensure buttons are properly sized */
  .cta-button {
    font-size: 1rem;
    padding: 12px 20px;
    min-height: 44px; /* Minimum touch target size */
  }
  
  /* Fix modern slider for very small screens */
  .modern-slider-container {
    padding: 0 8px;
  }
  
  .modern-slide {
    padding: 16px;
  }
  
  .slide-subtitle {
    font-size: 1.1rem;
  }
  
  .slide-body p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Fix onion address input */
  .onion-address-input {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  
  /* Ensure proper touch targets */
  .modern-nav-arrow, .slider-arrow {
    min-width: 44px;
    min-height: 44px;
  }
  
  .modern-dot, .slider-dot {
    min-width: 32px;
    min-height: 32px;
  }
}

/* Additional mobile visibility fixes */
@media (max-width: 768px) {
  /* Force all visible elements to be actually visible */
  .section-animate.visible,
  .feature.visible,
  .manifest-feature.visible,
  .principle-card.visible,
  .feature-card.visible,
  .plan-card.visible,
  .vision-item.visible,
  .manifest-block.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Force all elements to be visible regardless of class */
  .section-animate,
  .feature,
  .manifest-feature,
  .principle-card,
  .feature-card,
  .plan-card,
  .vision-item,
  .manifest-block {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
