:root {
  --color1: #060612;
  --color2: #0c2938;
  --color3: #5d6c77;
  --color4: #b2b4ba;
  --color5: #f3f3f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: var(--color5);
  color: var(--color1);
  overflow-x: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
  width: 200px;
  height: 200px;
  background: var(--color2);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 150px;
  height: 150px;
  background: var(--color3);
  border-radius: 50%;
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.shape:nth-child(3) {
  width: 180px;
  height: 180px;
  background: var(--color2);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: 20%;
  left: 60%;
  animation-delay: 6s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

.decorative-line {
  position: relative;
  display: inline-block;
}

.decorative-line::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color2);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.decorative-line.active::after {
  transform: scaleX(1);
}

.stat-counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color2);
}

.notification-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--color4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--color2);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(12, 41, 56, 0.3);
}

.image-container {
  position: relative;
  overflow: hidden;
}

.image-container img {
  transition: transform 0.6s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.decorative-border {
  position: relative;
}

.decorative-border::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--color2);
  opacity: 0.3;
  pointer-events: none;
}

nav {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: -40px;
  width: 2px;
  background: var(--color4);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 5px;
  width: 20px;
  height: 20px;
  background: var(--color2);
  border-radius: 50%;
  border: 4px solid var(--color5);
}

.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 2s ease-in-out forwards;
}

.chart-area {
  opacity: 0;
  animation: fadeInArea 2s ease-in-out forwards;
  animation-delay: 1s;
}

.data-point {
  opacity: 0;
  transform: scale(0);
  animation: popIn 0.5s ease-out forwards;
}

.pie-slice {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  animation: sliceIn 0.6s ease-out forwards;
}

.pie-center {
  opacity: 0;
  animation: fadeInCenter 1s ease-out forwards;
  animation-delay: 1.8s;
}

.bar-animation {
  width: 0% !important;
  animation: fillBar 1.5s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeInArea {
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sliceIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes fadeInCenter {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fillBar {
  0% {
    width: 0% !important;
  }
  100% {
    width: var(--target-width, 100%) !important;
  }
}

.parallax-container {
  perspective: 1000px;
  overflow-x: hidden;
  overflow-y: auto;
}

.shape {
  will-change: transform;
  filter: blur(0.5px);
}

.shape:hover {
  filter: blur(0px);
  transform: scale(1.1) !important;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.chart-container {
  transition: transform 0.3s ease;
}

.chart-container:hover {
  transform: translateY(-5px);
}

.metric-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .stat-counter {
    font-size: 2rem;
  }

  .shape {
    width: 100px !important;
    height: 100px !important;
  }

  .chart-line {
    stroke-width: 2;
  }

  .data-point {
    r: 3;
  }
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border: 2px solid var(--color2);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup p {
  margin: 0 0 15px 0;
  color: var(--color1);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-popup .cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-popup .btn-cookie {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-popup .btn-accept {
  background: var(--color2);
  color: white;
}

.cookie-popup .btn-accept:hover {
  background: var(--color3);
  transform: translateY(-1px);
}

.cookie-popup .btn-decline {
  background: transparent;
  color: var(--color2);
  border: 1px solid var(--color2);
}

.cookie-popup .btn-decline:hover {
  background: var(--color2);
  color: white;
}

@media (max-width: 768px) {
  .cookie-popup {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 15px;
  }

  .cookie-popup .cookie-buttons {
    flex-direction: column;
  }

  .cookie-popup .btn-cookie {
    width: 100%;
  }
}
