* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit";
}

:root {
  --primary: #ffd166;
  --accent: #8ecae6;
  --text: #111111;
  --top-shadow: #f6f1f1;
  --bottom-shadow: #d1d9e6;
  --glow: #1f51ff;
  --card-width: 80vw;
  --card-margin: 10vw;
}

body.dark-mode {
  --primary: #1f1f1f;
  --accent: #00c896;
  --text: #ffffff;
  --top-shadow: #2a2a2a;
  --bottom-shadow: #0d0d0d;
  --glow: #39ff14;
}

body {
  overflow-x: hidden;
}

body::selection {
  background-color: var(--accent);
  color: var(--text);
}

#checkbox-input {
  display: none;
}

.illustration-switch {
  width: fit-content;
  padding: 10px;
  background-color: rgb(46, 46, 46);
  border-radius: 50px;
  z-index: 1;
  cursor: pointer;
  display: flex;
  transition: all 0.7s;
  margin-top: 50px;
}

#checkbox-input:hover+.illustration-switch {
  background-color: var(--accent);
  box-shadow: 0px 0px 50px var(--accent);
}

.hero {
  position: relative;
  padding-top: 100px;
  padding-bottom: 30px;
  width: 100%;
  height: 100vh;
  --color: #e1e1e1;
  background-color: #f3f3f3;
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  background-attachment: fixed;
}

body.dark-mode .hero {
  width: 100%;
  --color: rgba(114, 114, 114, 0.3);
  background-color: #191a1a;
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
}

.hero .headline {
  margin-top: 50px;
  display: flex;
  gap: 10px;
}

.headline .child-2 {
  color: var(--accent);
  display: inline;
}

.headline h1 {
  cursor: default;
  font-size: 50px;
}

.headline h1:hover {
  animation: lift-wobble 1s ease-in-out;
}

.subtext {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent);
}

.cta a {
  position: relative;
  padding: 15px 30px;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: inset 2px 2px 4px var(--top-shadow), inset -2px -2px 4px var(--bottom-shadow);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  border: 2px solid var(--accent);
}

.cta a::before,
.cta a::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  background: var(--accent);
  animation: lineGrow 1s ease-out forwards;
}

.cta a::before {
  left: 0;
  border-radius: 0 2px 2px 0;
  animation-delay: 0.3s;
}

.cta a::after {
  right: 0;
  border-radius: 2px 0 0 2px;
  animation-delay: 0.6s;
}

.cta a:hover {
  box-shadow: inset 2px 2px 4px var(--bottom-shadow), inset -2px -2px 4px var(--top-shadow);
}

.background-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* allows clicks to pass through */
  z-index: 0;
  /* stays under your content */
  overflow: hidden;
}

/* Shared blob style */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  animation: floatBlob 20s ease-in-out infinite alternate;
  background: var(--accent);
  mix-blend-mode: darken;
  /* optional for color interaction */
}

/* Individual blobs for placement and color control */
.blob1 {
  width: 300px;
  height: 300px;
  top: -1%;
  left: -1%;
  animation-duration: 22s;
}

.blob2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  right: -1%;
  background: var(--accent);
  animation-duration: 30s;
}

.blob3 {
  width: 250px;
  height: 250px;
  bottom: 1%;
  left: -5%;
  background: var(--accent);
  animation-duration: 18s;
}

/* Enhanced Background Icons */
.background-icons {
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icons {
  position: absolute;
  height: 80px;
  width: 80px;
  font-size: 4rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  animation: floatIcon 6s ease-in-out infinite;
  cursor: pointer;
  pointer-events: auto;
}

/* Dark mode icon colors */
body.dark-mode .floating-icons {
  color: var(--accent) !important;
}

/* Icon positions */
.background-icons .icon-brain {
  left: 8%;
  top: 15%;
  animation-delay: 0s;
}

.background-icons .icon-puzzle {
  right: 12%;
  top: 20%;
  animation-delay: 1s;
}

.background-icons .icon-earth {
  left: 5%;
  top: 60%;
  animation-delay: 2s;
}

.background-icons .icon-notebook {
  right: 8%;
  top: 65%;
  animation-delay: 3s;
}

.background-icons .icon-forward {
  left: 15%;
  bottom: 15%;
  animation-delay: 4s;
}

.background-icons .icon-share {
  right: 15%;
  bottom: 20%;
  animation-delay: 5s;
}

.background-icons .icon-trophy {
  left: 25%;
  top: 30%;
  animation-delay: 1.5s;
}

.background-icons .icon-target {
  right: 25%;
  top: 45%;
  animation-delay: 2.5s;
}

.background-icons .icon-zap {
  left: 35%;
  bottom: 35%;
  animation-delay: 3.5s;
}

.background-icons .icon-star {
  right: 35%;
  bottom: 45%;
  animation-delay: 4.5s;
}

/* .background-icons {
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.floating-icons {
    position: absolute;
    height: 80px;
    width: 80px;
    color: var(--accent);
    font-size: 4rem;
    transition: transform 1s ease, opacity 1s ease;
}

 .background-icons i:nth-child(1) {
    left: 5%;
    top: 20%;
}

.background-icons i:nth-child(2) {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.background-icons i:nth-child(3) {
    left: 5%;
    bottom: 20%;
}

.background-icons i:nth-child(4) {
    right: 5%;
    top: 20%;
}

.background-icons i:nth-child(5) {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.background-icons i:nth-child(6) {
    right: 5%;
    bottom: 20%;
}

 .background-icons.scroll-pack i {
    transform: translate(-50%, -50%) scale(0.2);
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 0;
}  */

/* Feature Section */
.features-scroll-section {
  --color: #e1e1e1;
  background-color: var(--accent);
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
  position: relative;
  height: 400vh;
  background-attachment: fixed;
}

body.dark-mode .features-scroll-section {
  --color: #7272724d;
  background-color: var(--accent);
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
}

.features-scroll-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature-heading {
  position: absolute;
  top: 100px;
  width: 100%;
  color: var(--text);
  font-size: 3em;
  text-align: center;
}

.card-track {
  display: flex;
  gap: 40px;
  padding: 0 calc((100vw - 80vw) / 2);
  transition: transform 0.4s ease-out;
  will-change: transform;
  margin-top: 120px;
}

.feature-card {
  flex: 0 0 80vw;
  height: 60vh;
  border-radius: 20px;
  background: var(--primary);
  box-shadow: inset 100px 100px 400px var(--top-shadow), inset -100px -100px 400px var(--bottom-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--text);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
  padding: 100px;
}

.feature-card:hover {
  box-shadow: inset 100px 100px 200px var(--bottom-shadow), inset -100px -100px 200px var(--top-shadow);
}

.feature-card.animate {
  opacity: 1;
  transform: scale(1);
}

.feature-card span .lucide-icon {
  color: var(--accent);
  height: 100px;
  width: 100px;
}

.feature-card .fc-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fc-content h1 {
  color: var(--accent);
}

.mobile-feature-cards {
  display: none;
}

/* Work Proces */
.how-it-works {
  height: 95vh;
  padding: 80px 20px;
  background: var(--primary);
  position: relative;
  text-align: center;
  overflow: hidden;
  --color: #e1e1e1;
  background-color: #f3f3f3;
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
  background-attachment: fixed;
}

body.dark-mode .how-it-works {
  --color: rgba(114, 114, 114, 0.3);
  background-color: #191a1a;
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
}

.section-title {
  color: var(--accent);
  font-size: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
}

.steps-stairs {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 20px;
  transition: all 0.5s ease-in-out;
}

.mobile-steps-stairs {
  display: none;
}

.step.card {
  height: 100px;
  width: 33%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--primary);
  box-shadow: 4px 4px 10px var(--bottom-shadow), -4px -4px 10px var(--top-shadow);
  border-radius: 20px;
  transition: all 0.5s ease-in-out;
  padding: 10px;
}

.step-icon {
  height: 40px;
  width: 40px;
  color: var(--accent);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: start;
}

.step-content h3 {
  font-size: 20px;
}

.step-content p {
  text-align: start;
  color: var(--accent);
}

.cta-button {
  background-color: var(--accent);
  color: var(--text);
  padding: 15px 60px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.5s ease-in-out;
}

.cta-button:hover {
  box-shadow: 0 4px 20px var(--accent);
}

/* Popular Quiz */
.popular-quiz {
  --color: #e1e1e1;
  background-color: var(--accent);
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
  padding: 50px;
  padding-left: 30px;
  background-attachment: fixed;
  overflow-x: visible;
}

body.dark-mode .popular-quiz {
  --color: #7272724d;
  background-color: var(--accent);
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
}

.popular-quiz hr {
  width: 100%;
  height: 0;
  background-color: var(--text);
  margin: 50px 0;
  outline: none;
  border: none;
  border-radius: 10px;
}

.popular-quiz .section-title {
  color: var(--primary);
}

#glitch-text {
  display: inline-block;
  position: relative;
  animation: glitch 1s ease-in-out;
}

.glitch-animation {
  animation: glitch 0.1s ease-in-out;
  display: inline-block;
  color: var(--text);
}

.quiz-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px;
  scroll-snap-type: x mandatory;
}

.quiz-card {
  padding: 10px;
  background-color: var(--primary);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 10px;
  box-shadow: inset 100px 100px 400px var(--top-shadow), inset -100px -100px 400px var(--bottom-shadow);
  transition: all 0.5s ease-in-out;
  text-decoration: none;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  width: 300px;
  height: fit-content;
}

.card-variation-1-img {
  min-width: 280px;
  min-height: 100px;
  max-height: 100px;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.quiz-container::-webkit-scrollbar {
  margin-top: 30px;
  height: 8px;
  background-color: #111 !important;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.5s ease-in-out;
}

.quiz-container::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.quiz-card:hover {
  box-shadow: inset 100px 100px 400px var(--bottom-shadow), inset -100px -100px 400px var(--top-shadow);
  /* transform: scale(1.03); */
}

.quiz-card hr {
  background-color: var(--accent);
  color: var(--accent);
  height: 2px;
  width: 100%;
  border: none;
  border-radius: 1px;
  margin: 0;
}

.quiz-card .quiz-title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  color: var(--accent);
  font-size: .7rem;
}

.quiz-title .detail-quiz {
  transition: all 1s ease-in-out;
  /* margin-left: 11em; */
  display: flex;
  align-self: end;
}

.quiz-title .detail-quiz:hover {
  transform: rotate(360deg);
  color: var(--text);
  cursor: pointer;
}

.quiz-card .quiz-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all 0.5s ease-in-out;
}

.username-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: var(--text);
  font-weight: 500;
  transition: all 0.5s ease-in-out;
}

.username-link:hover {
  color: var(--accent);
}

.username-link img {
  border-radius: 50% !important;
  height: 30px !important;
  width: 30px !important;
  object-fit: cover;
}

.quiz-card .quiz-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.quiz-card:hover .quiz-details {
  max-height: 200px;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.quiz-details div {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
}

.quiz-details div p {
  font-size: 15px;
}

.quiz-details .details-icon {
  height: 20px;
  width: 20px;
  color: var(--accent);
}

/* Card Variation 2 */
.quiz-card-2 {
  min-width: 300px;
  max-width: 300px;
  height: fit-content;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  position: relative;
  transition: all 0.4s ease-in-out;
  margin-bottom: 60px;
}

.quiz-card-2 .quiz-link {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 20px;
  color: #f0f0f3;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  z-index: 2;
}

.hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: shake 1.5s infinite;
  opacity: 0.9;
  z-index: 2;
}

.hover-icon .mouse-icon {
  height: 70px;
  width: 70px;
  color: #f0f0f3;
}

.quiz-name {
  position: absolute;
  bottom: 10px;
  left: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f0f0f3;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 10px;
  z-index: 2;
}

.quiz-basic-info {
  position: absolute;
  bottom: 60px;
  left: 15px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.quiz-basic-info .info-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 13px;
  color: #f0f0f3;
}

.quiz-basic-info .info-item .ii-icon {
  height: 18px;
  width: 18px;
  color: var(--accent);
}

.quiz-extra-info {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #f0f0f3;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  pointer-events: none;
}

.quiz-extra-info div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quiz-extra-info .qei-icons {
  height: 20px;
  width: 20px;
  color: var(--accent) !important;
}

.quiz-link:hover .quiz-extra-info {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  border-radius: 20px !important;
}

.quiz-link:hover .hover-icon {
  display: none;
}

.quiz-author-link {
  position: absolute;
  bottom: -45px;
  left: 0px;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  transform: translateY(-30px);
  background-color: var(--primary);
  width: 100%;
  padding: 5px;
  padding-top: 20px;
  z-index: 0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
}

.quiz-author-link img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.quiz-card-2:hover .quiz-author-link {
  opacity: 1;
  transform: translateY(-10px);
}

/* Testiominal/Reviews */
.testimonials {
  padding: 80px 20px;
  background: var(--primary);
  background-image: radial-gradient(var(--accent) 1px, transparent 1px);
  background-size: 30px 30px;
  text-align: center;
  background-attachment: fixed;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 40px;
}

.section-title .highlight {
  color: var(--accent);
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background: var(--primary);
  border-radius: 20px;
  width: 45%;
  padding: 25px;
  box-shadow: 0 8px 25px var(--bottom-shadow);
  position: relative;
  text-align: left;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--accent);
  opacity: 1;
  font-size: 40px;
}

.testimonial-text {
  margin: 40px 0 20px;
  font-size: 16px;
  color: var(--text);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
}

.role {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-rating {
  margin-top: 15px;
  color: var(--accent);
  display: flex;
  gap: 5px;
}

/* CTA Block */
.cta-wrapper {
  position: relative;
  height: 200vh;
  --color: #e1e1e1;
  background-color: var(--accent);
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
  background-attachment: fixed;
  overflow: hidden;
  /* Prevent overflow */
}

body.dark-mode .cta-wrapper {
  --color: #7272724d;
}

.cta-circle {
  position: fixed;
  left: 50%;
  top: 100%;
  /* starts offscreen at bottom */
  transform: translate(-50%, -50%) scale(0);
  width: 800px;
  height: 800px;
  background-color: var(--primary);
  border-radius: 50%;
  z-index: 1;
  transition: transform 0.5s ease-out;
  overflow: hidden;
  /* Ensure all content stays within circle boundaries */
}

.cta-content {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--accent);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s ease-in-out;
  animation: pulseOr 2s infinite ease-in-out;
  max-width: 90vw;
  /* Prevent overflow */
  padding: 0 20px;
}

.cta-heading {
  font-size: 2rem;
  /* Responsive font size */
  margin-bottom: 50px;
  word-wrap: break-word;
}

.cta-btn {
  padding: 12px 40px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.cta-or,
.cta-newsletter {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 2;
  transition: all 0.5s ease-in-out;
  text-align: center;
  color: var(--accent);
}

.cta-or {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 2;
  transition: all 0.5s ease-in-out;
  text-align: center;
  color: var(--accent);
  top: 40%;
  font-size: clamp(3rem, 8vw, 5rem);
  /* Responsive font size */
  font-weight: bold;
  animation: pulseOr 2s infinite ease-in-out;
}

.cta-newsletter {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 2;
  transition: all 0.5s ease-in-out;
  text-align: center;
  color: var(--accent);
  top: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 90vw;
  /* Prevent overflow */
  padding: 0 20px;
}

.cta-newsletter h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  /* Responsive font size */
  color: var(--accent);
  margin: 0;
}

.cta-newsletter p {
  color: var(--text);
  font-size: clamp(1rem, 3vw, 1.5rem);
  /* Responsive font size */
  margin: 0;
}

.newsletter-form-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.newsletter-form-cta input {
  padding: 10px 15px;
  border-radius: 30px;
  border: none;
  outline: none;
  font-size: 14px;
  box-shadow: inset 27px 27px 24px var(--bottom-shadow), inset -27px -27px 24px var(--top-shadow);
  color: var(--text);
  min-width: 200px;
  flex: 1;
  max-width: 300px;
}

.newsletter-form-cta button {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.newsletter-form-cta button:hover {
  background-color: var(--text);
}

/* Modal/Alert */
.quiz-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: var(--primary);
  color: var(--accent);
  padding: 30px;
  border-radius: 10px;
  width: 60%;
  max-width: 600px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 16px;
}

.modal-table td {
  padding: 10px 15px;
  vertical-align: middle;
  color: var(--text);
}

.modal-table td:first-child {
  font-weight: bold;
  text-align: left;
  width: 40%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

#quiz-modal {
  display: none;
}

.cta-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .hero {
    height: fit-content;
  }

  .hero .headline {
    justify-content: start;
    flex-direction: column;
  }

  .headline .child-2 {
    margin-left: 50px;
  }

  .headline .child-3 {
    margin-left: 90px;
  }

  .subtext {
    text-align: center;
  }

  .illustration-switch {
    display: none;
  }

  .background-blobs {
    display: none;
  }

  .cursor-circle {
    display: none;
  }

  /* Feature Section */
  .feature-heading {
    font-size: 4em;
    position: static;
    z-index: 1;
    text-align: start;
    margin-left: 15px;
    top: 0;
    line-height: 80px;
  }

  .card-track {
    display: none;
  }

  .features-scroll-section {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 20px;
    padding: 50px 0px;
  }

  .mobile-feature-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding: 50px 10px;
  }

  .mobile-feature-cards .card {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2;
    background: var(--primary);
    box-shadow: inset 20px 20px 40px var(--top-shadow), inset -20px -20px 40px var(--bottom-shadow);
    border-radius: 20px;
    padding: 20px 10px;
  }

  .mobile-feature-cards .card .lucide-icon {
    height: 40px;
    width: 40px;
    color: var(--accent);
  }

  .mobile-feature-cards .card p {
    color: var(--accent);
  }

  /* Work Proces */
  .how-it-works {
    height: fit-content !important;
  }

  .how-it-works .section-title {
    margin-top: 40px;
  }

  .steps-stairs {
    display: none;
  }

  .mobile-steps-stairs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
  }

  .mobile-steps-stairs .step.card {
    width: 45%;
  }

  .cta-button {
    margin-bottom: 200px;
  }

  /* Popular Quiz */
  .quiz-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    overflow-x: unset;
    padding: 30px;
  }

  .quiz-card {
    min-width: 100%;
    flex-shrink: 1;
  }

  .quiz-card .quiz-link {
    width: 100%;
  }

  .quiz-details {
    max-height: 200px !important;
    opacity: 1 !important;
  }

  /* Card 2 Variation */
  .hover-icon {
    display: none;
  }

  .quiz-card-2 {
    min-width: 100%;
  }

  .quiz-extra-info {
    opacity: 1;
    transform: scale(1);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: start;
  }

  .quiz-name {
    width: 90%;
    text-align: center;
    color: var(--accent);
  }

  .quiz-basic-info {
    width: 90%;
    justify-content: center;
  }

  .cta-content .cta-btn {
    display: block !important;
  }

  /* .modal-actions {
    margin-top: 510px !important;
  } */

  .cta-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cta-heading {
    font-size: 1.5rem;
    width: 100vw;
    margin-bottom: 30px;
  }

  .cta-newsletter h3 {
    font-size: 1.5rem;
    width: 100vw;
  }

  .qr-code-item {
    margin-top: 450px !important;
    width: 100% !important;
  }

  .qr-share-section {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: -20px !important;
  }

  .qr-share-section.detail-value {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
  }
}

@media screen and (max-width: 550px) {
  .popular-quiz {
    padding: 0;
    overflow-y: hidden;
  }

  .mobile-steps-stairs .step.card {
    width: 100%;
  }

  /* Popular Quiz */
  .quiz-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  /* Testimonials */
  .testimonial-card {
    width: 100%;
  }

  .qr-code-item {
    margin-top: 470px !important;
  }
}

@keyframes lift-wobble {
  0% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-20px);
  }

  40% {
    transform: translateY(-8px) rotate(-3deg);
  }

  60% {
    transform: translateY(-8px) rotate(3deg);
  }

  80% {
    transform: translateY(-6px) rotate(-2deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes lineGrow {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }

  50% {
    height: 5px;
    opacity: 1;
  }

  100% {
    width: 20px;
    height: 2px;
    opacity: 1;
  }
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(40px, -30px) scale(1.1) rotate(5deg);
  }

  50% {
    transform: translate(-30px, 20px) scale(0.95) rotate(-3deg);
  }

  75% {
    transform: translate(25px, 35px) scale(1.05) rotate(2deg);
  }

  100% {
    transform: translate(-20px, -25px) scale(1) rotate(-2deg);
  }
}

@keyframes lift {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
    box-shadow: inset 2px 2px 4px var(--top-shadow), inset -2px -2px 4px var(--bottom-shadow);
  }

  100% {
    transform: translateY(0px);
    box-shadow: inset 2px 2px 4px var(--bottom-shadow), inset -2px -2px 4px var(--top-shadow);
  }
}

@keyframes scroll-down {
  0% {
    opacity: 0.1;
    height: 10px;
  }

  50% {
    opacity: 1;
    height: 40px;
  }

  100% {
    opacity: 0.1;
    height: 10px;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 5px var(--accent));
  }

  50% {
    filter: drop-shadow(0 0 20px var(--accent));
  }
}

@keyframes glitch {
  0% {
    text-shadow: 2px 0 red, -2px 0 blue;
    transform: skewX(5deg);
  }

  20% {
    text-shadow: -2px 0 lime, 2px 0 magenta;
    transform: skewX(-5deg);
  }

  40% {
    text-shadow: 2px 0 green, -2px 0 purple;
    transform: skewX(3deg);
  }

  60% {
    text-shadow: none;
    transform: none;
  }

  100% {
    text-shadow: none;
    transform: none;
  }
}

@keyframes shake {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  25% {
    transform: translate(-50%, -50%) rotate(5deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  75% {
    transform: translate(-50%, -50%) rotate(3deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes pulseOr {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

/* Enhanced floating icon animation with scroll effects */
@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-15px) rotate(3deg) scale(1.05);
  }

  50% {
    transform: translateY(-8px) rotate(-2deg) scale(0.98);
  }

  75% {
    transform: translateY(-12px) rotate(1deg) scale(1.02);
  }
}

/* Smooth transitions for icon interactions */
.floating-icons {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.floating-icons:hover {
  animation-play-state: paused;
}

/* Enhanced cursor interaction for icons */


/* Mobile responsiveness for icons and CTA */
@media screen and (max-width: 768px) {
  .floating-icons {
    height: 60px;
    width: 60px;
    font-size: 3rem;
  }

  .cta-content,
  .cta-or,
  .cta-newsletter {
    padding: 0 15px;
    max-width: 95vw;
  }

  .newsletter-form-cta {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form-cta input {
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }

  .newsletter-form-cta button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .floating-icons {
    height: 50px;
    width: 50px;
    font-size: 2.5rem;
  }

  .background-icons {
    display: none;
    /* Hide icons on very small screens to reduce clutter */
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

:root {
  --primary: #ffd166;
  --accent: #8ecae6;
  --text: #111111;
  --top-shadow: #f6f1f1;
  --bottom-shadow: #d1d9e6;
  --glow: #1f51ff;
  --success: #00c896;
  --warning: #f39c12;
  --error: #e74c3c;
}

body.dark-mode {
  --primary: #1f1f1f;
  --accent: #00c896;
  --text: #ffffff;
  --top-shadow: #2a2a2a;
  --bottom-shadow: #0d0d0d;
  --glow: #39ff14;
}

body {
  background: var(--primary);
  color: var(--text);
  overflow-x: hidden;
}

.how-it-works-section {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  background: var(--primary);
  --color: #e1e1e1;
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
  background-attachment: fixed;
  display: flex !important;
  flex-direction: column !important;
}

body.dark-mode .how-it-works-section {
  --color: rgba(114, 114, 114, 0.3);
  background-color: #191a1a;
  background-image: linear-gradient(0deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent),
    linear-gradient(90deg,
      transparent 24%,
      var(--color) 25%,
      var(--color) 26%,
      transparent 27%,
      transparent 74%,
      var(--color) 75%,
      var(--color) 76%,
      transparent 77%,
      transparent);
  background-size: 55px 55px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--glow));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Steps Container */
.steps-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Progress Line */
.progress-line {
  position: absolute;
  top: 80px;
  right: 5%;
  width: 4px;
  height: calc(100% - 160px);
  background: var(--bottom-shadow);
  border-radius: 2px;
  z-index: 0;
}

.progress-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--glow));
  border-radius: 2px;
  transition: height 1s ease-in-out;
  opacity: 0.5;
}

/* Step Items */
.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 120px;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  z-index: 1;
}

.step-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.step-item:nth-child(even) .step-content {
  text-align: right;
  padding-right: 0;
  padding-left: 60px;
}

.step-item:nth-child(even) .step-preview {
  margin-left: 0;
  margin-right: 40px;
}

/* Step Number */
.step-number {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 8px 8px 16px var(--bottom-shadow), inset -8px -8px 16px var(--top-shadow), 0 0 0 4px var(--accent);
  margin: 0 40px;
  transition: all 0.3s ease;
}

.step-number:hover {
  transform: scale(1.1);
  box-shadow: inset 8px 8px 16px var(--top-shadow), inset -8px -8px 16px var(--bottom-shadow), 0 0 0 4px var(--accent),
    0 0 20px var(--accent);
}

.step-number .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  position: absolute;
  transition: all 0.3s ease;
}

.step-icon {
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.step-icon i {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.step-number:hover .number {
  opacity: 0;
  transform: scale(0);
}

.step-number:hover .step-icon {
  opacity: 1;
  transform: scale(1);
}

/* Step Content */
.step-content {
  flex: 1;
  padding-right: 60px;
}

.step-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.step-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 30px;
}

/* Step Features */
.step-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-item i {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

/* Step Preview */
.step-preview {
  margin-left: 40px;
}

.preview-card {
  background: var(--primary);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 8px 8px 16px var(--bottom-shadow), -8px -8px 16px var(--top-shadow);
  transition: all 0.3s ease;
  max-width: 300px;
}

.preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px var(--bottom-shadow), -12px -12px 24px var(--top-shadow);
}

.preview-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.preview-dots span:first-child {
  background: var(--error);
  opacity: 1;
}

.preview-question {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.preview-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-option {
  padding: 8px 12px;
  background: var(--primary);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.7;
  box-shadow: inset 2px 2px 4px var(--bottom-shadow), inset -2px -2px 4px var(--top-shadow);
  transition: all 0.2s ease;
}

.preview-option:hover {
  opacity: 1;
  box-shadow: inset 2px 2px 4px var(--top-shadow), inset -2px -2px 4px var(--bottom-shadow);
}

/* Share Preview */
.share-preview {
  padding: 24px;
}

.share-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: inset 2px 2px 4px var(--bottom-shadow), inset -2px -2px 4px var(--top-shadow);
}

.share-link i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.share-link span {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
}

.copy-btn {
  padding: 6px 12px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--glow);
  transform: scale(1.05);
}

.social-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 8px var(--bottom-shadow), -4px -4px 8px var(--top-shadow);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 12px var(--bottom-shadow), -6px -6px 12px var(--top-shadow);
}

.social-btn.twitter {
  background: #1da1f2;
  color: white;
}

.social-btn.facebook {
  background: #4267b2;
  color: white;
}

.social-btn.linkedin {
  background: #0077b5;
  color: white;
}

.social-btn i {
  width: 18px;
  height: 18px;
}

/* Analytics Preview */
.analytics-preview {
  padding: 24px;
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.analytics-header h4 {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

.score {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
}

.analytics-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 80px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), var(--glow));
  border-radius: 4px 4px 0 0;
  min-height: 20px;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  transform: scaleY(1.1);
  filter: brightness(1.2);
}

.analytics-stats {
  display: flex;
  justify-content: space-around;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.7;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 80px;
  padding: 60px 40px;
  background: var(--primary);
  border-radius: 24px;
  box-shadow: inset 20px 20px 40px var(--bottom-shadow), inset -20px -20px 40px var(--top-shadow);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-full {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out
}

.cta-btn-full.primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(142, 202, 230, 0.3);
}

.cta-btn-full.primary:hover {
  background: var(--glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(142, 202, 230, 0.4);
}

.cta-btn-full.secondary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 8px 8px 16px var(--bottom-shadow), -8px -8px 16px var(--top-shadow);
  transition: all 0.5s ease-in-out;
}

.cta-btn-full.secondary:hover {
  box-shadow: inset 8px 8px 16px var(--bottom-shadow), inset -8px -8px 16px var(--top-shadow);
}

.cta-btn i {
  width: 20px;
  height: 20px;
}

/* Background Elements */
.background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 20%;
  animation-delay: 10s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 10%;
  animation-delay: 15s;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(90deg);
  }

  50% {
    transform: translateY(0px) rotate(180deg);
  }

  75% {
    transform: translateY(20px) rotate(270deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .how-it-works-section {
    padding: 80px 0 60px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .steps-container {
    max-width: 100%;
  }

  .progress-line {
    display: none;
  }

  .step-item {
    flex-direction: column !important;
    text-align: center;
    margin-bottom: 80px;
  }

  .step-item:nth-child(even) .step-content {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .step-content {
    padding-right: 0;
    margin-top: 20px;
  }

  .step-number {
    margin: 0 0 20px 0;
  }

  .step-preview {
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
  }

  .step-item:nth-child(even) .step-preview {
    margin: 30px auto 0;
  }

  .preview-card {
    max-width: 280px;
  }

  .cta-section {
    margin-top: 60px;
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .step-title {
    font-size: 1.5rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
  }

  .step-number .number {
    font-size: 1.2rem;
  }

  .step-icon i {
    width: 24px;
    height: 24px;
  }

  .preview-card {
    padding: 16px;
    max-width: 260px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .floating-shape {
    display: none;
  }
}