: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 {
  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%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color1: #0ffff8;
  --color2: #35ffcb;
  --color3: #12251b;
  --color4: #82877e;
  --color5: #fffaf2;
}

body {
  font-family: "Georgia", serif;
  background-color: var(--color5);
  color: var(--color3);
  overflow-x: hidden;
}

.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  transition: transform 0.1s ease-out;
}

.section-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.section-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.rotate-slow {
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.wave-decoration {
  position: absolute;
  width: 100%;
  overflow: hidden;
}

.organic-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.1;
}

.text-shadow-glow {
  text-shadow: 0 0 20px var(--color2);
}

nav a {
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color2);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.btn-primary {
  background-color: var(--color2);
  color: var(--color3);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  border: 2px solid var(--color2);
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(53, 255, 203, 0.3);
}

.decorative-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color2), transparent);
  margin: 3rem 0;
}

.image-reveal {
  overflow: hidden;
  position: relative;
}

.image-reveal img {
  transition: transform 0.5s ease;
}

.image-reveal:hover img {
  transform: scale(1.1);
}

.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--color2);
  color: var(--color3);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: translateX(1000px);
  transition: transform 0.4s ease;
  z-index: 1000;
  max-width: 350px;
}

.form-notification.show {
  transform: translateX(0);
}

input,
textarea {
  background-color: rgba(255, 250, 242, 0.5);
  border: 2px solid var(--color4);
  color: var(--color3);
  padding: 1rem;
  border-radius: 10px;
  width: 100%;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color2);
}

@media (max-width: 768px) {
  .organic-shape {
    opacity: 0.05;
  }

  .form-notification {
    max-width: 90%;
    right: 5%;
  }
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--color3);
  color: var(--color5);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(200px);
  transition: transform 0.5s ease;
  z-index: 1000;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--color2);
}

.cookie-description {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--color2);
  color: var(--color5);
}

.cookie-accept:hover {
  background: var(--color1);
  transform: translateY(-2px);
}

.cookie-decline {
  background: transparent;
  color: var(--color4);
  border: 2px solid var(--color4);
}

.cookie-decline:hover {
  background: var(--color4);
  color: var(--color3);
  transform: translateY(-2px);
}

/* Responsive Design for Cookie Popup */
@media (max-width: 768px) {
  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
