/*
Theme Name: CallRelay
Theme URI: https://www.callrelay.fr
Author: CallRelay
Author URI: https://www.callrelay.fr
Description: CallRelay
Version: 1.0.12
*/

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Interactive elements cursor fix */
a, button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
.faq-toggle, [onclick] {
  cursor: pointer !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: rgb(251, 251, 251);
  min-height: 100vh;
}

/* Header inherits body background color */
header {
  background-color: inherit;
}

a {
  color: #0073aa;
  text-decoration: none;
  cursor: pointer !important;
}

a:hover {
  color: #00a0d2;
  text-decoration: underline;
  cursor: pointer !important;
}

/* Header */
.site-header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-branding {
  text-align: center;
}

.site-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Navigation */
.main-navigation {
  margin-top: 20px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.main-navigation li {
  margin: 0 15px;
}

/* Content */
.site-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.content-area {
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
  background: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  margin-top: 40px;
}

/* Utility Classes */
.hidden {
  display: none;
}

/* FAQ Styles */
.faq-content {
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.faq-content.hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-content:not(.hidden) {
  max-height: 200px;
  opacity: 1;
}

.faq-arrow {
  transition: transform 0.2s ease-in-out;
}

.faq-toggle {
  cursor: pointer !important;
}

.faq-toggle:hover {
  color: #0073aa;
  cursor: pointer !important;
}

/* Font Classes */
.font-russo {
  font-family: 'Russo One', sans-serif;
}

/* Mobile Menu Styles */
#mobile-menu {
  position: fixed;
  top: 55px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 55px);
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease-in-out;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: none;
  overflow: auto;
}

#mobile-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile and Responsive Improvements */
@media (max-width: 767px) {
  #mobile-menu-button {
    min-height: 44px;
    min-width: 44px;
    display: flex !important;
  }
  
  #mobile-menu-button svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
  }
  
  #menu-icon {
    display: block;
  }
  
  #close-icon {
    display: none;
  }
  
  .md\:hidden {
    display: flex !important;
  }
  
  .min-h-screen {
    min-height: 100vh;
    min-height: 100dvh;
  }
   
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Tablet specific styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .md\:flex {
    display: flex !important;
  }
  
  .md\:hidden {
    display: none !important;
  }
}

/* Mood Orb Animation Styles */
.mood-orb-container {
  --blob-1: #bb74ff;
  --blob-2: #7c7dff;
  --blob-3: #a0f8ff;
  --blob-4: #ffffff;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.mood-orb-container::after {
  position: absolute;
  content: "";
  width: 50%;
  height: 50%;
  background: rgba(160, 248, 255, 0.2);
  border-radius: 50%;
  filter: blur(2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.mood-orb-container::before {
  position: absolute;
  content: "";
  width: 20%;
  height: 20%;
  background-image: url('assets/images/logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0.8;
}

.blobs svg {
  position: relative;
  height: 100%;
  z-index: 2;
}

.blob {
  animation: rotate 25s infinite alternate ease-in-out;
  transform-origin: 50% 50%;
  opacity: 0.7;
}

.blob path {
  animation: blob-anim-1 5s infinite alternate cubic-bezier(0.45, 0.2, 0.55, 0.8);
  transform-origin: 50% 50%;
  transform: scale(0.8);
  transition: fill 800ms ease;
}

.blob.alt {
  animation-direction: alternate-reverse;
  opacity: 0.3;
}

.blob-1 path {
  fill: var(--blob-1);
  filter: blur(0.5rem);
  d: path("M 100 600 q 0 -500, 500 -500 t 500 500 t -500 500 T 100 600 z");
}

.blob-2 {
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}

.blob-2 path {
  fill: var(--blob-2);
  animation-name: blob-anim-2;
  animation-duration: 7s;
  filter: blur(0.4rem);
  transform: scale(0.78);
  d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z");
}

.blob-2.alt {
  animation-direction: alternate;
}

.blob-3 {
  animation-duration: 23s;
}

.blob-3 path {
  fill: var(--blob-3);
  animation-name: blob-anim-3;
  animation-duration: 6s;
  filter: blur(0.3rem);
  transform: scale(0.76);
  d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z");
}

.blob-4 {
  animation-duration: 31s;
  animation-direction: alternate-reverse;
  opacity: 0.9;
}

.blob-4 path {
  fill: var(--blob-4);
  animation-name: blob-anim-4;
  animation-duration: 10s;
  filter: blur(3rem);
  transform: scale(0.5);
  d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z");
}

.blob-4.alt {
  animation-direction: alternate;
  opacity: 0.8;
}

@keyframes blob-anim-1 {
  0% { d: path("M 100 600 q 0 -500, 500 -500 t 500 500 t -500 500 T 100 600 z"); }
  30% { d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z"); }
  70% { d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z"); }
  100% { d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z"); }
}

@keyframes blob-anim-2 {
  0% { d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z"); }
  40% { d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z"); }
  80% { d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z"); }
  100% { d: path("M 100 600 q 100 -600, 500 -500 t 400 500 t -500 500 T 100 600 z"); }
}

@keyframes blob-anim-3 {
  0% { d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z"); }
  35% { d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z"); }
  75% { d: path("M 100 600 q 100 -600, 500 -500 t 400 500 t -500 500 T 100 600 z"); }
  100% { d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z"); }
}

@keyframes blob-anim-4 {
  0% { d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z"); }
  30% { d: path("M 100 600 q 100 -600, 500 -500 t 400 500 t -500 500 T 100 600 z"); }
  70% { d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z"); }
  100% { d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z"); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Timeline Responsive Styles */
@media (max-width: 767px) {
  /* Hide timeline line on mobile */
  .timeline-line {
    display: none !important;
  }
  
  /* Timeline events on mobile - simple stacked layout */
  .timeline-event {
    position: relative;
    padding-left: 0;
  }
  
  /* Hide any mobile timeline dots */
  .timeline-event::before {
    display: none !important;
  }
  
  /* Mobile layout adjustments */
  .timeline-event .flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .timeline-event .w-1\/2 {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    max-width: 90% !important;
    margin-top: 2.5rem !important;
  }
  
  /* Hide desktop timeline dots on mobile */
  .timeline-event .pulse-dot {
    display: none !important;
  }
  
  /* Adjust text alignment for mobile */
  .timeline-event .text-right {
    text-align: center !important;
  }
  
  .timeline-event .justify-end {
    justify-content: center !important;
  }
  
  .timeline-event .ml-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Center SMS preview on mobile */
  .timeline-event .max-w-xs {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Reduce spacing on mobile */
  .space-y-12 > * + * {
    margin-top: 3rem !important;
  }
  
  /* Smaller cards padding on mobile */
  .timeline-event .bg-card {
    padding: 1rem !important;
  }
  
  /* Smaller font sizes on mobile */
  .timeline-event h4 {
    font-size: 1.125rem !important;
  }
  
  /* Center mood orb container on mobile */
  .mood-orb-container {
    margin: 0 auto !important;
  }
}

/* Tablet Timeline Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Adjust timeline for tablet */
  .timeline-event .bg-card {
    padding: 1.25rem !important;
  }
  
  /* Slightly smaller spacing on tablet */
  .space-y-12 > * + * {
    margin-top: 2.5rem !important;
  }
}

/* Dashed Line */
.dashed-line {
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, currentColor 50%, transparent 50%);
  background-size: 16px 1px;
  background-repeat: repeat-x;
  opacity: 0.6;
}

/* Smooth transitions for all interactive elements */
button, .transition-colors, .transition-all {
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved focus states */
button:focus-visible, a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* FluentForm Contact Form Styles */
.fluentform_wrapper_3 {
  max-width: 100%;
  margin: 0;
}

.fluentform_wrapper_3 .ff-el-group {
  margin-bottom: 1.5rem;
}

.fluentform_wrapper_3 .ff-el-input--label {
  margin-bottom: 0.5rem;
}

.fluentform_wrapper_3 .ff-el-input--label label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.fluentform_wrapper_3 .ff-el-input--label.ff-el-is-required label::after {
  content: " *";
  color: #ef4444;
  font-weight: 500;
}

.fluentform_wrapper_3 .ff-el-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
  background-color: #f9fafb;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fluentform_wrapper_3 .ff-el-form-control:focus {
  outline: none;
  border-color: #374151;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.fluentform_wrapper_3 .ff-el-form-control::placeholder {
  color: #9ca3af;
}

.fluentform_wrapper_3 textarea.ff-el-form-control {
  resize: vertical;
  min-height: 120px;
}

.fluentform_wrapper_3 .ff-btn {
  background-color: #374151;
  color: #ffffff;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.fluentform_wrapper_3 .ff-btn:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fluentform_wrapper_3 .ff-btn:active {
  transform: translateY(0);
}

.fluentform_wrapper_3 .ff-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.fluentform_wrapper_3 .ff_submit_btn_wrapper {
  text-align: left;
  margin-top: 2rem;
}

.fluentform_wrapper_3 .ff-errors-in-stack {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 0.375rem;
  color: #dc2626;
  font-size: 0.875rem;
}

.fluentform_wrapper_3 .ff-errors-in-stack:empty {
  display: none;
}

.fluentform_wrapper_3 .ff-t-container {
  display: flex;
  gap: 1rem;
}

.fluentform_wrapper_3 .ff-t-cell {
  flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fluentform_wrapper_3 {
    max-width: 100%;
    padding: 0;
  }
  
  .fluentform_wrapper_3 .ff-t-container {
    flex-direction: column;
    gap: 0;
  }
  
  .fluentform_wrapper_3 .ff-btn {
    width: 100%;
    padding: 1rem 2rem;
  }
}

/* Clean Page Styles */
.prose {
  color: #374151;
  line-height: 1.6;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
}

.prose h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

.prose h1:first-child {
  margin-top: 0;
}

.prose h2 {
  font-size: 1.875rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.prose h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.prose a {
  color: #111827;
  text-decoration: underline;
}

.prose a:hover {
  color: #374151;
}

.prose strong {
  font-weight: 700;
  color: #111827;
}

.prose ul, .prose ol {
  margin-bottom: 2rem;
  padding-left: 0;
}

.prose li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.prose ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111827;
  font-weight: bold;
}

.prose ol {
  counter-reset: list-counter;
}

.prose ol li {
  counter-increment: list-counter;
}

.prose ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  color: #111827;
  font-weight: bold;
}

.prose blockquote {
  border-left: 4px solid #d1d5db;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}

.prose img {
  margin: 2rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.prose th, .prose td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.prose th {
  background-color: #f9fafb;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .prose h1 {
    font-size: 2rem;
  }
  
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
}

/* 404 Page Styles */
.glitch-text {
  position: relative;
  animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  animation: glitch-anim 0.5s infinite linear alternate-reverse;
  color: #ff0000;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-anim2 0.5s infinite linear alternate-reverse;
  color: #00ff00;
  z-index: -2;
}

@keyframes glitch-anim {
  0% {
    clip: rect(64px, 9999px, 66px, 0);
    transform: skew(0.5deg);
  }
  5% {
    clip: rect(30px, 9999px, 36px, 0);
    transform: skew(0.93deg);
  }
  10% {
    clip: rect(70px, 9999px, 71px, 0);
    transform: skew(0.18deg);
  }
  15% {
    clip: rect(60px, 9999px, 70px, 0);
    transform: skew(0.02deg);
  }
  20% {
    clip: rect(59px, 9999px, 54px, 0);
    transform: skew(0.37deg);
  }
  25% {
    clip: rect(34px, 9999px, 14px, 0);
    transform: skew(0.7deg);
  }
  30% {
    clip: rect(1px, 9999px, 0px, 0);
    transform: skew(0.11deg);
  }
  35% {
    clip: rect(67px, 9999px, 100px, 0);
    transform: skew(0.15deg);
  }
  40% {
    clip: rect(83px, 9999px, 61px, 0);
    transform: skew(0.26deg);
  }
  45% {
    clip: rect(26px, 9999px, 15px, 0);
    transform: skew(0.2deg);
  }
  50% {
    clip: rect(84px, 9999px, 90px, 0);
    transform: skew(0.4deg);
  }
  55% {
    clip: rect(44px, 9999px, 3px, 0);
    transform: skew(0.31deg);
  }
  60% {
    clip: rect(81px, 9999px, 72px, 0);
    transform: skew(0.35deg);
  }
  65% {
    clip: rect(23px, 9999px, 87px, 0);
    transform: skew(0.13deg);
  }
  70% {
    clip: rect(30px, 9999px, 18px, 0);
    transform: skew(0.22deg);
  }
  75% {
    clip: rect(75px, 9999px, 5px, 0);
    transform: skew(0.18deg);
  }
  80% {
    clip: rect(69px, 9999px, 66px, 0);
    transform: skew(0.24deg);
  }
  85% {
    clip: rect(74px, 9999px, 89px, 0);
    transform: skew(0.75deg);
  }
  90% {
    clip: rect(28px, 9999px, 90px, 0);
    transform: skew(0.13deg);
  }
  95% {
    clip: rect(65px, 9999px, 27px, 0);
    transform: skew(0.4deg);
  }
  100% {
    clip: rect(60px, 9999px, 67px, 0);
    transform: skew(0.07deg);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
    transform: skew(0.02deg);
  }
  5% {
    clip: rect(52px, 9999px, 74px, 0);
    transform: skew(0.05deg);
  }
  10% {
    clip: rect(79px, 9999px, 85px, 0);
    transform: skew(0.18deg);
  }
  15% {
    clip: rect(12px, 9999px, 94px, 0);
    transform: skew(0.12deg);
  }
  20% {
    clip: rect(63px, 9999px, 81px, 0);
    transform: skew(0.05deg);
  }
  25% {
    clip: rect(37px, 9999px, 29px, 0);
    transform: skew(0.24deg);
  }
  30% {
    clip: rect(41px, 9999px, 6px, 0);
    transform: skew(0.46deg);
  }
  35% {
    clip: rect(45px, 9999px, 68px, 0);
    transform: skew(0.21deg);
  }
  40% {
    clip: rect(73px, 9999px, 77px, 0);
    transform: skew(0.34deg);
  }
  45% {
    clip: rect(33px, 9999px, 65px, 0);
    transform: skew(0.14deg);
  }
  50% {
    clip: rect(22px, 9999px, 86px, 0);
    transform: skew(0.38deg);
  }
  55% {
    clip: rect(71px, 9999px, 91px, 0);
    transform: skew(0.25deg);
  }
  60% {
    clip: rect(10px, 9999px, 47px, 0);
    transform: skew(0.07deg);
  }
  65% {
    clip: rect(67px, 9999px, 11px, 0);
    transform: skew(0.15deg);
  }
  70% {
    clip: rect(50px, 9999px, 39px, 0);
    transform: skew(0.23deg);
  }
  75% {
    clip: rect(14px, 9999px, 96px, 0);
    transform: skew(0.35deg);
  }
  80% {
    clip: rect(2px, 9999px, 44px, 0);
    transform: skew(0.15deg);
  }
  85% {
    clip: rect(78px, 9999px, 52px, 0);
    transform: skew(0.12deg);
  }
  90% {
    clip: rect(48px, 9999px, 13px, 0);
    transform: skew(0.19deg);
  }
  95% {
    clip: rect(54px, 9999px, 89px, 0);
    transform: skew(0.34deg);
  }
  100% {
    clip: rect(16px, 9999px, 92px, 0);
    transform: skew(0.05deg);
  }
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg);
  }
  10% {
    transform: skew(1deg);
  }
  20% {
    transform: skew(0deg);
  }
  30% {
    transform: skew(2deg);
  }
  40% {
    transform: skew(0deg);
  }
  50% {
    transform: skew(-1deg);
  }
  60% {
    transform: skew(0deg);
  }
  70% {
    transform: skew(1deg);
  }
  80% {
    transform: skew(0deg);
  }
  90% {
    transform: skew(-2deg);
  }
  100% {
    transform: skew(0deg);
  }
}

/* Floating particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.particle:nth-child(2) {
  left: 40%;
  animation-delay: 1s;
  animation-duration: 8s;
}

.particle:nth-child(3) {
  left: 60%;
  animation-delay: 2s;
  animation-duration: 7s;
}

.particle:nth-child(4) {
  left: 80%;
  animation-delay: 3s;
  animation-duration: 9s;
}

.particle:nth-child(5) {
  left: 10%;
  animation-delay: 4s;
  animation-duration: 5s;
}

.particle:nth-child(6) {
  left: 90%;
  animation-delay: 5s;
  animation-duration: 10s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* 404 Page Responsive Styles */
@media (max-width: 768px) {
  .glitch-text {
    font-size: 4rem;
  }
  
  .particle {
    width: 2px;
    height: 2px;
  }
}

/* Scroll to Top Button */
#scrollToTop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.18);
  transform: translateY(20px) scale(0.98);
}
#scrollToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#scrollToTop:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
#scrollToTop svg {
  display: block;
}
#scrollToTop:hover {
  filter: brightness(1.1) saturate(1.2);
  box-shadow: 0 6px 24px rgba(44, 62, 80, 0.22);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 640px) {
  #scrollToTop {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem;
  }
}

