/* Google Fonts Import - Must be at the top */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap");

.feature-grid-standout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  /* ... */
}

html {
  scroll-behavior: smooth;
}

/* Visually hidden class for accessibility - hides content visually but keeps it available for screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Beautiful scrollbar styles */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(29, 53, 87, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #457b9d, #a8dadc);
  border-radius: 10px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1d3557, #457b9d);
}

/* For Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #457b9d rgba(29, 53, 87, 0.1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  /* Soft background color */
  color: #333;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Ensure full viewport height */
  font-size: 16px;
  /* Base font size for rem calculations */
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

/* Dark mode styles - Set all text to white without touching hover effects */
.dark-mode body {
  color: #ffffff;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode p,
.dark-mode span,
.dark-mode div,
.dark-mode li,
.dark-mode a,
.dark-mode label,
.dark-mode td,
.dark-mode th {
  color: #ffffff !important;
}

/* Don't override any hover states for text */
.dark-mode h1:hover,
.dark-mode h2:hover,
.dark-mode h3:hover,
.dark-mode h4:hover,
.dark-mode h5:hover,
.dark-mode h6:hover,
.dark-mode p:hover,
.dark-mode span:hover,
.dark-mode div:hover,
.dark-mode li:hover,
.dark-mode a:hover,
.dark-mode label:hover,
.dark-mode td:hover,
.dark-mode th:hover {
  color: inherit !important;
}

/* Dark mode site icon colors - match video button color before hover */
.dark-mode .site-item i {
  color: #4facfe !important;
}

/* Dark mode site icons AND names hover colors to match platform colors */
.dark-mode .site-item:nth-child(1):hover i,
.dark-mode .site-item:nth-child(1):hover span {
  color: #ff0000 !important;
}

/* YouTube */
.dark-mode .site-item:nth-child(2):hover i,
.dark-mode .site-item:nth-child(2):hover span {
  color: #000000 !important;
}

/* TikTok */
.dark-mode .site-item:nth-child(3):hover i,
.dark-mode .site-item:nth-child(3):hover span {
  color: #1877f2 !important;
}

/* Facebook */
.dark-mode .site-item:nth-child(4):hover i,
.dark-mode .site-item:nth-child(4):hover span {
  color: #e4405f !important;
}

/* Instagram */
.dark-mode .site-item:nth-child(5):hover i,
.dark-mode .site-item:nth-child(5):hover span {
  color: #bd081c !important;
}

/* Pinterest */
.dark-mode .site-item:nth-child(6):hover i,
.dark-mode .site-item:nth-child(6):hover span {
  color: #1da1f2 !important;
}

/* Twitter/X */
.dark-mode .site-item:nth-child(7):hover i,
.dark-mode .site-item:nth-child(7):hover span {
  color: #1ab7ea !important;
}

/* Vimeo */
.dark-mode .site-item:nth-child(8):hover i,
.dark-mode .site-item:nth-child(8):hover span {
  color: #00d3ff !important;
}

/* Dailymotion */
.dark-mode .site-item:nth-child(9):hover i,
.dark-mode .site-item:nth-child(9):hover span {
  color: #7b32f8 !important;
}

/* Odysee */
.dark-mode .site-item:nth-child(10):hover i,
.dark-mode .site-item:nth-child(10):hover span {
  color: #ff4500 !important;
}

/* Reddit */
.dark-mode .site-item:nth-child(11):hover i,
.dark-mode .site-item:nth-child(11):hover span {
  color: #000000 !important;
}

/* Threads */
.dark-mode .site-item:nth-child(12):hover i,
.dark-mode .site-item:nth-child(12):hover span {
  color: #4680c2 !important;
}

/* VK */

/* Call-to-Action Booster Section */

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.05)" stroke-width="1" fill="none"/></svg>');
  background-size: 100px 100px;
  opacity: 0.5;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d3557;
  background-color: #a8dadc;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(168, 218, 220, 0.3);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(168, 218, 220, 0.4);
  color: #1d3557;
}

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

/* Social proof section */
.social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
}

.trust-badge i {
  font-size: 1.5rem;
  color: #a8dadc;
}

.testimonial {
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  backdrop-filter: blur(5px);
}

.testimonial-text {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.testimonial-title {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }

  .social-proof {
    flex-direction: column;
    gap: 30px;
  }

  .testimonial {
    width: 100%;
  }
}

/* Colorful Call-to-Action Buttons */

/* Base CTA Button Styles */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:focus {
  outline: none;
}

/* Orange to Red Gradient */
.cta-orange-red {
  background: linear-gradient(135deg, #ff9a56, #ff6b6b);
  color: white;
}

.cta-orange-red:hover {
  background: linear-gradient(135deg, #ff8c42, #ff5252);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 107, 107, 0.4);
}

.cta-orange-red::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff9a56, #ff6b6b);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-orange-red:hover::after {
  opacity: 0.4;
  transform: scale(1.3);
  filter: blur(10px);
}

/* Blue to Purple Gradient */
.cta-blue-purple {
  background: linear-gradient(135deg, #4facfe, #8e44ad);
  color: white;
}

.cta-blue-purple:hover {
  background: linear-gradient(135deg, #2e8ce6, #7e3a93);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(142, 68, 173, 0.4);
}

.cta-blue-purple::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4facfe, #8e44ad);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-blue-purple:hover::after {
  opacity: 0.4;
  transform: scale(1.3);
  filter: blur(10px);
}

/* Green to Teal Gradient */
.cta-green-teal {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  color: white;
}

.cta-green-teal:hover {
  background: linear-gradient(135deg, #0e8074, #2dd66a);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(56, 239, 125, 0.4);
}

.cta-green-teal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #11998e, #38ef7d);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-green-teal:hover::after {
  opacity: 0.4;
  transform: scale(1.3);
  filter: blur(10px);
}

/* Pink to Purple Gradient */
.cta-pink-purple {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
}

.cta-pink-purple:hover {
  background: linear-gradient(135deg, #e779f8, #e3465d);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(245, 87, 108, 0.4);
}

.cta-pink-purple::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-pink-purple:hover::after {
  opacity: 0.4;
  transform: scale(1.3);
  filter: blur(10px);
}

/* Yellow to Orange Gradient */
.cta-yellow-orange {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: white;
}

.cta-yellow-orange:hover {
  background: linear-gradient(135deg, #e8870e, #e8c200);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 210, 0, 0.4);
}

.cta-yellow-orange::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f7971e, #ffd200);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-yellow-orange:hover::after {
  opacity: 0.4;
  transform: scale(1.3);
  filter: blur(10px);
}

/* Teal to Blue Gradient */
.cta-teal-blue {
  background: linear-gradient(135deg, #008080, #4facfe);
  color: white;
}

.cta-teal-blue:hover {
  background: linear-gradient(135deg, #006060, #2e8ce6);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(79, 172, 254, 0.4);
}

.cta-teal-blue::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #008080, #4facfe);
  border-radius: 50px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-teal-blue:hover::after {
  opacity: 0.4;
  transform: scale(1.3);
  filter: blur(10px);
}

/* Pulse Animation for CTA Buttons */
.cta-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Shimmer Effect */
.cta-shimmer {
  position: relative;
  overflow: hidden;
}

.cta-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* Icon in CTA Button */
.cta-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-icon {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* CTA Button in Feature Card */
.feature-cta {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* CTA Button Sizes */
.cta-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.cta-large {
  padding: 16px 32px;
  font-size: 1.2rem;
}

/* CTA Button States */
.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta-button:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:disabled::after {
  display: none;
}

/* 3D-Like Feature Cards with Shadow and Hover Animation */

/* Standout Features Section */
.standout-features {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
}

.standout-features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-slider-container,
.feature-grid-standout {
  margin-top: 60px;
  position: relative;
  padding: 40px 20px;
  border-radius: 30px;
  /* Premium Mesh Gradient Background */
  background: radial-gradient(at 0% 0%, rgba(168, 218, 220, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(69, 123, 157, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(29, 53, 87, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(168, 218, 220, 0.2) 0px, transparent 50%);
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 50px rgba(29, 53, 87, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

/* Feature slider base styles - ensure proper structure */
.feature-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  border: none;
}

.feature-slider {
  display: flex;
  width: 400%;
  /* 4 slides = 400% width */
  position: relative;
  transition: none;
  /* Transitions controlled by JS */
}

.feature-item-standout {
  width: 25%;
  /* Each slide takes 1/4 of slider width */
  padding: 40px 20px;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Slider dots base styles */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(69, 123, 157, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #457b9d;
  transform: scale(1.2);
}

/* Mobile feature slider styles */
@media (max-width: 768px) {
  .feature-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .feature-slider {
    display: flex !important;
    width: 400% !important;
    /* 4 slides = 400% width */
    transition: none;
    /* Transitions handled by JS */
    touch-action: pan-y pinch-zoom;
    /* Allow vertical scrolling but handle horizontal */
  }

  .feature-slider .feature-item-standout {
    width: 25% !important;
    /* Each slide takes 1/4 of slider width */
    min-width: 25% !important;
    max-width: 25% !important;
    margin: 0 !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
  }
}

/* Background gradient separator for standout features - REMOVED as we have a container bg now */
.feature-slider-container::after,
.feature-grid-standout::after {
  display: none;
}

.feature-item-standout {
  /* Glassmorphism Card */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(29, 53, 87, 0.08),
    inset 0 0 20px rgba(255, 255, 255, 0.5);
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background decoration for cards */
.feature-item-standout::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(168, 218, 220, 0.2) 0%,
      rgba(255, 255, 255, 0) 60%);
  z-index: 0;
  transition: all 0.6s ease;
  opacity: 0;
}

/* 3D Hover Effect */
.feature-item-standout:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(29, 53, 87, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.85);
}

.feature-item-standout:hover::before {
  top: -30%;
  right: -30%;
  opacity: 1;
}

/* Icon Styling */
.feature-item-standout i {
  color: #457b9d;
  margin-bottom: 30px;
  font-size: 4rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 15px rgba(69, 123, 157, 0.2));
}

.feature-item-standout:hover i {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 20px rgba(69, 123, 157, 0.4));
}

/* Specific icon animations */
.feature-item-standout:hover .fa-rocket {
  animation: rocketLaunch 0.8s ease-in-out;
}

.feature-item-standout:hover .fa-shield-alt {
  animation: shieldGlow 1s ease-in-out infinite alternate;
}

.feature-item-standout:hover .fa-cogs {
  animation: gearRotate 1.5s linear infinite;
}

.feature-item-standout:hover .fa-hand-pointer {
  animation: pointerClick 0.6s ease-in-out;
}

/* Rocket animation */
@keyframes rocketLaunch {
  0% {
    transform: translateY(0) scale(1.15);
  }

  50% {
    transform: translateY(-15px) scale(1.15);
  }

  100% {
    transform: translateY(0) scale(1.15);
  }
}

/* Shield glow animation */
@keyframes shieldGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(69, 123, 157, 0.4));
  }

  100% {
    filter: drop-shadow(0 0 15px rgba(69, 123, 157, 0.8));
  }
}

/* Gear rotation animation */
@keyframes gearRotate {
  0% {
    transform: scale(1.15) rotate(0deg);
  }

  100% {
    transform: scale(1.15) rotate(360deg);
  }
}

/* Pointer click animation */
@keyframes pointerClick {

  0%,
  100% {
    transform: scale(1.15);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Title Styling with Animated Underline */
.feature-item-standout h3 {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1d3557;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

/* Animated Underline */
.feature-item-standout h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: linear-gradient(to right, #457b9d, #a8dadc);
  border-radius: 2px;
  transition: width 0.4s ease, background 0.4s ease;
}

.feature-item-standout:hover h3::after {
  width: 80%;
  background: linear-gradient(to right, #1d3557, #457b9d);
}

/* Description Text */
.feature-item-standout p {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #5a7d9a;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 10px;
}

/* Sparkle Animation */
.feature-item-standout .sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #a8dadc;
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  box-shadow: 0 0 10px 2px rgba(168, 218, 220, 0.8);
}

.feature-item-standout .sparkle-1 {
  top: 20%;
  left: 20%;
  animation: sparkle 3s infinite 0.5s;
}

.feature-item-standout .sparkle-2 {
  top: 30%;
  right: 25%;
  animation: sparkle 3s infinite 1.2s;
}

.feature-item-standout .sparkle-3 {
  bottom: 25%;
  left: 30%;
  animation: sparkle 3s infinite 1.8s;
}

.feature-item-standout .sparkle-4 {
  bottom: 20%;
  right: 20%;
  animation: sparkle 3s infinite 2.4s;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Show sparkles on hover */
.feature-item-standout:hover .sparkle {
  opacity: 1;
}

/* Secondary Features Section */
.secondary-features {
  padding: 80px 0;
  background-color: #e9ecef;
}

.secondary-features .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.secondary-features h3 {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d3557;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.secondary-features h3::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #457b9d, #a8dadc);
  border-radius: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}

/* Background gradient separator for feature groups */
.feature-grid::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(69, 123, 157, 0.3),
      transparent);
}

/* Tablet breakpoint */
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* Desktop breakpoint */
@media (min-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
  }
}

.feature-item {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.08);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Background decoration for secondary cards */
.feature-item::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(168, 218, 220, 0.05) 0%,
      rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  transition: all 0.5s ease;
}

/* 3D Hover Effect for secondary cards */
.feature-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(29, 53, 87, 0.12);
}

.feature-item:hover::before {
  top: -30%;
  right: -30%;
}

/* Icon styling for secondary cards */
.feature-item i {
  color: #a8dadc;
  margin-bottom: 20px;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-item:hover i {
  transform: scale(1.1);
  color: #457b9d;
  filter: drop-shadow(0 2px 4px rgba(69, 123, 157, 0.2));
}

/* Specific icon animations for secondary features */
.feature-item:hover .fa-ad {
  animation: adBlock 0.7s ease-in-out;
}

.feature-item:hover .fa-file-audio {
  animation: audioWave 1s ease-in-out infinite;
}

.feature-item:hover .fa-video {
  animation: videoPlay 0.8s ease-in-out;
}

.feature-item:hover .fa-globe {
  animation: globeSpin 2s linear infinite;
}

.feature-item:hover .fa-microphone-alt {
  animation: micPulse 1.2s ease-in-out infinite alternate;
}

.feature-item:hover .fa-network-wired {
  animation: networkConnect 1.5s ease-in-out;
}

.feature-item:hover .fa-compress-alt {
  animation: compress 0.8s ease-in-out;
}

/* Ad block animation */
@keyframes adBlock {

  0%,
  100% {
    transform: scale(1.1) translateX(0);
  }

  25% {
    transform: scale(1.1) translateX(-5px);
  }

  75% {
    transform: scale(1.1) translateX(5px);
  }
}

/* Audio wave animation */
@keyframes audioWave {

  0%,
  100% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1.1) translateY(-5px);
  }
}

/* Video play animation */
@keyframes videoPlay {
  0% {
    transform: scale(1.1) rotate(0deg);
  }

  25% {
    transform: scale(1.1) rotate(-5deg);
  }

  75% {
    transform: scale(1.1) rotate(5deg);
  }

  100% {
    transform: scale(1.1) rotate(0deg);
  }
}

/* Globe spin animation */
@keyframes globeSpin {
  0% {
    transform: scale(1.1) rotateY(0deg);
  }

  100% {
    transform: scale(1.1) rotateY(360deg);
  }
}

/* Microphone pulse animation */
@keyframes micPulse {
  0% {
    filter: drop-shadow(0 0 3px rgba(168, 218, 220, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 8px rgba(168, 218, 220, 0.8));
  }
}

/* Network connection animation */
@keyframes networkConnect {
  0% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Compress animation */
@keyframes compress {
  0% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Title styling for secondary cards */
.feature-item h4 {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1d3557;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Animated underline for secondary cards */
.feature-item h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #a8dadc, #457b9d);
  transition: width 0.4s ease;
}

.feature-item:hover h4::after {
  width: 100%;
}

/* Features Grid Section Styles */
.features-grid-section {
  padding: 100px 0;
  background-color: #1a1a2e;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #a0a0a0;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.card-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag {
  background-color: rgba(79, 172, 254, 0.1);
  color: #4facfe;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* Tooltip Styles */
#tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* FAQ Responsive Design */
@media (max-width: 1024px) {
  .faq-hero h2 {
    font-size: 2.8rem;
  }

  /* FAQ Categories Section - Tablet */
  .faq-categories {
    padding: 3rem 0;
  }

  .faq-categories .container {
    padding: 0 1.5rem;
  }

  .faq-category {
    padding: 2.5rem 1.5rem;
    margin-bottom: 3rem;
  }

  .faq-category h3 {
    font-size: 2rem;
  }

  .accordion {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .panel p {
    font-size: 0.95rem;
    padding: 20px 0 20px 25px;
  }
}

@media (max-width: 768px) {
  .faq-hero {
    padding: 3rem 1rem;
  }

  .faq-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .faq-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  /* Removed flex-direction: column for better responsiveness */

  .search-container {
    width: 100%;
    max-width: none;
  }

  .search-input {
    font-size: 1rem;
    padding: 16px 45px 16px 18px;
  }

  .search-btn {
    width: auto;
    justify-content: center;
    padding: 12px 24px;
    height: 40px;
    top: -15px;
    right: 10px;
    box-sizing: border-box;
  }

  /* FAQ Categories Section - Mobile */
  .faq-categories {
    padding: 2rem 0;
    overflow-x: hidden;
  }

  .faq-categories .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .faq-category {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow-x: hidden;
    max-width: 100%;
  }

  .faq-category h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .faq-category h3::before {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .accordion {
    font-size: 0.95rem;
    padding: 14px 18px;
    border-radius: 10px;
  }

  .accordion .accordion-icon {
    font-size: 1.1rem;
    margin-right: 10px;
  }

  .panel {
    border-radius: 0 0 10px 10px;
  }

  .panel p {
    font-size: 0.9rem;
    padding: 18px 0 18px 20px;
  }

  .panel p::before {
    font-size: 1rem;
    left: 0;
    top: 18px;
  }

  .search-results {
    max-height: 250px;
  }

  .search-result-item {
    padding: 12px 16px;
  }

  .search-result-text {
    font-size: 0.95rem;
  }

  .search-result-category {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .faq-hero {
    padding: 2rem 1rem;
  }

  .faq-hero h2 {
    font-size: 1.8rem;
  }

  .faq-hero p {
    font-size: 1rem;
  }

  .search-input {
    font-size: 0.95rem;
    padding: 14px 40px 14px 16px;
  }

  .search-icon {
    right: 16px;
    font-size: 1.1rem;
  }

  .search-btn {
    padding: 18px 20px;
    font-size: 1rem;
    height: 45px;
    box-sizing: border-box;
  }

  /* FAQ Categories Section - Small Mobile */
  .faq-categories {
    padding: 1.5rem 0;
    overflow-x: hidden;
  }

  .faq-categories .container {
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .faq-category {
    padding: 1rem 0.8rem;
    margin-bottom: 1.5rem;
    overflow-x: hidden;
    max-width: calc(100vw - 1rem);
    width: 100%;
    box-sizing: border-box;
  }

  .faq-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    flex-direction: column;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    padding: 0.5rem 0;
  }

  .faq-category h3::before {
    width: 25px;
    height: 30px;
  }

  .accordion {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .accordion .accordion-icon {
    font-size: 1rem;
    margin-right: 8px;
  }

  .panel p {
    font-size: 0.85rem;
    padding: 15px 0 15px 18px;
  }

  .panel p::before {
    font-size: 0.9rem;
    top: 15px;
  }
}

/* Enhanced animations for mobile */
@media (max-width: 768px) {
  .qa-item {
    animation-duration: 0.5s;
  }

  .qa-item:nth-child(n + 4) {
    animation-delay: 0.1s;
  }

  .qa-item:nth-child(n + 7) {
    animation-delay: 0.05s;
  }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  .accordion {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .search-btn {
    min-height: 48px;
  }

  .search-result-item {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* Dark mode toggle animation */
.dark-mode-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: transform 0.3s ease;
}

/* Lamp Rope Toggle for Dark Mode */
.lamp-rope-toggle {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  width: 2px;
  height: 160px;
  /* Extended to reach the planet */
  background: linear-gradient(to bottom, #1d3557, #457b9d);
  border-radius: 1.5px;
  cursor: grab;
  transition: height 0.5s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: swing 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.lamp-rope-toggle:active {
  cursor: grabbing;
}

/* Pulley system has been removed */

/* Mobile-friendly styles for the lamp rope toggle */
@media (max-width: 768px) {

  /* Hide lamp rope toggle when hamburger appears */
  .lamp-rope-toggle {
    display: none;
  }

  .lamp-rope-toggle::before {
    width: 12px;
    height: 12px;
  }

  .lamp-rope-toggle::after {
    font-size: 16px;
    bottom: -18px;
  }

  /* Rope knot removed */

  /* Touch-optimized pull gestures */
  .lamp-rope-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
  }

  /* Ensure the mechanism doesn't overlap the logo on smaller screens */
  .logo {
    padding-bottom: 0px;
  }

  /* Optimize animations for mobile */
  .lamp-rope-toggle.pulling {
    animation: pullRope 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      returnBounce 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
  }

  @keyframes returnBounce {
    0% {
      transform: translateX(-50%);
    }

    20% {
      transform: translateX(-50%);
    }

    40% {
      transform: translateX(-50%);
    }

    60% {
      transform: translateX(-50%);
    }

    80% {
      transform: translateX(-50%);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  /* Rope knot animation removed */

  /* knotBounce animation removed */
}

.lamp-rope-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #a8dadc;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  z-index: 2;
}

.lamp-rope-toggle::after {
  content: "";
  font-size: 18px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

/* Spring/knot mechanism at the base */
.lamp-rope-toggle .rope-knot {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Rope knot hover and pseudo-elements removed */



/* twistKnot animation removed */

/* knotBounce animation removed */

.lamp-rope-toggle:hover {
  background: linear-gradient(to bottom, #457b9d, #1d3557);
}

.lamp-rope-toggle:hover::before {
  background-color: #e0f2f7;
}

.lamp-rope-toggle:hover::after {
  transform: translateX(-50%) scale(1.2);
}

/* Visual feedback when pulling the rope */
.lamp-rope-toggle.pulling-indicator {
  background: linear-gradient(to bottom, #457b9d, #1d3557);
}

.lamp-rope-toggle.pulling-indicator::before {
  background-color: #e0f2f7;
  box-shadow: 0 0 8px rgba(168, 218, 220, 0.6);
}

.lamp-rope-toggle.pulling-indicator::after {
  transform: translateX(-50%) scale(1.2);
  filter: drop-shadow(0 0 5px rgba(168, 218, 220, 0.6));
}

/* Animation for pulling the rope */
.lamp-rope-toggle.pulling {
  animation: pullRope 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    returnBounce 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s,
    tensionWave 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.lamp-rope-toggle.pulling .solar-system {
  animation: pullSolarSystem 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    returnSolarSystem 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

@keyframes pullRope {
  0% {
    transform: translateX(-50%) scaleY(1);
  }

  50% {
    transform: translateX(-50%) scaleY(1.3) translateY(20px);
  }

  100% {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes returnBounce {
  0% {
    transform: translateX(-50%) scaleY(1) rotate(0deg);
  }

  8% {
    transform: translateX(-50%) scaleY(0.9) rotate(30deg);
  }

  16% {
    transform: translateX(-50%) scaleY(1.1) rotate(-22deg);
  }

  24% {
    transform: translateX(-50%) scaleY(0.95) rotate(16deg);
  }

  32% {
    transform: translateX(-50%) scaleY(1.05) rotate(-12deg);
  }

  40% {
    transform: translateX(-50%) scaleY(0.98) rotate(8deg);
  }

  48% {
    transform: translateX(-50%) scaleY(1.02) rotate(-6deg);
  }

  56% {
    transform: translateX(-50%) scaleY(0.99) rotate(4deg);
  }

  64% {
    transform: translateX(-50%) scaleY(1.01) rotate(-3deg);
  }

  72% {
    transform: translateX(-50%) scaleY(0.995) rotate(2deg);
  }

  80% {
    transform: translateX(-50%) scaleY(1.005) rotate(-1deg);
  }

  88% {
    transform: translateX(-50%) scaleY(0.998) rotate(0.5deg);
  }

  96% {
    transform: translateX(-50%) scaleY(1.002) rotate(-0.2deg);
  }

  100% {
    transform: translateX(-50%) scaleY(1) rotate(0deg);
  }
}

@keyframes pullSolarSystem {
  0% {
    top: 160px;
    transform: translateX(-50%) scale(0.05);
  }

  50% {
    top: 180px;
    transform: translateX(-50%) scale(0.06);
  }

  100% {
    top: 160px;
    transform: translateX(-50%) scale(0.05);
  }
}

@keyframes returnSolarSystem {
  0% {
    top: 160px;
    transform: translateX(-50%) scale(0.05);
  }

  20% {
    top: 175px;
    transform: translateX(-50%) scale(0.055);
  }

  40% {
    top: 165px;
    transform: translateX(-50%) scale(0.045);
  }

  60% {
    top: 168px;
    transform: translateX(-50%) scale(0.048);
  }

  80% {
    top: 162px;
    transform: translateX(-50%) scale(0.052);
  }

  100% {
    top: 160px;
    transform: translateX(-50%) scale(0.05);
  }
}

/* Pendulum swing animation for lamp rope */
@keyframes swing {
  0% {
    transform: translateX(-50%) rotate(5deg);
  }

  50% {
    transform: translateX(-50%) rotate(-5deg);
  }

  100% {
    transform: translateX(-50%) rotate(5deg);
  }
}

/* Tension wave propagation animation */
@keyframes tensionWave {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 218, 220, 0);
  }

  20% {
    box-shadow: 0 0 10px 2px rgba(168, 218, 220, 0.8),
      0 20px 10px 2px rgba(168, 218, 220, 0.6),
      0 40px 10px 2px rgba(168, 218, 220, 0.4),
      0 60px 10px 2px rgba(168, 218, 220, 0.2);
  }

  40% {
    box-shadow: 0 20px 10px 2px rgba(168, 218, 220, 0.8),
      0 40px 10px 2px rgba(168, 218, 220, 0.6),
      0 60px 10px 2px rgba(168, 218, 220, 0.4),
      0 80px 10px 2px rgba(168, 218, 220, 0.2);
  }

  60% {
    box-shadow: 0 40px 10px 2px rgba(168, 218, 220, 0.8),
      0 60px 10px 2px rgba(168, 218, 220, 0.6),
      0 80px 10px 2px rgba(168, 218, 220, 0.4),
      0 100px 10px 2px rgba(168, 218, 220, 0.2);
  }

  80% {
    box-shadow: 0 60px 10px 2px rgba(168, 218, 220, 0.8),
      0 80px 10px 2px rgba(168, 218, 220, 0.6),
      0 100px 10px 2px rgba(168, 218, 220, 0.4),
      0 120px 10px 2px rgba(168, 218, 220, 0.2);
  }

  100% {
    box-shadow: 0 80px 10px 2px rgba(168, 218, 220, 0.8),
      0 100px 10px 2px rgba(168, 218, 220, 0.6),
      0 120px 10px 2px rgba(168, 218, 220, 0.4),
      0 140px 10px 2px rgba(168, 218, 220, 0.2);
  }
}

/* Bulb glow effect when rope is pulled */
.lamp-rope-toggle.pulling::after {
  box-shadow: 0 0 15px #457b9d, 0 0 25px #457b9d, 0 0 35px #457b9d;
  animation: bulbGlow 0.5s ease-in-out, pulseOutline 0.5s ease-in-out;
}

@keyframes bulbGlow {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.5);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes pulseOutline {
  0% {
    outline: 0px solid rgba(168, 218, 220, 0);
  }

  50% {
    outline: 3px solid rgba(168, 218, 220, 0.8);
  }

  100% {
    outline: 0px solid rgba(168, 218, 220, 0);
  }
}

/* Shadow under the mechanism for depth */
.lamp-rope-toggle {
  box-shadow: 0 5px 15px rgba(69, 123, 157, 0.2);
}

.lamp-rope-toggle:hover {
  box-shadow: 0 8px 20px rgba(69, 123, 157, 0.3);
}

.lamp-rope-toggle.pulling {
  box-shadow: 0 10px 25px rgba(69, 123, 157, 0.4);
}

/* Dark mode styles for the lamp rope toggle */
.dark-mode .lamp-rope-toggle {
  background: linear-gradient(to bottom, #e0f2f7, #a8dadc);
  transition: all 0.5s ease;
}

.dark-mode .lamp-rope-toggle::before {
  background-color: #1d3557;
  transition: all 0.5s ease;
  z-index: 2;
}

.dark-mode .lamp-rope-toggle::after {
  content: "";
  filter: drop-shadow(0 0 5px #457b9d);
  transition: all 0.5s ease;
}

/* Moon System Styles */
.lamp-rope-toggle .container {
  display: none;
  /* Hide by default */
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateY(70px);
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Show planet, orbit and moon only in dark mode */
.dark-mode .lamp-rope-toggle .container {
  display: flex;
}

.lamp-rope-toggle>.container>.orbit {
  width: 80px;
  height: 80px;
  border: 1px solid #333 !important;
  position: absolute;
  border-radius: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 12.8s linear infinite;
}

.lamp-rope-toggle .planet {
  background: #9e9e9e;
  box-shadow: inset -10px -10px 0px #717171;
  width: 45px;
  height: 45px;
  border-radius: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.lamp-rope-toggle .planet:before {
  content: "";
  background: #9e9e9e;
  border-radius: 100%;
  width: 8px;
  height: 8px;
  display: block;
  position: absolute;
  top: 10px;
  left: 15px;
}

.lamp-rope-toggle .planet:after {
  content: "";
  background: #717171;
  border-radius: 100%;
  width: 12px;
  height: 12px;
  display: block;
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.lamp-rope-toggle .moon {
  background: #c25447;
  box-shadow: inset -5px -5px 0 #a34138;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -7.5px;
}

.lamp-rope-toggle .moon:before {
  content: "";
  background: A34138;
  border-radius: 100%;
  width: 4px;
  height: 4px;
  display: inline-block;
  position: absolute;
  top: 6px;
  left: 6px;
}

.lamp-rope-toggle .moon:after {
  content: "";
  background: A34138;
  border-radius: 100%;
  width: 4px;
  height: 4px;
  display: block;
  position: absolute;
  bottom: 6px;
  right: 6px;
}

@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Dark mode styles for the rope-knot */
.dark-mode .lamp-rope-toggle .rope-knot::before,
.dark-mode .lamp-rope-toggle .rope-knot::after {
  border-color: #a8dadc;
  transition: border-color 0.5s ease;
}

/* Dark mode styles for pulley system have been removed */

/* Dark mode styles for the bulb glow effect */
.dark-mode .lamp-rope-toggle.pulling::after {
  box-shadow: 0 0 15px #457b9d, 0 0 25px #457b9d, 0 0 35px #457b9d;
  animation: bulbGlow 0.5s ease-in-out, pulseOutline 0.5s ease-in-out;
}

/* Dark mode shadow under the mechanism for depth */
.dark-mode .lamp-rope-toggle {
  box-shadow: 0 5px 15px rgba(69, 123, 157, 0.3);
}

.dark-mode .lamp-rope-toggle:hover {
  box-shadow: 0 8px 20px rgba(69, 123, 157, 0.4);
}

.dark-mode .lamp-rope-toggle.pulling {
  box-shadow: 0 10px 25px rgba(69, 123, 157, 0.5);
}

.dark-mode .lamp-rope-toggle:hover {
  background: linear-gradient(to bottom, #e0f2f7, #a8dadc);
}

.dark-mode .lamp-rope-toggle:hover::before {
  background-color: #457b9d;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

.dark-mode-toggle i {
  font-size: 1.5rem;
  color: #fff;
  -moz-osx-font-smoothing: grayscale;
  background-color: #e0f2f7;
}

main {
  background-color: #f4f7f6;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.container {
  width: 100%;
  /* Full width to remove side margins */
  margin: 3px 0px 3px 0px;
  padding: 0 0 clamp(10px, 2vw, 15px) 0;
  box-sizing: border-box;
  pointer-events: auto;
}

/* Header Styles - Mobile First */
header {
  background: #ffffff;
  color: #333;
  padding: 5px 0px 0px 0px;
  border-bottom: 3px solid #a8dadc;
  /* Soft accent color */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0 5px 5px 10px;
}

.logo {
  position: relative;
  flex: 0;
  order: -2;
  transform: translateY(-5px);
}

header nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.header-buttons {
  flex: 0;
  display: flex;
  gap: 10px;
}

.mobile-only {
  display: none;
}

/* Show mobile-only items when menu is open */
body.nav-open #nav-menu li.mobile-only {
  display: block;
}

.logo a {
  text-decoration: none;
}

header h1 {
  margin: 0;
  color: #1d3557;
  /* Darker blue for the logo, matching headings */
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "Arial Black", Arial, sans-serif;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation wrapper for positioning context */
.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.close-menu-btn {
  display: none;
  position: absolute;
  top: 5px;
  right: 19px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s ease;
}

.close-menu-btn:hover {
  background: rgba(255, 255, 255, 1);
}

#nav-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

#nav-menu li {
  margin-right: 20px;
}

header nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hamburger Menu Responsive Positioning for All Devices */
@media (max-width: 959px) {

  /* Hamburger Menu Positioning - Mobile & Tablet */
  #nav-menu {
    position: fixed;
    top: 0;
    left: 10;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(20px);
    z-index: 1050;
    padding: 120px 5vw 40px 5vw;
    box-sizing: border-box;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  /* Dark mode menu background */
  .dark-mode #nav-menu {
    background: linear-gradient(145deg,
        rgba(26, 26, 26, 0.98),
        rgba(45, 45, 45, 0.95));
  }

  /* Menu open state */
  body.nav-open #nav-menu,
  .nav-open #nav-menu {
    transform: translateX(0);
  }

  /* Responsive menu container */
  #nav-menu ul {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Beautiful menu items for all screen sizes */
  #nav-menu li {
    margin: 0 0 15px 0;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  body.nav-open #nav-menu li,
  .nav-open #nav-menu li {
    transform: translateY(0);
    opacity: 1;
  }

  /* Staggered animation delays */
  body.nav-open #nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
  }

  body.nav-open #nav-menu li:nth-child(2) {
    transition-delay: 0.2s;
  }

  body.nav-open #nav-menu li:nth-child(3) {
    transition-delay: 0.3s;
  }

  body.nav-open #nav-menu li:nth-child(4) {
    transition-delay: 0.4s;
  }

  body.nav-open #nav-menu li:nth-child(5) {
    transition-delay: 0.5s;
  }

  #nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    color: #333;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.8),
        rgba(248, 250, 252, 0.6));
    border: 2px solid rgba(79, 172, 254, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
  }

  /* Dark mode menu links */
  .dark-mode #nav-menu a {
    color: #e0f2f7;
    background: linear-gradient(135deg,
        rgba(45, 45, 45, 0.8),
        rgba(35, 35, 35, 0.6));
    border: 2px solid rgba(100, 181, 246, 0.3);
  }

  #nav-menu a:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
  }

  .dark-mode #nav-menu a:hover {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 100%);
    color: #1a1a1a;
  }
}

/* Small screens and mobile - Move menu up and align li elements to right */
@media (max-width: 809px) {
  #nav-menu {
    padding: 80px 20px 40px 20px !important;
    align-items: flex-end !important;
  }

  #nav-menu ul {
    align-items: flex-end !important;
    text-align: right !important;
  }

  #nav-menu li {
    align-self: flex-end !important;
    text-align: right !important;
  }

  #nav-menu a {
    justify-content: flex-end !important;
    text-align: right !important;
    width: 100% !important;
    flex-direction: row !important;
  }

  #nav-menu a i {
    order: 2 !important;
    margin-left: 15px !important;
    margin-right: 0 !important;
    color: #1d3557 !important;
  }

  /* Keep go premium and login button icons unchanged */
  #nav-menu .go-premium-btn i,
  #nav-menu .login-btn i {
    color: inherit !important;
  }

  /* Dark mode text and icons - white color for screens ≤959px */
  body.dark-mode #nav-menu a,
  .dark-mode #nav-menu a,
  html.dark-mode #nav-menu a {
    color: #ffffff !important;
  }

  body.dark-mode #nav-menu a i,
  .dark-mode #nav-menu a i,
  html.dark-mode #nav-menu a i {
    color: #ffffff !important;
  }

  body.dark-mode #nav-menu li,
  .dark-mode #nav-menu li,
  html.dark-mode #nav-menu li {
    color: #ffffff !important;
  }

  body.dark-mode #nav-menu,
  .dark-mode #nav-menu,
  html.dark-mode #nav-menu {
    color: #ffffff !important;
  }

  /* Keep go premium and login buttons unchanged in dark mode */
  .dark-mode #nav-menu .go-premium-btn,
  .dark-mode #nav-menu .go-premium-btn i,
  .dark-mode #nav-menu .login-btn,
  .dark-mode #nav-menu .login-btn i {
    color: inherit !important;
  }

  /* Center go premium and login buttons in menu */
  #nav-menu .go-premium-btn,
  #nav-menu .login-btn {
    flex-direction: row !important;
    justify-content: center !important;
    align-self: center !important;
    margin: 12px auto !important;
  }

  #nav-menu .mobile-only {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  #hamburger-btn {
    /* Align hamburger with the nav-wrapper on the right inside the header (<=768px) */
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: fixed;
    top: -2px;
    right: 20px;
    z-index: 1100;
    margin: 0;
  }

  /* Mobile specific menu adjustments - move to very top */
  #nav-menu {
    top: 0 !important;
    padding: 5px 20px 40px 20px !important;
    padding-top: 5px !important;
  }

  #nav-menu a {
    padding: 18px 20px;
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 809px) {
  #hamburger-btn {
    display: flex !important;
    position: absolute;
    top: -5px;
    right: 20px;
    width: 45px;
    height: 45px;
    z-index: 1100;
    align-items: center;
    justify-content: center;
  }

  /* Tablet specific menu adjustments - moved up */
  #nav-menu {
    padding: 80px 40px 50px 40px !important;
  }

  #nav-menu a {
    padding: 22px 30px;
    font-size: 1.3rem;
  }
}

/* Larger tablets - Full width centered menu */
@media (min-width: 810px) and (max-width: 959px) {
  #hamburger-btn {
    display: flex !important;
    position: absolute;
    top: -5px;
    right: 25px;
    width: 50px;
    height: 50px;
    z-index: 1100;
    align-items: center;
    justify-content: center;
  }

  /* Expand nav menu full width for larger tablets */
  #nav-menu {
    padding: 130px 40px 50px 40px;
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateX(0) !important;
    align-items: center !important;
  }

  /* Force nav menu to be visible and expanded when open */
  body.nav-open #nav-menu,
  .nav-open #nav-menu {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateX(0) !important;
  }

  #nav-menu ul {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  #nav-menu li {
    align-self: center !important;
    text-align: center !important;
  }

  #nav-menu a {
    padding: 22px 30px;
    font-size: 1.3rem;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    flex-direction: row !important;
  }

  #nav-menu a i {
    order: 0 !important;
    margin-left: 0 !important;
    margin-right: 15px !important;
    color: inherit !important;
  }

  /* Center all buttons including go premium and login */
  #nav-menu .go-premium-btn,
  #nav-menu .login-btn {
    justify-content: center !important;
    align-self: center !important;
    margin: 12px auto !important;
  }

  #nav-menu .mobile-only {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
}

/* Show the close button when the menu is open */
body.nav-open .close-menu-btn {
  display: block;
}

/* Lock background scroll when nav is open */
body.nav-open {
  overflow: hidden;
}

/* Theme toggle styles */
.theme-toggle-mobile {
  display: flex !important;
  align-items: center;
  position: absolute;
  top: 55%;
  right: 70px;
  transform: translateY(-50%);
  z-index: 1100;
}

:root {
  --scale: 1;
  color-scheme: light;
}

:root:has(#input:checked) {
  color-scheme: dark;
}

body {
  padding: 0;
  margin: 0;
}

.theme-toggle-mobile .switch {
  position: relative;
  display: inline-block;
  width: calc(var(--scale) * 60px);
  height: calc(var(--scale) * 34px);
}

.theme-toggle-mobile .switch #input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-toggle-mobile .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #2196f3;
  transition: 0.4s;
  z-index: 0;
  overflow: hidden;
}

.theme-toggle-mobile .sun-moon {
  position: absolute;
  content: "";
  height: calc(var(--scale) * 26px);
  width: calc(var(--scale) * 26px);
  left: calc(var(--scale) * 4px);
  bottom: calc(var(--scale) * 4px);
  background-color: yellow;
  transition: 0.4s;
}

.theme-toggle-mobile #input:not(:checked)+.slider .sun-moon {
  animation: sun-enter 0.4s ease-in-out;
}

.theme-toggle-mobile #input:checked+.slider {
  background-color: black;
}

.theme-toggle-mobile #input:focus+.slider {
  box-shadow: 0 0 calc(var(--scale) * 1px) #2196f3;
}

.theme-toggle-mobile #input:checked+.slider .sun-moon {
  transform: translateX(calc(var(--scale) * 26px));
  background-color: white;
  animation: rotate-center 0.6s ease-in-out both, moon-enter 0.4s ease-in-out,
    sun-exit 0.4s ease-in-out;
}

.theme-toggle-mobile .moon-dot {
  opacity: 0;
  transition: 0.4s;
  fill: gray;
}

.theme-toggle-mobile #input:checked+.slider .sun-moon .moon-dot {
  opacity: 1;
}

.theme-toggle-mobile .slider.round {
  border-radius: calc(var(--scale) * 34px);
}

.theme-toggle-mobile .slider.round .sun-moon {
  border-radius: 50%;
}

.theme-toggle-mobile #moon-dot-1 {
  left: calc(var(--scale) * 10px);
  top: calc(var(--scale) * 3px);
  position: absolute;
  width: calc(var(--scale) * 6px);
  height: calc(var(--scale) * 6px);
  z-index: 4;
}

.theme-toggle-mobile #moon-dot-2 {
  left: calc(var(--scale) * 2px);
  top: calc(var(--scale) * 10px);
  position: absolute;
  width: calc(var(--scale) * 10px);
  height: calc(var(--scale) * 10px);
  z-index: 4;
}

.theme-toggle-mobile #moon-dot-3 {
  left: calc(var(--scale) * 16px);
  top: calc(var(--scale) * 18px);
  position: absolute;
  width: calc(var(--scale) * 3px);
  height: calc(var(--scale) * 3px);
  z-index: 4;
}

.theme-toggle-mobile #light-ray-1,
.theme-toggle-mobile #light-ray-3,
.theme-toggle-mobile #light-ray-2 {
  position: absolute;
  z-index: -1;
  fill: white;
  opacity: 0.1;
}

.theme-toggle-mobile #light-ray-1 {
  left: calc(var(--scale) * -8px);
  top: calc(var(--scale) * -8px);
  width: calc(var(--scale) * 43px);
  height: calc(var(--scale) * 43px);
}

.theme-toggle-mobile #light-ray-2 {
  left: -50%;
  top: -50%;
  width: calc(var(--scale) * 55px);
  height: calc(var(--scale) * 55px);
}

.theme-toggle-mobile #light-ray-3 {
  left: calc(var(--scale) * -18px);
  top: calc(var(--scale) * -18px);
  width: calc(var(--scale) * 60px);
  height: calc(var(--scale) * 60px);
}

.theme-toggle-mobile .cloud-light,
.theme-toggle-mobile .cloud-dark {
  position: absolute;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.theme-toggle-mobile #input:checked+.slider .cloud-light,
.theme-toggle-mobile #input:checked+.slider .cloud-dark {
  position: absolute;
  animation-name: cloud-move;
  animation-duration: 6s;
  animation-iteration-count: infinite;
}

.theme-toggle-mobile .cloud-light {
  fill: #eee;
}

.theme-toggle-mobile .cloud-dark {
  fill: #ccc;
  animation-delay: 1s;
}

.theme-toggle-mobile #cloud-1 {
  left: calc(var(--scale) * 30px);
  top: calc(var(--scale) * 15px);
  width: calc(var(--scale) * 40px);
}

.theme-toggle-mobile #cloud-2 {
  left: calc(var(--scale) * 44px);
  top: calc(var(--scale) * 10px);
  width: calc(var(--scale) * 20px);
}

.theme-toggle-mobile #cloud-3 {
  left: calc(var(--scale) * 18px);
  top: calc(var(--scale) * 24px);
  width: calc(var(--scale) * 30px);
}

.theme-toggle-mobile #cloud-4 {
  left: calc(var(--scale) * 36px);
  top: calc(var(--scale) * 18px);
  width: calc(var(--scale) * 40px);
}

.theme-toggle-mobile #cloud-5 {
  left: calc(var(--scale) * 48px);
  top: calc(var(--scale) * 14px);
  width: calc(var(--scale) * 20px);
}

.theme-toggle-mobile #cloud-6 {
  left: calc(var(--scale) * 22px);
  top: calc(var(--scale) * 26px);
  width: calc(var(--scale) * 30px);
}

@keyframes cloud-move {
  0% {
    transform: translateX(0px);
  }

  40% {
    transform: translateX(calc(var(--scale) * 4px));
  }

  80% {
    transform: translateX(calc(var(--scale) * -4px));
  }

  100% {
    transform: translateX(0px);
  }
}

.theme-toggle-mobile .stars {
  transform: translateY(calc(var(--scale) * -32px));
  opacity: 0;
  transition: 0.4s;
}

.theme-toggle-mobile .star {
  fill: white;
  position: absolute;
  transition: 0.4s;
  animation-name: star-twinkle;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.theme-toggle-mobile #input:checked+.slider .stars {
  transform: translateY(0);
  opacity: 1;
}

.theme-toggle-mobile #star-1 {
  width: calc(var(--scale) * 20px);
  top: calc(var(--scale) * 2px);
  left: calc(var(--scale) * 3px);
  animation-delay: 0.3s;
}

.theme-toggle-mobile #star-2 {
  width: calc(var(--scale) * 6px);
  top: calc(var(--scale) * 16px);
  left: calc(var(--scale) * 3px);
}

.theme-toggle-mobile #star-3 {
  width: calc(var(--scale) * 12px);
  top: calc(var(--scale) * 20px);
  left: calc(var(--scale) * 10px);
  animation-delay: 0.6s;
}

.theme-toggle-mobile #star-4 {
  width: calc(var(--scale) * 18px);
  top: calc(var(--scale) * 0px);
  left: calc(var(--scale) * 18px);
  animation-delay: 1.3s;
}

@keyframes star-twinkle {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.2);
  }

  80% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cloud-move {
  0% {
    transform: translateX(0px);
  }

  40% {
    transform: translateX(calc(var(--scale) * 4px));
  }

  80% {
    transform: translateX(calc(var(--scale) * -4px));
  }

  100% {
    transform: translateX(0px);
  }
}

/* Dimmed blurred backdrop behind the menu */
#blur-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
  display: none;
}

#blur-overlay.active {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

@media (min-width: 769px) {
  .theme-toggle-mobile {
    display: flex !important;
    align-items: center;
    position: fixed;
    top: 25px;
    right: 82px;
    z-index: 1100;
  }

  :root {
    --scale: 0.9;
    color-scheme: light;
  }

  :root:has(#input:checked) {
    color-scheme: dark;
  }

  body {
    padding: 0;
    margin: 0;
  }

  .theme-toggle-mobile .switch {
    position: relative;
    display: inline-block;
    width: calc(var(--scale) * 60px);
    height: calc(var(--scale) * 34px);
  }

  .theme-toggle-mobile .switch #input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .theme-toggle-mobile .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #2196f3;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
  }

  .theme-toggle-mobile .sun-moon {
    position: absolute;
    content: "";
    height: calc(var(--scale) * 26px);
    width: calc(var(--scale) * 26px);
    left: calc(var(--scale) * 4px);
    bottom: calc(var(--scale) * 4px);
    background-color: yellow;
    transition: 0.4s;
  }

  .theme-toggle-mobile #input:not(:checked)+.slider .sun-moon {
    animation: sun-enter 0.4s ease-in-out;
  }

  .theme-toggle-mobile #input:checked+.slider {
    background-color: black;
  }

  .theme-toggle-mobile #input:focus+.slider {
    box-shadow: 0 0 calc(var(--scale) * 1px) #2196f3;
  }

  .theme-toggle-mobile #input:checked+.slider .sun-moon {
    transform: translateX(calc(var(--scale) * 26px));
    background-color: white;
    animation: rotate-center 0.6s ease-in-out both, moon-enter 0.4s ease-in-out,
      sun-exit 0.4s ease-in-out;
  }

  .theme-toggle-mobile .moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: gray;
  }

  .theme-toggle-mobile #input:checked+.slider .sun-moon .moon-dot {
    opacity: 1;
  }

  .theme-toggle-mobile .slider.round {
    border-radius: calc(var(--scale) * 34px);
  }

  .theme-toggle-mobile .slider.round .sun-moon {
    border-radius: 50%;
  }

  .theme-toggle-mobile #moon-dot-1 {
    left: calc(var(--scale) * 10px);
    top: calc(var(--scale) * 3px);
    position: absolute;
    width: calc(var(--scale) * 6px);
    height: calc(var(--scale) * 6px);
    z-index: 4;
  }

  .theme-toggle-mobile #moon-dot-2 {
    left: calc(var(--scale) * 2px);
    top: calc(var(--scale) * 10px);
    position: absolute;
    width: calc(var(--scale) * 10px);
    height: calc(var(--scale) * 10px);
    z-index: 4;
  }

  .theme-toggle-mobile #moon-dot-3 {
    left: calc(var(--scale) * 16px);
    top: calc(var(--scale) * 18px);
    position: absolute;
    width: calc(var(--scale) * 3px);
    height: calc(var(--scale) * 3px);
    z-index: 4;
  }

  .theme-toggle-mobile #light-ray-1,
  .theme-toggle-mobile #light-ray-3,
  .theme-toggle-mobile #light-ray-2 {
    position: absolute;
    z-index: -1;
    fill: white;
    opacity: 0.1;
  }

  .theme-toggle-mobile #light-ray-1 {
    left: calc(var(--scale) * -8px);
    top: calc(var(--scale) * -8px);
    width: calc(var(--scale) * 43px);
    height: calc(var(--scale) * 43px);
  }

  .theme-toggle-mobile #light-ray-2 {
    left: -50%;
    top: -50%;
    width: calc(var(--scale) * 55px);
    height: calc(var(--scale) * 55px);
  }

  .theme-toggle-mobile #light-ray-3 {
    left: calc(var(--scale) * -18px);
    top: calc(var(--scale) * -18px);
    width: calc(var(--scale) * 60px);
    height: calc(var(--scale) * 60px);
  }

  .theme-toggle-mobile .cloud-light,
  .theme-toggle-mobile .cloud-dark {
    position: absolute;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
  }

  .theme-toggle-mobile #input:checked+.slider .cloud-light,
  .theme-toggle-mobile #input:checked+.slider .cloud-dark {
    position: absolute;
    animation-name: cloud-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
  }

  .theme-toggle-mobile .cloud-light {
    fill: #eee;
  }

  .theme-toggle-mobile .cloud-dark {
    fill: #ccc;
    animation-delay: 1s;
  }

  .theme-toggle-mobile #cloud-1 {
    left: calc(var(--scale) * 30px);
    top: calc(var(--scale) * 15px);
    width: calc(var(--scale) * 40px);
  }

  .theme-toggle-mobile #cloud-2 {
    left: calc(var(--scale) * 44px);
    top: calc(var(--scale) * 10px);
    width: calc(var(--scale) * 20px);
  }

  .theme-toggle-mobile #cloud-3 {
    left: calc(var(--scale) * 18px);
    top: calc(var(--scale) * 24px);
    width: calc(var(--scale) * 30px);
  }

  .theme-toggle-mobile #cloud-4 {
    left: calc(var(--scale) * 36px);
    top: calc(var(--scale) * 18px);
    width: calc(var(--scale) * 40px);
  }

  .theme-toggle-mobile #cloud-5 {
    left: calc(var(--scale) * 48px);
    top: calc(var(--scale) * 14px);
    width: calc(var(--scale) * 20px);
  }

  .theme-toggle-mobile #cloud-6 {
    left: calc(var(--scale) * 22px);
    top: calc(var(--scale) * 26px);
    width: calc(var(--scale) * 30px);
  }

  @keyframes cloud-move {
    0% {
      transform: translateX(0px);
    }

    40% {
      transform: translateX(calc(var(--scale) * 4px));
    }

    80% {
      transform: translateX(calc(var(--scale) * -4px));
    }

    100% {
      transform: translateX(0px);
    }
  }

  .theme-toggle-mobile .stars {
    transform: translateY(calc(var(--scale) * -32px));
    opacity: 0;
    transition: 0.4s;
  }

  .theme-toggle-mobile .star {
    fill: white;
    position: absolute;
    transition: 0.4s;
    animation-name: star-twinkle;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }

  .theme-toggle-mobile #input:checked+.slider .stars {
    transform: translateY(0);
    opacity: 1;
  }

  .theme-toggle-mobile #star-1 {
    width: calc(var(--scale) * 20px);
    top: calc(var(--scale) * 2px);
    left: calc(var(--scale) * 3px);
    animation-delay: 0.3s;
  }

  .theme-toggle-mobile #star-2 {
    width: calc(var(--scale) * 6px);
    top: calc(var(--scale) * 16px);
    left: calc(var(--scale) * 3px);
  }

  .theme-toggle-mobile #star-3 {
    width: calc(var(--scale) * 12px);
    top: calc(var(--scale) * 20px);
    left: calc(var(--scale) * 10px);
    animation-delay: 0.6s;
  }

  .theme-toggle-mobile #star-4 {
    width: calc(var(--scale) * 18px);
    top: calc(var(--scale) * 0px);
    left: calc(var(--scale) * 18px);
    animation-delay: 1.3s;
  }

  @keyframes star-twinkle {
    0% {
      transform: scale(1);
    }

    40% {
      transform: scale(1.2);
    }

    80% {
      transform: scale(0.8);
    }

    100% {
      transform: scale(1);
    }
  }

  @keyframes cloud-move {
    0% {
      transform: translateX(0px);
    }

    40% {
      transform: translateX(calc(var(--scale) * 4px));
    }

    80% {
      transform: translateX(calc(var(--scale) * -4px));
    }

    100% {
      transform: translateX(0px);
    }
  }
}

@media (min-width: 769px) and (max-width: 959px) {

  /* Hide lamp rope toggle on screens 769px-959px */
  .lamp-rope-toggle {
    display: none;
  }
}

@media (max-width: 768px) {

  /* Hide lamp rope toggle on screens 768px and smaller */
  .lamp-rope-toggle {
    display: none;
  }
}

@media (min-width: 960px) {
  #hamburger-btn {
    display: none !important;
  }

  /* Remove background and border from nav-menu for screens 960px and larger */
  #nav-menu {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Remove background and border from nav-menu in dark mode for screens 960px and larger */
  .dark-mode #nav-menu {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Remove border from header for screens 960px and larger */
  header {
    border-bottom: none !important;
  }

  /* Remove border from header in dark mode for screens 960px and larger */
  .dark-mode header {
    border-bottom: none !important;
    border: none !important;
  }

  /* Force remove all navigation borders for screens 960px and larger */
  nav,
  header nav,
  #nav-menu,
  .dark-mode nav,
  .dark-mode header nav,
  .dark-mode #nav-menu {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
  }

  /* Absolute override for any persistent borders and backgrounds in dark mode */
  .dark-mode header,
  .dark-mode header nav,
  .dark-mode #nav-menu,
  .dark-mode nav,
  body.dark-mode header,
  body.dark-mode header nav,
  body.dark-mode #nav-menu,
  body.dark-mode nav,
  html.dark-mode header,
  html.dark-mode header nav,
  html.dark-mode #nav-menu,
  html.dark-mode nav {
    border: 0 !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    outline: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  /* Enhanced Hero Section for Large Screens */
  .home-hero {
    min-height: clamp(80vh, 90vh, 100vh);
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-size: 50% auto;
    background-position: right center;
  }

  .home-hero.symmetric-bg .home-hero::before,
  .home-hero.symmetric-bg .home-hero::after {
    background-size: 50%;
  }

  .hero h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: clamp(2rem, 3vw, 3rem);
  }

  .hero p {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: clamp(3rem, 5vw, 4rem);
    max-width: min(80%, 800px);
  }

  /* Enhanced Container and Spacing */
  .container {
    width: 100%;
    padding: 0 0 clamp(20px, 3vw, 30px) 0;
  }

  /* Enhanced Feature Grids */
  .feature-grid-standout {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }

  .feature-item-standout {
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    width: 100%;
    max-width: 300px;
    min-width: 280px;
    box-sizing: border-box;
  }

  .feature-item-standout:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }

  .feature-item-standout i {
    font-size: 4rem;
  }

  .feature-item-standout h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .feature-item-standout p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  /* Enhanced Secondary Features */
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
  }

  .feature-item {
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }

  .feature-item i {
    font-size: 3.5rem;
  }

  .feature-item h4 {
    font-size: 1.4rem;
  }

  .feature-item p {
    font-size: 1rem;
  }

  /* Enhanced Pricing Cards */
  .tier-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
  }

  .pricing-card {
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  }

  .pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  }

  .pricing-card h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .pricing-card .price {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .pricing-card ul li {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .pricing-card .btn {
    padding: 18px 30px;
    font-size: 1.2rem;
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Enhanced Buttons */
  .btn {
    padding: clamp(14px, 2vw, 16px) clamp(25px, 4vw, 30px);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }

  /* Enhanced Supported Sites */
  .sites-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .site-item {
    padding: 14px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    min-height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    aspect-ratio: 1/1;
  }


  .site-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.1),
        rgba(79, 172, 254, 0.1));
  }


  .site-item i {
    font-size: 3.5rem;
    color: #4facfe;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
  }

  /* Desktop Vimeo fixes */
  .site-item .fab.fa-vimeo {
    font-size: 3.2rem !important;
    color: #457b9d !important;
  }

  /* Ensure Vimeo hover color works */
  .site-item:nth-child(7):hover .fab.fa-vimeo {
    color: #1ab7ea !important;
  }

  .site-item small {
    font-size: 9px !important;
    color: #ff6b6b !important;
    font-weight: 400;
    margin-top: 3px;
    line-height: 1.1;
    display: block;
  }

  /* Dark mode desktop Vimeo fix */
  .dark-mode .site-item .fab.fa-vimeo {
    color: #4facfe !important;
  }

  /* Brand-specific colors for each platform on hover - big screens */
  .site-item:nth-child(1):hover i {
    color: #ff0000;
  }

  /* YouTube */
  .site-item:nth-child(2):hover i {
    color: #000000;
  }

  /* TikTok */
  .site-item:nth-child(3):hover i {
    color: #1877f2;
  }

  /* Facebook */
  .site-item:nth-child(4):hover i {
    color: #e4405f;
  }

  /* Instagram */
  .site-item:nth-child(5):hover i {
    color: #bd081c;
  }

  /* Pinterest */
  .site-item:nth-child(6):hover i {
    color: #1da1f2;
  }

  /* Twitter/X */
  .site-item:nth-child(7):hover i {
    color: #1ab7ea;
  }

  /* Vimeo */
  .site-item:nth-child(8):hover i {
    color: #00d3ff;
  }

  /* Dailymotion */
  .site-item:nth-child(9):hover i {
    color: #7b32f8;
  }

  /* Odysee */
  .site-item:nth-child(10):hover i {
    color: #ff4500;
  }

  /* Reddit */
  .site-item:nth-child(11):hover i {
    color: #000000;
  }

  /* Threads */
  .site-item:nth-child(12):hover i {
    color: #4680c2;
  }

  /* VK */

  /* Site item icon animation delays removed for stable icons */


  .site-item span {
    font-size: 1rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
    position: relative;
    z-index: 2;
  }

  .site-item:hover i {
    transform: scale(1.2);
  }

  .site-item:hover span {
    font-weight: 600;
  }

  /* Brand-specific colors for each platform text on hover - big screens */
  .site-item:nth-child(1):hover span {
    color: #ff0000;
  }

  /* YouTube */
  .site-item:nth-child(2):hover span {
    color: #000000;
  }

  /* TikTok */
  .site-item:nth-child(3):hover span {
    color: #1877f2;
  }

  /* Facebook */
  .site-item:nth-child(4):hover span {
    color: #e4405f;
  }

  /* Instagram */
  .site-item:nth-child(5):hover span {
    color: #bd081c;
  }

  /* Pinterest */
  .site-item:nth-child(6):hover span {
    color: #1da1f2;
  }

  /* Twitter/X */
  .site-item:nth-child(7):hover span {
    color: #1ab7ea;
  }

  /* Vimeo */
  .site-item:nth-child(8):hover span {
    color: #00d3ff;
  }

  /* Dailymotion */
  .site-item:nth-child(9):hover span {
    color: #7b32f8;
  }

  /* Odysee */
  .site-item:nth-child(10):hover span {
    color: #ff4500;
  }

  /* Reddit */
  .site-item:nth-child(11):hover span {
    color: #000000;
  }

  /* Threads */
  .site-item:nth-child(12):hover span {
    color: #4680c2;
  }

  /* VK */

  /* Pulse animation for platform icons */
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 0.8;
    }

    50% {
      transform: scale(1.1);
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 0.8;
    }
  }

  .site-item span {
    font-size: 1rem;
  }

  /* Enhanced FAQ and Other Sections */
  .faq-category h3,
  .privacy-content h3 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .accordion {
    font-size: 1.4rem;
    padding: 20px;
    border-radius: 10px;
  }

  .panel p {
    font-size: 1.1rem;
    padding: 20px 0 20px 25px;
  }

  /* Enhanced Footer */
  footer {
    padding: 3rem 0;
    font-size: 1rem;
  }

  footer .container {
    gap: 5px;
  }

  /* Enhanced Navigation */
  header nav a {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
  }

  header nav a:hover {
    transform: scale(1.1);
    text-decoration: none;
  }

  /* Remove icons from navigation links on large screens */
  header nav a i {
    display: none !important;
  }

  /* Make navigation menu horizontal and centered on large screens */
  #nav-menu {
    flex-direction: row;
    justify-content: center;
  }

  #nav-menu li {
    margin-right: 0;
    margin-left: 20px;
  }

  #nav-menu li:first-child {
    margin-left: 0;
  }

  /* Center the navigation in the header */
  header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Hide mobile-only buttons on large screens */
  #nav-menu li.mobile-only {
    display: none !important;
  }

  /* Position header buttons on top right of header on large screens */
  .header-buttons {
    display: flex;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 10;
  }

  /* Style desktop header buttons to match mobile buttons */
  .header-buttons .btn.login-btn {
    background: linear-gradient(135deg, #457b9d, #5a9bd4);
    border: none;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 3rem;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .header-buttons .btn.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .header-buttons .btn.go-premium-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 3rem;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .header-buttons .btn.go-premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  /* Enhanced Form Elements */
  .url-input {
    padding: clamp(12px, 2vw, 14px) clamp(15px, 2vw, 18px);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    border-radius: 12px;
  }

  .process-btn {
    padding: clamp(12px, 2vw, 14px) clamp(25px, 4vw, 30px);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    border-radius: 8px;
  }

  /* Enhanced Video Preview */
  .video-preview {
    padding: clamp(25px, 4vw, 35px);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 200;
  }

  .video-preview h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    margin-bottom: clamp(20px, 3vw, 25px);
  }

  /* Enhanced Download Elements */
  .download-btn {
    padding: clamp(12px, 2vw, 14px) clamp(25px, 4vw, 30px);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    border-radius: 8px;
  }

  /* Enhanced Slider */
  .dual-range-slider {
    padding: 20px;
    border-radius: 15px;
  }

  .slider-handle {
    width: 28px;
    height: 28px;
  }

  .time-input-group input[type="text"] {
    max-width: 120px;
    padding: 10px 14px;
    font-size: 1rem;
  }
}

header nav a:hover {
  color: #a8dadc;
  text-decoration: none;
}

header nav li:hover {
  background-color: rgba(168, 218, 220, 0.1);
  transform: scale(1.05);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#hamburger-btn {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  left: -15px;
}

#hamburger-btn:hover {
  color: #a8dadc;
  transform: scale(1.1);
}

/* Clear Button - Match URL Input Background - All Screens */
.clear-btn {
  background: inherit !important;
  border: none !important;
  color: #666 !important;
  cursor: pointer !important;
  font-size: 18px !important;
  padding: 5px !important;
  margin-left: -25px !important;
}

/* Clear button positioning for all screen sizes */
@media (max-width: 768px) {
  .clear-btn {
    margin-left: -25px !important;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .clear-btn {
    margin-left: -25px !important;
  }

  /* Reduce download button sizes for tablet screens */
  .download-btn {
    min-width: auto !important;
    width: auto !important;
    height: 38px !important;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    gap: 4px !important;
  }

  .download-other-btn {
    min-width: auto !important;
    width: auto !important;
    height: 40px !important;
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    gap: 5px !important;
  }

  /* Adjust icon sizes for smaller buttons */
  .download-btn .btn-content i,
  .download-other-btn .btn-content i {
    font-size: 1.1em !important;
    margin-right: 6px !important;
  }

  /* Reduce hover effects for tablet screens */
  .download-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
  }

  .download-other-btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
  }

  /* Reduce video preview size */
  .video-preview {
    max-width: 85% !important;
    padding: 20px !important;
    margin: 30px auto !important;
    left: auto !important;
    transform: none !important;
  }
}

@media (min-width: 960px) {
  .clear-btn {
    margin-left: -50px !important;
    transform: translateX(-12px) !important;
    top: 4px !important;
  }

  /* Ensure video preview is full size on larger screens */
  .video-preview {
    max-width: 1200px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: clamp(25px, 4vw, 35px) !important;
    margin: clamp(50px, 8vw, 10px) auto !important;
    /* Restore original margin if needed, or keep auto */
  }
}

.dark-mode .clear-btn {
  color: #e0f2f7 !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Prevent URL text from going under clear button */
.url-input {
  padding-right: 40px !important;
}

/* Dark Mode Navigation Text - White for screens ≤959px */
@media (max-width: 959px) {

  body.dark-mode #nav-menu a,
  .dark-mode #nav-menu a,
  html.dark-mode #nav-menu a,
  [data-theme="dark"] #nav-menu a {
    color: #ffffff !important;
  }

  body.dark-mode #nav-menu a i,
  .dark-mode #nav-menu a i,
  html.dark-mode #nav-menu a i,
  [data-theme="dark"] #nav-menu a i {
    color: #ffffff !important;
  }

  body.dark-mode #nav-menu li,
  .dark-mode #nav-menu li,
  html.dark-mode #nav-menu li,
  [data-theme="dark"] #nav-menu li {
    color: #ffffff !important;
  }

  body.dark-mode #nav-menu,
  .dark-mode #nav-menu,
  html.dark-mode #nav-menu,
  [data-theme="dark"] #nav-menu {
    color: #ffffff !important;
  }

  /* Ensure go premium and login buttons keep their colors */
  body.dark-mode #nav-menu .go-premium-btn,
  .dark-mode #nav-menu .go-premium-btn,
  body.dark-mode #nav-menu .login-btn,
  .dark-mode #nav-menu .login-btn {
    color: inherit !important;
  }
}

/* Creator Plan Elements - Move Down (Home Page Only) */
.pricing-tiers.fade-in .creator-plan .plan-decoration,
.pricing-tiers.fade-in .creator-plan .plan-header,
.pricing-tiers.fade-in .creator-plan .price-section,
.pricing-tiers.fade-in .creator-plan .plan-benefits,
.pricing-tiers.fade-in .creator-plan .plan-cta {
  margin-top: 40px !important;
}

/* Keep popular-badge in original position */
.pricing-tiers.fade-in .creator-plan .popular-badge {
  margin-top: 0 !important;
}

/* Free Plan Button - Green Text and Border */
.free-plan .btn.btn-outline {
  color: #28a745 !important;
  border: 2px solid #28a745 !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.free-plan .btn.btn-outline:hover {
  color: #fff !important;
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}

/* Studio Plan Button - Gold Color */
.studio-plan .btn.btn-outline-dark {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%) !important;
  color: #1d3557 !important;
  border: 2px solid #ffa500 !important;
  padding: 15px 30px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}

.studio-plan .btn.btn-outline-dark:hover {
  background: linear-gradient(135deg, #ffed4a 0%, #ffa500 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5) !important;
  color: #1d3557 !important;
}

/* Pricing Tiers Spacing Fix */
.pricing-tiers.fade-in {
  margin-bottom: 80px !important;
  padding-bottom: 60px !important;
}

.standout-features.magical-reveal {
  margin-top: 80px !important;
  padding-top: 60px !important;
}

.particles-bg {
  margin-top: 40px !important;
}

/* Hero Section Styles */
.home-hero {
  background: #e0f2f7;
  /* Lighter soft blue for hero */
  background-image: url(a-digital-artwork-featuring-a-majestic-j_rS5L4l23SQGNKFFTOez-4A__l6l2AKfSFu3TnDQ0uuM7Q-removebg-preview.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  max-width: 100%;
  background-attachment: scroll;
  color: #333;
  padding: clamp(2rem, 5vw, 4rem) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: clamp(50vh, 60vh, 70vh);
  position: relative;
  animation: sweepIn 2s ease-out;
  z-index: 10;
  pointer-events: none;
}

/* Dark mode styling for home-hero - same color throughout */
.dark-mode .home-hero {
  background-color: #1d3557 !important;
  color: #e0f2f7;
}

.dark-mode .home-hero .container {
  background-color: transparent !important;
}

@keyframes sweepIn {
  0% {
    background-position: 200% bottom;
  }

  100% {
    background-position: right bottom;
  }
}

.home-hero.symmetric-bg {
  background: #e0f2f7;
}

.home-hero.symmetric-bg::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background-image: url(a-digital-artwork-featuring-a-majestic-j_rS5L4l23SQGNKFFTOez-4A__l6l2AKfSFu3TnDQ0uuM7Q-removebg-preview.png);
  background-repeat: no-repeat;
  background-position: right 0 bottom;
  background-size: 20%;
  background-attachment: scroll;
  transform: translateX(0%);
  z-index: 10;
}

.home-hero.symmetric-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 80%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background-image: url(a-digital-artwork-featuring-a-majestic-j_rS5L4l23SQGNKFFTOez-4A__l6l2AKfSFu3TnDQ0uuM7Q-removebg-preview.png);
  background-repeat: no-repeat;
  background-position: left 0 bottom;
  background-size: 20%;
  background-attachment: scroll;
  transform: translateX(0%) scaleX(-1);
  z-index: 10;
}

.hero h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: #1d3557;
  opacity: 0;
  transition: opacity 1s ease;
  min-height: 3.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-headline {
  border-right: 2px solid #457b9d;
  animation: blink-caret 1s step-end infinite;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: #457b9d;
  }
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: min(90%, 700px);
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transition: opacity 1s ease;
}

.download-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(10px, 2vw, 15px);
  max-width: min(90%, 600px);
  margin: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease;
}

.input-group {
  display: flex;
  width: 90%;
  gap: 0;
  position: relative;
  height: 50px;
  align-items: stretch;
  margin: 0 auto;
}

.input-group .url-input {
  flex: 1;
  border-radius: 10px 0 0 10px;
  border-right: none;
  padding: 0 45px 0 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 50px;
  box-sizing: border-box;
}

.clear-btn {
  background: transparent;
  border: none;
  color: #999;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 10px;
  transition: color 0.3s ease, transform 0.3s ease;
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
}

.clear-btn:hover {
  color: #e0f2f7;
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .clear-btn {
    right: 80px;
    font-size: 1rem;
    padding: 0 8px;
    background-color: #e0f2f7;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
}

.input-group .process-btn {
  border-radius: 0 10px 10px 0;
  margin-top: 0;
  white-space: nowrap;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 25px);
  box-sizing: border-box;
}

.url-input {
  width: 100%;
  padding: 0 clamp(12px, 2vw, 15px);
  border: 2px solid #a8dadc;
  border-radius: 10px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 50px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.url-input:focus {
  outline: none;
  border-color: #457b9d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #ffffff;
}

.process-btn {
  background: #457b9d;
  color: #fff;
  padding: 0 clamp(20px, 4vw, 25px);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: clamp(5px, 1vw, 8px);
  white-space: nowrap;
  height: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.process-btn:hover {
  background: #1d3557;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.processing-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 20px auto 0;
  width: 100%;
  color: #000000;
  font-weight: bold;
  position: relative;
  left: 0;
  right: 0;
}

.processing-status p,
.processing-text {
  margin: 0;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #000000;
  font-weight: bold;
  text-align: center;
}

.video-preview {
  text-align: center;
  margin: clamp(50px, 8vw, 10px) auto;
  padding: clamp(20px, 4vw, 30px);
  background-color: #e0f2f7;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: 1200px;
}

.video-preview iframe,
.video-preview img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: clamp(10px, 2vw, 15px);
  object-fit: contain;
}

/* Height constraints for specific social media platforms - FORCED */
#video-thumbnail[src*="facebook.com"],
#video-thumbnail[src*="instagram.com"],
#video-thumbnail[src*="pinterest.com"],
#video-thumbnail[src*="pinimg.com"],
#video-thumbnail[src*="threads.net"],
#video-thumbnail[src*="threads.com"],
.video-preview #video-thumbnail[src*="facebook.com"],
.video-preview #video-thumbnail[src*="instagram.com"],
.video-preview #video-thumbnail[src*="pinterest.com"],
.video-preview #video-thumbnail[src*="pinimg.com"],
.video-preview #video-thumbnail[src*="threads.net"],
.video-preview #video-thumbnail[src*="threads.com"] {
  height: 375px !important;
  max-height: 400px !important;
  min-height: 350px !important;
  object-fit: cover !important;
  width: auto !important;
  /* display: block !important; REMOVED to allow JS toggle */
  margin: 0 auto 20px auto !important;
}

/* Additional targeting for proxy images and Pinterest domains */
#video-thumbnail[src*="/proxy-image"],
#video-thumbnail[src*="pinimg.com"],
#video-thumbnail[src*="i.pinimg.com"],
.video-preview #video-thumbnail[src*="/proxy-image"],
.video-preview #video-thumbnail[src*="pinimg.com"],
.video-preview #video-thumbnail[src*="i.pinimg.com"] {
  height: 375px !important;
  max-height: 400px !important;
  min-height: 350px !important;
  object-fit: cover !important;
  width: auto !important;
  /* display: block !important; REMOVED */
  margin: 0 auto 20px auto !important;
}

/* Class-based targeting for social media thumbnails - ULTIMATE FORCE */
.social-media-thumbnail,
#video-thumbnail.social-media-thumbnail,
.video-preview .social-media-thumbnail,
.video-preview #video-thumbnail.social-media-thumbnail {
  height: 375px !important;
  max-height: 400px !important;
  min-height: 350px !important;
  object-fit: cover !important;
  width: auto !important;
  /* display: block !important; REMOVED */
  margin: 0 auto 20px auto !important;
}

.video-preview iframe {
  aspect-ratio: 16 / 9;
  min-height: 315px;
}

/* Styling for vertical videos (TikTok, YouTube Shorts, etc.) */
.video-preview iframe.tiktok-embed,
.video-preview iframe[src*="youtube.com/embed"][src*="/shorts/"],
.video-preview iframe[src*="youtu.be"][src*="/shorts/"] {
  aspect-ratio: 9 / 16;
  margin-bottom: clamp(5px, 1vw, 8px);
  max-width: 400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Ensure YouTube Shorts are properly centered */
.video-preview iframe[src*="youtube.com/embed"],
.video-preview iframe[src*="youtu.be"] {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.video-preview h3 {
  color: #1d3557;
  margin-bottom: clamp(15px, 3vw, 20px);
  margin-top: -5px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  background-color: transparent;
}

/* Slide-in-up animation for video preview */
.slide-in-up {
  animation: slideInUp 0.5s ease-out forwards;
}

@keyframes slideInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Dark mode styling for video preview title */
.dark-mode .video-preview h3 {
  color: #ffffff !important;
}

.format-selector {
  display: flex;
  align-items: center;
  gap: clamp(5px, 1vw, 10px);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(10px, 2vw, 15px);
  padding: 10px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(79, 172, 254, 0.1);
}

.format-selector label,
.format-selector .section-label {
  font-weight: 600;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: #1d3557;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.format-selector select {
  padding: 10px 25px 10px 10px;
  border: 1px solid #d1d9e0;
  border-radius: 8px;
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="%234facfe" d="M5 7.5L1 3.5h8z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 9px center;
  cursor: pointer;
  text-align-last: center;
  min-width: 120px;
  max-width: 160px;
}

.format-selector select:hover {
  border-color: #4facfe;
  box-shadow: 0 3px 6px rgba(79, 172, 254, 0.1);
}

.format-selector select:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2);
}

.download-btn {
  background: linear-gradient(135deg,
      #ff416c 0%,
      #ff4b2b 25%,
      #ff6b6b 50%,
      #ee5a24 75%,
      #fd79a8 100%);
  background-size: 300% 300%;
  color: #ffffff;
  padding: clamp(14px, 2.2vw, 18px) clamp(28px, 4.5vw, 36px);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 12px);
  white-space: nowrap;
  box-shadow:
    0 12px 35px rgba(255, 107, 107, 0.5),
    0 6px 20px rgba(238, 90, 36, 0.4),
    0 0 40px rgba(255, 65, 108, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  height: 58px;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.1) 80%,
      transparent 100%);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.download-btn::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 30%,
      transparent 70%,
      rgba(255, 255, 255, 0.1) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.download-btn:hover {
  background: linear-gradient(135deg,
      #ff6b6b 0%,
      #fd79a8 25%,
      #ff9ff3 50%,
      #ee5a24 75%,
      #ff416c 100%);
  background-size: 400% 400%;
  animation: gradientShift 2s ease infinite;
  transform: translateY(-8px) scale(1.08);
  box-shadow:
    0 20px 45px rgba(255, 107, 107, 0.7),
    0 12px 30px rgba(238, 90, 36, 0.5),
    0 0 60px rgba(255, 65, 108, 0.4),
    0 0 100px rgba(255, 159, 243, 0.2),
    inset 0 3px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 0 rgba(0, 0, 0, 0.3);
  text-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:active {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 12px 30px rgba(255, 107, 107, 0.6),
    0 6px 20px rgba(238, 90, 36, 0.4),
    0 0 40px rgba(255, 65, 108, 0.3);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Progress Ring Styles */
.progress-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.35s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.progress-ring-circle.progress {
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  animation: progressAnimation 2s ease-in-out forwards;
}

@keyframes progressAnimation {
  0% {
    stroke-dashoffset: 163.36;
    stroke: #e0e0e0;
  }

  50% {
    stroke: #008080;
  }

  100% {
    stroke-dashoffset: 0;
    stroke: #00a0a0;
  }
}

/* Download Animation Styles */
.download-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #fff;
  opacity: 0;
  animation: videoToFolder 2s ease-in-out forwards;
}

.folder-icon {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: #fff;
  opacity: 0;
  animation: folderAppear 2s ease-in-out forwards;
  animation-delay: 1s;
}

@keyframes videoToFolder {
  0% {
    opacity: 1;
    top: 50%;
  }

  100% {
    opacity: 0;
    top: 75%;
  }
}

@keyframes folderAppear {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

.download-other-container {
  text-align: center;
  margin-top: 10px;
}

.download-other-btn {
  background: linear-gradient(135deg,
      #667eea 0%,
      #764ba2 25%,
      #4facfe 50%,
      #00f2fe 75%,
      #74b9ff 100%);
  background-size: 300% 300%;
  color: #ffffff;
  padding: clamp(16px, 2.4vw, 20px) clamp(30px, 5vw, 38px);
  border: none;
  border-radius: 55px;
  cursor: pointer;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: clamp(0.98rem, 2.3vw, 1.18rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow:
    0 3px 6px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(255, 255, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 14px);
  white-space: nowrap;
  box-shadow:
    0 15px 40px rgba(79, 172, 254, 0.5),
    0 8px 25px rgba(0, 242, 254, 0.4),
    0 0 50px rgba(102, 126, 234, 0.3),
    inset 0 3px 0 rgba(255, 255, 255, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 20;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  min-width: 220px;
  height: 62px;
}

.download-other-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 15%,
      rgba(255, 255, 255, 0.7) 50%,
      rgba(255, 255, 255, 0.1) 85%,
      transparent 100%);
  transition: left 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.download-other-btn::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.25) 0%,
      transparent 25%,
      transparent 75%,
      rgba(255, 255, 255, 0.15) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.download-other-btn:hover {
  background: linear-gradient(135deg,
      #4facfe 0%,
      #74b9ff 25%,
      #a29bfe 50%,
      #667eea 75%,
      #6c5ce7 100%);
  background-size: 400% 400%;
  animation: blueGradientShift 2.2s ease infinite;
  transform: translateY(-10px) scale(1.1);
  box-shadow:
    0 25px 50px rgba(79, 172, 254, 0.8),
    0 15px 35px rgba(0, 242, 254, 0.6),
    0 0 70px rgba(102, 126, 234, 0.5),
    0 0 120px rgba(116, 185, 255, 0.3),
    inset 0 4px 0 rgba(255, 255, 255, 0.4),
    inset 0 -4px 0 rgba(0, 0, 0, 0.3);
  text-shadow:
    0 5px 10px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.download-other-btn:hover::before {
  left: 100%;
}

.download-other-btn:active {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 15px 35px rgba(79, 172, 254, 0.7),
    0 8px 25px rgba(0, 242, 254, 0.5),
    0 0 50px rgba(102, 126, 234, 0.4);
}

@keyframes blueGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Icon Styling for Both Buttons */
.download-btn .btn-content i,
.download-other-btn .btn-content i {
  font-size: 1.3em;
  margin-right: 10px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
  z-index: 3;
  position: relative;
}

.download-btn:hover .btn-content i {
  transform: scale(1.4) rotate(15deg) translateY(-2px);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
  animation: iconBounce 0.6s ease;
}

.download-other-btn:hover .btn-content i {
  transform: scale(1.4) rotate(-10deg) translateY(-3px);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4));
  animation: iconFloat 0.8s ease;
}

@keyframes iconBounce {
  0% {
    transform: scale(1.4) rotate(15deg) translateY(-2px);
  }

  30% {
    transform: scale(1.5) rotate(20deg) translateY(-5px);
  }

  60% {
    transform: scale(1.35) rotate(12deg) translateY(-1px);
  }

  100% {
    transform: scale(1.4) rotate(15deg) translateY(-2px);
  }
}

@keyframes iconFloat {
  0% {
    transform: scale(1.4) rotate(-10deg) translateY(-3px);
  }

  25% {
    transform: scale(1.45) rotate(-15deg) translateY(-6px);
  }

  50% {
    transform: scale(1.4) rotate(-8deg) translateY(-4px);
  }

  75% {
    transform: scale(1.42) rotate(-12deg) translateY(-5px);
  }

  100% {
    transform: scale(1.4) rotate(-10deg) translateY(-3px);
  }
}

/* Subtle pulse animation for buttons when visible */

@keyframes buttonPulseBlue {
  0% {
    box-shadow:
      0 8px 25px rgba(79, 172, 254, 0.4),
      0 4px 15px rgba(0, 242, 254, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow:
      0 12px 30px rgba(79, 172, 254, 0.5),
      0 6px 20px rgba(0, 242, 254, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  100% {
    box-shadow:
      0 8px 25px rgba(79, 172, 254, 0.4),
      0 4px 15px rgba(0, 242, 254, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.download-btn {
  animation: none !important;
}

.download-other-btn:not(:hover) {
  animation: buttonPulseBlue 3.5s ease-in-out infinite;
}

/* Queue Status Styles */
.queue-status {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 30;
}

.queue-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.queue-indicator.pending {
  color: #f9a825;
  background: rgba(249, 168, 37, 0.1);
}

.queue-indicator.downloading {
  color: #008080;
  background: rgba(0, 128, 128, 0.1);
  animation: pulse 1.5s infinite;
}

.queue-indicator.completed {
  color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 534px) {
  .clear-btn {
    right: 70px;
    font-size: 1rem;
    padding: 0 8px;
    background-color: #e0f2f7;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
}

/* Responsive styles for download buttons */
@media (max-width: 768px) {

  .download-btn,
  .download-other-btn {
    padding: 10px 20px;
    font-size: 15px;
    width: auto;
    max-width: 95%;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    position: relative;
    z-index: 5;
  }

  .download-other-container {
    position: relative;
    z-index: 20;
    margin-top: 10px;
  }

  .video-preview {
    position: relative;
    z-index: 100;
    margin-bottom: 20px;
    pointer-events: auto;
  }

  .video-preview iframe,
  .video-preview img,
  .video-preview h3,
  .video-preview .format-selector,
  .video-preview .download-btn {
    pointer-events: auto;
  }

  #video-container {
    position: relative;
    z-index: 10;
  }
}

@media (max-width: 480px) {

  .download-btn,
  .download-other-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Supported Sites Styles */
.supported-sites {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Beautiful fade-in animation for supported-sites section - All screen sizes */
.supported-sites.fade-in {
  animation: sectionFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.supported-sites h2 {
  opacity: 1;
  transform: translateY(0);
}

.supported-sites p {
  opacity: 1;
  transform: translateY(0);
}

/* Base styles for site items - works on all screen sizes */
.site-item {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid rgba(69, 123, 157, 0.1);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  max-width: 100px;
  max-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.site-item.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Enhanced hover effects for all screen sizes */
.site-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-color: rgba(69, 123, 157, 0.3);
}


/* Dark mode support for supported sites */
.dark-mode .supported-sites {
  background-color: #1d3557;
}

.dark-mode .supported-sites h2,
.dark-mode .supported-sites p {
  color: #e0f2f7;
}

.dark-mode .site-item {
  background: linear-gradient(135deg, #2c5282 0%, #1d3557 100%);
  border-color: rgba(224, 242, 247, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #e0f2f7;
}

.dark-mode .site-item:hover {
  background: linear-gradient(135deg, #3d72b4 0%, #2c5282 100%);
  border-color: rgba(224, 242, 247, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


/* Supported content layout - Two column design */
.supported-content {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Center alignment for larger screens */
@media (min-width: 769px) {
  .supported-content {
    align-items: center;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr)) !important;
    gap: 12px !important;
    padding: 0 5px !important;
  }
}

/* Large desktop screens */
@media (min-width: 1200px) {
  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 25px;
    max-width: 600px;
  }
}

/* Extra large screens */
@media (min-width: 1600px) {
  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 700px;
  }
}

/* Google Nest Hub (1024x600) */
@media screen and (width: 1024px) and (height: 600px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 600px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    max-width: 400px !important;
    justify-self: center !important;
  }
}

/* Google Nest Hub Max (1280x800) */
@media screen and (width: 1280px) and (height: 800px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 700px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    max-width: 450px !important;
    justify-self: center !important;
  }
}

/* iPad Pro 11" Portrait (834x1194) */
@media screen and (width: 834px) and (height: 1194px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 600px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
    max-width: 350px !important;
    justify-self: center !important;
  }
}

/* iPad Pro 11" Landscape (1194x834) */
@media screen and (width: 1194px) and (height: 834px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 700px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 450px !important;
    justify-self: center !important;
  }
}

/* iPad Pro 12.9" Portrait (1024x1366) */
@media screen and (width: 1024px) and (height: 1366px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 650px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 380px !important;
    justify-self: center !important;
  }
}

/* iPad Pro 12.9" Landscape (1366x1024) */
@media screen and (width: 1366px) and (height: 1024px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 750px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    max-width: 500px !important;
    justify-self: center !important;
  }
}

/* Screens 960px to 1180px - Force vertical layout */
@media screen and (min-width: 960px) and (max-width: 1180px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 700px !important;
    order: 1 !important;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 480px !important;
    justify-self: center !important;
    order: 2 !important;
  }
}

/* Laptop 1024px width */
@media screen and (width: 1024px) and (min-height: 600px) and (height: 600px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .feature-description {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 650px !important;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 450px !important;
    justify-self: center !important;
  }
}

.feature-description {
  flex: 1;
  min-width: 300px;
  text-align: left;
  margin-left: 2rem;
  position: relative;
}

/* Responsive Divider - Visible on all screens */
.feature-description::after {
  content: "";
  position: absolute;
  /* Default: Horizontal Divider (Mobile/Tablet/Stacked) */
  bottom: -1.5rem;
  /* Position in the gap between sections */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  /* Wide bar */
  height: 3px;
  /* Thicker weight */
  background: linear-gradient(to right,
      transparent,
      rgba(69, 123, 157, 0.3),
      rgba(69, 123, 157, 0.8),
      /* Stronger opacity */
      rgba(69, 123, 157, 0.3),
      transparent);
  box-shadow: 0 0 12px rgba(69, 123, 157, 0.15);
  border-radius: 3px;
  pointer-events: none;
}

/* Dark mode base (Horizontal) */
.dark-mode .feature-description::after {
  background: linear-gradient(to right,
      transparent,
      rgba(168, 218, 220, 0.2),
      rgba(168, 218, 220, 0.6),
      rgba(168, 218, 220, 0.2),
      transparent);
  box-shadow: 0 0 15px rgba(168, 218, 220, 0.2);
}

/* Desktop Vertical Divider overrides (Wide Screens) */
@media (min-width: 1181px) {
  .feature-description::after {
    /* Reset horizontal props */
    bottom: auto;
    left: auto;
    transform: translateY(-50%);

    /* Vertical positioning */
    top: 50%;
    right: -2.8rem;
    /* Moved slightly right */
    width: 3px;
    height: 90%;
    /* Taller line */

    background: linear-gradient(to bottom,
        transparent,
        rgba(69, 123, 157, 0.3),
        rgba(69, 123, 157, 0.8),
        rgba(69, 123, 157, 0.3),
        transparent);
  }

  /* Dark mode Vertical overrides */
  .dark-mode .feature-description::after {
    background: linear-gradient(to bottom,
        transparent,
        rgba(168, 218, 220, 0.2),
        rgba(168, 218, 220, 0.6),
        rgba(168, 218, 220, 0.2),
        transparent);
  }
}

/* Center all-in-one-feature when sites wrap underneath */
@media screen and (max-width: 768px),
screen and (max-width: 959px),
screen and (min-width: 960px) and (max-width: 1180px),
screen and (width: 1024px) and (height: 600px),
screen and (width: 1280px) and (height: 800px),
screen and (width: 834px) and (height: 1194px),
screen and (width: 1194px) and (height: 834px),
screen and (width: 1024px) and (height: 1366px),
screen and (width: 1366px) and (height: 1024px),
screen and (width: 1024px) and (min-height: 600px) and (height: 600px) {

  .feature-description {
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .all-in-one-feature {
    margin: 0 auto !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .all-in-one-feature h3 {
    text-align: center !important;
  }

  .all-in-one-feature p {
    text-align: center !important;
  }

  .feature-highlights {
    justify-content: center !important;
  }
}

/* Specific fix for 768px screens */
@media screen and (max-width: 768px) {
  .supported-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .feature-description {
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
}

.all-in-one-feature {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #e9ecef 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow:
    0 10px 30px rgba(69, 123, 157, 0.12),
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(69, 123, 157, 0.1);
  border-left: 5px solid #457b9d;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s, box-shadow 0.4s ease, border-color 0.3s ease;
}

/* Beautiful gradient overlay */
.all-in-one-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #457b9d, #a8dadc, #28a745, #457b9d);
  background-size: 200% 100%;
  animation: gradientShine 3s ease-in-out infinite;
}

/* Subtle pattern overlay */
.all-in-one-feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(69, 123, 157, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.supported-sites.fade-in .all-in-one-feature {
  opacity: 1;
  transform: translateX(0);
}

.all-in-one-feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(69, 123, 157, 0.18),
    0 8px 25px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-left-color: #28a745;
}

@keyframes gradientShine {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.all-in-one-feature h3 {
  color: #457b9d;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #457b9d 0%, #28a745 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(69, 123, 157, 0.1);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  font-size: 1.6rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #4facfe 50%, #28a745 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(79, 172, 254, 0.3));
  animation: iconRotate 3s ease-in-out infinite;
  display: inline-block;
  margin-right: 0.3rem;
  position: relative;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.2rem;
  height: 2.2rem;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconRotate {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-5deg) scale(1.05);
  }

  50% {
    transform: rotate(0deg) scale(1.1);
  }

  75% {
    transform: rotate(5deg) scale(1.05);
  }
}

@keyframes iconGlow {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }

  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.all-in-one-feature p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
  font-weight: 400;
  text-align: justify;
  opacity: 0.9;
}

.all-in-one-feature p:first-of-type {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  opacity: 1;
}

.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 249, 250, 0.5) 100%);
  border-radius: 12px;
  border: 1px solid rgba(69, 123, 157, 0.08);
  position: relative;
  z-index: 2;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #457b9d;
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(69, 123, 157, 0.05), transparent);
  transition: left 0.6s ease;
}

.highlight-item:hover::before {
  left: 100%;
}

.highlight-item:hover {
  background: rgba(69, 123, 157, 0.05);
  transform: translateX(5px);
  color: #28a745;
}

.highlight-item i {
  font-size: 1.3rem;
  color: #28a745;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.08) 100%);
  padding: 12px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.highlight-item:hover i {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.3);
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.12) 100%);
}

.highlight-item span {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Sites grid layout - Right aligned */
.sites-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  flex: 1;
  min-width: 280px;
  justify-content: center;
  align-content: start;
}

/* Dark mode styles for the feature description */
.dark-mode .all-in-one-feature {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #1a202c 100%);
  border: 1px solid rgba(168, 218, 220, 0.2);
  border-left: 5px solid #a8dadc;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(168, 218, 220, 0.1);
}

.dark-mode .all-in-one-feature::before {
  background: linear-gradient(90deg, #a8dadc, #28a745, #457b9d, #a8dadc);
}

.dark-mode .all-in-one-feature::after {
  background: radial-gradient(circle, rgba(168, 218, 220, 0.05) 0%, transparent 70%);
}

.dark-mode .all-in-one-feature:hover {
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(168, 218, 220, 0.15);
  border-left-color: #28a745;
}

.dark-mode .all-in-one-feature h3 {
  background: linear-gradient(135deg, #a8dadc 0%, #28a745 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark-mode .feature-icon {
  background: linear-gradient(135deg, #ff8a8a 0%, #74c0fc 50%, #68d391 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(116, 192, 252, 0.4));
}

.dark-mode .feature-icon::before {
  background: radial-gradient(circle, rgba(116, 192, 252, 0.15) 0%, transparent 70%);
}


.dark-mode .all-in-one-feature p {
  color: #e2e8f0;
}

.dark-mode .all-in-one-feature p:first-of-type {
  color: #f7fafc;
}

.dark-mode .feature-highlights {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.6) 0%, rgba(26, 32, 44, 0.4) 100%);
  border: 1px solid rgba(168, 218, 220, 0.1);
}

.dark-mode .highlight-item {
  color: #a8dadc;
}

.dark-mode .highlight-item::before {
  background: linear-gradient(90deg, transparent, rgba(168, 218, 220, 0.08), transparent);
}

.dark-mode .highlight-item:hover {
  background: rgba(168, 218, 220, 0.08);
  color: #68d391;
}

.dark-mode .highlight-item i {
  color: #68d391;
  background: linear-gradient(135deg, rgba(104, 211, 145, 0.2) 0%, rgba(104, 211, 145, 0.1) 100%);
  box-shadow: 0 4px 12px rgba(104, 211, 145, 0.15);
}

.dark-mode .highlight-item:hover i {
  box-shadow: 0 6px 18px rgba(104, 211, 145, 0.25);
  background: linear-gradient(135deg, rgba(104, 211, 145, 0.25) 0%, rgba(104, 211, 145, 0.15) 100%);
}

/* Staggered animation delays for beautiful cascading effect */
.site-item:nth-child(1) {
  transition-delay: 0.1s;
}

.site-item:nth-child(2) {
  transition-delay: 0.2s;
}

.site-item:nth-child(3) {
  transition-delay: 0.3s;
}

.site-item:nth-child(4) {
  transition-delay: 0.4s;
}

.site-item:nth-child(5) {
  transition-delay: 0.5s;
}

.site-item:nth-child(6) {
  transition-delay: 0.6s;
}

.site-item:nth-child(7) {
  transition-delay: 0.7s;
}

.site-item:nth-child(8) {
  transition-delay: 0.8s;
}

.site-item:nth-child(9) {
  transition-delay: 0.9s;
}

.site-item:nth-child(10) {
  transition-delay: 1.0s;
}

.site-item:nth-child(11) {
  transition-delay: 1.1s;
}

.site-item:nth-child(12) {
  transition-delay: 1.2s;
}

/* Section fade-in animation */
@keyframes sectionFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile and Tablet Responsive Styles for Supported Sites */
@media (max-width: 768px) {
  .supported-sites {
    padding: 2rem 0;
  }

  .supported-sites h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .supported-sites p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .supported-content {
    flex-direction: column;
    gap: 2rem;
  }

  .feature-description {
    min-width: auto;
    text-align: center;
    margin-left: 0;
  }

  .all-in-one-feature {
    padding: 1.5rem;
    margin: 0 10px;
    transform: translateY(-20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, box-shadow 0.3s ease;
  }

  .supported-sites.fade-in .all-in-one-feature {
    opacity: 1;
    transform: translateY(0);
  }

  .all-in-one-feature h3 {
    font-size: 1.3rem;
  }

  .feature-highlights {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .highlight-item {
    flex-direction: column;
    text-align: center;
    font-size: 0.9rem;
  }

  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    padding: 0 10px;
    min-width: auto;
    max-width: 100%;
    justify-items: center;
  }

  .site-item {
    padding: 10px;
    border-radius: 10px;
    transform: translateY(30px) scale(0.9);
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
  }

  .site-item.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .site-item i {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #457b9d;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }

  .site-item span {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  /* Fix Vimeo item specific issues */
  .site-item .fab.fa-vimeo {
    font-size: 2rem !important;
    color: #457b9d !important;
  }

  .site-item small {
    font-size: 8px !important;
    color: #ff6b6b !important;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.2;
    display: block;
  }

  .site-item:hover {
    transform: translateY(-3px) scale(1.02);
  }

  /* Mobile fade-in animation timing */
  .site-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .site-item:nth-child(2) {
    transition-delay: 0.15s;
  }

  .site-item:nth-child(3) {
    transition-delay: 0.2s;
  }

  .site-item:nth-child(4) {
    transition-delay: 0.25s;
  }

  .site-item:nth-child(5) {
    transition-delay: 0.3s;
  }

  .site-item:nth-child(6) {
    transition-delay: 0.35s;
  }

  .site-item:nth-child(7) {
    transition-delay: 0.4s;
  }

  .site-item:nth-child(8) {
    transition-delay: 0.45s;
  }

  .site-item:nth-child(9) {
    transition-delay: 0.5s;
  }

  .site-item:nth-child(10) {
    transition-delay: 0.55s;
  }

  .site-item:nth-child(11) {
    transition-delay: 0.6s;
  }

  .site-item:nth-child(12) {
    transition-delay: 0.65s;
  }

  /* Mobile Vimeo fixes */
  .site-item .fab.fa-vimeo {
    font-size: 1.8rem !important;
  }

  .site-item small {
    font-size: 7px !important;
  }

  /* Dark mode mobile adjustments */
  .dark-mode .site-item i {
    color: #a8dadc;
  }

  .dark-mode .site-item .fab.fa-vimeo {
    color: #a8dadc !important;
  }
}

@media (min-width: 769px) and (max-width: 959px) {
  .supported-sites {
    padding: 2.5rem 0;
  }

  .supported-sites h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .supported-content {
    gap: 2.5rem;
  }

  .feature-description {
    text-align: left;
  }

  .all-in-one-feature {
    padding: 1.8rem;
    transform: translateX(-20px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s, box-shadow 0.3s ease;
  }

  .supported-sites.fade-in .all-in-one-feature {
    opacity: 1;
    transform: translateX(0);
  }

  .feature-highlights {
    flex-direction: column;
  }

  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 20px;
    min-width: 320px;
    max-width: 100%;
    justify-items: center;
  }

  .site-item {
    padding: 12px;
    border-radius: 12px;
    transform: translateY(35px) scale(0.92);
    width: 90px !important;
    height: 90px !important;
    min-width: 90px !important;
    min-height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
  }

  .site-item.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .site-item i {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: #457b9d;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
  }

  .site-item span {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .site-item:hover {
    transform: translateY(-5px) scale(1.03);
  }

  /* Tablet fade-in animation timing */
  .site-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .site-item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .site-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .site-item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .site-item:nth-child(5) {
    transition-delay: 0.5s;
  }

  .site-item:nth-child(6) {
    transition-delay: 0.6s;
  }

  .site-item:nth-child(7) {
    transition-delay: 0.7s;
  }

  .site-item:nth-child(8) {
    transition-delay: 0.8s;
  }

  .site-item:nth-child(9) {
    transition-delay: 0.9s;
  }

  .site-item:nth-child(10) {
    transition-delay: 1.0s;
  }

  .site-item:nth-child(11) {
    transition-delay: 1.1s;
  }

  .site-item:nth-child(12) {
    transition-delay: 1.2s;
  }

  /* Tablet Vimeo fixes */
  .site-item .fab.fa-vimeo {
    font-size: 2.2rem !important;
  }

  .site-item small {
    font-size: 8px !important;
  }

  /* Dark mode tablet adjustments */
  .dark-mode .site-item i {
    color: #a8dadc;
  }

  .dark-mode .site-item .fab.fa-vimeo {
    color: #a8dadc !important;
  }
}

.supported-sites {
  text-align: center;
  background-color: #f4f7f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.supported-sites h2 {
  color: #1d3557;
  margin-bottom: 1rem;
}

.supported-sites p {
  color: #555;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark mode for supported-sites */
.dark-mode .supported-sites {
  background-color: #0d1117;
}

.dark-mode .supported-sites h2 {
  color: #f0f6fc;
  text-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.dark-mode .supported-sites p {
  color: #8b949e;
}

.dark-mode .site-item {
  background-color: #161b22;
  border-color: #30363d;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.dark-mode .site-item.fade-in {
  background-color: #161b22;
  color: #c9d1d9;
  border-color: #30363d;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-row-gap: 50px;
  grid-column-gap: 50px;
  margin: 0 auto;
  width: fit-content;
  justify-items: center;
}

.site-item {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  padding: 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 1000px;
  max-width: 110px;
  height: 110px;
}

.site-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.site-item i {
  font-size: 3.5rem;
  color: #457b9d;
  margin-bottom: 0.5rem;
}

.site-item span {
  font-weight: bold;
  color: #1d3557;
}

.btn {
  background: #457b9d;
  /* Primary button color */
  color: #fff;
  padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 25px);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: clamp(5px, 1vw, 8px);
  white-space: nowrap;
}

.btn:hover {
  background: #1d3557;
  /* Darker blue on hover */
  transform: translateY(-2px) scale(1.02);
}

.btn {
  will-change: transform;
}

/* Adjust button styles for smaller screens */
@media (max-width: 959px) {
  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
  color: #f4f7f6;
  text-align: center;
  min-height: auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  position: relative;
  /* overflow: hidden; Removed to prevent cutting off content */
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  flex-shrink: 0;
  /* Prevent footer from shrinking */
  margin-top: auto;
  /* Push footer to bottom if content is short */
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Ko-fi Button - Enhanced Styling */
.kofi-btn {
  background: linear-gradient(135deg, #29abe0 0%, #1b8dc2 100%);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(41, 171, 224, 0.45), 0 3px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.28s ease, background 0.3s ease, filter 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kofi-btn i {
  font-size: 1.05rem;
}

/* glossy highlight */
.kofi-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.0) 100%);
  transform: skewX(-20deg);
  opacity: 0;
}

.kofi-btn:hover::before {
  animation: kofiShimmer 900ms ease forwards;
}

.kofi-btn:hover {
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 14px 30px rgba(41, 171, 224, 0.55), 0 6px 14px rgba(0, 0, 0, 0.22);
  filter: saturate(1.08);
}

.kofi-btn:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 8px 22px rgba(41, 171, 224, 0.45), 0 3px 10px rgba(0, 0, 0, 0.24);
}

.kofi-btn:focus-visible {
  outline: 3px solid rgba(41, 171, 224, 0.65);
  outline-offset: 3px;
}

@keyframes kofiShimmer {
  0% {
    left: -60%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

/* subtle breathing glow when idle */
.kofi-btn {
  animation: kofiBreath 4s ease-in-out infinite;
}

@keyframes kofiBreath {

  0%,
  100% {
    box-shadow: 0 8px 22px rgba(41, 171, 224, 0.35), 0 3px 8px rgba(0, 0, 0, 0.15);
  }

  50% {
    box-shadow: 0 10px 26px rgba(41, 171, 224, 0.5), 0 5px 12px rgba(0, 0, 0, 0.2);
  }
}

/* Dark mode adjustments */
.dark-mode .kofi-btn {
  background: linear-gradient(135deg, #1a86b6 0%, #126e97 100%);
  box-shadow: 0 8px 22px rgba(18, 110, 151, 0.55), 0 3px 8px rgba(0, 0, 0, 0.35);
}

.dark-mode .kofi-btn:hover {
  box-shadow: 0 16px 34px rgba(18, 110, 151, 0.7), 0 8px 16px rgba(0, 0, 0, 0.45);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kofi-btn {
    transition: background 0.3s ease;
    animation: none;
  }

  .kofi-btn:hover {
    transform: none;
  }
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

footer p {
  margin: 0;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1rem;
  color: white;
  word-wrap: break-word;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.footer-links a {
  color: #a8dadc;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-decoration: underline;
}

.footer-links a i {
  font-size: 1rem;
}

/* Center main sections */
.supported-sites .container,
.standout-features .container,
.secondary-features .container,
.pricing-tiers .container,
.faq-categories .container,
.privacy-content .container {
  width: 100%;
  padding: 0;
}

/* Center grids */
.sites-grid,
.feature-grid-standout,
.feature-grid,
.tier-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(10px, 3vw, 40px);
}

/* Features Page Hero Section Styles */
.features-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4a69bd, #8e44ad);
  z-index: 1;
}

.features-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(74, 105, 189, 0.9),
      rgba(142, 68, 173, 0.9));
  z-index: -1;
}

.features-hero .container {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 20px;
  max-width: 1200px;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.features-hero h2 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.features-hero p {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.standout-features {
  padding: 3rem 0;
  text-align: center;
  background-color: #ffffff;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: larger;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.standout-features .container {
  padding-right: 0;
}

.standout-features h2 {
  position: relative;
  text-align: center;
}

.standout-features h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #a8dadc;
  transition: width 0.5s ease;
}

.standout-features h2.underline-animate::after {
  width: 100%;
}

.feature-grid-standout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1000px;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 20px;
  justify-items: center;
}

.feature-item-standout {
  background: linear-gradient(135deg, #f1faee 0%, #e8f5e8 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  min-width: 250px;
  box-sizing: border-box;
}

.feature-item-standout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(168, 218, 220, 0.1),
      rgba(129, 178, 154, 0.1));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.feature-item-standout::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,100 600,20 900,60 C1050,80 1200,40 1200,60 L1200,120 L0,120 Z' fill='%23a8dadc'%3E%3C/path%3E%3C/svg%3E");
  pointer-events: none;
}

.feature-item-standout:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.feature-item-standout:hover::before {
  background: linear-gradient(135deg,
      rgba(255, 193, 7, 0.2),
      rgba(255, 87, 34, 0.2));
  opacity: 1;
}

.feature-item-standout:hover i {
  transform: scale(1.1);
}

.feature-item-standout:hover h3 {
  color: #f39c12;
}

.feature-item-standout i {
  color: #457b9d;
  margin-bottom: 20px;
  font-size: 3rem;
  transition: transform 0.3s ease;
}

.feature-item-standout h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1d3557;
  transition: color 0.3s ease;
}

.feature-item-standout p {
  color: #555;
  padding-left: 10px;
}

.secondary-features {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, #f4f7f6 0%, #e8f5e8 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.feature-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,100 600,20 900,60 C1050,80 1200,40 1200,60 L1200,120 L0,120 Z' fill='%23a8dadc'%3E%3C/path%3E%3C/svg%3E");
  pointer-events: none;
}

.feature-item:hover i {
  transform: scale(1.1);
}

.feature-item:hover h4 {
  color: #f39c12;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(240, 240, 240, 0.1),
      rgba(220, 220, 220, 0.1));
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.feature-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-item:hover::before {
  background: linear-gradient(135deg,
      rgba(255, 193, 7, 0.15),
      rgba(255, 87, 34, 0.15));
  opacity: 1;
}

.feature-item:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-item i {
  color: #457b9d;
  margin-bottom: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover i {
  color: #1d3557;
}

.feature-item h4 {
  color: #1d3557;
  margin-bottom: 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.feature-item p {
  color: #555;
  font-size: 0.9rem;
}

/* New Styles for Pricing Page */
.pricing-hero {
  background: #e0f2f7;
  color: #333;
  padding: 4rem 0;
  text-align: center;
}

.pricing-hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1d3557;
}

.pricing-hero p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-tiers {
  margin: auto;
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
  background-color: #ffffff;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s;
}

.pricing-card:hover::before {
  left: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f1faee 100%);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  pointer-events: none;
  z-index: -1;
  filter: blur(1px);
}

.pricing-card:hover::before {
  filter: blur(4px);
}

.pricing-card h3 {
  font-size: 2rem;
  color: #1d3557;
  margin-bottom: 1.5rem;
}

.plan-description {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #457b9d;
  margin-bottom: 0.5rem;
  text-align: center;
}

.plan-subtitle {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
}

/* Promotional Bar Styles */
.promo-bar {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border-radius: 12px;
  padding: 15px;
  margin: 15px auto 20px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
  animation: promoPulse 2s ease-in-out infinite alternate;
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.promo-text {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.promo-offer {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.original-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 0.9em;
  margin-right: 10px;
}

.sale-price {
  color: #ffd700;
  font-size: 1.2em;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  animation: priceGlow 1.5s ease-in-out infinite alternate;
}

.promo-urgency {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.promo-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  color: #1d3557;
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  margin-top: 10px;
  animation: btnBounce 2s ease-in-out infinite;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #ffb347 0%, #ffd700 100%);
}

@keyframes promoPulse {
  0% {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  }

  100% {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5),
      0 0 30px rgba(255, 107, 107, 0.2);
  }
}

@keyframes promoShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes priceGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }

  100% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
      0 0 30px rgba(255, 215, 0, 0.4);
  }
}

@keyframes btnBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.pricing-card .price {
  font-size: 3.5rem;
  font-weight: bold;
  color: #457b9d;
  margin-bottom: 1.5rem;
}

.pricing-card .price .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-card .price .period {
  font-size: 1rem;
  color: #555;
}

.pricing-card .price .cents {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 2px;
}

/* Stairs effect for pricing plans */
.free-plan {
  transform: translateX(-25px);
  margin-top: 20px;
  background: linear-gradient(135deg,
      rgba(241, 250, 238, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 100%);
}

.free-plan:hover {
  transform: translateY(-10px) translateX(-25px);
}

.free-plan::before {
  background-image: url("../Images/free%20plan%20dragon.png");
}

.basic-plan {
  transform: scale(1.05) translateX(-30px) !important;
  margin-top: 10px;
  z-index: 2;
  position: relative;
  background: linear-gradient(135deg,
      rgba(241, 250, 238, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 100%);
}

.basic-plan::before {
  background-image: url("../Images/basic%20plan%20dragon.png");
}

.pro-plan {
  transform: scale(1.1);
  margin-top: 0;
  z-index: 3;
  position: relative;
  background: linear-gradient(135deg,
      rgba(241, 250, 238, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 100%);
}

.pro-plan::before {
  background-image: url("../Images/pro%20plan%20dragon.png");
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card ul li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card ul li i {
  margin-right: 10px;
  color: #457b9d;
}

.pricing-card ul li .fa-times-circle {
  color: #e63946;
  /* Red for unavailable features */
}

.pricing-card .btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Plan-specific button colors */
.free-plan .btn {
  background: white;
  color: black;
}

.free-plan .btn:hover {
  background: #f0f0f0;
  color: black;
}

.basic-plan .btn {
  background: #87ceeb;
  color: #1d3557;
}

.basic-plan .btn:hover {
  background: #6bb6e8;
  color: #1d3557;
}

.pro-plan .btn {
  background: #ffd700;
  color: black;
}

.pro-plan .btn:hover {
  background: #ffc107;
  color: black;
}

.pro-tier {
  /* Removed background for Pro tier */
  color: #1d3557;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pro-tier h3,
.pro-tier .price,
.pro-tier ul li {
  color: #1d3557;
}

.pro-tier .btn {
  background: #1d3557;
  color: #fff;
}

.pro-tier .btn:hover {
  background: #457b9d;
}

/* Dragon Image Consistent Positioning - Responsive */
.plan-dragon {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 5;
  pointer-events: none;
}

.dragon-image {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Creator plan specific positioning - moved up */
.creator-plan .plan-dragon {
  top: -400px;
}

/* Responsive positioning adjustments for all screen sizes */
@media (max-width: 960px) {
  .plan-dragon {
    top: -15px;
    right: -15px;
  }

  .creator-plan .plan-dragon {
    top: -400px;
  }
}

@media (max-width: 768px) {
  .plan-dragon {
    top: -10px;
    right: -10px;
  }

  .creator-plan .plan-dragon {
    top: -410px;
  }
}

@media (max-width: 480px) {
  .plan-dragon {
    top: -5px;
    right: 25px !important;
  }

  .creator-plan .plan-dragon {
    top: -420px;
  }
}

/* Responsive styles for pricing-tiers */
@media (max-width: 768px) {
  .pricing-tiers {
    padding: clamp(40px, 6vw, 60px) 0;
  }

  .tier-grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 30px);
    margin-top: clamp(30px, 5vw, 50px);
  }

  .pricing-card {
    padding: clamp(25px, 4vw, 40px);
  }

  .pricing-card h3 {
    font-size: clamp(1.8rem, 5vw, 2rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
  }

  .pricing-card .price {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
  }

  .pricing-card ul li {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }

  .pricing-card .btn {
    padding: clamp(12px, 2vw, 15px);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Adjust stairs effect for mobile */
  .free-plan {
    transform: translateX(0) scale(1);
    margin-top: 0;
  }

  .free-plan:hover {
    transform: translateY(-10px) scale(1.02);
  }

  .basic-plan {
    transform: scale(1) translateX(0) !important;
    margin-top: 0;
    z-index: auto;
  }

  .pro-plan {
    transform: scale(1);
    margin-top: 0;
    z-index: auto;
  }
}

@media (max-width: 480px) {
  .pricing-tiers {
    padding: clamp(30px, 5vw, 40px) 0;
  }

  .pricing-card {
    padding: clamp(20px, 3vw, 25px);
  }

  .pricing-card h3 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
  }

  .pricing-card .price {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .pricing-card .plan-description {
    font-size: clamp(0.85rem, 2vw, 1rem);
  }

  .pricing-card .plan-subtitle {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
  }

}

.discounts {
  padding: 3rem 0;
  text-align: center;
  background-color: #e0f2f7;
}

.discounts h3 {
  font-size: 2rem;
  color: #1d3557;
  margin-bottom: 1rem;
}

.discounts p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* New Styles for FAQ Page */
.faq-hero {
  background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-pattern)"/></svg>');
  opacity: 0.3;
}

.faq-hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.faq-hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  position: relative;
  z-index: 2;
}

.search-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.search-container {
  position: relative;
  width: 60%;
  max-width: 450px;
}

.search-input {
  width: 100%;
  height: 50px;
  padding: 18px 50px 18px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  outline: none;
  box-sizing: border-box;
}

.search-input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.search-input::placeholder {
  color: #666;
  font-weight: 300;
  transition: color 0.3s ease;
}

.search-input:focus::placeholder {
  color: #999;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #457b9d;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  pointer-events: none;
}

.search-input:focus+.search-icon {
  color: #457b9d;
  transform: translateY(-50%) scale(1.1);
}

.search-btn {
  padding: 15px 30px;
  background: linear-gradient(135deg, #457b9d 0%, #5a9bd4 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(69, 123, 157, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  top: -9px;
  right: 60px;
}

.search-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.search-btn:hover::before {
  left: 100%;
}

.search-btn:hover {
  background: linear-gradient(135deg, #5a9bd4 0%, #457b9d 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(69, 123, 157, 0.4);
}

.search-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(69, 123, 157, 0.3);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.search-results.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-result-item {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(168, 218, 220, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(168, 218, 220, 0.1);
  padding-left: 25px;
}

.search-result-item i {
  color: #457b9d;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.search-result-text {
  color: #1d3557;
  font-weight: 500;
}

.search-result-category {
  color: #666;
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 2px;
}

.no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

.faq-categories {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.faq-categories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-bg" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(168,218,220,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-bg)"/></svg>');
  opacity: 0.5;
}

/* Global Overflow Control */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

/* Beautiful Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
  border-radius: 10px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%);
  border-radius: 10px;
  border: 2px solid #f1f3f4;
  box-shadow: 0 2px 8px rgba(29, 53, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #0f172a 0%, #1d3557 100%);
  box-shadow: 0 2px 6px rgba(29, 53, 87, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-corner {
  background: #f1f3f4;
}

/* Dark mode scrollbar */
.dark-mode ::-webkit-scrollbar-track {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #a8dadc 0%, #457b9d 100%);
  border-color: #0d1117;
  box-shadow: 0 2px 8px rgba(168, 218, 220, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #457b9d 0%, #a8dadc 100%);
  box-shadow: 0 4px 12px rgba(168, 218, 220, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dark-mode ::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
}

.dark-mode ::-webkit-scrollbar-corner {
  background: #0d1117;
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #457b9d #f1f3f4;
}

.dark-mode html {
  scrollbar-color: #a8dadc #0d1117;
}

/* Prevent any element from causing horizontal overflow */
.container,
section,
main,
footer {
  max-width: 100%;
}

/* FAQ Categories Section */
.faq-categories {
  padding: 4rem 0 2rem 0;
  max-width: 100%;
  overflow-x: hidden;
}

.faq-categories .container .faq-category:last-child {
  margin-bottom: 0;
}

.faq-categories .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.faq-category {
  margin-bottom: 4rem;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(248, 249, 250, 0.95) 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.12),
    0 5px 15px rgba(29, 53, 87, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: visible;
  z-index: 1;
  max-width: 100%;
  box-sizing: border-box;
}

.faq-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #457b9d 0%, #1d3557 50%, #a8dadc 100%);
  border-radius: 20px 20px 0 0;
}

.faq-category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle,
      rgba(168, 218, 220, 0.03) 0%,
      rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  transition: all 0.6s ease;
  pointer-events: none;
}

.faq-category h3 {
  font-size: 2.2rem;
  color: #1d3557;
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 700;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.faq-category h3::before {
  content: "";
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #457b9d, #1d3557);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(69, 123, 157, 0.3);
}

.faq-category h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #457b9d, #1d3557, #a8dadc);
  border-radius: 2px;
  z-index: 1;
}

/* Specific icons for each category */
.faq-category:nth-child(1) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23457b9d'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-category:nth-child(2) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23457b9d'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-category:nth-child(3) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23457b9d'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-category:nth-child(4) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23457b9d'%3E%3Cpath d='M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l6-6h10z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-category:nth-child(5) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23457b9d'%3E%3Cpath d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.faq-category:nth-child(6) h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23457b9d'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm3 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.qa-item {
  margin-bottom: 15px;
  position: relative;
}

.accordion {
  background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
  color: #1d3557;
  cursor: pointer;
  padding: 20px 25px;
  width: 100%;
  border: 2px solid #e8f5e8;
  text-align: left;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.accordion::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(168, 218, 220, 0.1),
      transparent);
  transition: left 0.5s ease;
}

.accordion:hover::before {
  left: 100%;
}

.accordion:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f1faee 100%);
  border-color: #a8dadc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.15);
  color: #457b9d;
}

.active {
  background: linear-gradient(135deg, #457b9d 0%, #5a9bd4 100%);
  color: #ffffff;
  border-color: #457b9d;
  box-shadow: 0 6px 20px rgba(69, 123, 157, 0.3);
  transform: translateY(-1px);
}

.active:hover {
  background: linear-gradient(135deg, #5a9bd4 0%, #457b9d 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(69, 123, 157, 0.4);
}

.accordion .accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #457b9d;
  flex-shrink: 0;
  margin-right: 12px;
}

.accordion.active .accordion-icon {
  transform: rotate(180deg);
  color: #ffffff;
}

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

.panel {
  padding: 0 25px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    padding 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid #a8dadc;
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: inset 0 2px 8px rgba(29, 53, 87, 0.05);
  margin-top: -2px;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #457b9d, #a8dadc);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accordion.active+.panel::before {
  opacity: 1;
}

.panel p {
  padding: 25px 0 25px 30px;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.accordion.active+.panel p {
  opacity: 1;
  transform: translateY(0);
}

.panel p::before {
  content: "💡";
  position: absolute;
  left: 0;
  top: 25px;
  font-size: 1.1rem;
  opacity: 0.7;
}

/* Enhanced animations for accordion interactions */
.qa-item {
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.qa-item:nth-child(1) {
  animation-delay: 0.1s;
}

.qa-item:nth-child(2) {
  animation-delay: 0.2s;
}

.qa-item:nth-child(3) {
  animation-delay: 0.3s;
}

.qa-item:nth-child(4) {
  animation-delay: 0.4s;
}

.qa-item:nth-child(5) {
  animation-delay: 0.5s;
}

.qa-item:nth-child(6) {
  animation-delay: 0.6s;
}

.qa-item:nth-child(7) {
  animation-delay: 0.7s;
}

.qa-item:nth-child(8) {
  animation-delay: 0.8s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for accessibility */
.accordion:focus {
  outline: 2px solid #457b9d;
  outline-offset: 2px;
}

/* Loading state for accordion */
.accordion.loading {
  pointer-events: none;
  opacity: 0.7;
}

.accordion.loading::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #a8dadc;
  border-top: 2px solid #457b9d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.contact-support {
  padding: 4rem 0;
  text-align: center;
  background-color: #e0f2f7;
}

.contact-support h3 {
  font-size: 2.5rem;
  color: #1d3557;
  margin-bottom: 1.5rem;
}

.contact-support p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* New Styles for Privacy Page */
.privacy-hero {
  background: linear-gradient(135deg, #e0f2f7 0%, #f1faee 100%);
  color: #333;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23a8dadc" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
  z-index: 1;
}

.privacy-hero .container {
  position: relative;
  z-index: 2;
}

.privacy-hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #1d3557;
  text-shadow: 0 2px 4px rgba(29, 53, 87, 0.1);
  font-weight: 700;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #457b9d;
  line-height: 1.6;
  font-weight: 400;
}

.privacy-content {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
  position: relative;
}

.privacy-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.privacy-content h3 {
  font-size: 2.2rem;
  color: #1d3557;
  margin-bottom: 2rem;
  margin-top: 4rem;
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.privacy-content h3:first-of-type {
  margin-top: 0;
}

.privacy-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2.5rem;
  background: linear-gradient(135deg, #457b9d, #1d3557);
  border-radius: 2px;
}

.privacy-content h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 2rem;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a8dadc 0%, transparent 100%);
}

.privacy-content p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
  padding-left: 2rem;
}

.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.privacy-content ul li {
  background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
  margin-bottom: 1rem;
  padding: 1.5rem 2rem;
  border-left: 4px solid #457b9d;
  border-radius: 12px;
  color: #333;
  box-shadow: 0 4px 15px rgba(69, 123, 157, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.privacy-content ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(69, 123, 157, 0.03) 0%,
      transparent 50%);
  pointer-events: none;
}

.privacy-content ul li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(69, 123, 157, 0.15);
  border-left-color: #1d3557;
}

.privacy-content ul li strong {
  color: #1d3557;
  font-weight: 600;
  font-size: 1.05em;
}

.privacy-content ul li .fas {
  margin-right: 10px;
  color: #457b9d;
  font-size: 1.1em;
}

/* Security badges */
.security-badge {
  display: inline-block;
  background: linear-gradient(135deg, #457b9d, #1d3557);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  margin: 0.2rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(69, 123, 157, 0.3);
}

/* Dark Mode Styles for Privacy Page */
.dark-mode .privacy-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e5e5e5;
}

.dark-mode .privacy-hero::before {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid-dark" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid-dark)"/></svg>');
  opacity: 0.6;
}

.dark-mode .privacy-hero h2 {
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #a8dadc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.dark-mode .privacy-hero p {
  color: #a8dadc;
}

.dark-mode .privacy-content {
  background: linear-gradient(to bottom, #0f0f23 0%, #1a1a2e 100%);
}

.dark-mode .privacy-content h3 {
  color: #ffffff;
}

.dark-mode .privacy-content h3::before {
  background: linear-gradient(135deg, #a8dadc, #ffffff);
}

.dark-mode .privacy-content h3::after {
  background: linear-gradient(90deg, #457b9d 0%, transparent 100%);
}

.dark-mode .privacy-content p {
  color: #b8b8b8;
}

.dark-mode .privacy-content ul li {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
  color: #e5e5e5;
  border-left-color: #a8dadc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .privacy-content ul li::before {
  background: linear-gradient(135deg,
      rgba(168, 218, 220, 0.05) 0%,
      transparent 50%);
}

.dark-mode .privacy-content ul li:hover {
  border-left-color: #ffffff;
  box-shadow: 0 8px 25px rgba(168, 218, 220, 0.2);
}

.dark-mode .privacy-content ul li strong {
  color: #ffffff;
}

.dark-mode .privacy-content ul li .fas {
  color: #a8dadc;
}

.dark-mode .security-badge {
  background: linear-gradient(135deg, #a8dadc, #457b9d);
  color: #0f0f23;
}

/* Terms of Service Page Styles */
.terms-hero {
  background: linear-gradient(135deg, #f1faee 0%, #e0f2f7 100%);
  color: #333;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.terms-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="terms-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="%23457b9d" stroke-width="0.4" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23terms-grid)"/></svg>');
  opacity: 0.5;
  z-index: 1;
}

.terms-hero .container {
  position: relative;
  z-index: 2;
}

.terms-hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #1d3557;
  text-shadow: 0 2px 4px rgba(29, 53, 87, 0.1);
  font-weight: 700;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.terms-hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #457b9d;
  line-height: 1.6;
  font-weight: 400;
}

.terms-content {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%);
  position: relative;
}

.terms-content .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.terms-content h3 {
  font-size: 2.2rem;
  color: #1d3557;
  margin-bottom: 2rem;
  margin-top: 4rem;
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.terms-content h3:first-of-type {
  margin-top: 0;
}

.terms-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2.5rem;
  background: linear-gradient(135deg, #457b9d, #1d3557);
  border-radius: 2px;
}

.terms-content h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 2rem;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #a8dadc 0%, transparent 100%);
}

.terms-content p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
  padding-left: 2rem;
}

.terms-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.terms-content ul li {
  background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
  margin-bottom: 1rem;
  padding: 1.5rem 2rem;
  border-left: 4px solid #457b9d;
  border-radius: 12px;
  color: #333;
  box-shadow: 0 4px 15px rgba(69, 123, 157, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.terms-content ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(69, 123, 157, 0.03) 0%,
      transparent 50%);
  pointer-events: none;
}

.terms-content ul li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(69, 123, 157, 0.15);
  border-left-color: #1d3557;
}

.terms-content ul ul {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-left: 1rem;
}

.terms-content ul ul li {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-left: 3px solid #a8dadc;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.terms-content ul ul li:hover {
  border-left-color: #457b9d;
}

/* Legal badges */
.legal-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1d3557, #457b9d);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  margin: 0.2rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(29, 53, 87, 0.3);
}

/* Dark Mode Styles for Terms Page */
.dark-mode .terms-hero {
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
  color: #e5e5e5;
}

.dark-mode .terms-hero::before {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="terms-grid-dark" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="%23ffffff" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23terms-grid-dark)"/></svg>');
  opacity: 0.6;
}

.dark-mode .terms-hero h2 {
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #a8dadc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.dark-mode .terms-hero p {
  color: #a8dadc;
}

.dark-mode .terms-content {
  background: linear-gradient(to bottom, #0f0f23 0%, #1a1a2e 100%);
}

.dark-mode .terms-content h3 {
  color: #ffffff;
}

.dark-mode .terms-content h3::before {
  background: linear-gradient(135deg, #a8dadc, #ffffff);
}

.dark-mode .terms-content h3::after {
  background: linear-gradient(90deg, #457b9d 0%, transparent 100%);
}

.dark-mode .terms-content p {
  color: #b8b8b8;
}

.dark-mode .terms-content ul li {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
  color: #e5e5e5;
  border-left-color: #a8dadc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .terms-content ul li::before {
  background: linear-gradient(135deg,
      rgba(168, 218, 220, 0.05) 0%,
      transparent 50%);
}

.dark-mode .terms-content ul li:hover {
  border-left-color: #ffffff;
  box-shadow: 0 8px 25px rgba(168, 218, 220, 0.2);
}

.dark-mode .terms-content ul ul li {
  background: linear-gradient(135deg, #0f0f23 0%, #16213e 100%);
  border-left-color: #457b9d;
}

.dark-mode .terms-content ul ul li:hover {
  border-left-color: #a8dadc;
}

.dark-mode .legal-badge {
  background: linear-gradient(135deg, #a8dadc, #457b9d);
  color: #0f0f23;
}

/* iPad Pro Styles (1024px and below) */
@media (max-width: 1024px) {
  .home-hero {
    min-height: auto;
    padding: 1rem 0;
  }

  /* Sites Grid Medium Screens */
  .sites-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 10px;
    grid-column-gap: 1px;
    width: 100%;
    justify-items: center;
  }

  .site-item {
    padding: 14px;
    width: 100%;
    max-width: 130px;
  }

  .site-item i {
    font-size: 3rem;
  }
}

/* Large Tablet Styles (960px to 1024px) */
@media (min-width: 960px) and (max-width: 1024px) {
  .container {
    width: 100%;
    padding: 0 0 clamp(15px, 2vw, 20px) 0;
    max-width: 1200px;
    margin: 0 auto !important;
  }

  .supported-sites {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem 0;
    overflow: hidden;
  }

  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-row-gap: 50px;
    grid-column-gap: 50px;
    width: fit-content;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
  }

  .site-item {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    padding: 14px;
    width: 100%;
    max-width: 180px;
    height: auto;
    min-height: 100px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .site-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .site-item i {
    font-size: 3.2rem;
  }

  .site-item span {
    font-size: 1rem;
    margin-top: 8px;
  }
}

/* Small Tablet Styles (753px to 809px) */
@media (min-width: 753px) and (max-width: 809px) {
  .sites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-row-gap: 10px;
    grid-column-gap: 2px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
  }

  .site-item {
    padding: 13px;
    width: 100%;
    max-width: 140px;
    height: auto;
    min-height: 95px;
  }

  .site-item i {
    font-size: 2.9rem;
  }

  .site-item span {
    font-size: 0.95rem;
  }
}

/* Medium Tablet Styles (810px to 959px) */
@media (min-width: 810px) and (max-width: 959px) {
  .sites-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-row-gap: 10px;
    grid-column-gap: 2px;
  }

  .site-item {
    max-width: 130px;
  }

  /* Fix header layout for this specific range */
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    order: -1;
  }

  header nav {
    order: 1;
    justify-content: flex-end;
  }

  #hamburger-btn {
    order: -1;
    display: block;
    justify-content: center;
    width: auto;
  }

  .header-buttons {
    display: none;
  }

  /* Navigation menu styles */
  #nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 1rem 0;
    z-index: 1000;
  }

  #nav-menu.active {
    position: fixed !important;
    right: 20px !important;
    top: 55px !important;
    left: 0 !important;
    width: calc(100% - 20px) !important;
  }

  body.nav-open #nav-menu {
    display: flex;
  }

  #nav-menu.active {
    position: fixed;
    right: 0;
    top: 55px;
  }

  /* Dark mode for navigation menu in this media query */
  .dark-mode #nav-menu.active {
    background-color: #161b22;
    border: 1px solid #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  /* Feature grid layout */
  .feature-grid-standout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .feature-slider-container {
    display: none;
  }
}

/* Mobile Slider Styles */
.feature-slider-container {
  display: none;
  position: relative;
  overflow: hidden !important;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  padding: 1.75rem 1.25rem 2.75rem;
  background: radial-gradient(circle at top right,
      rgba(79, 172, 254, 0.35),
      transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(0, 242, 254, 0.25), transparent 50%),
    linear-gradient(135deg, rgba(20, 24, 44, 0.95), rgba(9, 13, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(15, 20, 40, 0.45);
  backdrop-filter: blur(30px);
}

.dark-mode .feature-slider-container {
  background: radial-gradient(circle at top right,
      rgba(79, 172, 254, 0.15),
      transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(0, 242, 254, 0.2), transparent 50%),
    linear-gradient(135deg, rgba(7, 9, 18, 0.85), rgba(3, 4, 10, 0.85));
  border-color: rgba(255, 255, 255, 0.04);
}

.slider-aura,
.slider-glow-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slider-aura::before,
.slider-aura::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25), transparent 70%);
  filter: blur(60px);
  animation: sliderPulse 9s ease-in-out infinite;
}

.slider-aura::after {
  background: radial-gradient(circle, rgba(158, 0, 255, 0.35), transparent 70%);
  animation-delay: 3s;
}

.slider-glow-orb {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle,
      rgba(79, 172, 254, 0.45),
      transparent 70%);
  top: -140px;
  right: -120px;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.6;
  animation: float 10s ease-in-out infinite;
}

.slider-header {
  position: relative;
  text-align: left;
  margin-bottom: 1.25rem;
  z-index: 2;
}

.slider-label {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
}

.slider-subcopy {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin: 0;
}

.feature-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: calc(400% + 6rem);
  justify-content: flex-start;
  align-items: center;
}

.feature-slider .feature-item-standout {
  min-width: calc(25% - 1.5rem);
  width: calc(25% - 1.5rem);
  margin-right: 0;
  touch-action: pan-x;
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(6, 8, 20, 0.35);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-slider .feature-item-standout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 0.25),
      rgba(0, 242, 254, 0));
  opacity: 0.5;
  z-index: 0;
}

/* Icon hover effect */
.feature-slider .feature-item-standout i {
  transition: all 0.3s ease;
  color: #4facfe;
  font-size: 2rem;
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(79, 172, 254, 0.12);
  box-shadow: inset 0 0 15px rgba(79, 172, 254, 0.25);
}

.feature-slider .feature-item-standout:hover i {
  transform: scale(1.15);
  color: #00f2fe;
  box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.4);
}

.feature-slider.grabbing {
  cursor: grabbing;
}

.feature-slider:not(.grabbing) {
  cursor: grab;
}

.slider-meteors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.slider-meteors span {
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
  top: calc(25% + 12% * var(--i, 1));
  left: -150px;
  animation: meteor 7s linear infinite;
  animation-delay: calc(-1.4s * var(--i, 1));
}

.slider-meteors span:nth-child(1) {
  --i: 1;
}

.slider-meteors span:nth-child(2) {
  --i: 2;
}

.slider-meteors span:nth-child(3) {
  --i: 3;
}

.slider-meteors span:nth-child(4) {
  --i: 4;
}

/* Slider Navigation Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #4facfe;
  transform: scale(1.2);
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: calc(50% + 10px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(14, 19, 38, 0.85);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(8, 12, 20, 0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-arrow:hover {
  background: rgba(38, 43, 70, 0.95);
  transform: translateY(-50%) scale(1.08);
}

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

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

.slider-arrow i {
  font-size: 18px;
  color: #4facfe;
}

.slider-arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: #4facfe;
  transform: scale(1.15);
}

.slider-progress {
  position: relative;
  margin-top: 1.25rem;
  padding: 0 1.5rem;
  z-index: 2;
}

.slider-progress-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.slider-progress-thumb {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  transition: width 0.35s ease;
}

.slider-tip {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.slider-tip i {
  margin-right: 0.35rem;
  color: #00f2fe;
}

.slider-tip.hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-grid-standout {
    display: none;
    /* Hide desktop grid on mobile */
  }

  .feature-slider-container {
    display: block;
    /* Show slider on mobile */
    padding: 1.5rem 1rem 2.5rem;
    max-width: 380px;
    overflow: hidden !important;
  }
}

@media (min-width: 769px) and (max-width: 810px) {
  .feature-grid-standout {
    display: none;
    /* Hide grid in this range */
  }

  .feature-slider-container {
    display: block;
    overflow: hidden !important;
    /* Show slider in this range */
    max-width: 420px;
  }
}

@media (min-width: 811px) and (max-width: 1024px) {
  .feature-grid-standout {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
}

@media (min-width: 1025px) {
  .feature-grid-standout {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-8px, 10px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes sliderPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.4;
  }
}

@keyframes meteor {
  0% {
    transform: translateX(0) rotate(6deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateX(420px) rotate(6deg);
    opacity: 0;
  }
}

/* Tablet & mobile styles (959px and below) */
@media (max-width: 959px) {
  .container {
    width: 100%;
    padding: 0;
  }

  /* Header */
  header {
    padding: 0.5rem 0;
  }

  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    order: -1;
  }

  header nav {
    order: 1;
    justify-content: flex-end;
  }

  .hamburger {
    order: -1;
  }

  header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    transform: translateY(5px);
  }

  /* Desktop navigation - hide on mobile */
  header nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  header nav .nav-wrapper {
    /* Keep nav wrapper tight around its contents on small screens */
    justify-content: flex-end;
    top: auto;
    left: 0;
    flex: 0 0 auto;
    height: auto;
    align-self: flex-start;
  }



  header nav ul li {
    margin-left: 0%;
  }

  /* Hero Sections */
  .hero,
  .features-hero,
  .pricing-hero,
  .faq-hero,
  .privacy-hero {
    padding: 2.5rem 0;
  }

  .hero h2,
  .features-hero h2,
  .pricing-hero h2,
  .faq-hero h2,
  .privacy-hero h2 {
    font-size: 2.2rem;
  }

  .hero p,
  .features-hero p,
  .pricing-hero p,
  .faq-hero p,
  .privacy-hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .privacy-content {
    padding: 3rem 0;
  }

  .privacy-content .container {
    padding: 0 1.5rem;
  }

  .privacy-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
  }

  .privacy-content ul li {
    padding: 1.2rem 1.5rem;
  }

  .security-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin: 0.1rem;
    display: inline-block;
    text-align: center;
  }

  /* Terms Page Tablet Styles */
  .terms-hero {
    padding: 2.5rem 0;
  }

  .terms-hero h2 {
    font-size: 2.2rem;
  }

  .terms-hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .terms-content {
    padding: 3rem 0;
  }

  .terms-content .container {
    padding: 0 1.5rem;
  }

  .terms-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
  }

  .terms-content ul li {
    padding: 1.2rem 1.5rem;
  }

  .terms-content ul ul li {
    padding: 1rem 1.2rem;
  }

  .legal-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin: 0.1rem;
    display: inline-block;
    text-align: center;
  }

  /* Download Form */
  .download-form {
    max-width: 100%;
    gap: 10px;
  }

  .quality-selector {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: clamp(10px, 2vw, 15px);
    padding: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.1);
  }

  .format-selector {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .download-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .input-group .process-btn {
    width: auto;
  }

  .input-group .url-input {
    font-size: 12px;
    padding: 6px 8px;
    min-height: 32px;
  }

  /* Grids */
  .feature-grid-standout,
  .tier-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }

  .feature-item-standout,
  .pricing-card {
    padding: 20px;
  }

  /* Sites Grid Tablet */
  .sites-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 10px;
    grid-column-gap: 1px;
    width: fit-content;
    margin: 0 auto;
    justify-items: center;
  }

  .site-item {
    padding: 12px;
    width: 100%;
    max-width: 130px;
    height: auto;
    min-height: 90px;
  }

  .site-item i {
    font-size: 2.8rem;
  }

  .site-item span {
    font-size: 0.9rem;
  }

  /* FAQ */
  .search-bar {
    flex-direction: column;
    align-items: center;
  }

  .search-input {
    width: 100%;
    max-width: none;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    min-height: 120px;
  }

  footer .container {
    gap: 12px;
    padding: 0 0.5rem;
  }

  footer p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .footer-links {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    width: 100%;
  }

  .footer-links a {
    justify-content: center;
    padding: 8px 12px;
    min-height: 44px;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
  }

  .footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  header nav ul li {
    width: 100%;
  }

  header nav a {
    padding: 12px 16px;
    min-height: 44px;
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
  }

  #nav-menu {
    display: none;
    position: fixed;
    top: 55px !important;
    right: 10px;
    background: white;
    flex-direction: column;
    width: min(240px, 90vw);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1000;
  }

  /* Dark mode for navigation menu in this media query */
  .dark-mode #nav-menu {
    background-color: #161b22;
    border: 1px solid #30363d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  #nav-menu.active {
    display: flex;
    position: fixed;
    right: 0;
    top: 55px;
    animation: slideInFromRight 0.3s ease forwards;
  }

  /* One consistent pill panel position for all widths up to 959px.
     Width uses min(240px, 90vw) so it fits on small phones without extra breakpoints. */

  #nav-menu li {
    margin: 0;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 4px 8px 4px 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  #nav-menu li:not(.mobile-only) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  #nav-menu li:nth-child(odd) {
    transform: translateX(-120vw);
  }

  #nav-menu li:nth-child(even) {
    transform: translateX(120vw);
  }

  #nav-menu li:nth-child(1) {
    transition-delay: 0.5s;
  }

  #nav-menu li:nth-child(2) {
    transition-delay: 0.4s;
  }

  #nav-menu li:nth-child(3) {
    transition-delay: 0.3s;
  }

  #nav-menu li:nth-child(4) {
    transition-delay: 0.2s;
  }

  #nav-menu li:nth-child(5) {
    transition-delay: 0.1s;
  }

  #nav-menu li:nth-child(6) {
    transition-delay: 0s;
  }

  #nav-menu li.mobile-only {
    margin: 20px -10px 0px -10px;
    border: none !important;
  }

  #nav-menu li.button-items {
    margin: 0;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 4px 8px 4px 8px !important;
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  #nav-menu li:hover {
    background-color: #eee;
  }

  #nav-menu li a,
  #nav-menu li button {
    padding: 12px 20px 10px 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    text-transform: uppercase;
    width: calc(100% - 20px);
    margin: 0;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    font-weight: bold;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    border-radius: 20px;
  }

  #nav-menu li.selected a,
  #nav-menu li.selected button {
    background: rgba(255, 255, 255, 0.3);
    color: #1d3557;
  }

  #nav-menu li a:hover,
  #nav-menu li button:hover {
    color: #457b9d;
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  #nav-menu li a i {
    color: white;
    margin-right: 8px;
    font-size: 1.1em;
    transition: color 0.3s ease;
  }

  #nav-menu li button i {
    color: white;
    margin-right: 8px;
    font-size: 1.1em;
    transition: color 0.3s ease;
  }

  #nav-menu li a:hover i,
  #nav-menu li button:hover i {
    color: #1d3557;
  }

  header nav ul li {
    text-align: center;
  }

  .header-buttons {
    display: none;
  }
}

@media (max-width: 768px) {
  header nav .nav-wrapper {
    width: auto;
    margin-left: auto;
    padding: 0;
    background: transparent;
  }
}

/* Mobile Styles (110px and below) */
@media (min-width: 110px) and (max-width: 959px) {
  .container {
    width: 100%;
    padding: 0;
  }

  /* Header */
  header h1 {
    font-size: 1.2rem;
  }

  /* Mobile navigation within nav-wrapper */
  header nav .nav-wrapper ul {
    flex-direction: column;
    width: 100%;
  }

  header nav .nav-wrapper ul li {
    text-align: center;
  }

  #hamburger-btn {
    display: block;
  }

  #nav-menu {
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Layout */
    position: fixed;
    top: 70px !important;
    right: 20px;
    width: 280px;
    border-radius: 20px !important;
    padding: 30px 20px !important;
    z-index: 1000;

    /* Flex Layout */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    /* Animation State: Hidden */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(-20px);
    transform-origin: top right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.3s;

    /* Reset legacy properties */
    max-height: none;
    overflow: visible;
    margin: 0 !important;
  }

  #nav-menu.active {
    /* Animation State: Visible */
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
  }

  /* Dark Mode Glassmorphism */
  .dark-mode #nav-menu {
    background: rgba(22, 27, 34, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  }

  #nav-menu li {
    opacity: 0;
    transform: translateX(20px);
    animation: none;
    /* Reset inherited animation */
    margin: 0;
    padding: 0 !important;
    border: none !important;
    background: transparent;
    width: 100%;
  }

  #nav-menu.active li {
    animation: itemSlideIn 0.4s ease forwards;
  }

  /* Stagger Delays */
  #nav-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  #nav-menu.active li:nth-child(2) {
    animation-delay: 0.15s;
  }

  #nav-menu.active li:nth-child(3) {
    animation-delay: 0.2s;
  }

  #nav-menu.active li:nth-child(4) {
    animation-delay: 0.25s;
  }

  #nav-menu.active li:nth-child(5) {
    animation-delay: 0.3s;
  }

  #nav-menu.active li:nth-child(6) {
    animation-delay: 0.35s;
  }

  /* Links & Buttons */
  #nav-menu a,
  #nav-menu button {
    border-radius: 12px;
    padding: 14px 20px !important;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    text-transform: none;
    /* Remove uppercase if desired, or keep it */
  }

  .dark-mode #nav-menu a,
  .dark-mode #nav-menu button {
    color: #e6edf3;
  }

  #nav-menu a:hover,
  #nav-menu button:hover {
    background: rgba(69, 123, 157, 0.1);
    transform: translateX(5px);
    color: #457b9d;
    box-shadow: none;
    /* Reset legacy */
  }

  .dark-mode #nav-menu a:hover,
  .dark-mode #nav-menu button:hover {
    background: rgba(88, 166, 255, 0.15);
    color: #58a6ff;
  }

  /* Icons */
  #nav-menu a i,
  #nav-menu button i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: #457b9d;
    transition: color 0.2s ease;
  }

  .dark-mode #nav-menu a i,
  .dark-mode #nav-menu button i {
    color: #58a6ff;
  }

  #nav-menu a:hover i,
  #nav-menu button:hover i {
    color: #1d3557;
  }

  .dark-mode #nav-menu a:hover i,
  .dark-mode #nav-menu button:hover i {
    color: #79c0ff;
  }

  .wave-animation {
    display: none;
    justify-content: center;
    align-items: flex-end;
    height: 20px;
    margin-bottom: 10px;
  }

  #nav-menu.active .wave-animation {
    display: flex;
  }

  .wave-animation span {
    width: 4px;
    height: 5px;
    background: #457b9d;
    margin: 0 2px;
    border-radius: 2px;
    animation: waveBar 1.5s ease-in-out infinite;
  }

  .wave-animation span:nth-child(1) {
    animation-delay: 0s;
  }

  .wave-animation span:nth-child(2) {
    animation-delay: 0.1s;
  }

  .wave-animation span:nth-child(3) {
    animation-delay: 0.2s;
  }

  .wave-animation span:nth-child(4) {
    animation-delay: 0.3s;
  }

  .wave-animation span:nth-child(5) {
    animation-delay: 0.4s;
  }

  @keyframes waveBar {

    0%,
    100% {
      height: 5px;
    }

    50% {
      height: 20px;
    }
  }

  @keyframes itemSlideIn {
    from {
      opacity: 0;
      transform: translateX(20px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Style the mobile-only login item */
  /* Style the mobile-only login item */
  #nav-menu li.mobile-only {
    margin-top: 10px;
    padding: 0 !important;
  }

  /* Style the login button */
  #nav-menu li.mobile-only .btn.login-btn {
    background: linear-gradient(135deg, #457b9d, #5a9bd4);
    color: white;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(69, 123, 157, 0.3);
    margin-top: -20px !important;
  }

  #nav-menu li.mobile-only .btn.login-btn:hover {
    background: linear-gradient(135deg, #3a6b8c, #4a8bc4);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(69, 123, 157, 0.4);
    color: white;
  }

  #nav-menu li.mobile-only .btn.login-btn i {
    color: white;
  }

  /* Style the Go Premium button in mobile menu */
  #nav-menu li.mobile-only .btn.go-premium-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
  }

  #nav-menu li.mobile-only .btn.go-premium-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(243, 156, 18, 0.4);
    color: white;
  }

  #nav-menu li.mobile-only .btn.go-premium-btn i {
    color: white;
  }

  body.nav-open {
    backdrop-filter: blur(5px);
    transition: backdrop-filter 0.4s ease;
  }

  /* Hero Sections */
  .hero,
  .features-hero,
  .pricing-hero,
  .faq-hero,
  .privacy-hero {
    padding: 2rem 0;
  }

  .hero h2,
  .features-hero h2,
  .pricing-hero h2,
  .faq-hero h2,
  .privacy-hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero p,
  .features-hero p,
  .pricing-hero p,
  .faq-hero p,
  .privacy-hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .privacy-content {
    padding: 2rem 0;
  }

  .privacy-content .container {
    padding: 0 1rem;
  }

  .privacy-content h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    padding-left: 1rem;
  }

  .privacy-content h3::before {
    width: 3px;
    height: 2rem;
  }

  .privacy-content p {
    padding-left: 1rem;
    font-size: 1rem;
  }

  .privacy-content ul {
    padding-left: 1rem;
  }

  .privacy-content ul li {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .privacy-content ul li i {
    font-size: 1rem;
    margin-right: 8px;
  }

  .security-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin: 0.1rem;
    border-radius: 20px;
  }

  /* Terms Page Mobile Styles */
  .terms-hero {
    padding: 2rem 0;
  }

  .terms-hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .terms-hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .terms-content {
    padding: 2rem 0;
  }

  .terms-content .container {
    padding: 0 1rem;
  }

  .terms-content h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    padding-left: 1rem;
  }

  .terms-content h3::before {
    width: 3px;
    height: 2rem;
  }

  .terms-content p {
    padding-left: 1rem;
    font-size: 1rem;
  }

  .terms-content ul {
    padding-left: 1rem;
  }

  .terms-content ul li {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .terms-content ul ul li {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .terms-content ul li i {
    font-size: 1rem;
    margin-right: 8px;
  }

  .legal-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin: 0.1rem;
    border-radius: 20px;
  }

  /* Download Form */
  .url-input {
    font-size: 0.9rem;
    padding: 14px 16px;
    min-height: 44px;
    /* Ensure minimum touch target */
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .quality-selector select {
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
    padding: 10px 25px 10px 10px;
    border-radius: 8px;
    border: 1px solid #d1d9e0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="%234facfe" d="M5 7.5L1 3.5h8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 9px center;
    cursor: pointer;
    text-align-last: center;
    min-width: 120px;
    max-width: 160px;
  }

  .quality-selector select:hover {
    border-color: #4facfe;
    box-shadow: 0 3px 6px rgba(79, 172, 254, 0.1);
  }

  .quality-selector select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2);
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
    min-height: 44px;
    /* Ensure minimum touch target */
  }

  .clear-btn {
    padding: 12px 14px;
    min-width: 44px;
    min-height: 44px;
  }

  /* Feature Items */
  .feature-item-standout h3 {
    font-size: 1.5rem;
  }

  .feature-item-standout p {
    font-size: 0.9rem;
  }

  /* Pricing Cards */
  .pricing-card h3 {
    font-size: 1.5rem;
  }

  .pricing-card .price {
    font-size: 2.5rem;
  }

  .pricing-card ul li {
    font-size: 1rem;
    justify-content: flex-start;
  }

  /* FAQ */
  .accordion {
    font-size: 1rem;
    padding: 15px;
  }

  .panel p {
    font-size: 0.9rem;
  }

  /* Privacy */
  .privacy-content h3 {
    font-size: 1.5rem;
  }

  .privacy-content p,
  .privacy-content ul li {
    font-size: 0.9rem;
  }

  /* Supported Sites Mobile */
  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-row-gap: 8px;
    grid-column-gap: 1px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    padding: 0;
  }

  .site-item {
    padding: 10px;
    width: 100%;
    max-width: 120px;
    min-height: 85px;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7));
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
  }

  .site-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .site-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .site-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .site-item:nth-child(4) {
    animation-delay: 0.4s;
  }

  .site-item:nth-child(5) {
    animation-delay: 0.5s;
  }

  .site-item:nth-child(6) {
    animation-delay: 0.6s;
  }

  .site-item:nth-child(7) {
    animation-delay: 0.7s;
  }

  .site-item:nth-child(8) {
    animation-delay: 0.8s;
  }

  .site-item:nth-child(9) {
    animation-delay: 0.9s;
  }

  .site-item:nth-child(10) {
    animation-delay: 1s;
  }

  .site-item:nth-child(11) {
    animation-delay: 1.1s;
  }

  .site-item:nth-child(12) {
    animation-delay: 1.2s;
  }

  .site-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .site-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='0.25' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='0.5' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease, background-position 0.8s ease;
  }

  .site-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0.9));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .site-item:hover::after {
    transform: scaleX(1);
  }

  .site-item:hover::before {
    opacity: 0.7;
    background-position: 200% 0;
  }

  .site-item i {
    font-size: 2.5rem;
    color: #457b9d;
    /* Default color */
    transition: all 0.3s ease;
  }

  .site-item:hover i {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
  }

  /* Brand-specific colors for each platform on hover */
  .site-item:nth-child(1):hover i {
    color: #ff0000;
  }

  /* YouTube */
  .site-item:nth-child(2):hover i {
    color: #000000;
  }

  /* TikTok */
  .site-item:nth-child(3):hover i {
    color: #1877f2;
  }

  /* Facebook */
  .site-item:nth-child(4):hover i {
    color: #e4405f;
  }

  /* Instagram */
  .site-item:nth-child(5):hover i {
    color: #bd081c;
  }

  /* Pinterest */
  .site-item:nth-child(6):hover i {
    color: #1da1f2;
  }

  /* Twitter/X */
  .site-item:nth-child(7):hover i {
    color: #1ab7ea;
  }

  /* Vimeo */
  .site-item:nth-child(8):hover i {
    color: #00d3ff;
  }

  /* Dailymotion */
  .site-item:nth-child(9):hover i {
    color: #7b32f8;
  }

  /* Odysee */
  .site-item:nth-child(10):hover i {
    color: #ff4500;
  }

  /* Reddit */
  .site-item:nth-child(11):hover i {
    color: #000000;
  }

  /* Threads */
  .site-item:nth-child(12):hover i {
    color: #4680c2;
  }

  /* VK */

  .site-item span {
    font-size: 0.85rem;
    font-weight: bold;
    color: #1d3557;
    transition: all 0.3s ease;
  }

  .site-item:hover span {
    font-weight: 600;
  }

  /* Brand-specific colors for each platform text on hover - small screens */
  .site-item:nth-child(1):hover span {
    color: #ff0000;
  }

  /* YouTube */
  .site-item:nth-child(2):hover span {
    color: #000000;
  }

  /* TikTok */
  .site-item:nth-child(3):hover span {
    color: #1877f2;
  }

  /* Facebook */
  .site-item:nth-child(4):hover span {
    color: #e4405f;
  }

  /* Instagram */
  .site-item:nth-child(5):hover span {
    color: #bd081c;
  }

  /* Pinterest */
  .site-item:nth-child(6):hover span {
    color: #1da1f2;
  }

  /* Twitter/X */
  .site-item:nth-child(7):hover span {
    color: #1ab7ea;
  }

  /* Vimeo */
  .site-item:nth-child(8):hover span {
    color: #00d3ff;
  }

  /* Dailymotion */
  .site-item:nth-child(9):hover span {
    color: #7b32f8;
  }

  /* Odysee */
  .site-item:nth-child(10):hover span {
    color: #ff4500;
  }

  /* Reddit */
  .site-item:nth-child(11):hover span {
    color: #000000;
  }

  /* Threads */
  .site-item:nth-child(12):hover span {
    color: #4680c2;
  }

  /* VK */

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulse {
    0% {
      transform: scale(1.1);
      box-shadow: 0 0 0 0 rgba(255, 126, 95, 0.4);
    }

    50% {
      transform: scale(1.15);
      box-shadow: 0 0 0 10px rgba(255, 126, 95, 0);
    }

    100% {
      transform: scale(1.1);
      box-shadow: 0 0 0 0 rgba(255, 126, 95, 0);
    }
  }

  .slider-handle {
    width: 32px;
    height: 32px;
  }

  /* Footer */
  footer {
    padding: 1rem 0;
    font-size: 0.8rem;
  }
}

/* Clip Cutter Dual Range Slider Styles */
.dual-range-slider {
  margin: 25px 0;
  position: relative;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-track {
  position: relative;
  height: 8px;
  background: linear-gradient(90deg, #e0e0e0 0%, #f0f0f0 100%);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.slider-track:hover {
  background: linear-gradient(90deg, #d0d0d0 0%, #e0e0e0 100%);
}

.slider-range {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #457b9d 0%, #5a9bd4 100%);
  border-radius: 4px;
  top: 0;
  box-shadow: 0 2px 6px rgba(69, 123, 157, 0.3);
  transition: all 0.3s ease;
}

.slider-handle {
  position: absolute;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 3px solid #457b9d;
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(69, 123, 157, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
  touch-action: none;
}

.slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(69, 123, 157, 0.15);
  border-color: #5a9bd4;
}

.slider-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(69, 123, 157, 0.2);
}

.start-handle {
  left: 0;
}



.slider-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #457b9d;
  border-radius: 50%;
  opacity: 0.8;
}

.time-inputs {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 20px;
}

.time-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.time-input-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #457b9d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-input-group input[type="text"] {
  width: 100%;
  max-width: 100px;
  text-align: center;
  padding: 8px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.time-input-group input[type="text"]:focus {
  outline: none;
  border-color: #457b9d;
  box-shadow: 0 4px 8px rgba(69, 123, 157, 0.2);
  background: #f8f9fa;
}

.time-input-group input[type="text"]:hover {
  border-color: #5a9bd4;
}

/* Add tooltips for handles */
.slider-handle::after {
  content: attr(data-time);
  position: absolute;
  bottom: 30px;
  left: 60%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.slider-handle:hover::after {
  opacity: 1;
}

/* Beautiful fade-in animation for FastClip intro */
@keyframes beautifulFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(10deg);
    filter: blur(5px) brightness(0.8);
  }

  30% {
    opacity: 0.6;
    transform: translateY(20px) scale(0.95) rotateX(5deg);
    filter: blur(2px) brightness(0.9);
  }

  70% {
    opacity: 0.9;
    transform: translateY(5px) scale(1.02) rotateX(-2deg);
    filter: blur(0.5px) brightness(1.05);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0) brightness(1);
  }
}

/* Keyframes for animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(3px);
  }

  50% {
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes pulseShadow {

  0%,
  100% {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  }

  50% {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08),
      0 0 0 6px rgba(168, 218, 220, 0.2);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Animations */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.feature-item-standout.fade-in:nth-child(1) {
  animation-delay: 0s;
}

.feature-item-standout.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}

/* For 2-column layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .feature-item-standout.fade-in:nth-child(3) {
    animation-delay: 0s;
  }

  .feature-item-standout.fade-in:nth-child(4) {
    animation-delay: 0.2s;
  }
}

/* For 4-column layout */
@media (min-width: 1025px) {
  .feature-item-standout.fade-in:nth-child(3) {
    animation-delay: 0.4s;
  }

  .feature-item-standout.fade-in:nth-child(4) {
    animation-delay: 0.6s;
  }
}

/* Responsive fade-in animations for fastclip-intro and pricing-tiers sections */
@media (min-width: 769px) and (max-width: 1024px) {
  .fastclip-intro.fade-in {
    animation-delay: 0s;
  }

  .pricing-tiers.fade-in {
    animation-delay: 0.2s;
  }
}

@media (min-width: 1025px) {
  .fastclip-intro.fade-in {
    animation-delay: 0s;
  }

  .pricing-tiers.fade-in {
    animation-delay: 0.2s;
  }
}

.feature-item.fade-in:nth-child(1) {
  animation-delay: 0s;
}

.feature-item.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-item.fade-in:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-item.fade-in:nth-child(4) {
  animation-delay: 0.6s;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease;
  will-change: opacity, transform;
}

.slide-in-right {
  animation: slideInRight 0.6s ease;
  will-change: opacity, transform;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 50%, #a8dadc 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px) scale(0.8);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10001;
  box-shadow: 0 12px 35px rgba(29, 53, 87, 0.4),
    0 6px 20px rgba(69, 123, 157, 0.3), 0 2px 8px rgba(168, 218, 220, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pulse 3s infinite;
}

.back-to-top::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #a8dadc, #457b9d, #1d3557, #a8dadc);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotate 4s linear infinite;
}

.back-to-top::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #457b9d 0%, #a8dadc 50%, #ffffff 100%);
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 20px 45px rgba(29, 53, 87, 0.5),
    0 10px 25px rgba(69, 123, 157, 0.4), 0 4px 12px rgba(168, 218, 220, 0.3),
    inset 0 3px 0 rgba(255, 255, 255, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  animation: none;
}

.back-to-top:hover::before {
  opacity: 1;
  animation: rotate 2s linear infinite;
}

.back-to-top:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.back-to-top:active {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.4),
    0 8px 20px rgba(69, 123, 157, 0.3), 0 3px 10px rgba(168, 218, 220, 0.2);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Back-to-top animations */
@keyframes pulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 35px rgba(29, 53, 87, 0.4),
      0 6px 20px rgba(69, 123, 157, 0.3), 0 2px 8px rgba(168, 218, 220, 0.2);
  }

  50% {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 40px rgba(29, 53, 87, 0.5),
      0 8px 25px rgba(69, 123, 157, 0.4), 0 3px 12px rgba(168, 218, 220, 0.3);
  }

  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 35px rgba(29, 53, 87, 0.4),
      0 6px 20px rgba(69, 123, 157, 0.3), 0 2px 8px rgba(168, 218, 220, 0.2);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Dark mode back-to-top button */
.dark-mode .back-to-top {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #457b9d 100%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 6px 20px rgba(69, 123, 157, 0.4),
    0 2px 8px rgba(168, 218, 220, 0.3), inset 0 2px 0 rgba(168, 218, 220, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.dark-mode .back-to-top::before {
  background: linear-gradient(45deg, #457b9d, #a8dadc, #ffffff, #457b9d);
}

.dark-mode .back-to-top:hover {
  background: linear-gradient(135deg, #1a1a2e 0%, #457b9d 50%, #a8dadc 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7),
    0 10px 25px rgba(69, 123, 157, 0.5), 0 4px 12px rgba(168, 218, 220, 0.4),
    inset 0 3px 0 rgba(168, 218, 220, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.4);
}

/* Mobile adjustments for back-to-top */
@media (max-width: 959px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 18px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  .back-to-top:hover {
    transform: scale(1.1) translateY(-3px);
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Magical Standout Features Animation */
.standout-features.magical-reveal {
  position: relative;
  overflow: hidden;
}

.magical-title {
  text-align: center;
  font-size: 3rem;
  color: #1d3557;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Particle Background */
.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle,
      #a8dadc 0%,
      #457b9d 50%,
      transparent 100%);
  border-radius: 50%;
  animation: particleFloat 8s infinite ease-in-out;
}

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

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

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

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

.particle:nth-child(5) {
  left: 60%;
  animation-delay: 1.5s;
  animation-duration: 6.5s;
}

.particle:nth-child(6) {
  left: 70%;
  animation-delay: 2.5s;
  animation-duration: 7.5s;
}

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

.particle:nth-child(8) {
  left: 90%;
  animation-delay: 0.5s;
  animation-duration: 7s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    transform: translateY(90vh) scale(1);
    opacity: 1;
  }

  90% {
    transform: translateY(-10vh) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(-20vh) scale(0);
    opacity: 0;
  }
}

/* Morphing Card Animation */
.morphing-card {
  position: relative;
  opacity: 0;
  transform: perspective(1000px) rotateY(90deg) scale(0.8);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(29, 53, 87, 0.1),
    0 8px 20px rgba(69, 123, 157, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.morphing-card.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg) scale(1);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      #1d3557,
      #457b9d,
      #a8dadc,
      #457b9d,
      #1d3557);
  background-size: 300% 300%;
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  animation: rotatingGlow 3s linear infinite;
  transition: opacity 0.5s ease;
}

.morphing-card:hover .card-glow {
  opacity: 1;
}

@keyframes rotatingGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Card Content */
.card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Feature Icon Enhancement */
.standout-features .feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 50%, #a8dadc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(29, 53, 87, 0.3));
}

.standout-features .morphing-card:hover .feature-icon {
  transform: scale(1.2) rotateY(360deg);
  filter: drop-shadow(0 8px 16px rgba(29, 53, 87, 0.4));
}

/* Card Shine Effect */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.8s ease;
}

.morphing-card:hover .card-shine {
  left: 100%;
}

/* Enhanced Hover Effects */
.morphing-card:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.05) translateY(-10px);
  box-shadow: 0 30px 60px rgba(29, 53, 87, 0.2),
    0 12px 25px rgba(69, 123, 157, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.morphing-card h3 {
  transition: all 0.3s ease;
}

.morphing-card:hover h3 {
  color: #1d3557;
  text-shadow: 0 2px 4px rgba(29, 53, 87, 0.3);
}

.morphing-card p {
  transition: all 0.3s ease;
}

.morphing-card:hover p {
  color: #457b9d;
}

/* Dark Mode Support for Magical Features */
.dark-mode .magical-title {
  color: #e6f2ff;
}

.dark-mode .particle {
  background: radial-gradient(circle,
      #a8dadc 0%,
      #ffffff 50%,
      transparent 100%);
}

.dark-mode .morphing-card {
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(168, 218, 220, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(168, 218, 220, 0.1), inset 0 1px 0 rgba(168, 218, 220, 0.3);
}

.dark-mode .card-glow {
  background: linear-gradient(45deg,
      #a8dadc,
      #457b9d,
      #ffffff,
      #457b9d,
      #a8dadc);
}

.dark-mode .standout-features .feature-icon {
  background: linear-gradient(135deg, #a8dadc 0%, #457b9d 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 8px rgba(168, 218, 220, 0.3));
}

.dark-mode .standout-features .morphing-card:hover .feature-icon {
  filter: drop-shadow(0 8px 16px rgba(168, 218, 220, 0.4));
}

.dark-mode .morphing-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
    0 12px 25px rgba(168, 218, 220, 0.2), inset 0 1px 0 rgba(168, 218, 220, 0.4);
}

.dark-mode .morphing-card:hover h3 {
  color: #a8dadc;
  text-shadow: 0 2px 4px rgba(168, 218, 220, 0.3);
}

.dark-mode .morphing-card:hover p {
  color: #ffffff;
}

/* Enhanced Responsive Design for Magical Features */
@media (max-width: 768px) {
  .magical-title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    padding: 0 1rem;
    line-height: 1.2;
  }

  .particles-bg {
    height: 120%;
  }

  .particle {
    width: 5px;
    height: 5px;
    background: radial-gradient(circle,
        #a8dadc 0%,
        #457b9d 30%,
        rgba(69, 123, 157, 0.6) 70%,
        transparent 100%);
    animation-duration: 10s;
  }

  .morphing-card {
    margin-bottom: 2rem;
    padding: 0.5rem;
    border-radius: 18px;
    backdrop-filter: blur(25px);
    box-shadow: 0 15px 35px rgba(29, 53, 87, 0.15),
      0 6px 15px rgba(69, 123, 157, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: perspective(800px) rotateY(45deg) scale(0.9);
  }

  .morphing-card.visible {
    transform: perspective(800px) rotateY(0deg) scale(1);
  }

  .card-content {
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }

  .standout-features .feature-icon {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    animation: iconPulse 3s ease-in-out infinite;
  }

  .morphing-card:hover,
  .morphing-card:active {
    transform: perspective(800px) rotateY(0deg) scale(1.03) translateY(-8px);
    box-shadow: 0 25px 50px rgba(29, 53, 87, 0.2),
      0 10px 20px rgba(69, 123, 157, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }

  .card-glow {
    border-radius: 20px;
    opacity: 0.3;
  }

  .morphing-card:hover .card-glow,
  .morphing-card:active .card-glow {
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .magical-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .particles-bg {
    height: 150%;
  }

  .particle {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle,
        #a8dadc 0%,
        #457b9d 40%,
        rgba(69, 123, 157, 0.8) 80%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(168, 218, 220, 0.6);
    animation-duration: 12s;
  }

  .particle:nth-child(odd) {
    animation-timing-function: ease-in-out;
  }

  .particle:nth-child(even) {
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .morphing-card {
    border-radius: 20px;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(30px);
    transform: perspective(600px) rotateY(30deg) scale(0.95);
    box-shadow: 0 12px 30px rgba(29, 53, 87, 0.18),
      0 5px 12px rgba(69, 123, 157, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(29, 53, 87, 0.1);
  }

  .morphing-card.visible {
    transform: perspective(600px) rotateY(0deg) scale(1);
  }

  .card-content {
    padding: 1.8rem 1.2rem;
    border-radius: 18px;
  }

  .standout-features .feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: iconFloat 4s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(29, 53, 87, 0.3);
  }

  .morphing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .morphing-card p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
  }

  .card-glow {
    border-radius: 22px;
    opacity: 0.4;
    background: linear-gradient(45deg,
        #1d3557,
        #457b9d,
        #a8dadc,
        #ffffff,
        #a8dadc,
        #457b9d,
        #1d3557);
    background-size: 400% 400%;
    animation: rotatingGlowMobile 4s linear infinite;
  }

  .morphing-card:hover .card-glow,
  .morphing-card:active .card-glow {
    opacity: 1;
  }

  .morphing-card:hover,
  .morphing-card:active {
    transform: perspective(600px) rotateY(0deg) scale(1.05) translateY(-6px);
    box-shadow: 0 20px 40px rgba(29, 53, 87, 0.25),
      0 8px 18px rgba(69, 123, 157, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.5),
      inset 0 -2px 0 rgba(29, 53, 87, 0.15);
  }

  .card-shine {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent 100%);
  }
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-3px) scale(1.05);
  }

  75% {
    transform: translateY(3px) scale(0.98);
  }
}

@keyframes rotatingGlowMobile {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 50% 100%;
  }

  75% {
    background-position: 100% 0%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Dark Mode for Mobile */
@media (max-width: 768px) {
  .dark-mode .magical-title {
    color: #e6f2ff;
    text-shadow: none;
  }

  .dark-mode .particle {
    background: radial-gradient(circle,
        #ffffff 0%,
        #a8dadc 30%,
        rgba(168, 218, 220, 0.8) 70%,
        transparent 100%);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  }

  .dark-mode .morphing-card {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(26, 26, 46, 0.2) 100%);
    border: 1px solid rgba(168, 218, 220, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
      0 6px 15px rgba(168, 218, 220, 0.15),
      inset 0 1px 0 rgba(168, 218, 220, 0.4);
  }

  .dark-mode .morphing-card:hover,
  .dark-mode .morphing-card:active {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
      0 10px 20px rgba(168, 218, 220, 0.2),
      inset 0 1px 0 rgba(168, 218, 220, 0.5);
  }
}

@media (max-width: 480px) {
  .dark-mode .magical-title {
    color: #e6f2ff;
    text-shadow: none;
  }

  .dark-mode .particle {
    background: radial-gradient(circle,
        #ffffff 0%,
        #a8dadc 40%,
        rgba(168, 218, 220, 0.9) 80%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  }

  .dark-mode .morphing-card {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(26, 26, 46, 0.3) 100%);
    border: 1px solid rgba(168, 218, 220, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5),
      0 5px 12px rgba(168, 218, 220, 0.2),
      inset 0 1px 0 rgba(168, 218, 220, 0.5),
      inset 0 -1px 0 rgba(168, 218, 220, 0.2);
  }

  .dark-mode .standout-features .feature-icon {
    background: linear-gradient(135deg, #ffffff 0%, #a8dadc 50%, #457b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 10px rgba(168, 218, 220, 0.4);
  }

  .dark-mode .card-glow {
    background: linear-gradient(45deg,
        #a8dadc,
        #ffffff,
        #457b9d,
        #a8dadc,
        #ffffff,
        #457b9d,
        #a8dadc);
    opacity: 0.5;
  }

  .dark-mode .morphing-card:hover .card-glow,
  .dark-mode .morphing-card:active .card-glow {
    opacity: 1;
  }

  .dark-mode .morphing-card:hover,
  .dark-mode .morphing-card:active {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
      0 8px 18px rgba(168, 218, 220, 0.25),
      inset 0 2px 0 rgba(168, 218, 220, 0.6),
      inset 0 -2px 0 rgba(168, 218, 220, 0.3);
  }

  .dark-mode .card-shine {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(168, 218, 220, 0.3) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(168, 218, 220, 0.3) 70%,
        transparent 100%);
  }
}

/* Bounce Animation */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 0.6s ease;
}

/* Slide In Animation */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in-up {
  animation: slideInUp 0.5s ease-out;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

.processing-status.pulse {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Success Message Styles */
.success-message {
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Dark mode styling for success message */
.dark-mode .success-message {
  color: #000000 !important;
}

/* Success Message for Big Screens */
@media (min-width: 768px) {
  .success-message {
    max-width: 400px;
    margin: 1rem auto;
  }
}

/* Dark mode for success message */
.dark-mode .success-message {
  background-color: #155724;
  color: #d4edda;
  border-color: #2d5a31;
}

/* Success Message Animation */

.success-message.show {
  opacity: 1;
  transform: translateY(0);
}

.success-message i {
  color: #28a745;
  font-size: 1.2em;
}

/* Video Player Expansion Animation */
.video-expand {
  animation: videoExpand 0.6s ease-out;
}

@keyframes videoExpand {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Download Progress Animation */
.download-progress {
  margin-top: 20px;
  text-align: center;
}

.download-progress p {
  margin: 10px 0 0 0;
  color: #457b9d;
  font-weight: bold;
}

.download-flow {
  animation: downloadFlow 3s ease-in-out;
}

@keyframes downloadFlow {
  0% {
    width: 0%;
  }

  25% {
    width: 30%;
  }

  50% {
    width: 60%;
  }

  75% {
    width: 85%;
  }

  100% {
    width: 100%;
  }
}

/* Format Selector Animation */
.format-selector {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.format-selector.show {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animations */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #457b9d;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: #f3f3f3;
  border-radius: 2px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #457b9d 0%, #5a9bd4 100%);
  border-radius: 2px;
  width: 0%;
  animation: progress 2s ease-in-out infinite;
}

.progress-fill.processing {
  animation: progress 4s ease-in-out;
}

@keyframes progress {
  0% {
    width: 0%;
  }

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 5px;
}

.loading-overlay .spinner {
  margin-bottom: 10px;
}

.loading-text {
  color: #457b9d;
  font-weight: bold;
  font-size: 0.9rem;
}

#blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  background: rgba(0, 0, 0, 0.2);
  z-index: 900;
  display: none;
  pointer-events: none;
}

#blur-overlay.active {
  display: block;
  pointer-events: none;
}

#hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #457b9d, #5a9bd4);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

#hamburger-btn:hover {
  background: linear-gradient(135deg, #5a9bd4, #76c7f2);
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  animation: bounce 0.6s ease, liquid-morph 2s ease-in-out infinite;
}

#hamburger-btn.menu-open {
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {

  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.5);
  }

  50% {
    border-color: rgba(168, 218, 220, 1);
  }
}

@keyframes liquid-morph {

  0%,
  100% {
    border-radius: 50%;
  }

  25% {
    border-radius: 40% 60% 70% 30%;
  }

  50% {
    border-radius: 30% 70% 40% 60%;
  }

  75% {
    border-radius: 70% 30% 60% 40%;
  }
}

@media (max-width: 959px) {
  #hamburger-btn {
    display: block;
  }
}

.hamburger-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line {
  transition: all 0.4s ease;
  transform-origin: center;
}

#menu-checkbox:checked~.hamburger-svg .line1 {
  transform: rotate(45deg) translate(6px, 6px);
}

#menu-checkbox:checked~.hamburger-svg .line2 {
  opacity: 0;
}

#menu-checkbox:checked~.hamburger-svg .line3 {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide Download Accelerator checkbox text while keeping functionality */
.hidden-label .hidden-text {
  display: none;
}

/* Features Page Hero Section Additional Styles */

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  font-size: 4rem;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  color: #ff0000;
}

.floating-icon:nth-child(2) {
  top: 25%;
  right: 15%;
  animation-delay: 1s;
  color: #000000;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
  color: #e1306c;
}

.floating-icon:nth-child(4) {
  bottom: 30%;
  right: 10%;
  animation-delay: 3s;
  color: #1da1f2;
}

.floating-icon:nth-child(5) {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
  color: #ff0000;
}

.floating-icon:nth-child(6) {
  top: 40%;
  right: 5%;
  animation-delay: 5s;
  color: #1877f2;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.parallax-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.parallax-element:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
}

.parallax-element:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
}

.parallax-element:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 10%;
}

.cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  margin-top: 20px;
}

.cta-button:hover {
  background: white;
  color: #8e44ad;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Interactive Features Styles */
.interactive-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.interactive-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.interactive-card:hover::after {
  transform: scaleX(1);
}

.interactive-card .card-description {
  position: relative;
  padding-bottom: 5px;
}

.interactive-card .card-description::after {
  content: "Click to try demo";
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 0.85rem;
  color: #4facfe;
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

.interactive-card:hover .card-description::after {
  opacity: 1;
  bottom: -5px;
}

/* Modal Styles */
.demo-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.demo-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #fff;
  border-radius: 15px;
  width: 100%;
  max-width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.close-modal:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.demo-container {
  padding: 30px;
  height: 100%;
  overflow-y: auto;
}

/* Video Editing Demo */
.video-editing-demo {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.video-preview {
  width: 100%;
  height: 100% !important;
  background-color: #000;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.video-preview img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.timeline {
  background-color: #e9ecef;
  height: 60px;
  border-radius: 8px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

.timeline-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
}

.timeline-segment {
  height: 100%;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-right: 2px solid #fff;
  position: relative;
}

.timeline-segment.active {
  background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.timeline-cursor {
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background-color: #ff6b6b;
  z-index: 5;
}

.timeline-cursor::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -8px;
  width: 20px;
  height: 70px;
  background-color: rgba(255, 107, 107, 0.3);
}

.trim-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.trim-button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background-color: #4facfe;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.trim-button:hover {
  background-color: #3a8bfd;
}

/* Batch Download Demo */
.batch-download-demo {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.add-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 2px dashed #4facfe;
  background-color: transparent;
  color: #4facfe;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-button:hover {
  background-color: rgba(79, 172, 254, 0.1);
}

/* AI Summarization Demo */
.ai-summarization-demo {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.video-input {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.video-input img {
  width: 80px;
  height: 100% !important;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
}

.video-input-info {
  flex-grow: 1;
}

.video-input-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.video-input-details {
  font-size: 0.85rem;
  color: #6c757d;
}

.summarize-button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  background-color: #4facfe;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.summarize-button:hover {
  background-color: #3a8bfd;
}

.ai-output {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.ai-output-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a2e;
}

.key-points {
  margin-bottom: 15px;
}

.key-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.key-point-marker {
  color: #4facfe;
  margin-right: 10px;
  font-weight: bold;
}

.key-point-text {
  flex-grow: 1;
}

.transcript {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.transcript-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.transcript-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #495057;
  max-height: 150px;
  overflow-y: auto;
}

/* Format Conversion Demo */
.format-conversion-demo {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.converter-interface {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.file-input-area {
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.file-input-area.active {
  border-color: #4facfe;
  background-color: rgba(79, 172, 254, 0.05);
}

.file-input-icon {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.file-input-text {
  color: #6c757d;
  margin-bottom: 10px;
}

.browse-button {
  padding: 8px 15px;
  border-radius: 6px;
  border: none;
  background-color: #4facfe;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.browse-button:hover {
  background-color: #3a8bfd;
}

.conversion-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.format-select {
  width: 10% !important;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  background-color: white;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L1 4h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 35px;
}

.format-select:hover {
  border-color: #4facfe;
  box-shadow: 0 6px 12px rgba(79, 172, 254, 0.15);
}

.format-select:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.quality-select {
  width: 30%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  background-color: white;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L1 4h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 35px;
}

.quality-select:hover {
  border-color: #4facfe;
  box-shadow: 0 6px 12px rgba(79, 172, 254, 0.15);
}

.quality-select:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

.convert-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background-color: #4facfe;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.convert-button:hover {
  background-color: #3a8bfd;
}

.conversion-preview {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.preview-file {
  width: 48%;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.preview-file-icon {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.preview-file-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.preview-file-details {
  font-size: 0.85rem;
  color: #6c757d;
}

.conversion-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #4facfe;
}

/* Audio Extraction Demo */
.audio-extraction-demo {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.extraction-interface {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.video-preview-audio {
  width: 100%;
  height: 100% !important;
  background-color: #000;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.video-preview-audio img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.extraction-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.format-select-audio {
  width: 10%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  background-color: white;
}

.quality-select-audio {
  width: 48%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  background-color: white;
}

.extract-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background-color: #4facfe;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.extract-button:hover {
  background-color: #3a8bfd;
}

.audio-waveform {
  height: 80px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  padding: 0 10px;
}

.waveform-bar {
  width: 4px;
  background-color: #4facfe;
  border-radius: 2px;
}

/* Interactive URL Input Styles */
.url-input {
  transition: all 0.3s ease;
  position: relative;
}

.url-input:hover {
  border-color: rgba(168, 218, 220, 0.7) !important;
  box-shadow: 0 0 15px rgba(168, 218, 220, 0.5) !important;
}

.url-input:focus {
  transform: scale(1.02);
  border-color: #457b9d !important;
  box-shadow: 0 0 20px rgba(69, 123, 157, 0.3) !important;
  background-color: #ffffff !important;
}

/* Theme-specific URL input styles */
body.vibrant-theme .url-input:hover {
  border-color: rgba(255, 190, 11, 0.7) !important;
  box-shadow: 0 0 15px rgba(255, 190, 11, 0.5) !important;
}

body.vibrant-theme .url-input:focus {
  border-color: #ff006e !important;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.4) !important;
}

body.minimal-theme .url-input:hover {
  border-color: #d0d0d0 !important;
  box-shadow: none !important;
}

body.minimal-theme .url-input:focus {
  border-color: #b0b0b0 !important;
  box-shadow: none !important;
  transform: scale(1.01);
}

/* Typography Styles for URL Input */

.url-input {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #1d3557;
  background-color: #e0f2f7;
  letter-spacing: 0.3px;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.url-input::placeholder {
  color: #457b9d;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.url-input:focus::placeholder {
  opacity: 0.4;
}

/* Theme-specific typography adjustments */
body.vibrant-theme .url-input {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-weight: 500;
}

body.vibrant-theme .url-input::placeholder {
  color: #8338ec;
  opacity: 0.6;
}

body.minimal-theme .url-input {
  background-color: #f5f5f5;
  color: #333;
  font-weight: 300;
}

body.minimal-theme .url-input::placeholder {
  color: #666;
  opacity: 0.5;
}

/* Accent Color Highlights */
.url-input {
  caret-color: #457b9d;
}

.url-input::selection {
  background-color: rgba(168, 218, 220, 0.5);
  color: #1d3557;
}

/* Theme-specific accent colors */
body.vibrant-theme .url-input {
  caret-color: #ff006e;
}

body.vibrant-theme .url-input::selection {
  background-color: rgba(255, 190, 11, 0.5);
  color: #333;
}

body.minimal-theme .url-input {
  caret-color: #666;
}

body.minimal-theme .url-input::selection {
  background-color: rgba(176, 176, 176, 0.5);
  color: #333;
}

/* Tablet-Optimized Input Styles */
@media (min-width: 769px) and (max-width: 959px) {
  .theme-toggle-mobile {
    display: flex !important;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 70px;
    transform: translateY(-50%);
    z-index: 1100;
  }

  .input-group {
    position: relative;
    width: 90%;
    margin: 0 auto;
  }

  .url-input {
    min-height: 45px;
    padding: 12px 45px 12px 15px;
    font-size: 15px;
    background-color: #e0f2f7;
    border: 2px solid #457b9d;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
  }

  .process-btn {
    min-height: 45px;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 0 10px 10px 0;
  }
}

/* Mobile-Optimized Input Styles */
@media (max-width: 768px) {
  .input-group {
    position: relative;
    width: 90%;
    margin: 0 auto;
  }

  .url-input {
    min-height: 50px;
    padding: 15px;
    font-size: 16px;
    /* Prevents zoom on iOS */
    background-color: #e0f2f7;
    border: 2px solid #457b9d;
    border-radius: 12px;
    /* Auto-expanding height for long URLs */
    overflow: hidden;
    resize: none;
    transition: all 0.3s ease;
  }

  /* Larger touch targets for validation icons */
  .validation-icon {
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
    right: 10px;
    padding: 5px;
  }

  /* Adjust tooltip for mobile */
  .input-tooltip {
    font-size: 0.9rem;
    padding: 10px 15px;
    max-width: 90%;
    white-space: normal;
    bottom: -45px;
  }

  /* Enhanced focus state for mobile */
  .url-input:focus {
    border-color: #1d3557;
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.3);
    transform: none;
    /* Remove scale on mobile to prevent layout issues */
  }

  /* Theme-specific mobile styles */
  body.vibrant-theme .url-input {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: #ff006e;
  }

  body.vibrant-theme .url-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 0, 110, 0.3);
  }

  body.minimal-theme .url-input {
    background-color: #f5f5f5;
    border-color: #b0b0b0;
  }

  body.minimal-theme .url-input:focus {
    box-shadow: 0 0 0 3px rgba(176, 176, 176, 0.3);
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .url-input {
    min-height: 60px;
    padding: 18px;
    font-size: 16px;
  }

  .validation-icon {
    width: 35px;
    height: 35px;
    font-size: 1.7rem;
  }

  .input-tooltip {
    font-size: 0.85rem;
    padding: 8px 12px;
    bottom: -50px;
  }
}

/* Cloud Storage Demo */
.cloud-storage-demo {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

/* Mobile-Optimized Layout and Theme Variations */

/* Mobile-First Design */
@media (max-width: 768px) {

  /* Fix for site items not working on small screens */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    overflow-x: hidden;
  }

  .feature-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .card-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon svg {
    width: 100%;
    height: 100%;
  }

  .feature-card {
    padding: 25px 20px;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Fix for navigation on small screens */
  header .container {
    padding: 0 15px;
  }

  /* Fix for hero section on small screens */
  .features-hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    padding: 0 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 4px 12px;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* Touch-friendly buttons */
  .cta-button {
    min-height: 48px;
    min-width: 48px;
  }

  /* Mobile Navigation */
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-wrapper.active {
    right: 0;
  }

  #nav-menu {
    flex-direction: column;
    padding: 20px 0;
  }

  #nav-menu li {
    margin: 0;
    width: 100%;
  }

  #nav-menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Swipeable Sections */
  .features-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .features-container::-webkit-scrollbar {
    display: none;
  }

  .feature-section {
    min-width: 100vw;
    scroll-snap-align: start;
    padding: 0;
    box-sizing: border-box;
  }

  /* Adaptive Images */
  .video-preview img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }

  /* Clean Whitespace */
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Dark Mode Theme */
.dark-mode {
  background-color: #0d1117;
  color: #c9d1d9;
}

/* Dark mode for header */
.dark-mode header {
  background-color: #161b22;
  border-bottom-color: #30363d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dark-mode header h1 {
  color: #58a6ff;
  text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

.dark-mode header nav a {
  color: #c9d1d9;
}

.dark-mode header nav a:hover {
  color: #58a6ff;
}

/* Dark mode for navigation menu */
.dark-mode #nav-menu.active {
  background-color: #161b22;
  border: 1px solid #30363d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Dark mode for site items */
.dark-mode .site-item.fade-in {
  background-color: #161b22;
  color: #c9d1d9;
  border-color: #30363d;
}

/* Dark mode for main content */
.dark-mode main {
  background-color: #0d1117;
}

.dark-mode .hero {
  background: #0d1117;
  background-image: url(a-digital-artwork-featuring-a-majestic-j_rS5L4l23SQGNKFFTOez-4A__l6l2AKfSFu3TnDQ0uuM7Q-removebg-preview.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  position: relative;
}

.dark-mode .home-hero.symmetric-bg {
  position: relative;
  bottom: 0;
  right: 0;
  background-image: url(a-digital-artwork-featuring-a-majestic-j_rS5L4l23SQGNKFFTOez-4A__l6l2AKfSFu3TnDQ0uuM7Q-removebg-preview.png);
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: right 0 bottom;
}

.dark-mode .hero h2 {
  color: #f0f6fc;
  text-shadow: 0 0 15px rgba(88, 166, 255, 0.2);
  position: relative;
  z-index: 1;
}

.dark-mode .hero p {
  color: #8b949e;
  position: relative;
  z-index: 1;
}

/* Dark mode - improve readability for emphasized text */
.dark-mode strong {
  color: #9cd3ff;
}

.dark-mode .features-hero p strong,
.dark-mode .standout-features p strong,
.dark-mode .feature-grid p strong,
.dark-mode .feature-grid-standout p strong {
  color: #9cd3ff;
}

/* Ensure FAQ hero emphasized text stands out even with inline colors */
.dark-mode .faq-hero p strong {
  color: #9cd3ff !important;
}

/* Dark mode for buttons */
.dark-mode .btn {
  background: linear-gradient(135deg, #238636, #2ea043);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.2);
  border: 1px solid rgba(46, 160, 67, 0.3);
}

.dark-mode .btn:hover {
  background: linear-gradient(135deg, #2ea043, #238636);
  box-shadow: 0 6px 16px rgba(46, 160, 67, 0.3);
  transform: translateY(-2px);
}

.dark-mode .go-premium-btn {
  background: linear-gradient(135deg, #f778ba, #bd4f6c);
  box-shadow: 0 4px 12px rgba(189, 79, 108, 0.2);
  border: 1px solid rgba(189, 79, 108, 0.3);
}

.dark-mode .go-premium-btn:hover {
  background: linear-gradient(135deg, #bd4f6c, #f778ba);
  box-shadow: 0 6px 16px rgba(189, 79, 108, 0.3);
}

/* Dark mode for input fields */
.dark-mode input,
.dark-mode select {
  background-color: #21262d;
  color: #c9d1d9;
  border-color: #30363d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode input:focus,
.dark-mode select:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

/* Dark mode for cards */
.dark-mode .feature-item-standout {
  background-color: #161b22;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #30363d;
}

.dark-mode .feature-item-standout h3 {
  color: #f0f6fc;
}

.dark-mode .feature-item-standout p {
  color: #8b949e;
}

.dark-mode .feature-item {
  background-color: #161b22;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #30363d;
}

.dark-mode .feature-item h4 {
  color: #f0f6fc;
}

.dark-mode .feature-item p {
  color: #8b949e;
}

/* FastClip Introduction Section */
.fastclip-intro {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #a8dadc;
  position: relative;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}

.fastclip-intro .container {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.fastclip-intro h2 {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1d3557;
  letter-spacing: -0.02em;
}

.fastclip-intro p {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #457b9d;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.fastclip-tutorial {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.tutorial-step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  margin-left: -150px;
}

.tutorial-step.step-reverse {
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 80px;
  margin-left: -150px;
}

.tutorial-step.step-reverse .tutorial-image {
  margin-left: 0;
  margin-right: auto;
}

.tutorial-step h4 {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1d3557;
  margin-bottom: 20px;
}

.tutorial-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.15);
  border: 2px solid rgba(69, 123, 157, 0.1);
  margin-left: auto;
  margin-right: -150px;
}

.tutorial-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.2);
  border-color: rgba(69, 123, 157, 0.3);
}

/* Responsive adjustments for medium and large screens (>= 769px) */
@media (min-width: 769px) {
  .fastclip-intro .container {
    max-width: 1200px;
    padding: 0 40px;
  }

  .fastclip-intro h2 {
    font-size: 3.4rem;
  }

  .fastclip-intro p {
    font-size: 1.25rem;
    max-width: 900px;
  }

  /* Make tutorial steps lay out horizontally on wider screens and
     remove the large negative margins that caused overflow */
  .tutorial-step {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 10px;
  }

  .tutorial-step.step-reverse {
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 40px;
    margin-left: 0;
    margin-right: 0;
  }

  .tutorial-image {
    margin-left: 0;
    margin-right: 0;
    max-width: 600px;
    width: 100%;
  }

  /* Pricing layout tweaks for medium+ screens */
  .pricing-tiers {
    padding: clamp(60px, 6vw, 80px) 0;
  }

  .tier-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
  }

  /* Ensure fade-in animations can run cleanly when class is applied */
  .fastclip-intro.fade-in,
  .pricing-tiers.fade-in {
    animation-play-state: running;
  }
}

/* Dark mode for FastClip section */
.dark-mode .fastclip-intro {
  background: linear-gradient(135deg, #0f1419 0%, #161b22 100%);
}

.dark-mode .fastclip-intro h2 {
  color: #f0f6fc;
}

.dark-mode .fastclip-intro p {
  color: #c9d1d9;
}

.dark-mode .tutorial-step h4 {
  color: #f0f6fc;
}

/* Dark mode for pricing-tiers section */
.dark-mode .pricing-tiers {
  background-color: #0d1117;
}

.dark-mode .pricing-card {
  background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
  border: 2px solid rgba(79, 172, 254, 0.1);
}

.dark-mode .pricing-card h3,
.dark-mode .pricing-card .price,
.dark-mode .pricing-card .plan-description {
  color: #f0f6fc;
}

.dark-mode .pricing-card .plan-subtitle {
  color: #8b949e;
}

.dark-mode .pricing-card ul li {
  color: #c9d1d9;
}

.dark-mode .pricing-card ul li i {
  color: #58a6ff;
}

.dark-mode .pricing-tiers h2,
.dark-mode .pricing-tiers p {
  color: #ffffff;
}

/* Dark mode button colors matching light mode */
.dark-mode .free-plan .btn {
  background: white;
  color: black;
}

.dark-mode .free-plan .btn:hover {
  background: #f0f0f0;
  color: black;
}

.dark-mode .basic-plan .btn {
  background: #87ceeb;
  color: #1d3557;
}

.dark-mode .basic-plan .btn:hover {
  background: #6bb6e8;
  color: #1d3557;
}

.dark-mode .pro-plan .btn {
  background: #ffd700;
  color: black;
}

.dark-mode .pro-plan .btn:hover {
  background: #ffc107;
  color: black;
}

/* Dark mode overrides for plan buttons to match light mode */
.dark .free-plan .btn {
  background: white;
  color: black;
}

.dark .basic-plan .btn {
  background: #87ceeb;
  color: #1d3557;
}

.dark .pro-plan .btn {
  background: #ffd700;
  color: black;
}

.fastclip-conclusion {
  margin-top: 60px;
  text-align: center;
  position: relative;
}

/* Floating particles around conclusion */
.conclusion-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.conclusion-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle,
      rgba(168, 218, 220, 0.8) 0%,
      rgba(69, 123, 157, 0.4) 100%);
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}

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

.conclusion-particle:nth-child(2) {
  top: 30%;
  right: 15%;
  animation-delay: 1s;
  animation-duration: 7s;
  width: 6px;
  height: 6px;
}

.conclusion-particle:nth-child(3) {
  bottom: 25%;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 9s;
}

.conclusion-particle:nth-child(4) {
  bottom: 35%;
  right: 25%;
  animation-delay: 3s;
  animation-duration: 6s;
  width: 5px;
  height: 5px;
}

.conclusion-particle:nth-child(5) {
  top: 15%;
  right: 30%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.conclusion-particle:nth-child(6) {
  bottom: 20%;
  left: 35%;
  animation-delay: 5s;
  animation-duration: 8s;
  width: 3px;
  height: 3px;
}

.conclusion-text {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #1d3557;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 40px;
  background: rgba(69, 123, 157, 0.2);
  border-radius: 50px;
  border: 1px solid rgba(69, 123, 157, 0.4);
  box-shadow: 0 20px 50px rgba(29, 53, 87, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 0 60px rgba(168, 218, 220, 0.15),
    0 0 100px rgba(69, 123, 157, 0.08);
  animation: conclusionGlow 2.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.5px;
  transform-style: preserve-3d;
}

.conclusion-text::after {
  content: "✨";
  position: absolute;
  top: 0px;
  right: -9px;
  font-size: 2.5rem;
  animation: sparkleFloat 3s ease-in-out infinite;
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.conclusion-text strong {
  color: #457b9d;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(69, 123, 157, 0.2);
  position: relative;
  display: inline-block;
}

.conclusion-text strong::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #457b9d;
  border-radius: 1px;
  animation: underlineGrow 2s ease-out 1s both;
}

.conclusion-text em {
  color: #1d3557;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #457b9d, #1d3557);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

@keyframes conclusionGlow {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-shadow: 0 0 0 rgba(69, 123, 157, 0.2);
  }

  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(69, 123, 157, 0.15);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 25px rgba(29, 53, 87, 0.08);
  }
}

@keyframes conclusionShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes sparkleFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.8;
  }

  25% {
    transform: translateY(-5px) rotate(90deg);
    opacity: 1;
  }

  50% {
    transform: translateY(-10px) rotate(180deg);
    opacity: 0.9;
  }

  75% {
    transform: translateY(-5px) rotate(270deg);
    opacity: 1;
  }
}

@keyframes underlineGrow {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.4;
  }

  25% {
    transform: translateY(-20px) translateX(10px) scale(1.2);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-10px) translateX(-5px) scale(0.8);
    opacity: 0.6;
  }

  75% {
    transform: translateY(-25px) translateX(-10px) scale(1.1);
    opacity: 0.9;
  }
}

/* Dark mode styles for conclusion */
.dark-mode .conclusion-text {
  background: rgba(88, 166, 255, 0.1);
  border-color: rgba(88, 166, 255, 0.2);
  color: #c9d1d9;
}

.dark-mode .conclusion-text strong {
  color: #58a6ff;
}

.dark-mode .conclusion-text em {
  color: #f0f6fc;
}

.dark-mode .tutorial-image {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 166, 255, 0.2);
}

.dark-mode .tutorial-image:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(88, 166, 255, 0.4);
}

/* Mobile responsiveness for FastClip */
/* Responsive styles for fastclip-intro */
@media (max-width: 768px) {
  .fastclip-intro {
    padding: clamp(40px, 6vw, 60px) 0;
  }

  .fastclip-intro h2 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .fastclip-intro p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: clamp(30px, 5vw, 40px);
  }

  .fastclip-tutorial {
    flex-direction: column;
    gap: clamp(20px, 4vw, 30px);
    margin-top: clamp(20px, 4vw, 30px);
  }

  .tutorial-step {
    flex-direction: column;
    text-align: center;
    gap: 10px !important;
    margin-left: 0;
  }

  .tutorial-step.step-reverse {
    flex-direction: column;
    margin-left: 0;
  }

  .tutorial-image {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .fastclip-intro {
    padding: clamp(30px, 5vw, 40px) 0;
  }

  .fastclip-intro h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
  }

  .fastclip-intro p {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .tutorial-step h4 {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    margin-bottom: 0px;
  }
}

/* Dark mode for sections */
.dark-mode .standout-features {
  background-color: #0d1117;
}

.dark-mode .standout-features h2 {
  color: #f0f6fc;
}

.dark-mode .processing-text {
  color: #c9d1d9;
}

.dark-mode .secondary-features {
  background-color: #0d1117;
}

.dark-mode .secondary-features h3 {
  color: #f0f6fc;
}

.dark-mode .features-hero {
  background: linear-gradient(135deg, #1a1a2e, #0f0f23);
}

.dark-mode .features-hero::before {
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.9),
      rgba(15, 15, 35, 0.9));
}

.dark-mode .feature-card {
  background-color: #1e1e1e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .card-title {
  color: #f0f0f0;
}

.dark-mode .card-description {
  color: #b0b0b0;
}

.dark-mode .feature-tag {
  background-color: rgba(79, 172, 254, 0.2);
  color: #4facfe;
}

.dark-mode .cta-button {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Neon Accents for Dark Mode */
.dark-mode .neon-accent {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

.dark-mode .neon-button {
  background: linear-gradient(135deg, #ff00ff, #00ffff);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.dark-mode .neon-border {
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.dark-mode .video-preview {
  background-color: #161b22;
}

.dark-mode .video-preview h3 {
  color: #457b9d;
}

.dark-mode .format-selector {
  background: #161b22;
}

.dark-mode .format-selector label,
.dark-mode .format-selector .section-label {
  color: #a8dadc;
}

.dark-mode .format-selector select {
  background: #0d1117;
  color: #ffffff;
}

.dark-mode .download-form .input-group {
  background: #1d3557;
}

.dark-mode .url-input {
  background: #0d1117;
  color: #ffffff;
}

.dark-mode .url-input::placeholder {
  color: #a8dadc;
}

.dark-mode .process-btn {
  background: #457b9d;
  color: #ffffff;
}

.dark-mode .process-btn:hover {
  background: #a8dadc;
  color: #0d1117;
}

/* Minimalist Theme */
.minimalist-theme {
  background-color: #f8f8f8;
  color: #333;
}

.minimalist-theme .feature-card {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.minimalist-theme .card-icon {
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  box-shadow: none;
}

.minimalist-theme .card-icon svg {
  fill: #666;
}

.minimalist-theme .card-title {
  color: #333;
  font-weight: 500;
}

.minimalist-theme .card-description {
  color: #666;
}

.minimalist-theme .feature-tag {
  background-color: rgba(0, 0, 0, 0.05);
  color: #666;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.minimalist-theme .cta-button {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #333;
  box-shadow: none;
  border: 1px solid #ddd;
}

.minimalist-theme .cta-button:hover {
  background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

@media (min-width: 960px) {
  .download-form {
    max-width: 600px;
    margin: 0 auto;
    position: static;
    transform: none;
  }

  .input-group {
    width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .theme-toggle-mobile {
    display: none !important;
  }

  :root {
    --scale: 0.9;
    color-scheme: light;
  }

  :root:has(#input:checked) {
    color-scheme: dark;
  }

  .theme-toggle {
    display: flex !important;
    align-items: center;
    position: fixed;
    top: 15px;
    right: 100px;
    z-index: 1100;
  }

  .theme-toggle .switch {
    position: relative;
    display: inline-block;
    width: calc(var(--scale) * 60px);
    height: calc(var(--scale) * 24px);
  }

  .theme-toggle .switch #input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .theme-toggle .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #2196f3;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
  }

  .theme-toggle .sun-moon {
    position: absolute;
    content: "";
    height: calc(var(--scale) * 26px);
    width: calc(var(--scale) * 26px);
    left: calc(var(--scale) * 4px);
    bottom: calc(var(--scale) * 4px);
    background-color: yellow;
    transition: 0.4s;
  }

  .theme-toggle #input:checked+.slider {
    background-color: black;
  }

  .theme-toggle #input:focus+.slider {
    box-shadow: 0 0 calc(var(--scale) * 1px) #2196f3;
  }

  .theme-toggle #input:checked+.slider .sun-moon {
    transform: translateX(calc(var(--scale) * 26px));
    background-color: white;
    animation: rotate-center 0.6s ease-in-out both;
  }

  .theme-toggle .moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: gray;
  }

  .theme-toggle #input:checked+.slider .sun-moon .moon-dot {
    opacity: 1;
  }

  .theme-toggle .slider {
    border-radius: calc(var(--scale) * 34px);
  }

  .theme-toggle .sun-moon {
    border-radius: 50%;
  }
}

.theme-toggle i {
  font-size: 1.5rem;
  color: #333;
}

.dark-mode .theme-toggle {
  background-color: #333;
}

.dark-mode .theme-toggle i {
  color: #f0f0f0;
}

.minimalist-theme .theme-toggle {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
}

.minimalist-theme .theme-toggle i {
  color: #666;
}

/* Theme Options Menu */
.theme-options {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: none;
  z-index: 99;
}

.theme-options.active {
  display: block;
}

.theme-option {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.theme-option:hover {
  background-color: #f0f0f0;
}

.theme-option i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.theme-option span {
  font-weight: 500;
}

.dark-mode .theme-options {
  background-color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .theme-option:hover {
  background-color: #444;
}

.minimalist-theme .theme-options {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.minimalist-theme .theme-option:hover {
  background-color: #f0f0f0;
}

/* Touch Gestures */
.swipe-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInOut 3s infinite;
}

.swipe-indicator i {
  margin-right: 10px;
  animation: swipeHint 2s infinite;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@keyframes swipeHint {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }
}

/* Mobile-Specific Animations */
@media (max-width: 768px) {
  .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .feature-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .nav-wrapper {
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* Responsive Beauty - Maintaining Big Screen Design on Small Screens */

/* Base Mobile Styles */
@media (max-width: 768px) {

  /* Container fixes */
  .container {
    padding: 0 15px;
    max-width: 100%;
  }

  /* Hero Section */
  .features-hero {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 90%;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 85%;
    margin: 0 auto 2rem;
  }

  /* Features Grid - Maintain Big Screen Beauty */
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    overflow-x: hidden;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Feature Cards - Mirror Big Screen Design */
  .feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Card Icon - Preserve Big Screen Style */
  .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
    position: relative;
    z-index: 1;
  }

  .card-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
  }

  /* Card Title - Maintain Big Screen Typography */
  .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
  }

  /* Card Description - Preserve Big Screen Readability */
  .card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    max-width: 90%;
  }

  /* Feature Tags - Keep Big Screen Style */
  .card-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
  }

  .feature-tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: rgba(79, 172, 254, 0.1);
    color: #4facfe;
  }

  /* CTA Buttons - Preserve Big Screen Appearance */
  .cta-button {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Navigation - Mobile Optimized */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-wrapper.active {
    right: 0;
  }

  #nav-menu {
    flex-direction: column;
    padding: 20px 0;
  }

  #nav-menu li {
    margin: 0;
    width: 100%;
  }

  #nav-menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }

  #nav-menu a:hover {
    background-color: #f8f9fa;
  }

  /* Section Headers - Keep Big Screen Style */
  .section-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
  }

  .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 2px;
  }

  .section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    max-width: 80%;
    margin: 0 auto;
  }

  /* Footer - Mobile Optimized */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin: 0px 0px;
  }

  /* Dark Mode Adjustments */
  .dark-mode .feature-card {
    background-color: #1e1e1e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .dark-mode .card-title {
    color: #f0f0f0;
  }

  .dark-mode .card-description {
    color: #b0b0b0;
  }

  /* Minimalist Theme Adjustments */
  .minimalist-theme .feature-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .minimalist-theme .card-icon {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    box-shadow: none;
  }

  .minimalist-theme .card-icon svg {
    fill: #666;
  }

  .minimalist-theme .card-title {
    color: #333;
    font-weight: 500;
  }

  .minimalist-theme .card-description {
    color: #666;
  }

  .minimalist-theme .feature-tag {
    background-color: rgba(0, 0, 0, 0.05);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
}

/* Smaller Mobile Devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .card-icon {
    width: 70px;
    height: 70px;
  }

  .card-icon svg {
    width: 40px;
    height: 40px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Touch Interactions */
@media (hover: none) and (pointer: coarse) {
  .feature-card:active {
    transform: scale(0.98);
  }

  .cta-button:active {
    transform: translateY(-1px);
  }
}

/* Scroll Reveal Animations for Feature Cards */

/* Base styles for scroll reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal with bounce effect */
.reveal-bounce {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out,
    transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.reveal-bounce.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid items */
.feature-item:nth-child(1) {
  transition-delay: 0.1s;
}

.feature-item:nth-child(2) {
  transition-delay: 0.2s;
}

.feature-item:nth-child(3) {
  transition-delay: 0.3s;
}

.feature-item:nth-child(4) {
  transition-delay: 0.4s;
}

.feature-item:nth-child(5) {
  transition-delay: 0.5s;
}

.feature-item-standout:nth-child(1) {
  transition-delay: 0.1s;
}

.feature-item-standout:nth-child(2) {
  transition-delay: 0.2s;
}

.feature-item-standout:nth-child(3) {
  transition-delay: 0.3s;
}

.feature-item-standout:nth-child(4) {
  transition-delay: 0.4s;
}

/* Section title animations */
.section-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out,
    transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-title.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal animations for hero section */
.hero-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-title.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
}

.hero-subtitle.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-button {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.4s,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
}

.hero-button.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography and Color Schemes for Features Page */

/* Google Fonts Import - Already imported at top of file */

/* Color Palette */
:root {
  /* Primary Colors */
  --primary-teal: #008080;
  --primary-teal-light: #00a0a0;
  --primary-teal-dark: #006060;

  /* Neutral Colors */
  --neutral-gray-50: #f8f9fa;
  --neutral-gray-100: #e9ecef;
  --neutral-gray-200: #dee2e6;
  --neutral-gray-300: #ced4da;
  --neutral-gray-400: #adb5bd;
  --neutral-gray-500: #6c757d;
  --neutral-gray-600: #495057;
  --neutral-gray-700: #343a40;
  --neutral-gray-800: #212529;
  --neutral-gray-900: #0a0a0a;

  /* Accent Colors */
  --accent-blue: #4facfe;
  --accent-blue-light: #6bb6ff;
  --accent-blue-dark: #2e8ce6;

  /* Status Colors */
  --success-green: #28a745;
  --warning-yellow: #ffc107;
  --error-red: #dc3545;

  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg,
      var(--primary-teal),
      var(--primary-teal-light));
  --gradient-accent: linear-gradient(135deg,
      var(--accent-blue),
      var(--accent-blue-light));
  --gradient-dark: linear-gradient(135deg,
      var(--neutral-gray-800),
      var(--neutral-gray-700));
}

/* Typography Hierarchy */
body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-gray-700);
  background-color: var(--neutral-gray-50);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--neutral-gray-800);
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 2rem;
  font-weight: 700;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* Subheadings with Serif Font */
.subtitle,
.section-subtitle,
.card-subtitle {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-style: italic;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
}

.card-subtitle {
  font-size: 1.1rem;
}

/* Body Text */
p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--neutral-gray-600);
}

/* Links */
a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-teal-dark);
  text-decoration: none;
}

/* Text Elements */
strong,
b {
  font-weight: 700;
  color: var(--neutral-gray-800);
}

em,
i {
  font-style: italic;
}

/* Lists */
ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 1.5rem;
  border-left: 5px solid var(--primary-teal);
  background-color: var(--neutral-gray-100);
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--neutral-gray-700);
}

/* Code */
code {
  font-family: "Courier New", monospace;
  background-color: var(--neutral-gray-200);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--neutral-gray-800);
}

pre {
  background-color: var(--neutral-gray-100);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* Feature Page Specific Typography */
.hero-title {
  font-family: "Roboto", sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.section-title {
  font-family: "Roboto", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-gray-800);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.card-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-gray-800);
  margin-bottom: 1rem;
}

.card-description {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--neutral-gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-tag {
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-teal);
  background-color: rgba(0, 128, 128, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Button Typography */
.btn {
  font-family: "Roboto", sans-serif;
}

/* FINAL override: make < 769px behave like the 769–959px pill nav */
@media (max-width: 768px) {

  /* Header is the positioning context */
  header {
    position: relative;
  }

  /* Nav wrapper: compact, pinned to top-right (similar to tablet) */
  header nav .nav-wrapper {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    height: 40px;
    margin: 0;
    padding: 0;
    background: transparent;
    flex: 0 0 auto;
  }

  /* Hamburger button: fixed 40x40, no percentage offsets */
  #hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    top: -2px;
    right: 0;
    z-index: 1100;
    margin: 0;
  }

  /* Pill-style menu panel reused for all mobile widths */
}

.button,
.cta-button {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form Elements */
label {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: var(--neutral-gray-700);
  margin-bottom: 0.5rem;
  display: block;
}

input,
textarea,
select {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: var(--neutral-gray-700);
  background-color: white;
  border: 1px solid var(--neutral-gray-300);
  border-radius: 6px;
  padding: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
  outline: none;
}

/* Responsive Typography */
@media (max-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.875rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

.cloud-interface {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.cloud-providers {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cloud-provider {
  width: 30%;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cloud-provider.active {
  border-color: #4facfe;
  background-color: rgba(79, 172, 254, 0.05);
}

.cloud-provider-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cloud-provider-name {
  font-weight: 600;
}

.cloud-storage-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background-color: #4facfe;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cloud-storage-button:hover {
  background-color: #3a8bfd;
}

.storage-status {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.status-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a2e;
}

/* Solar System Styles */
.lamp-rope-toggle .solar-system {
  position: absolute;
  top: -225px;
  left: 50%;
  transform: translateX(-50%) scale(0.25);
  width: 780px;
  height: 780px;
  overflow: hidden;
  cursor: grab;
  transition: top 0.5s ease;
  display: block;
  visibility: visible;
  animation-play-state: running;
}

.lamp-rope-toggle.dark-mode .solar-system {
  visibility: hidden;
  animation-play-state: paused;
}

/* Ensure animations continue from saved position in light mode */
.lamp-rope-toggle:not(.dark-mode) .solar-system .earth-spin,
.lamp-rope-toggle:not(.dark-mode) .solar-system .moon-spin,
.lamp-rope-toggle:not(.dark-mode) .solar-system .venus-spin,
.lamp-rope-toggle:not(.dark-mode) .solar-system .mercury-spin,
.lamp-rope-toggle:not(.dark-mode) .solar-system .mars-spin {
  visibility: visible;
  animation-play-state: running;
}

/* Some positioning rules that are common for all objects */
.orbit {
  border: 1px solid #cccccc !important;
}

#sun,
.orbit,
.orbit+div,
.orbit+div>div {
  position: absolute;
}

#sun,
.orbit,
.orbit+div {
  top: 50%;
  left: 50%;
}

.orbit+div>div {
  top: 0;
  left: 50%;
}

.orbit,
.orbit+div div,
#earth {
  border-radius: 50%;
}

/* Individual objects rules. They are pretty much the same for
all objects and basically only vary in orbit size
and planet size. And colors :) */

#sun {
  /* Positions the top-left corner of the image to be *
	/* in the middle of the box */
  height: 200px;
  width: 200px;
  background-color: #fae20a;
  margin-top: -100px;
  margin-left: -100px;
  border-radius: 50%;
  box-shadow: 0 0 84px orange;
  cursor: pointer;
}

#earth {
  position: absolute;
  top: 0;
  left: 50%;
  height: 50px;
  width: 50px;
  margin-left: -25px;
  margin-top: -25px;
  border-radius: 50%;
  box-shadow: 0 0 34px #3a4385;
}

.earth-orbit,
.earth-spin {
  width: 500px;
  height: 500px;
  margin-left: -250px;
  margin-top: -250px;
}

#moon {
  margin-top: -6px;
  margin-left: -6px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: gray;
  box-shadow: 0 0 14px #3a4385;
}

.moon-orbit,
.moon-spin {
  height: 90px;
  width: 90px;
  margin-top: -45px;
  margin-left: -45px;
  border-color: #447;
}

#venus {
  margin-top: -20px;
  margin-left: -20px;
  height: 40px;
  width: 40px;
  background-color: #3498db;
  box-shadow: 0 0 34px #3a4385;
}

.venus-orbit,
.venus-spin {
  margin-top: -185px;
  margin-left: -185px;
  width: 370px;
  height: 370px;
}

#mercury {
  margin-top: -13.5px;
  margin-left: -13.5px;
  height: 25px;
  width: 25px;
  background-color: #a65e22;
  /* box-shadow: 0 0 34px #3a4385; */
}

.mercury-orbit,
.mercury-spin {
  width: 280px;
  height: 280px;
  margin-left: -140px;
  margin-top: -140px;
}

#mars {
  margin-top: -16px;
  margin-left: -16px;
  height: 32px;
  width: 32px;
  background-color: #863222;
  box-shadow: 0 0 14px #a64232;
}

.mars-orbit,
.mars-spin {
  width: 700px;
  height: 700px;
  margin-left: -350px;
  margin-top: -350px;
}

/* Spinning animations */

@keyframes spin-right {
  100% {
    transform: rotate(360deg);
  }
}

.earth-spin {
  animation: spin-right 36.5s linear infinite;
}

.moon-spin {
  animation: spin-right 3s linear infinite;
}

.venus-spin {
  animation: spin-right 22s linear infinite;
}

.mercury-spin {
  animation: spin-right 8.8s linear infinite;
}

.mars-spin {
  animation: spin-right 68.7s linear infinite;
}

/* ===== DARK MODE FAQ STYLING ===== */

/* FAQ Dark Mode - Hero Section */
.dark-mode .faq-hero {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  color: #f0f6fc;
}

.dark-mode .faq-hero::before {
  opacity: 0.15;
}

.dark-mode .faq-hero h2 {
  color: #f0f6fc;
  text-shadow: 0 2px 10px rgba(88, 166, 255, 0.15);
}

.dark-mode .faq-hero p {
  color: rgba(240, 246, 252, 0.85);
}

/* FAQ Dark Mode - Search Bar */
.dark-mode .search-input {
  background: rgba(30, 30, 30, 0.95);
  color: #f0f6fc;
  border-color: rgba(88, 166, 255, 0.2);
}

.dark-mode .search-input:focus {
  background: rgba(22, 27, 34, 1);
  border-color: rgba(88, 166, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.dark-mode .search-input::placeholder {
  color: #6e7681;
}

.dark-mode .search-icon {
  color: #58a6ff;
}

.dark-mode .search-btn {
  background: linear-gradient(135deg, #0d1117 0%, #1f2937 100%);
  color: #58a6ff;
  border: 1px solid #30363d;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode .search-btn:hover {
  background: linear-gradient(135deg, #1f2937 0%, #0d1117 100%);
  border-color: #58a6ff;
  box-shadow: 0 12px 35px rgba(88, 166, 255, 0.2);
}

.dark-mode .search-results {
  background: rgba(22, 27, 34, 0.98);
  border: 1px solid #30363d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .search-result-item {
  border-bottom-color: rgba(88, 166, 255, 0.1);
}

.dark-mode .search-result-item:hover {
  background: rgba(88, 166, 255, 0.1);
}

.dark-mode .search-result-text {
  color: #f0f6fc;
}

.dark-mode .search-result-category {
  color: #8b949e;
}

.dark-mode .no-results {
  color: #8b949e;
}

/* FAQ Dark Mode - Categories Section */
.dark-mode .faq-categories {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.dark-mode .faq-categories::before {
  opacity: 0.08;
}

/* FAQ Dark Mode - Category Cards */
.dark-mode .faq-category {
  background: linear-gradient(135deg,
      rgba(22, 27, 34, 0.9) 0%,
      rgba(13, 17, 23, 0.9) 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(88, 166, 255, 0.1);
}

.dark-mode .faq-category:hover {
  box-shadow: 0 20px 45px rgba(88, 166, 255, 0.15),
    0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(88, 166, 255, 0.2);
}

.dark-mode .faq-category::before {
  background: linear-gradient(90deg, #58a6ff 0%, #0d1117 50%, #79c0ff 100%);
}

.dark-mode .faq-category::after {
  background: radial-gradient(circle,
      rgba(88, 166, 255, 0.05) 0%,
      rgba(0, 0, 0, 0) 70%);
}

.dark-mode .faq-category h3 {
  color: #79c0ff;
  text-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.dark-mode .faq-category h3::before {
  background: linear-gradient(135deg, #58a6ff, #0d1117);
  box-shadow: 0 4px 15px rgba(88, 166, 255, 0.2);
}

.dark-mode .faq-category h3::after {
  background: linear-gradient(90deg, #58a6ff, #0d1117, #79c0ff);
}

/* FAQ Dark Mode - Accordion Buttons */
.dark-mode .accordion {
  background: linear-gradient(135deg,
      rgba(30, 30, 30, 0.7) 0%,
      rgba(22, 27, 34, 0.7) 100%);
  color: #e6edf3;
  border: 2px solid rgba(88, 166, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .accordion:hover {
  background: linear-gradient(135deg,
      rgba(22, 27, 34, 0.8) 0%,
      rgba(30, 30, 30, 0.8) 100%);
  border-color: rgba(88, 166, 255, 0.3);
  color: #79c0ff;
  box-shadow: 0 8px 25px rgba(88, 166, 255, 0.1);
}

.dark-mode .accordion.active {
  background: linear-gradient(135deg, #58a6ff 0%, #79c0ff 100%);
  color: #0d1117;
  border-color: #58a6ff;
  box-shadow: 0 6px 20px rgba(88, 166, 255, 0.3);
}

.dark-mode .accordion.active:hover {
  background: linear-gradient(135deg, #79c0ff 0%, #58a6ff 100%);
  box-shadow: 0 10px 30px rgba(88, 166, 255, 0.4);
}

.dark-mode .accordion-icon {
  color: #58a6ff;
}

.dark-mode .accordion.active .accordion-icon {
  color: #0d1117;
}

/* FAQ Dark Mode - Panel */
.dark-mode .panel {
  background: linear-gradient(135deg,
      rgba(22, 27, 34, 0.8) 0%,
      rgba(13, 17, 23, 0.8) 100%);
  border: 2px solid rgba(88, 166, 255, 0.15);
  border-top: none;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .panel::before {
  background: linear-gradient(90deg, #58a6ff, #79c0ff);
}

.dark-mode .panel p {
  color: #c9d1d9;
  line-height: 1.7;
}

.dark-mode .panel p::before {
  opacity: 0.8;
  filter: invert(1);
}

.dark-mode .panel a {
  color: #58a6ff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.dark-mode .panel a:hover {
  color: #79c0ff;
}

.dark-mode .panel strong {
  color: #79c0ff;
}

/* FAQ Dark Mode - Contact Support Section */
.dark-mode .contact-support {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.dark-mode .contact-support h3 {
  color: #79c0ff;
  text-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.dark-mode .contact-support p {
  color: #c9d1d9;
}

/* ===== DARK MODE MAIN ELEMENTS ===== */

.dark-mode body {
  background-color: #0d1117;
  color: #c9d1d9;
}

.dark-mode main {
  background-color: #0d1117;
  color: #c9d1d9;
}

.dark-mode header {
  background: #161b22;
  border-bottom-color: rgba(88, 166, 255, 0.2);
}

.dark-mode header h1 {
  color: #58a6ff;
  text-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.dark-mode header nav a {
  color: #c9d1d9;
}

.dark-mode header nav a:hover {
  color: #58a6ff;
  text-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
}

.dark-mode footer {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

/* Dark mode for other sections */
.dark-mode .home-hero {
  background-color: #0d1117;
  color: #f0f6fc;
}

.dark-mode .home-hero .container {
  background-color: transparent;
}

.dark-mode .home-hero h2 {
  color: #ffffff;
}

.dark-mode .home-hero p {
  color: #a8dadc;
}

.dark-mode .standout-features {
  background-color: #161b22;
}

.dark-mode .feature-item-standout {
  background: linear-gradient(135deg,
      rgba(22, 27, 34, 0.8) 0%,
      rgba(30, 30, 30, 0.8) 100%);
  border-color: rgba(88, 166, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dark-mode .feature-item-standout:hover {
  background: linear-gradient(135deg,
      rgba(30, 30, 30, 0.9) 0%,
      rgba(22, 27, 34, 0.9) 100%);
  border-color: rgba(88, 166, 255, 0.3);
  box-shadow: 0 20px 40px rgba(88, 166, 255, 0.15);
}

.dark-mode .feature-item-standout i {
  color: #58a6ff;
}

.dark-mode .feature-item-standout h3 {
  color: #79c0ff;
}

.dark-mode .feature-item-standout p {
  color: #8b949e;
}

/* ========================================
   FAQ Accordion Styles - Beautiful & Smooth
   ======================================== */

/* FAQ Hero Section */
.faq-hero {
  background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(168,218,220,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.faq-hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.faq-hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 18px 50px 18px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* QA Item Container */
.qa-item {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.qa-item:nth-child(1) {
  animation-delay: 0.1s;
}

.qa-item:nth-child(2) {
  animation-delay: 0.15s;
}

.qa-item:nth-child(3) {
  animation-delay: 0.2s;
}

.qa-item:nth-child(4) {
  animation-delay: 0.25s;
}

.qa-item:nth-child(5) {
  animation-delay: 0.3s;
}

.qa-item:nth-child(6) {
  animation-delay: 0.35s;
}

.qa-item:nth-child(7) {
  animation-delay: 0.4s;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accordion Button (Question) */
.accordion {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #1d3557;
  cursor: pointer;
  padding: 1.5rem 2rem;
  width: 100%;
  border: 2px solid transparent;
  border-radius: 15px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.08);
  z-index: 10;
  pointer-events: auto;
}

/* Hover effect for accordion */
.accordion:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-color: rgba(69, 123, 157, 0.3);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(29, 53, 87, 0.12);
}

/* Active state (when opened) */
.accordion.active {
  background: linear-gradient(135deg, #457b9d 0%, #5a9bd4 100%);
  color: white;
  border-color: #457b9d;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 6px 20px rgba(69, 123, 157, 0.25);
  transform: translateX(0);
}

.accordion.active .accordion-icon {
  color: white;
  transform: rotate(180deg);
}

/* Accordion Icon */
.accordion-icon {
  font-size: 1.3rem;
  color: #457b9d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

/* Plus/Minus indicator */
.accordion::after {
  content: "+";
  position: absolute;
  right: 2rem;
  font-size: 2rem;
  font-weight: 300;
  color: #457b9d;
  transition: color 0.2s ease;
}

.accordion.active::after {
  content: "-";
  color: white;
}

/* Shine effect disabled to improve performance */

/* Panel (Answer) */
.panel {
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid transparent;
  border-top: none;
  border-radius: 0 0 15px 15px;
  transition: max-height 0.3s ease, opacity 0.2s ease 0.1s;
  opacity: 0;
  box-shadow: 0 0 0 rgba(29, 53, 87, 0);
}

/* Panel when opened */
.panel.active {
  max-height: 500px;
  opacity: 1;
  border-color: rgba(69, 123, 157, 0.2);
  padding: 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.1);
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

/* Panel content */
.panel p {
  padding: 2rem 2rem 2rem 4rem;
  margin: 0;
  line-height: 1.8;
  color: #333;
  font-size: 1.05rem;
  position: relative;
}

/* Bullet point style for panel paragraphs */
.panel p::before {
  content: "?";
  position: absolute;
  left: 2rem;
  color: #457b9d;
  font-weight: bold;
  font-size: 1.2rem;
}

.panel p strong {
  color: #1d3557;
  font-weight: 700;
}

.panel p a {
  color: #457b9d;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.panel p a:hover {
  color: #1d3557;
  border-bottom-color: #457b9d;
}

/* Category heading styles */
.faq-category h3 {
  color: #1d3557;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  padding-bottom: 1rem;
}

.faq-category h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #457b9d 0%, #a8dadc 100%);
  border-radius: 2px;
}

/* Loading animation for accordion */
.accordion.loading {
  pointer-events: none;
  opacity: 0.6;
}

.accordion.loading::after {
  content: "";
  animation: spin 1s linear infinite;
}

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

  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   DARK MODE FOR HAMBURGER MENU & MOBILE NAV
   ======================================== */

/* Dark Mode for Mobile Navigation Menu */
.dark-mode #nav-menu {
  background: rgba(29, 53, 87, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  border: 2px solid rgba(168, 218, 220, 0.2) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Dark Mode for Navigation Links */
.dark-mode #nav-menu li a {
  color: #a8dadc !important;
  transition: all 0.3s ease !important;
}

.dark-mode #nav-menu li a:hover {
  color: #ffffff !important;
  background: rgba(168, 218, 220, 0.15) !important;
  transform: translateX(5px) !important;
}

/* Dark Mode for Hamburger Button */
.dark-mode .hamburger {
  background: rgba(29, 53, 87, 0.8) !important;
  border: 2px solid rgba(168, 218, 220, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .hamburger:hover {
  background: rgba(69, 123, 157, 0.9) !important;
  border-color: rgba(168, 218, 220, 0.5) !important;
  transform: scale(1.05) !important;
}

/* Dark Mode for Hamburger SVG Icon */
.dark-mode .hamburger-svg {
  stroke: #a8dadc !important;
  fill: #a8dadc !important;
}

.dark-mode .hamburger-svg path {
  stroke: #a8dadc !important;
}

.dark-mode .hamburger:hover .hamburger-svg {
  stroke: #ffffff !important;
  fill: #ffffff !important;
}

/* Dark Mode for Mobile Menu Overlay */
.dark-mode .mobile-menu-overlay {
  background: rgba(29, 53, 87, 0.7) !important;
  backdrop-filter: blur(10px) !important;
}

/* Dark Mode for Navigation Items */
.dark-mode nav a {
  color: #a8dadc !important;
}

.dark-mode nav a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(168, 218, 220, 0.5) !important;
}

/* Dark Mode for Active Navigation Item */
.dark-mode nav a.active,
.dark-mode #nav-menu li a.active {
  background: linear-gradient(135deg,
      rgba(168, 218, 220, 0.2),
      rgba(90, 155, 212, 0.3)) !important;
  color: #ffffff !important;
  border-left: 4px solid #a8dadc !important;
}

/* Dark Mode for Menu Dividers */
.dark-mode .nav-divider {
  border-color: rgba(168, 218, 220, 0.2) !important;
}

/* Dark Mode for Sub-menu Items */
.dark-mode .sub-menu,
.dark-mode .dropdown-menu {
  background: rgba(29, 53, 87, 0.9) !important;
  border: 1px solid rgba(168, 218, 220, 0.2) !important;
  backdrop-filter: blur(15px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .sub-menu a,
.dark-mode .dropdown-menu a {
  color: #a8dadc !important;
  border-bottom: 1px solid rgba(168, 218, 220, 0.1) !important;
}

.dark-mode .sub-menu a:hover,
.dark-mode .dropdown-menu a:hover {
  background: rgba(168, 218, 220, 0.15) !important;
  color: #ffffff !important;
}

/* Dark Mode for Menu Close Button */
.dark-mode .menu-close,
.dark-mode .close-btn {
  color: #a8dadc !important;
  background: rgba(29, 53, 87, 0.8) !important;
  border: 2px solid rgba(168, 218, 220, 0.3) !important;
}

.dark-mode .menu-close:hover,
.dark-mode .close-btn:hover {
  color: #ffffff !important;
  background: rgba(220, 53, 69, 0.8) !important;
  border-color: rgba(220, 53, 69, 0.5) !important;
}

/* Dark Mode for Mobile Header */
.dark-mode header {
  background: rgba(29, 53, 87, 0.9) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 2px solid rgba(168, 218, 220, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .header {
  background: rgba(29, 53, 87, 0.9) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 2px solid rgba(168, 218, 220, 0.2) !important;
}

/* Dark Mode for Logo in Header */
.dark-mode .logo,
.dark-mode .brand {
  color: #a8dadc !important;
  filter: brightness(1.2) !important;
}

/* FORCE ACCORDION CLICKABILITY - OVERRIDE ALL CONFLICTS */
button.accordion {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 999 !important;
  position: relative !important;
  display: flex !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: 2px solid transparent !important;
  border-radius: 15px !important;
  padding: 1.5rem 2rem !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #1d3557 !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
  margin-bottom: 0 !important;
}

button.accordion:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-color: rgba(69, 123, 157, 0.3) !important;
  transform: translateX(5px) !important;
}

button.accordion.active {
  background: linear-gradient(135deg, #457b9d 0%, #5a9bd4 100%) !important;
  color: white !important;
  border-color: #457b9d !important;
}

/* ENSURE CONTAINER DOESN'T BLOCK */
.faq-category {
  overflow: visible !important;
  z-index: 1 !important;
  position: relative !important;
}

.qa-item {
  overflow: visible !important;
  z-index: 10 !important;
  position: relative !important;
}

/* UNIVERSAL FIX - APPLY BLUE BORDERS TO ALL QUESTIONS */
button.accordion,
.accordion {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  position: relative !important;
  display: block !important;
  background: #ffffff !important;
  border: 2px solid #457b9d !important;
  margin: 10px 0 !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #1d3557 !important;
}

button.accordion:hover,
.accordion:hover {
  background: #f8f9fa !important;
  border-color: #1d3557 !important;
  transform: translateX(5px) !important;
}

button.accordion.active,
.accordion.active {
  background: linear-gradient(135deg, #457b9d 0%, #5a9bd4 100%) !important;
  color: white !important;
  border-color: #457b9d !important;
}

/* ===== ENHANCED PRICING PAGE STYLES ===== */

/* Animation Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }

  33% {
    transform: translateY(-30px) translateX(20px);
  }

  66% {
    transform: translateY(20px) translateX(-15px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Animation Classes */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
}

.animation-delay-1 {
  animation-delay: 0.2s;
}

.animation-delay-2 {
  animation-delay: 0.4s;
}

.animation-delay-3 {
  animation-delay: 0.6s;
}

.animation-delay-4 {
  animation-delay: 0.8s;
}

.animation-delay-5 {
  animation-delay: 1s;
}

/* Override existing pricing hero with enhanced version */
.pricing-hero {
  position: relative !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  color: white !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.hero-background-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.3));
  backdrop-filter: blur(10px);
}

.orb-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation: orbFloat 6s ease-in-out infinite;
}

.orb-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation: orbFloat 8s ease-in-out infinite reverse;
}

.orb-3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation: orbFloat 7s ease-in-out infinite;
  animation-delay: -2s;
}

.orb-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  animation: orbFloat 9s ease-in-out infinite reverse;
  animation-delay: -1s;
}

.gradient-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(102, 126, 234, 0.1),
      rgba(118, 75, 162, 0.1));
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}

.pricing-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.eyebrow-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-hero h2 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
  color: white !important;
}

.gradient-text {
  background: linear-gradient(45deg, #ffd700, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-hero p {
  font-size: 1.2rem !important;
  opacity: 0.9 !important;
  margin-bottom: 3rem !important;
  line-height: 1.6 !important;
  color: white !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ===== FEATURE SLIDER STYLES ===== */

/* Feature Slider Container */
.feature-slider-container {
  position: relative;
  max-width: 420px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  /* Beautiful glassmorphism with your website colors */
  background: linear-gradient(135deg,
      rgba(168, 218, 220, 0.25) 0%,
      rgba(224, 242, 247, 0.15) 30%,
      rgba(69, 123, 157, 0.1) 60%,
      rgba(29, 53, 87, 0.05) 100%);
  border-radius: 24px;
  overflow: hidden !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(168, 218, 220, 0.3);
  box-shadow:
    0 20px 40px rgba(29, 53, 87, 0.08),
    0 10px 25px rgba(69, 123, 157, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(29, 53, 87, 0.05);
  z-index: 100;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: containerFloatGlow 6s ease-in-out infinite alternate;
}

.feature-slider-container:hover {
  transform: translateY(-5px);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.2),
    0 20px 45px rgba(79, 172, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

@keyframes containerGlow {
  0% {
    box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.15),
      0 15px 35px rgba(79, 172, 254, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }

  100% {
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.18),
      0 20px 45px rgba(168, 85, 247, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  }
}

/* Slider Header */
.slider-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.slider-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg,
      rgba(79, 172, 254, 0.8),
      rgba(168, 85, 247, 0.8),
      rgba(0, 242, 96, 0.8));
  border-radius: 2px;
  animation: headerGlow 2s ease-in-out infinite alternate;
}

@keyframes headerGlow {
  0% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Slider label removed */

@keyframes labelShimmer {

  0%,
  100% {
    background: linear-gradient(135deg, #4facfe 0%, #a855f7 50%, #00f260 100%);
  }

  50% {
    background: linear-gradient(135deg, #00f260 0%, #4facfe 50%, #a855f7 100%);
  }
}

.slider-subcopy {
  color: #5a7d9a;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.slider-header:hover .slider-subcopy {
  opacity: 1;
}

/* Feature Slider */
.feature-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  position: relative;
  z-index: 50;
  width: calc(400% + 6rem);
  justify-content: flex-start;
  align-items: center;
}

.feature-slider.grabbing {
  cursor: grabbing;
}

.feature-slider .feature-item-standout {
  min-width: calc(25% - 1.5rem);
  width: calc(25% - 1.5rem);
  flex-shrink: 0;
  padding: 1.5rem;
  box-sizing: border-box;
  pointer-events: none;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-slider .feature-item-standout * {
  pointer-events: none;
}

.feature-slider .feature-item-standout::before,
.feature-slider .feature-item-standout::after {
  z-index: -1 !important;
}

/* Slider Arrows - HIDDEN */
.slider-arrow,
.slider-arrow.prev,
.slider-arrow.next {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide all arrow-related styles */
.slider-arrow:hover,
.slider-arrow:active,
.slider-arrow.disabled,
.dark-mode .slider-arrow,
.dark-mode .slider-arrow:hover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes arrowPulse {

  0%,
  100% {
    box-shadow:
      0 8px 25px rgba(79, 172, 254, 0.3),
      0 4px 15px rgba(168, 85, 247, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    box-shadow:
      0 12px 35px rgba(79, 172, 254, 0.4),
      0 6px 20px rgba(168, 85, 247, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

.slider-arrow:hover {
  background: linear-gradient(135deg,
      rgba(29, 53, 87, 1) 0%,
      rgba(69, 123, 157, 1) 50%,
      rgba(168, 218, 220, 1) 100%) !important;
  border-color: rgba(168, 218, 220, 0.6) !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow:
    0 12px 35px rgba(29, 53, 87, 0.3),
    0 6px 20px rgba(69, 123, 157, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  animation: none !important;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(1.05) !important;
  box-shadow:
    0 5px 15px rgba(79, 172, 254, 0.5),
    0 2px 10px rgba(168, 85, 247, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.slider-arrow i {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.slider-arrow:hover i {
  transform: scale(1.1);
}

.slider-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

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

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

/* Slider Dots */
.slider-dots {
  display: flex !important;
  justify-content: center !important;
  gap: 0.8rem !important;
  margin-top: 2rem !important;
  z-index: 99998 !important;
  position: relative !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg,
      rgba(69, 123, 157, 0.4),
      rgba(168, 218, 220, 0.6)) !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 2px solid rgba(168, 218, 220, 0.4) !important;
  box-shadow:
    0 4px 15px rgba(29, 53, 87, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
}

.dot.active {
  background: linear-gradient(135deg,
      rgba(29, 53, 87, 1),
      rgba(69, 123, 157, 1)) !important;
  transform: scale(1.25) !important;
  border-color: rgba(168, 218, 220, 0.7) !important;
  box-shadow:
    0 6px 20px rgba(29, 53, 87, 0.25),
    0 3px 12px rgba(69, 123, 157, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  animation: dotPulse 2s ease-in-out infinite;
}

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

@keyframes dotPulse {

  0%,
  100% {
    box-shadow:
      0 6px 20px rgba(79, 172, 254, 0.4),
      0 3px 12px rgba(168, 85, 247, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  50% {
    box-shadow:
      0 8px 25px rgba(79, 172, 254, 0.5),
      0 4px 15px rgba(168, 85, 247, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
}

.dot:hover {
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 0.8),
      rgba(168, 85, 247, 0.8)) !important;
  transform: scale(1.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 5px 18px rgba(79, 172, 254, 0.3),
    0 2px 10px rgba(168, 85, 247, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* Slider Progress */
.slider-progress {
  margin-top: 1.5rem;
  width: 100%;
  position: relative;
}

.slider-progress-track {
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,
      rgba(29, 53, 87, 0.15),
      rgba(69, 123, 157, 0.2),
      rgba(168, 218, 220, 0.25));
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(29, 53, 87, 0.15);
  position: relative;
}

.slider-progress-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%);
  animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.slider-progress-thumb {
  height: 100%;
  background: linear-gradient(90deg,
      #1d3557 0%,
      #457b9d 50%,
      #a8dadc 100%);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 25%;
  position: relative;
  box-shadow:
    0 2px 8px rgba(29, 53, 87, 0.25),
    0 1px 4px rgba(69, 123, 157, 0.15);
  animation: thumbGlow 3s ease-in-out infinite alternate;
}

@keyframes thumbGlow {
  0% {
    box-shadow:
      0 2px 8px rgba(79, 172, 254, 0.3),
      0 1px 4px rgba(168, 85, 247, 0.2);
  }

  100% {
    box-shadow:
      0 3px 12px rgba(79, 172, 254, 0.4),
      0 2px 6px rgba(168, 85, 247, 0.3);
  }
}

/* Slider Tip */
.slider-tip {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(135deg,
      rgba(29, 53, 87, 0.9),
      rgba(69, 123, 157, 0.8));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 218, 220, 0.2);
  animation: tipFloat 4s ease-in-out infinite;
}

@keyframes tipFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }

  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

.slider-tip.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.slider-tip:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(79, 172, 254, 0.4);
  animation: none;
}

.slider-tip i {
  margin-right: 0.8rem;
  background: linear-gradient(135deg, #457b9d, #a8dadc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1rem;
  animation: iconSpark 3s ease-in-out infinite;
}

@keyframes iconSpark {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2);
  }
}

/* Slider Decorative Elements */
.slider-aura {
  position: absolute;
  top: -80%;
  left: -80%;
  width: 260%;
  height: 260%;
  background: radial-gradient(circle,
      rgba(79, 172, 254, 0.15) 0%,
      rgba(168, 85, 247, 0.1) 30%,
      rgba(0, 242, 96, 0.05) 60%,
      transparent 80%);
  pointer-events: none;
  z-index: -1;
  animation: auraRotate 20s linear infinite;
}

@keyframes auraRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.slider-glow-orb {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg,
      #4facfe 0%,
      #a855f7 50%,
      #00f260 100%);
  border-radius: 50%;
  opacity: 0.8;
  animation: orbPulse 3s ease-in-out infinite;
  pointer-events: none;
  box-shadow:
    0 0 20px rgba(79, 172, 254, 0.4),
    0 0 40px rgba(168, 85, 247, 0.3);
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow:
      0 0 20px rgba(79, 172, 254, 0.4),
      0 0 40px rgba(168, 85, 247, 0.3);
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
    box-shadow:
      0 0 30px rgba(79, 172, 254, 0.6),
      0 0 60px rgba(168, 85, 247, 0.5);
  }
}

.slider-meteors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.slider-meteors span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #4facfe;
  border-radius: 50%;
  animation: meteor 3s linear infinite;
}

.slider-meteors span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.slider-meteors span:nth-child(2) {
  top: 40%;
  left: 70%;
  animation-delay: 1s;
}

.slider-meteors span:nth-child(3) {
  top: 70%;
  left: 30%;
  animation-delay: 2s;
}

.slider-meteors span:nth-child(4) {
  top: 90%;
  left: 80%;
  animation-delay: 1.5s;
}

@keyframes meteor {
  0% {
    opacity: 0;
    transform: translateX(-50px) translateY(-50px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(50px) translateY(50px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Dark Mode Support */
.dark-mode .feature-slider-container {
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 0.2) 0%,
      rgba(0, 242, 96, 0.2) 25%,
      rgba(168, 85, 247, 0.2) 50%,
      rgba(245, 101, 101, 0.2) 75%,
      rgba(251, 191, 36, 0.2) 100%) !important;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 15px 35px rgba(79, 172, 254, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

.dark-mode .feature-slider-container:hover {
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.5),
    0 20px 45px rgba(79, 172, 254, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .slider-subcopy {
  color: #bbb !important;
}

.dark-mode .slider-arrow {
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 0.8) 0%,
      rgba(168, 85, 247, 0.8) 50%,
      rgba(0, 242, 96, 0.8) 100%) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow:
    0 8px 25px rgba(79, 172, 254, 0.4),
    0 4px 15px rgba(168, 85, 247, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.dark-mode .slider-arrow:hover {
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 1) 0%,
      rgba(168, 85, 247, 1) 50%,
      rgba(0, 242, 96, 1) 100%) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow:
    0 15px 40px rgba(79, 172, 254, 0.5),
    0 8px 25px rgba(168, 85, 247, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.dark-mode .dot {
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 0.6),
      rgba(168, 85, 247, 0.6)) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.dark-mode .dot.active {
  background: linear-gradient(135deg,
      rgba(79, 172, 254, 1),
      rgba(168, 85, 247, 1)) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

.dark-mode .slider-progress-track {
  background: linear-gradient(90deg,
      rgba(79, 172, 254, 0.3),
      rgba(168, 85, 247, 0.3),
      rgba(0, 242, 96, 0.3)) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .slider-tip {
  border-color: rgba(79, 172, 254, 0.4) !important;
  backdrop-filter: blur(15px) !important;
}

.dark-mode .slider-aura {
  background: radial-gradient(circle,
      rgba(79, 172, 254, 0.2) 0%,
      rgba(168, 85, 247, 0.15) 30%,
      rgba(0, 242, 96, 0.1) 60%,
      transparent 80%) !important;
}

.dark-mode .slider-glow-orb {
  box-shadow:
    0 0 25px rgba(79, 172, 254, 0.6),
    0 0 50px rgba(168, 85, 247, 0.5) !important;
}

/* ===== RESPONSIVE DESIGN FOR FEATURE SLIDER ===== */

/* Hide Feature Slider on Big Screens (Desktop) */
@media (min-width: 1025px) {
  .feature-slider-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Show Feature Slider on Tablets and Mobile */
@media (max-width: 1024px) {
  .feature-slider-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-slider-container {
    overflow: hidden !important;
    max-width: 90%;
    margin: 1.5rem auto;
    padding: 1.5rem 0.8rem;
    /* Performance optimizations for mobile */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    background: rgba(168, 218, 220, 0.15) !important;
    box-shadow: 0 8px 16px rgba(29, 53, 87, 0.1) !important;
    will-change: auto !important;
  }

  /* Disable hover effects on mobile */
  .feature-slider-container:hover {
    transform: none !important;
    box-shadow: 0 8px 16px rgba(29, 53, 87, 0.1) !important;
  }

  /* Simplify card effects */
  .feature-item-standout {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.08) !important;
    transition: none !important;
  }

  .feature-item-standout::before,
  .feature-item-standout::after {
    display: none !important;
  }

  /* Disable expensive card animations */
  .morphing-card {
    animation: none !important;
  }

  .card-glow,
  .card-shine {
    display: none !important;
  }

  /* Simplify aura effects */
  .slider-aura,
  .slider-glow-orb,
  .slider-meteors {
    display: none !important;
  }

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

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

  .slider-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .feature-slider-container {
    margin: 1rem auto;
    padding: 1rem 0.5rem;
    overflow: hidden !important;
  }

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

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

  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

/* ===== VISIBILITY MANAGEMENT ===== */
/* Show only feature-slider on small/medium screens, hide on large screens */
@media (max-width: 959px) {
  .feature-slider-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .feature-grid-standout {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Show only feature-grid-standout on large screens, hide slider */
@media (min-width: 960px) {
  .feature-slider-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .feature-grid-standout {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Performance optimizations for tablet screens (769px - 959px) */
@media (min-width: 769px) and (max-width: 959px) {
  .feature-slider-container {
    /* Same performance optimizations as mobile */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
    background: rgba(168, 218, 220, 0.15) !important;
    box-shadow: 0 8px 16px rgba(29, 53, 87, 0.1) !important;
    will-change: auto !important;
  }

  .feature-slider-container:hover {
    transform: none !important;
    box-shadow: 0 8px 16px rgba(29, 53, 87, 0.1) !important;
  }

  .feature-item-standout {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.08) !important;
    transition: none !important;
  }

  .feature-item-standout::before,
  .feature-item-standout::after {
    display: none !important;
  }

  .morphing-card {
    animation: none !important;
  }

  .card-glow,
  .card-shine {
    display: none !important;
  }

  .slider-aura,
  .slider-glow-orb,
  .slider-meteors {
    display: none !important;
  }
}

/* Enhanced Hero Metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.metric-icon {
  margin-bottom: 0.5rem;
}

.metric-icon i {
  font-size: 2rem;
  color: #ffd700;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.metric-card span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Enhanced Billing Toggle */
.billing-toggle {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 50px;
  padding: 6px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-background {
  position: absolute;
  background: white;
  border-radius: 40px;
  height: calc(100% - 12px);
  width: calc(50% - 6px);
  top: 6px;
  left: 6px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toggle-option {
  position: relative;
  padding: 12px 24px;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.3s ease;
  z-index: 1;
}

.toggle-option input {
  display: none;
}

.toggle-option.active .toggle-title {
  color: #667eea;
  font-weight: 600;
}

.toggle-option.active small {
  color: #764ba2;
}

.toggle-option:not(.active) .toggle-title,
.toggle-option:not(.active) small {
  color: rgba(255, 255, 255, 0.8);
}

.toggle-title {
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}

.toggle-option small {
  font-size: 0.75rem;
}

/* Enhanced Billing Note */
.billing-note {
  margin-bottom: 0;
  opacity: 0.8;
}

.billing-pill {
  display: inline-block;
  background: linear-gradient(45deg, #ffd700, #ff6b6b);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-right: 8px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  opacity: 0.8;
}

/* Override existing pricing tiers with enhanced version */
.pricing-tiers {
  padding: 6rem 0% 0% 0% !important;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  position: relative !important;
  opacity: 1 !important;
  animation: none !important;
  margin: 0 !important;
}

.tier-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 2rem !important;
  margin-top: 3rem !important;
}

/* Enhanced Pricing Cards - Override existing styles */
.pricing-card {
  position: relative !important;
  background: white !important;
  border-radius: 24px !important;
  padding: 2rem !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  display: block !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transform: none !important;
  margin-top: 0 !important;
  z-index: 1 !important;
}

.pricing-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15) !important;
}

.pricing-card.featured {
  transform: scale(1.05) !important;
  border-color: #667eea !important;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px) !important;
}

/* Enhanced Plan Decoration */
.plan-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  pointer-events: none;
}

.plan-dragon {
  position: absolute;
  top: -340px;
  right: 40px;
  width: 80px;
  height: 80px;
  opacity: 0.7;
}

.dragon-image {
  width: 100px;
  height: 900px;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.sparkle-2 {
  top: 60%;
  right: 30%;
  animation-delay: 0.5s;
}

.sparkle-3 {
  bottom: 30%;
  left: 40%;
  animation-delay: 1s;
}

.sparkle-4 {
  top: 40%;
  left: 70%;
  animation-delay: 1.5s;
}

.sparkle-5 {
  bottom: 60%;
  right: 20%;
  animation-delay: 2s;
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: 10px !important;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  z-index: 2;
}

/* Enhanced Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.free-badge {
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
}

.creator-badge {
  background: linear-gradient(45deg, #8b5cf6, #7c3aed);
  color: white;
}

.studio-badge {
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}

.plan-header h3 {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #1a202c !important;
  margin-bottom: 0.5rem !important;
}

.plan-caption {
  color: #64748b;
  margin-bottom: 0;
}

/* Enhanced Price Section */
.price-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: #64748b;
  margin-right: 4px;
}

.price-amount {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: #1a202c !important;
}

.billing-cycle {
  font-size: 1rem;
  color: #64748b;
  margin-left: 4px;
}

.savings-text {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

/* Enhanced Plan Benefits */
.plan-benefits {
  list-style: none !important;
  padding: 0 !important;
  margin-bottom: 2rem !important;
  flex-grow: 1 !important;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  font-size: 1rem !important;
  color: #333 !important;
  justify-content: flex-start !important;
}

.benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon i {
  font-size: 1.1rem !important;
  color: #10b981 !important;
  margin-right: 0 !important;
}

.benefit-item.disabled .benefit-icon i {
  color: #ef4444 !important;
}

.benefit-content strong {
  display: block;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 2px;
}

.benefit-content span {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}

/* Enhanced Plan CTA */
.plan-cta {
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, #667eea, #764ba2) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
  padding: 14px 32px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  min-width: 200px !important;
  display: inline-block !important;
  width: auto !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6) !important;
  background: linear-gradient(45deg, #667eea, #764ba2) !important;
}

.btn-outline {
  background: white !important;
  color: #667eea !important;
  border: 2px solid #667eea !important;
  padding: 14px 32px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  min-width: 200px !important;
  display: inline-block !important;
  width: auto !important;
  justify-content: center !important;
  align-items: center !important;
}

.btn-outline:hover {
  background: #667eea !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.btn-outline-dark {
  background: white !important;
  color: #1a202c !important;
  border: 2px solid #1a202c !important;
  padding: 14px 32px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  min-width: 200px !important;
  display: inline-block !important;
  width: auto !important;
  justify-content: center !important;
  align-items: center !important;
}

.btn-outline-dark:hover {
  background: #1a202c !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.plan-footnote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Enhanced Plan Specific Styles */
.free-plan {
  background: linear-gradient(135deg, #f0fdf4 0%, white 100%) !important;
  transform: none !important;
  margin-top: 0 !important;
}

.free-plan:hover {
  transform: translateY(-10px) !important;
}

.free-plan::before {
  display: none !important;
}

.creator-plan {
  background: linear-gradient(135deg, #faf5ff 0%, white 100%) !important;
  border-color: #8b5cf6 !important;
  transform: scale(1.05) !important;
  z-index: 2 !important;
  margin-top: 0 !important;
}

/* Move Dragon Creator plan down on pricing page only */
body[data-page="pricing"] .creator-plan {
  margin-top: 40px !important;
}

/* Move dragon image down on pricing page only */
body[data-page="pricing"] .plan-dragon {
  top: -330px !important;
}

.creator-plan::before {
  display: none !important;
}

.studio-plan {
  background: linear-gradient(135deg, #fffbeb 0%, white 100%) !important;
  transform: none !important;
  margin-top: 0 !important;
  z-index: 1 !important;
}

.studio-plan::before {
  display: none !important;
}

/* Enhanced Pricing Addons */
.pricing-addons {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.contact-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #764ba2;
}

/* Enhanced Responsive Design for Pricing */
@media (max-width: 768px) {
  .pricing-hero {
    min-height: 80vh !important;
    padding: 2rem 0 !important;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tier-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .pricing-card.featured {
    transform: none !important;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px) !important;
  }

  .creator-plan {
    transform: none !important;
  }

  .creator-plan:hover {
    transform: translateY(-10px) !important;
  }

  .plan-decoration {
    width: 60px;
    height: 60px;
  }

  .plan-dragon {
    width: 50px;
    height: 50px;
  }

  .billing-toggle {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
  }

  .toggle-background {
    height: 50%;
    width: calc(100% - 12px);
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 1.5rem !important;
  }

  .plan-header h3 {
    font-size: 1.5rem !important;
  }

  .price-amount {
    font-size: 2.5rem !important;
  }

  .btn-primary,
  .btn-outline,
  .btn-outline-dark {
    min-width: 150px !important;
    padding: 12px 24px !important;
  }
}

/* ===== DARK MODE SUPPORT FOR ENHANCED PRICING ===== */

/* Dark Mode - Enhanced Pricing Hero */
.dark-mode .pricing-hero {
  background: linear-gradient(135deg, #1a1b3a 0%, #2d1b69 100%) !important;
}

.dark-mode .hero-background-effects .orb {
  background: linear-gradient(45deg,
      rgba(139, 92, 246, 0.2),
      rgba(168, 85, 247, 0.3));
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.dark-mode .gradient-mesh {
  background: linear-gradient(45deg,
      rgba(139, 92, 246, 0.1),
      rgba(168, 85, 247, 0.1));
}

.dark-mode .eyebrow-label {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #e2e8f0;
}

.dark-mode .pricing-hero h2 {
  color: #f8fafc !important;
}

.dark-mode .gradient-text {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .pricing-hero p {
  color: #e2e8f0 !important;
}

/* Dark Mode - Hero Metrics */
.dark-mode .metric-card {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(20px);
}

.dark-mode .metric-card:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.dark-mode .metric-card strong,
.dark-mode .metric-card span {
  color: #f8fafc;
}

.dark-mode .metric-icon i {
  color: #fbbf24;
}

/* Dark Mode - Billing Toggle */
.dark-mode .billing-toggle {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.dark-mode .toggle-background {
  background: linear-gradient(45deg, #8b5cf6, #a855f7);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.dark-mode .toggle-option.active .toggle-title {
  color: #f8fafc;
  font-weight: 700;
}

.dark-mode .toggle-option.active small {
  color: #e2e8f0;
}

.dark-mode .toggle-option:not(.active) .toggle-title,
.dark-mode .toggle-option:not(.active) small {
  color: rgba(248, 250, 252, 0.7);
}

.dark-mode .billing-note {
  color: #e2e8f0;
}

.dark-mode .billing-pill {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
}

/* Dark Mode - Section Header */
.dark-mode .section-header h2 {
  color: #f8fafc;
}

.dark-mode .section-header p {
  color: #94a3b8;
}

/* Dark Mode - Pricing Tiers */
.dark-mode .pricing-tiers {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

/* Dark Mode - Enhanced Pricing Cards */
.dark-mode .pricing-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
  border: 2px solid rgba(139, 92, 246, 0.2) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .pricing-card:hover {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6) !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
}

.dark-mode .pricing-card.featured {
  border-color: #8b5cf6 !important;
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3) !important;
}

.dark-mode .pricing-card.featured:hover {
  box-shadow: 0 45px 90px rgba(139, 92, 246, 0.4) !important;
}

/* Dark Mode - Popular Badge */
.dark-mode .popular-badge {
  background: linear-gradient(45deg, #8b5cf6, #a855f7);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.6);
}

/* Dark Mode - Plan Badges */
.dark-mode .free-badge {
  background: linear-gradient(45deg, #059669, #047857);
  color: white;
}

.dark-mode .creator-badge {
  background: linear-gradient(45deg, #8b5cf6, #7c3aed);
  color: white;
}

.dark-mode .studio-badge {
  background: linear-gradient(45deg, #f59e0b, #d97706);
  color: white;
}

/* Dark Mode - Plan Header */
.dark-mode .plan-header h3 {
  color: #f8fafc !important;
}

.dark-mode .plan-caption {
  color: #94a3b8;
}

/* Dark Mode - Price Section */
.dark-mode .price-section {
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.dark-mode .currency {
  color: #94a3b8;
}

.dark-mode .price-amount {
  color: #f8fafc !important;
}

.dark-mode .billing-cycle {
  color: #94a3b8;
}

.dark-mode .savings-text {
  color: #94a3b8;
}

/* Dark Mode - Plan Benefits */
.dark-mode .benefit-item {
  color: #e2e8f0 !important;
}

.dark-mode .benefit-icon i {
  color: #10b981 !important;
}

.dark-mode .benefit-item.disabled .benefit-icon i {
  color: #f87171 !important;
}

.dark-mode .benefit-content strong {
  color: #f8fafc;
}

.dark-mode .benefit-content span {
  color: #94a3b8;
}

/* Dark Mode - Enhanced Buttons */
.dark-mode .btn-primary {
  background: linear-gradient(45deg, #8b5cf6, #a855f7) !important;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5) !important;
}

.dark-mode .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.7) !important;
  background: linear-gradient(45deg, #7c3aed, #8b5cf6) !important;
}

.dark-mode .btn-outline {
  background: rgba(139, 92, 246, 0.1) !important;
  color: #a855f7 !important;
  border: 2px solid #8b5cf6 !important;
}

.dark-mode .btn-outline:hover {
  background: #8b5cf6 !important;
  color: white !important;
}

.dark-mode .btn-outline-dark {
  background: rgba(248, 250, 252, 0.1) !important;
  color: #f8fafc !important;
  border: 2px solid #64748b !important;
}

.dark-mode .btn-outline-dark:hover {
  background: #64748b !important;
  color: white !important;
}

.dark-mode .plan-footnote {
  color: #94a3b8;
}

/* Dark Mode - Plan Specific Styles */
.dark-mode .free-plan {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.dark-mode .creator-plan {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
  border-color: #8b5cf6 !important;
}

.dark-mode .studio-plan {
  background: linear-gradient(135deg, #292524 0%, #44403c 100%) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Dark Mode - Sparkles */
.dark-mode .sparkle {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

/* Dark Mode - Dragon Images Enhancement */
.dark-mode .dragon-image {
  filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

/* Dark Mode - Pricing Addons */
.dark-mode .pricing-addons {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(20px);
}

.dark-mode .pricing-addons p {
  color: #e2e8f0;
}

.dark-mode .contact-link {
  color: #a855f7;
}

.dark-mode .contact-link:hover {
  color: #8b5cf6;
}

/* Dark Mode - Enhanced Glow Effects */
.dark-mode .pricing-card:hover {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.2) !important;
}

.dark-mode .pricing-card.featured {
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3),
    0 0 40px rgba(139, 92, 246, 0.1) !important;
}

.dark-mode .pricing-card.featured:hover {
  box-shadow: 0 45px 90px rgba(139, 92, 246, 0.4),
    0 0 50px rgba(139, 92, 246, 0.2) !important;
}

/* Dark Mode - Enhanced Orb Animations */
.dark-mode .orb-1 {
  background: linear-gradient(45deg,
      rgba(139, 92, 246, 0.15),
      rgba(168, 85, 247, 0.25));
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.dark-mode .orb-2 {
  background: linear-gradient(45deg,
      rgba(168, 85, 247, 0.15),
      rgba(139, 92, 246, 0.25));
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

.dark-mode .orb-3 {
  background: linear-gradient(45deg,
      rgba(139, 92, 246, 0.1),
      rgba(168, 85, 247, 0.2));
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.25);
}

.dark-mode .orb-4 {
  background: linear-gradient(45deg,
      rgba(168, 85, 247, 0.1),
      rgba(139, 92, 246, 0.2));
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}

/* Dark mode - Enhanced card-content visibility and paragraph colors */
.dark-mode .card-content p {
  color: #e6edf3 !important;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Improve all card-content visibility in dark mode */
.dark-mode .card-content {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Enhanced visibility for feature item paragraphs in dark mode */
.dark-mode .feature-item-standout p {
  color: #e6edf3 !important;
  font-weight: 500;
  opacity: 0.95;
}

/* General card-content visibility improvement - applies to all themes */
.card-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Playlist Navigation Buttons */
.playlist-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.playlist-nav-btn.prev-btn {
  left: 10px;
}

.playlist-nav-btn.next-btn {
  right: 10px;
}

.playlist-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.playlist-nav-btn:disabled:hover {
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
}

.playlist-indicator {
  text-align: center;
  margin: 10px 0;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.playlist-indicator span {
  font-weight: 700;
  color: #457b9d;
}


/* Playlist List View Redesign */
#playlist-view {
  width: 100%;
  margin-top: 30px;
}

.playlist-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  border: 1px solid #eee;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: #e0f7fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00acc1;
  font-size: 1.2rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.playlist-header {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #eee;
}

.playlist-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #333;
}

.playlist-header p {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.95rem;
}

.playlist-items-container {
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.playlist-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ecf0f1;
  transition: background-color 0.2s;
}

.playlist-item:last-child {
  border-bottom: none;
}

.playlist-item.selected {
  background-color: #f0fbff;
}

.pl-item-main {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 20px;
}

.pl-checkbox-container {
  display: flex;
  align-items: center;
}

.pl-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.pl-thumbnail {
  width: 120px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #ddd;
}

.pl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pl-title {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.3;
}

.pl-meta {
  font-size: 0.85rem;
  color: #7f8c8d;
  display: flex;
  gap: 15px;
}

.pl-duration i {
  margin-right: 5px;
}

.pl-actions {
  margin-left: auto;
}

.pl-load-options-btn {
  padding: 8px 16px;
  background: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pl-load-options-btn:hover {
  background: #34495e;
  transform: translateY(-1px);
}

.pl-load-options-btn.active {
  background: #3498db;
}

/* Options Area */
.playlist-item-options {
  padding: 0 20px 20px 60px;
  /* Indent options */
  animation: fadeIn 0.3s ease;
}

.loader-container {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #666;
}

.options-container {
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
}

.formats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.input-group-small {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}

.input-group-small label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
}

.input-group-small select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Scoped slider styles for playlist */
.pl-clip-option {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.section-label-small {
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pl-clip-controls {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pl-slider-container {
  position: relative;
  height: 40px;
  padding: 0 10px;
}

/* Reusing slider bar styles but scaled */
.pl-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  transform: translateY(-50%);
}

.pl-slider-range {
  position: absolute;
  top: 50%;
  height: 6px;
  background: #4a90e2;
  border-radius: 3px;
  transform: translateY(-50%);
  /* dynamic width and left */
}

.pl-slider-handle {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #4a90e2;
  border-radius: 50%;
  cursor: grab;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.1s;
}

.pl-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.pl-slider-handle:active {
  cursor: grabbing;
}

/* Slider handles will mirror main ones in script */
.pl-time-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pl-time-inputs input {
  width: 60px;
  padding: 5px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.playlist-actions-footer {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .pl-item-main {
    flex-wrap: wrap;
  }

  .pl-thumbnail {
    width: 100px;
    height: 56px;
  }

  .playlist-item-options {
    padding: 0 15px 15px;
  }

  .formats-row {
    gap: 10px;
  }
}


/* Segmented Control Logic */
.format-segmented-control {
  display: flex;
  background: #f1f3f5;
  padding: 4px;
  border-radius: 8px;
  gap: 2px;
  flex-wrap: wrap;
  width: fit-content;
}

.format-segment {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #495057;
  font-weight: 500;
  transition: all 0.2s;
}

.format-segment:hover {
  background: rgba(0, 0, 0, 0.05);
}

.format-segment.active {
  background: #1c4ed8;
  /* Blue active state */
  color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.format-segment i {
  color: #ffd43b;
  /* Yellow bolt */
  margin-left: 4px;
}

.quality-row {
  margin-bottom: 20px;
}

.quality-row label {
  font-weight: 600;
  margin-right: 10px;
  font-size: 0.9rem;
  color: #555;
}

.pl-quality-select {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
  min-width: 200px;
  font-size: 0.9rem;
}

/* Update Load Options Button to match dark style in mockup */
.pl-load-options-btn {
  padding: 10px 20px;
  background: #111;
  /* Dark/Black */
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pl-load-options-btn:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.pl-load-options-btn i {
  font-size: 0.8rem;
}

/* Remove old pill styles if present to avoid conflict */
.format-pills,
.format-pill {
  display: none;
}



/* Unified Playlist Card */
.playlist-content-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  /* Ensures child borders don t break radius */
  border: 1px solid #eee;
  margin-top: 20px;
}

/* Header fixes for unified card */
.playlist-header {
  background: #f8f9fa;
  padding: 24px;
  border-bottom: 1px solid #ecf0f1;
  border-radius: 0;
  /* Clear previous radius */
}

/* Items container fixes */
.playlist-items-container {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 0;
}

/* Footer fixes */
.playlist-actions-footer {
  background: #f8f9fa;
  border-top: 1px solid #ecf0f1;
  padding: 20px;
}

/* Ensure stats are separate */
.playlist-stats {
  margin-bottom: 20px;
}


/* ========================================
   PLAYLIST VERTICAL LIST STYLES
   ======================================== */

/* Playlist View Container */
#playlist-view {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Playlist Stats Cards */
.playlist-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  color: #2d3748;
}

.stat-label {
  font-size: 14px;
  color: #718096;
  margin-top: 4px;
}

/* Playlist Item - Vertical List Card */
.playlist-item {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.playlist-item:hover {
  border-color: #cbd5e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.playlist-item.selected {
  background: #f7fafc;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Playlist Item Main Layout */
.pl-item-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Checkbox Container */
.pl-checkbox-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #667eea;
}

/* Video Thumbnail */
.pl-thumbnail {
  width: 160px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #edf2f7;
}

/* Video Info */
.pl-info {
  flex: 1;
  min-width: 0;
}

.pl-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pl-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #718096;
}

.pl-duration {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pl-duration i {
  font-size: 12px;
}

/* Actions Container */
.pl-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pl-load-options-btn {
  padding: 10px 20px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.pl-load-options-btn:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.pl-load-options-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.pl-load-options-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.pl-load-options-btn.active i {
  transform: rotate(180deg);
}

/* Playlist Item Options Panel */
.playlist-item-options {
  border-top: 1px solid #e2e8f0;
  margin-top: 16px;
  padding-top: 16px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loader Container */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 12px;
}

.loader-container .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Options Container */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Format Pills Row */
.formats-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formats-row label {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
}

.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.format-pill {
  padding: 10px 18px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.format-pill:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
}

.format-pill.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.format-pill i {
  font-size: 12px;
}

/* Quality Row */
.quality-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quality-row label {
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
}

.pl-quality-select {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  color: #2d3748;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pl-quality-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Playlist Items Container - Scrollable */
.playlist-items-container {
  max-height: 600px;
  overflow-y: auto;
  padding: 20px;
  background: transparent;
}

/* Custom Scrollbar for Playlist Container */
.playlist-items-container::-webkit-scrollbar {
  width: 8px;
}

.playlist-items-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.playlist-items-container::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.playlist-items-container::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Download Selected Button */
.playlist-actions-footer {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: #f8f9fa;
  border-top: 1px solid #e2e8f0;
}

#download-selected-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

#download-selected-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#download-selected-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pl-item-main {
    flex-wrap: wrap;
  }

  .pl-thumbnail {
    width: 120px;
    height: 68px;
  }

  .pl-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .playlist-items-container {
    max-height: 500px;
  }

  .playlist-stats {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Support */
.dark-mode .playlist-item {
  background: #2d3748;
  border-color: #4a5568;
}

.dark-mode .playlist-item.selected {
  background: #374151;
  border-color: #667eea;
}

.dark-mode .stat-card {
  background: #2d3748;
}

.dark-mode .pl-title,
.dark-mode .stat-value {
  color: #f7fafc !important;
}

.dark-mode .pl-load-options-btn {
  background: #374151;
  border-color: #4a5568;
  color: #f7fafc !important;
}

.dark-mode .pl-load-options-btn:hover {
  background: #4a5568;
}

.dark-mode .format-pill {
  background: #374151;
  border-color: #4a5568;
  color: #f7fafc !important;
}

.dark-mode .pl-format-select,
.dark-mode .pl-quality-select {
  background: #374151;
  border-color: #4a5568;
  color: #000000 !important;
}

/* Dark mode styles for format and quality labels */
.dark-mode .format-row label,
.dark-mode .quality-row label {
  color: #000000 !important;
}

/* Remove scrollbars within faq-categories */
.faq-categories,
.faq-categories .container {
  overflow: visible !important;
}

/* Remove nested scrollbars from FAQ search results */
.search-results {
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
}

/* FAQ page: ensure only main page scrollbar is used */
.faq-hero,
.faq-categories,
.faq-categories .container,
.faq-category,
.faq-category * {
  overflow: visible !important;
  overscroll-behavior: contain;
}

/* Dark mode style for "Select Format" and "Select Quality" placeholder text */
.dark-mode .pl-format-select option,
.dark-mode .pl-quality-select option {
  color: #ffffff !important;
  background: #374151 !important;
}

/* Ensure both format and quality selects have the same size */
.pl-format-select,
.pl-quality-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #374151;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px;
  cursor: pointer;
}


/* Playlist Clip Slider Styles */
.pl-clip-option {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.section-label-small {
  margin-bottom: 12px;
}

.section-label-small label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
}

/* Modern Clip Tool Styling */
.pl-clip-controls {
  margin-top: 15px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.pl-slider-container {
  position: relative;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.pl-slider-track {
  position: absolute;
  width: 100%;
  height: 8px;
  background: #edf2f7;
  border-radius: 4px;
  cursor: pointer;
}

.pl-slider-range {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  opacity: 0.8;
}

.pl-slider-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #667eea;
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  z-index: 10;
}

.pl-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.pl-slider-handle:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.05);
  background: #667eea;
  border-color: white;
}

.pl-time-display {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
  color: #718096;
  font-weight: 500;
  padding: 0 2px;
}

.pl-time-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f7fafc;
  padding: 10px;
  border-radius: 8px;
}

.pl-time-inputs input {
  width: 80px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
  color: #4a5568;
  background: white;
  transition: all 0.2s;
}

.pl-time-inputs input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
  outline: none;
}

.pl-time-separator {
  color: #a0aec0;
  font-weight: bold;
}

/* Dark Mode Overrides */
.dark-mode .pl-clip-controls {
  background: #2d3748;
  border-color: #4a5568;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.dark-mode .pl-slider-track {
  background: #4a5568;
}

.dark-mode .pl-slider-handle {
  background: #2d3748;
  border-color: #7f9cf5;
}

.dark-mode .pl-slider-handle:active {
  background: #7f9cf5;
}

.dark-mode .pl-time-inputs {
  background: #1a202c;
}

.dark-mode .pl-time-inputs input {
  background: #2d3748;
  border-color: #4a5568;
  color: #e2e8f0;
}

.dark-mode .pl-time-display {
  color: #a0aec0;
}

/* Select disabled state */
.pl-quality-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f7fafc;
}

.dark-mode .pl-quality-select:disabled {
  background-color: #2d3748;
}

.playlist-item-options {
  width: 100%;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: #667eea;
}

.loader-container .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.options-container {
  display: none;
}

.formats-row {
  margin-bottom: 16px;
}

.format-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.format-pill {
  padding: 8px 16px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.format-pill:hover {
  border-color: #667eea;
  background: #f0f4ff;
}

.format-pill.active {
  border-color: #667eea;
  background: #667eea;
  color: white;
}

.quality-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quality-row label {
  font-weight: 600;
  color: #4a5568;
}

.pl-quality-select,
.pl-format-select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
}

.pl-quality-select:focus,
.pl-format-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Dark mode */
.dark-mode .playlist-item-options {
  background: #2d3748;
}

.dark-mode .format-pill {
  background: #374151;
  border-color: #4a5568;
  color: #f7fafc;
}

.dark-mode .format-pill:hover {
  border-color: #667eea;
  background: #4a5568;
}

.dark-mode .pl-quality-select,
.dark-mode .pl-format-select {
  background: #374151;
  border-color: #4a5568;
  color: #f7fafc !important;
}

.dark-mode .pl-quality-select option,
.dark-mode .pl-format-select option {
  background: #2d3748;
  color: #f7fafc;
}

/* Fix for video preview background in dark mode */
.dark-mode .video-preview.slide-in-up {
  background-color: #1a1a1a !important;
}

/* Fix for time inputs in dark mode */
.dark-mode .time-inputs input {
  background-color: #333333 !important;
  color: #ffffff !important;
  border: 1px solid #555555 !important;
}

.dark-mode .time-inputs input::placeholder {
  color: #aaaaaa !important;
}

/* ==========================================================================
   Pricing Page Centering Updates
   ========================================================================== */
.pricing-card,
.pricing-card .plan-header,
.pricing-card .price-section,
.pricing-card .plan-footer {
  text-align: center !important;
}

.pricing-card .plan-benefits {
  text-align: center !important;
  padding: 0 !important;
}

/* Center list items and stack icon/content */
.benefit-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}

.benefit-icon {
  margin-right: 0 !important;
  margin-bottom: 10px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.benefit-content {
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Ensure text inside benefits is centered */
.benefit-content strong,
.benefit-content span {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

/* User requested: Move nav-menu active up for screens < 768px */
@media screen and (max-width: 768px) {
  .nav-wrapper {
    padding-top: 0 !important;
  }

  #nav-menu {
    margin-top: 0px !important;
    /* Moved up more aggressively */
    position: absolute;
    top: -20px;
    /* Extra nudge */
  }
}

/* FIX FOR DOUBLE SCROLLBAR - GLOBAL RESET */
html {
  overflow-y: auto !important;
  height: 100%;
}

body {
  overflow-y: visible !important;
  overflow-x: hidden;
  height: auto !important;
  min-height: 100%;
}

main {
  overflow: visible !important;
  height: auto !important;
}

/* REVISED FIX FOR DOUBLE SCROLLBAR - FORCE BODY SCROLL */
html {
  overflow: hidden !important;
  height: 100% !important;
}

body {
  overflow-y: auto !important;
  height: 100% !important;
  margin: 0 !important;
}

/* Accessibility Fixes - Touch Target Sizing */
nav#nav-menu a,
nav li a,
.footer-links a,
.accordion,
button.btn,
a.btn {
  padding: 12px 16px;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}

/* Ensure mobile menu links are large enough */
#nav-menu li a {
  min-height: 48px;
  display: flex;
  align-items: center;
}

/* Accessibility Refinement - Comprehensive Touch Targets */

/* Hamburger Menu */
.hamburger {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 10px;
  box-sizing: border-box;
}

/* Close Menu Button */
.close-menu-btn {
  width: 44px;
  height: 44px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Social Media Site Items */
.site-item {
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Form Inputs and Selects */
input[type='text'],
select {
  min-height: 44px;
  padding: 10px;
  box-sizing: border-box;
}

/* Theme Toggle Switch */
.theme-toggle-mobile label.switch {
  /* min-width and min-height removed */
  display: flex;
  /* Ensure label takes space */
  align-items: center;
}

/* General Button Touch Area */
button {
  min-height: 44px;
  min-width: 44px;
}