:root {
  --color-bg: #000000;
  /* Deep dark blue/black */
  --color-primary: #ff3333;
  /* Vibrant Red */
  --color-primary-hover: #cc0000;
  --color-accent: #3a86ff;
  /* Blue accent */
  --color-text: #ffffff;
  --color-text-dim: #cbd5e1;
  /* Lighter for better readability */
  --color-surface: rgba(15, 23, 42, 0.75);
  /* Darker, more opaque background for cards */
  --color-surface-hover: rgba(30, 41, 59, 0.8);
  --border-radius: 12px;
  --font-main: 'Outfit', sans-serif;
  --nav-height: 80px;
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Logo */
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* Reduced gap */
  cursor: pointer;
  transition: transform 0.3s ease;
  line-height: 1;
  padding: 0;
  margin-right: 2rem;
}

.logo:hover {
  transform: translateY(1px);
}

.logo-accent {
  color: var(--color-primary);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  /* Increased line-height */
  font-size: 1.05rem;
  /* Slightly larger base text */
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  /* Strong shadow for readability over canvas */
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #a0aabf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.5rem;
}

p {
  color: var(--color-text-dim);
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

/* Nav */
.main-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(11, 15, 25, 0.4);
  /* More transparent */
  backdrop-filter: blur(16px);
  /* Stronger blur for readability */
  padding: 0.5rem 2rem;
  border-radius: 50px;
  /* Pill shape */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text);
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--color-primary);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.chevron-down {
  transition: transform 0.3s ease;
}

.dropdown:hover .chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem !important;
  min-width: 480px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Invisible Bridge to prevent closing */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  /* Slide down slightly */
  pointer-events: all;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem !important;
  color: var(--color-text-dim) !important;
  border-radius: 8px;
  transition: 0.2s;
  white-space: nowrap;
  width: 100%;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}

.nav-icon {
  color: var(--color-primary);
  opacity: 0.8;
}

.dropdown-menu a:hover .nav-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Hamburger Button Global */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
}

/* Hero */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero-content {
  max-width: 1200px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  /* Subtle glass (not red) */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* "Live" Dot */
.badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-primary);
  animation: badgePulse 2s infinite ease-in-out;
}

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

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }

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

.hero-sub {
  font-size: 1.25rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 51, 51, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #fff;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Slightly stronger border */
  padding: 2.5rem;
  /* More breathing room */
  border-radius: var(--border-radius);
  transition: 0.3s ease;
  backdrop-filter: blur(12px);
  /* Glassmorphism blur */
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.card:hover {
  background: rgba(255, 51, 51, 0.1);
  /* Red tint on hover */
  border-color: var(--color-primary);
  /* Red border on hover */
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(255, 51, 51, 0.2);
  /* Red glow on hover */
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: 0.3s;
}

/* Icon Colors */
.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.icon-orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.icon-red {
  background: rgba(255, 51, 51, 0.1);
  color: #ff3333;
}

.icon-yellow {
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

/* Hover Effects matching specific colors */
.card:hover .icon-blue {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.card:hover .icon-purple {
  background: #8b5cf6;
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.card:hover .icon-green {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.card:hover .icon-orange {
  background: #f97316;
  color: #fff;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.card:hover .icon-red {
  background: #ff3333;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.4);
}

.card:hover .icon-yellow {
  background: #facc15;
  color: #fff;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.card:hover .icon-cyan {
  background: #06b6d4;
  color: #fff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.card:hover .icon-pink {
  background: #ec4899;
  color: #fff;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

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

.icon-wrapper svg {
  width: 40px;
  height: 40px;
}

.card h3 {
  color: var(--color-text);
  /* Changed from blue accent to white for readability */
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  border-left: 3px solid var(--color-primary);
  /* Semi-transparent dark background for readability over animation */
  background: rgba(11, 15, 25, 0.4);
  backdrop-filter: blur(8px);
  /* Subtle blur behind the text */
  transition: 0.3s ease;
  border-radius: 0 12px 12px 0;
  /* Smooth out the right side corners */
}

.feature-card:hover {
  background: rgba(11, 15, 25, 0.6);
  /* Slightly more opaque on hover */
  padding-left: 2.5rem;
  /* Slide effect */
}

.feature-card-icon {
  margin-bottom: 0.75rem;
  color: #fff;
  opacity: 0.9;
}

.feature-card-icon svg {
  width: 32px;
  height: 32px;
}

/* Savings */
.savings-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 3rem;
}

.savings-card,
.comparison-card {
  flex: 1;
  min-width: 300px;
}

.savings-highlight {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(58, 134, 255, 0.1);
  /* Blue tint */
  border-radius: 8px;
  border: 1px solid rgba(58, 134, 255, 0.2);
}

.savings-highlight .value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-row.highlight {
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: none;
  font-size: 1.2rem;
}

.old-price {
  text-decoration: line-through;
  opacity: 0.5;
}

/* Contact */
.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.contact-form-wrapper,
.contact-info {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Darker input background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.3s;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
}

.full-width {
  width: 100%;
}

.contact-info .info-item {
  margin-bottom: 2rem;
}

.contact-info .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
}

.contact-info a {
  display: block;
  font-size: 1.1rem;
}

/* Footer */
footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-dim);
  position: relative;
  z-index: 10;
  background: #000;
  /* Ensure visibility over canvas if needed */
}

.footer-content {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0;
  font-size: 1.5rem;
  white-space: nowrap;
}

.footer-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  text-align: left;
  line-height: 1.4;
  margin-right: auto;
  /* Push text closer to logo if desired, or let space-between handle it */
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.6;
  white-space: nowrap;
  margin: 0;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    justify-content: center;
  }

  .footer-content p {
    text-align: center;
    margin-right: 0;
  }

  .brand {
    margin-bottom: 0.5rem;
  }
}

/* Video Section */
.video-section {
  background: linear-gradient(180deg, transparent 0%, rgba(58, 134, 255, 0.03) 50%, transparent 100%);
  padding: 8rem 0;
}

.video-container {
  margin-top: 4rem;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  margin-bottom: 3rem;
}

.video-wrapper video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.video-feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5px;
}

.video-feature-item:hover {
  background: rgba(255, 51, 51, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  cursor: pointer;
}

.video-feature-item:hover .feature-icon {
  background: rgba(255, 51, 51, 0.2);
  color: var(--color-primary);
  filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.5));
  transform: scale(1.1);
}

.video-feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.video-feature-item p {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  margin: 0;
}

/* Custom Video Poster Overlay */
.video-poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: all;
}

.video-poster-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.poster-content {
  text-align: center;
  position: relative;
  z-index: 3;
}

.poster-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.poster-dot {
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(255, 51, 51, 0.8),
    0 0 40px rgba(255, 51, 51, 0.5),
    0 0 60px rgba(255, 51, 51, 0.3);
  animation: posterPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes posterPulse {

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

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

.poster-text {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.8);
  line-height: 1;
}

.poster-accent {
  color: var(--color-primary);
  text-shadow:
    0 0 30px rgba(255, 51, 51, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.8);
}

.poster-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.poster-tech-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(58, 134, 255, 0.3) 25%, rgba(58, 134, 255, 0.3) 26%, transparent 27%, transparent 74%, rgba(58, 134, 255, 0.3) 75%, rgba(58, 134, 255, 0.3) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(58, 134, 255, 0.3) 25%, rgba(58, 134, 255, 0.3) 26%, transparent 27%, transparent 74%, rgba(58, 134, 255, 0.3) 75%, rgba(58, 134, 255, 0.3) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  animation: techLinesScan 20s linear infinite;
}

@keyframes techLinesScan {
  0% {
    background-position: 0 0;
  }

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

/* Responsive poster */
@media (max-width: 768px) {
  .poster-text {
    font-size: 3rem;
  }

  .poster-dot {
    width: 12px;
    height: 12px;
  }

  .poster-subtitle {
    font-size: 0.9rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {

  /* FORCE VISIBILITY ON MOBILE to prevent blank screen issues */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .video-section {
    padding: 3rem 0;
  }

  .btn-secondary {
    margin: 1rem auto;
    display: inline-flex;
    width: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-actions {
    margin-top: 6rem;
  }

  .main-nav {
    top: 20px;
    bottom: auto;
    padding: 0.6rem 1rem;
    width: calc(100% - 40px);
    margin: 0 auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Flex for Top-Down Expansion */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: flex-start;

    max-height: 60px;
    overflow: hidden;
    background: rgba(11, 15, 25, 0.05);
    /* Slightly clearer */
    backdrop-filter: blur(4px);
  }

  .main-nav.mobile-open {
    max-height: 500px;
    background: rgba(11, 15, 25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .main-nav>.logo {
    z-index: 10;
    margin-right: 0;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    font-family: inherit;
    margin-top: 6px;
  }

  .mobile-menu-btn span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .main-nav ul {
    width: 100%;
    margin-top: 1.5rem;
    /* Push content down from logo bar */
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .main-nav.mobile-open ul {
    opacity: 1;
  }



  /* Hide everything except the "Grupy klientów" (Dropdown) on mobile
     Using direct child selector > ul > li to avoid hiding the items INSIDE the dropdown */
  .main-nav>ul>li:not(.dropdown) {
    display: none;
  }

  .main-nav ul li {
    width: 100%;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.05); */
    text-align: center;
  }

  .main-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Mobile Dropdown Logic */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    min-width: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 1rem;
  }



  /* Hide chevron on mobile since it's always open */
  .dropdown-trigger .chevron-down {
    display: none;
  }

  /* Hide the trigger/header completely, just show the list items */
  .dropdown-trigger {
    display: none !important;
  }


  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .main-nav .logo {
    font-size: 1.4rem;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    color: #fff;
    opacity: 1;
    width: auto;
    margin-top: 6px;
  }

  .w-3 {
    width: 10px;
  }

  .h-3 {
    height: 10px;
  }
}




/* Utility classes for logo dot */
.w-3 {
  width: 12px;
}

.h-3 {
  height: 12px;
}

.bg-red-500 {
  background-color: var(--color-primary);
}

.rounded-full {
  border-radius: 50%;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* --- CALCULATOR STYLES --- */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.calculator-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calculator-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

/* Inputs */
.input-group {
  margin-bottom: 2rem;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.val-display {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* Slider Styling */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 30px;
  /* Enough height to contain thumb without clipping */
  background: transparent;
  cursor: pointer;
  margin: 0;
  padding: 0;
  outline: none;
  /* Removed focus frame */
  border: none;
  -webkit-tap-highlight-color: transparent;
  /* Remove blue highlight on mobile */
}

.slider:focus,
.slider:active,
.slider:hover {
  outline: none;
  box-shadow: none;
}

.slider::-moz-focus-inner {
  border: 0;
}

/* WebKit Track (Chrome, Safari, Edge) */
.slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: none;
}

/* WebKit Thumb */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  margin-top: -6px;
  /* (6px track height - 18px thumb height) / 2 */
  box-shadow: none;
  /* Removed highlight/glow */
  transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Firefox Track */
.slider::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: none;
}

/* Firefox Thumb */
.slider::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: none;
  /* Removed highlight/glow */
  transition: transform 0.2s;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -10px;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  pointer-events: none;
}

/* Number Input */
.price-input-wrapper {
  position: relative;
  margin-top: 0.5rem;
}

.price-input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  font-size: 1.2rem;
  font-family: 'Outfit', sans-serif;
}

.price-input-wrapper input:focus {
  border-color: var(--color-primary);
  outline: none;
}

.currency {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-dim);
}

/* Comparison Box */
.comparison-box {
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
}

.comp-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-text-dim);
}

.comp-row:last-child {
  margin-bottom: 0;
}

.comp-val {
  font-weight: 700;
  color: var(--color-text);
}

.comp-val.negative {
  color: #ef4444;
  /* Red for high cost */
  text-decoration: line-through;
  opacity: 0.6;
}

.comp-val.positive {
  color: #22c55e;
  /* Green for low cost */
}

/* Results Highlight Panel */
.savings-highlight-panel {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.saving-item .saving-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.saving-item .saving-value {
  font-size: 2rem;
  font-weight: 700;
  color: #22c55e;
  /* Bootstrap Success Green */
  display: block;
  letter-spacing: -1px;
}

.saving-item .saving-value.huge {
  font-size: 2.5rem;
  margin-top: -0.5rem;
  color: var(--color-primary);
  /* Only one strong accent color */
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.divider {
  height: 1px;
  background: rgba(34, 197, 94, 0.2);
  margin: 1.5rem 0;
  width: 50px;
  /* Minimalist short divider */
}

.savings-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Form Styling */
.contact-form-wrapper h2 {
  margin-bottom: 1rem;
}

.contact-form-wrapper p {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: var(--font-main);
  margin-bottom: 1rem;
  outline: none;
  transition: 0.3s ease;
  /* Ensure select has proper arrow styling or appearance if needed, but let's stick to basics first */
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  background: rgba(11, 15, 25, 0.8);
  box-shadow: 0 0 15px rgba(255, 51, 51, 0.1);
}

/* Fix for Select Options visibility */
.contact-form select option {
  background-color: #0b0f19;
  /* Dark background for options */
  color: var(--color-text);
  padding: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item .label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
}

.info-item a,
.info-item p {
  font-size: 1.2rem;
  color: var(--color-text);
  display: block;
  margin-bottom: 0.25rem;
}

.info-item a:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- OSIEDLA PREMIERE (BLUE/WHITE THEME) --- */

:root {
  --color-osiedla-blue: #0A192F;
  /* Deep Navy */
  --color-osiedla-accent: #64ffda;
  /* Cyan/Teal Accent */
  --color-osiedla-white: #e6f1ff;
  --color-osiedla-highlight: #112240;
}

body.osiedla-body {
  background-color: #ffffff;
  /* User requested White/Blue theme dominance, but let's keep it dark for SaaS premium feel or strictly follow? 
    Prompt: 'odcieniach ciemnego niebieskiego i bieli'. This usually means Dark Blue Background + White Text. */
  background-color: #020c1b;
  color: #ccd6f6;
}

/* Custom Nav for Osiedla */
.osiedla-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.osiedla-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.osiedla-nav-links a {
  color: #e6f1ff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.3s;
}

.osiedla-nav-links a:hover {
  color: #64ffda;
}

.btn-osiedla {
  background: #3a86ff;
  /* Requested Blue Button */
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 14px rgba(58, 134, 255, 0.4);
  transition: 0.3s;
}

.btn-osiedla:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* Hero Section */
.osiedla-hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #020c1b 0%, #0a192f 100%);
  overflow: hidden;
  padding-top: 80px;
}

/* Abstract AI Overlay */
.osiedla-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(58, 134, 255, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(100, 255, 218, 0.1) 0%, transparent 20%);
  pointer-events: none;
}

/* Grid Overlay */
.tech-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  opacity: 0.5;
}

.osiedla-hero-content {
  z-index: 10;
  max-width: 1000px;
  padding: 2rem;
}

.osiedla-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(58, 134, 255, 0.5);
}

/* Sections */
.osiedla-section {
  padding: 6rem 2rem;
}

.section-challenges {
  background: #020c1b;
}

.section-solutions {
  background: #0a192f;
}

.section-savings-blue {
  background: #1e3a8a;
  /* Strong Blue */
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.savings-value {
  font-size: 5rem;
  font-weight: 800;
  color: #64ffda;
  display: block;
  margin: 1rem 0;
}

.feature-grid-osiedla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-item-osiedla {
  text-align: left;
  padding: 2rem;
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 8px;
  transition: 0.3s;
}

.feature-item-osiedla:hover {
  background: rgba(100, 255, 218, 0.05);
  border-color: #64ffda;
}

.check-icon {
  color: #64ffda;
  margin-right: 0.5rem;
}

/* Solution Mockup */
.solution-mockup-container {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-img-placeholder {
  width: 600px;
  height: 350px;
  background: #000;
  border: 2px solid #3a86ff;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}

/* Navigation Dropdown Specific to Osiedla */
.osiedla-dropdown {
  position: relative;
}

.osiedla-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #112240;
  border: 1px solid rgba(100, 255, 218, 0.1);
  width: 250px;
  display: none;
  flex-direction: column;
  padding: 1rem;
  border-radius: 4px;
}

.osiedla-dropdown:hover .osiedla-dropdown-menu {
  display: flex;
}

.osiedla-dropdown-menu a {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Social Icons */
.social-icons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  border: none;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-dim);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin: 0 0.5rem;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
  color: white;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.4;
  animation: scrollBounce 2s infinite;
  cursor: pointer;
  color: white;
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

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

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

/* Ensure relative positioning for hero container */
.osiedla-main {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact Section Background Enhancements */
.contact-section-aurora {
  position: absolute;
  top: -150px;
  /* Starts earlier */
  left: 0;
  width: 100%;
  height: calc(100% + 150px);
  background: radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(58, 134, 255, 0.08) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 250px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 250px);
}

.contact-section {
  position: relative;
  /* ensure z-index context if needed */
}

/* Ensure content is above background */
.contact-section .container {
  position: relative;
  z-index: 1;
}

/* =========================================
   Cookie Consent Banner
   ========================================= */
#cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: auto;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.4);
  /* Cleaner transparent dark */
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* More subtle border */
  border-radius: 16px;
  padding: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-text h3::before {
  content: '🍪';
  font-size: 1.2rem;
}

.cookie-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  /* Improved contrast */
  margin: 0;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-cookie {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.btn-accept {
  background: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
}

.btn-accept:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-reject {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  transition: background 0.2s;
}

.btn-reject:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-settings {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  /* Subtle start state */
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0.2rem;
}

.btn-settings:hover {
  color: #fff;
  /* Bright on hover */
  text-decoration: underline;
}

/* Mobile tweak for banner */
@media (max-width: 600px) {
  #cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: none;
  }

  .cookie-actions {
    flex-direction: row;
  }
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2001;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

#cookie-modal.visible {
  display: flex;
  opacity: 1;
}

.cookie-modal-content {
  background: #000000;
  /* Force Black */
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 0 100vh rgba(0, 0, 0, 0.6);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-modal.visible .cookie-modal-content {
  transform: scale(1);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  min-width: 50px;
  /* Prevent shrinking below intended size */
  height: 28px;
  flex-shrink: 0;
  /* Prevent flexbox squeezing */
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  /* Updated from 18px */
  width: 20px;
  /* Updated from 18px */
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  /* Dimmed inactive dot for better look */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:checked+.toggle-slider {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
}

input:checked+.toggle-slider:before {
  background-color: #fff;
  left: 24px;
  /* Reduced to ~24px for strict safety within 50px container */
  transform: none;
}

input:focus+.toggle-slider {
  box-shadow: 0 0 1px var(--color-primary);
}

input:disabled+.toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.05);
}

input:disabled:checked+.toggle-slider {
  background-color: rgba(239, 68, 68, 0.5);
  /* Dimmed red */
}

/* Calculator Range Sliders */
input[type=range].slider {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  position: relative;
  cursor: pointer;
  height: 2rem;
  /* Touch target size */
  padding: 0;
}

input[type=range].slider:focus {
  outline: none;
}

/* Webkit Track */
input[type=range].slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  border: none;
}

/* Webkit Thumb */
input[type=range].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4d4d, #cc0000);
  /* 3D Red */
  border: 2px solid #000000;
  /* Dark border */
  cursor: pointer;
  margin-top: -9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input[type=range].slider:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 51, 51, 0.5), inset 0 1px 4px rgba(255, 255, 255, 0.4);
  border-color: #000;
}

/* Firefox Track */
input[type=range].slider::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  border: none;
}

/* Firefox Thumb */
input[type=range].slider::-moz-range-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4d4d, #cc0000);
  border: 2px solid #000000;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input[type=range].slider:hover::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 51, 51, 0.5), inset 0 1px 4px rgba(255, 255, 255, 0.4);
  border-color: #000;
}

/* Mobile Text Specifics */
.hero-sub-mobile {
  display: none;
  /* Hidden on desktop */
}

.btn-text-mobile {
  display: none;
  /* Hidden on desktop */
}

@media (max-width: 768px) {
  .hero-sub-desktop {
    display: none;
  }

  .hero-sub-mobile {
    display: block;
    font-size: 1.3rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }

  /* Button Text Switching for Mobile */
  .btn-text-desktop {
    display: none;
  }

  .btn-text-mobile {
    display: inline;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}