:root {
  --primary-color: #a3ff00;
  --primary-hover-color: #73b600;
  --primary-bgcolor: #1f2833;
  --secondary-bgcolor: #0b0c10;
  --primary-textcolor: #ffffff;
  --secondary-textcolor: #d1d5db;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "LINE Seed", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary-textcolor);
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: var(--primary-bgcolor);
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.5s ease;
}

body.ready {
  visibility: visible;
  opacity: 1;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.no-drag {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.d-none {
  display: none !important;
}

#hero-headline,
#hero-description,
.diff-title,
.diff-card-wrap,
.bio-photo-young,
.bio-photo-now,
.bio-text-group-1,
.bio-text-group-2,
.net-title,
.net-description,
.net-tools-box,
.net-cta-box,
.wkf-title,
.wkf-description,
.wkf-features li,
.wkf-heading,
.wkf-box-wrap,
.wkf-arrow {
  opacity: 0;
}

.hero-section {
  width: 100%;
  min-height: 100vh;
  background-image: url(/assets/home-BG1.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
  width: 95%;
  max-width: 1920px;
  min-height: 100vh;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}

.hero-left h1 {
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.highlight {
  display: inline-block;
  padding: 0 10px;
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  color: var(--secondary-bgcolor);
  background: var(--primary-color);
}

.description-wrapper {
  display: grid;
  grid-template-rows: 1fr;
  width: 100%;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.description {
  max-width: clamp(400px, 35vw, 600px);
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0.07rem;
  color: var(--primary-textcolor);
  text-align: left;
  overflow: hidden;
}

.description span {
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  font-weight: 600;
  color: var(--primary-color);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: clamp(500px, 35vw, 700px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  animation: fadeInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.6s;
}

.stat-item {
  padding: 0 5px;
  text-align: center;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item .counter {
  padding-top: clamp(0.8rem, 2vw, 1rem);
  font-size: clamp(1.5rem, 3vw, 4rem);
  font-weight: 700;
  color: var(--primary-color);
}

.stat-item p:not(.counter) {
  padding: 5px 0 clamp(0.8rem, 2vw, 1.1rem) 0;
  font-size: clamp(0.35rem, 1vw, 1rem);
  color: var(--primary-textcolor);
}

.hero-buttons {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem;
  padding-top: 5px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.8s;
  transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
  padding: clamp(5px, 1vw, 14px) clamp(10px, 1vw, 28px);
  border-radius: 999px;
  font-size: clamp(0.4rem, 1vw, 1rem);
  font-weight: 600;
  color: var(--secondary-bgcolor);
  text-decoration: none;
  background-color: var(--primary-color);
  opacity: 1;
  transition: 0.1s;
}

.btn-primary:hover {
  background-color: var(--primary-hover-color);
}

.btn-secondary {
  max-width: 400px;
  padding: clamp(5px, 1vw, 14px) clamp(10px, 1vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-sizing: border-box;
  font-size: clamp(0.4rem, 1vw, 1rem);
  color: var(--secondary-textcolor);
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-secondary.active {
  max-width: 400px !important;
  opacity: 1 !important;
  transform: scale(1);
}

.btn-secondary.collapse-hide {
  max-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-color: transparent !important;
  opacity: 0 !important;
  pointer-events: none;
}

.btn-secondary.expand-show {
  max-width: 400px;
  opacity: 0.5;
}

.showcase-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: clamp(400px, 48vw, 1000px);
  height: clamp(400px, 80vh, 600px);
  overflow: hidden !important;
  transition: all 0.5s ease;
}

.hero-right.layout-video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
}

.hero-right.layout-design {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.hero-right.layout-web {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: clamp(400px, 48vw, 1000px) !important;
  height: auto !important;
  overflow: visible !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-right.layout-web #media-showcase {
  display: block !important;
  width: 100% !important;
  height: auto;
  transform: none !important;
  transition: none !important;
}

.showcase-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.layout-video .showcase-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  will-change: transform;
}

.layout-design .showcase-track {
  flex-direction: row;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}

.showcase-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.layout-video .showcase-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.media-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  transition: transform 0.5s ease;
}

.layout-video .media-box {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.layout-design .media-box {
  width: auto;
  max-height: 70vh;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 15px;
}

.media-box iframe,
.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.media-box iframe {
  pointer-events: none;
}

.yt-lazy-container {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.yt-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.yt-play-overlay:hover {
  background: var(--primary-color);
  color: var(--secondary-bgcolor);
  transform: translate(-50%, -50%) scale(1.1);
}

.custom-mute-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 5;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.custom-mute-btn:hover {
  color: var(--secondary-bgcolor);
  background: var(--primary-color);
}

.custom-mute-btn.unmuted {
  color: #000;
  background: rgba(163, 255, 0, 0.8);
}

.web-links-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 12px !important;
}

.web-link-btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  height: 40px !important;
  padding: 10px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 50px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
}

.web-link-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.22) !important;
}

.web-link-btn.active {
  font-weight: 500 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.35) !important;
}

.web-dual-mockup {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border: 2px solid var(--secondary-textcolor) !important;
  border-radius: 15px !important;
  box-sizing: border-box !important;
  background: #141419 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
  perspective: 1000px;
}

.iframe-desktop {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 1280px !important;
  height: 720px !important;
  transform-origin: top left !important;
  transform: scale(
    clamp(0.4, var(--desktop-dynamic-scale, 0.74), 0.85)
  ) !important;
}

.iframe-mobile-wrapper {
  position: absolute !important;
  right: 8% !important;
  bottom: 6% !important;
  z-index: 10 !important;
  display: block !important;
  width: 23% !important;
  height: 76% !important;
  overflow: hidden !important;
  border: 3px solid var(--secondary-textcolor) !important;
  border-radius: 15px !important;
  background: transparent !important;
}

.iframe-mobile {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 430px !important;
  height: 932px !important;
  transform-origin: top left !important;
  transform: scale(
    clamp(0.25, var(--mobile-dynamic-scale, 0.59), 0.65)
  ) !important;
}

.design-nav-buttons {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.design-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.design-nav-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-bgcolor);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.design-nav-btn:active {
  transform: scale(0.95);
}

.design-nav-btn svg {
  width: 20px;
  height: 20px;
}

.init-load-headline {
  animation: fadeInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.2s;
}

.init-load-desc {
  animation: fadeInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.4s;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) both !important;
  animation-delay: 0s !important;
}

.animate-fade-in-left-desc {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) both !important;
  animation-delay: 0.2s !important;
}

.animate-fade-out-right {
  animation: fadeOutRight 0.4s cubic-bezier(0.25, 1, 0.5, 1) both !important;
  animation-delay: 0s !important;
}

.animate-fade-out-right-desc {
  animation: fadeOutRight 0.4s cubic-bezier(0.25, 1, 0.5, 1) both !important;
  animation-delay: 0.2s !important;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    background-position: center top;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
    padding: 80px 0 40px 0;
  }

  .hero-left {
    order: 2;
    gap: 20px;
  }

  .hero-left h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
    width: 100%;
  }

  .highlight {
    font-size: 1.6rem;
    padding: 0 8px;
  }

  .description-wrapper {
    display: block;
  }

  .description {
    max-width: 90%;
    margin: 0 auto;
    font-size: 0.7rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    text-align: center;
  }

  .description span {
    font-size: 0.7rem;
  }

  .stats {
    max-width: 90%;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 12px;
  }

  .stat-item {
    padding: 0 3px;
  }

  .stat-item p:not(.counter) {
    font-size: 8px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    padding-top: 0;
  }

  .btn-primary {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 12px 24px;
    font-size: 0.8rem;
  }

  .btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 24px;
    font-size: 0.9rem;
    text-align: center;
  }

  .btn-secondary.collapse-hide {
    max-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .showcase-filter {
    width: 90%;
    margin: 0 auto;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-right {
    order: 1;
    max-width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .hero-right.layout-video {
    height: auto;
    min-height: auto;
    max-height: none;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
  }

  .hero-right.layout-design {
    height: 160px;
    min-height: auto;
    max-height: none;
  }

  .hero-right.layout-web {
    max-width: 100% !important;
    height: auto !important;
  }

  .hero-right.layout-web .web-showcase-switcher {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
  }

  .hero-right.layout-web .web-mode-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--secondary-textcolor);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .hero-right.layout-web .web-mode-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-bgcolor);
    font-weight: 600;
  }

  .hero-right.layout-web .web-dual-mockup {
    width: min(65%, 320px) !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    aspect-ratio: 9 / 16 !important;
    border: 2px solid var(--secondary-textcolor) !important;
    border-radius: clamp(16px, 4vw, 30px) !important;
    overflow: hidden !important;
    position: relative !important;
    background: #fff !important;
  }

  .hero-right.layout-web .iframe-desktop {
    display: none !important;
  }

  .hero-right.layout-web .iframe-mobile-wrapper {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: inherit !important;
    overflow: hidden !important;
  }

  .hero-right.layout-web .iframe-mobile {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 430px !important;
    height: 932px !important;
    transform-origin: top left !important;
    transform: scale(var(--mobile-scale, 0.74)) !important;
  }

  .hero-right.layout-web .web-dual-mockup iframe {
    pointer-events: auto !important;
    cursor: auto !important;
  }

  .hero-right.layout-web .iframe-mobile-wrapper,
  .hero-right.layout-web .iframe-desktop {
    pointer-events: auto !important;
  }

  .hero-right.layout-web .web-dual-mockup {
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .hero-right.layout-web .iframe-mobile-wrapper {
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .hero-right.layout-web .web-dual-mockup.desktop-mode {
    width: min(90%, 600px) !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border: 2px solid var(--secondary-textcolor) !important;
    border-radius: clamp(8px, 2vw, 12px) !important;
  }

  .hero-right.layout-web .web-dual-mockup.desktop-mode .iframe-desktop {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1280px !important;
    height: 720px !important;
    transform-origin: top left !important;
    transform: scale(var(--desktop-scale, 0.47)) !important;
  }

  .hero-right.layout-web .web-dual-mockup.desktop-mode .iframe-mobile-wrapper {
    display: none !important;
  }

  .hero-right.layout-web .web-links-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    margin-top: 12px !important;
  }

  .hero-right.layout-web .web-link-btn {
    height: 36px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
  }

  .layout-video .showcase-track {
    flex-direction: row;
    gap: 18px;
  }

  .showcase-item {
    height: auto;
  }

  .layout-video .showcase-item {
    width: 80%;
    height: auto;
  }

  .media-box {
    border-radius: 12px;
  }

  .layout-video .media-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }

  .layout-design .media-box {
    max-height: 50vh;
    margin: 0 auto;
    border-radius: 12px;
  }

  .design-nav-btn {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.85);
  }

  .custom-mute-btn {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.85);
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 10px;
  }
}

.wkf-section {
  width: 100%;
  background-image: url(/assets/workflow-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wkf-container {
  width: 95%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(60px, 3.5vw, 100px) 0 clamp(25px, 3.5vw, 50px) 0;
}

.wkf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(40px, 3.5vw, 80px);
}

.wkf-left,
.wkf-right {
  flex: 1;
}

.wkf-title {
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.wkf-description {
  max-width: clamp(400px, 35vw, 600px);
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0.07rem;
}

.wkf-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wkf-features li {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(5px, 1vw, 15px) 0;
  font-size: clamp(0.8rem, 1.5vw, 2rem);
  font-weight: 500;
}

.wkf-features li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  border-bottom: 1px solid rgb(from var(--secondary-textcolor) r g b / 0.15);
}

.wkf-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: clamp(10px, 1.5vw, 35px);
  height: clamp(10px, 1.5vw, 35px);
  margin-right: clamp(5px, 1.1vw, 15px);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  font-size: clamp(0.3rem, 1.1vw, 1.2rem);
  font-weight: bold;
  color: var(--primary-color);
}

.wkf-card {
  padding: clamp(20px, 3.5vw, 60px) 0 clamp(100px, 3.5vw, 120px) 0;
  border-radius: 16px;
  background-color: var(--primary-bgcolor);
  text-align: center;
}

.wkf-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2px, 1.5vw, 20px);
  margin-bottom: clamp(15px, 3.5vw, 30px);
}

.wkf-tag {
  opacity: 0;
  padding: clamp(5px, 1vw, 14px) clamp(10px, 1vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: clamp(0.3rem, 1vw, 1rem);
  color: var(--secondary-textcolor);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.wkf-tag.animate-tag {
  opacity: 0.5;
}

.wkf-tag.animate-tag:hover,
.wkf-tag.animate-tag.active {
  opacity: 1 !important;
}

.wkf-heading {
  margin-bottom: clamp(20px, 3.5vw, 40px);
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.07rem;
}

.wkf-heading-highlight {
  font-weight: 700;
  color: var(--primary-color);
}

.wkf-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 3.5vw, 100px);
  position: relative;
}

.box-1 {
  grid-area: 1 / 1;
}
.box-2 {
  grid-area: 1 / 2;
}
.box-3 {
  grid-area: 2 / 2;
}
.box-4 {
  grid-area: 2 / 1;
}

.wkf-box {
  width: 75%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: var(--primary-hover-color);
}

.wkf-box iframe {
  pointer-events: none;
}

.wkf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 15px);
  padding: clamp(10px, 1.5vw, 20px);
  text-align: center;
}

.wkf-placeholder-icon {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  opacity: 0.6;
}

.wkf-placeholder-text {
  max-width: 80%;
  font-size: clamp(0.5rem, 0.9vw, 0.9rem);
  color: var(--secondary-textcolor);
  line-height: 1.5;
  letter-spacing: 0.05rem;
  opacity: 0.7;
}

.wkf-box-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.wkf-box-wrap:nth-child(odd) .wkf-box {
  margin-left: auto;
}

.wkf-box-wrap:nth-child(even) .wkf-box {
  margin-right: auto;
}

.wkf-iframe-guard {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.wkf-arrow {
  position: absolute;
  width: clamp(20px, 2.5vw, 50px);
  height: clamp(20px, 2.5vw, 50px);
  color: rgb(from var(--secondary-textcolor) r g b / 0.15);
  pointer-events: none;
}

.wkf-arrow svg {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.wkf-arrow-top {
  top: clamp(19%, 3.5vw, 20%);
  left: 48.5%;
  transform: translateX(-50%) rotate(-90deg);
}

.wkf-arrow-right {
  top: 47.5%;
  right: clamp(28%, 3.5vw, 29%);
  transform: translateY(-50%);
}

.wkf-arrow-bottom {
  bottom: clamp(19%, 3.5vw, 20%);
  left: 48.5%;
  transform: translateX(-50%) rotate(90deg);
}

.wkf-arrow-left {
  top: 47.5%;
  left: clamp(28%, 3.5vw, 29%);
  transform: translateY(-50%) rotate(180deg);
}

.wkf-arrow-top .wkf-arrow-icon {
  display: inline-block;
  transform: rotate(0deg);
}

.wkf-arrow-right .wkf-arrow-icon {
  display: inline-block;
  transform: rotate(90deg);
}

.wkf-arrow-bottom .wkf-arrow-icon {
  display: inline-block;
  transform: rotate(180deg);
}

.wkf-arrow-left .wkf-arrow-icon {
  display: inline-block;
  transform: rotate(-90deg);
}

.diff-container {
  width: 95%;
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(25px, 2.6vw, 50px) 0 clamp(50px, 7.8vw, 150px) 0;
}

.diff-header {
  margin-bottom: clamp(30px, 4vw, 60px);
  text-align: center;
}

.diff-title {
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
}

.diff-title-highlight {
  font-weight: 700;
  color: var(--primary-color);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2.3vw, 30px);
  align-items: center;
}

.diff-grid .diff-card-wrap:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.diff-grid .diff-card-wrap:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.diff-grid .diff-card-wrap:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.diff-grid .diff-card-wrap:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.diff-grid .diff-card-wrap:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.diff-card-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--primary-bgcolor);
}

.diff-box-short {
  aspect-ratio: 16 / 9;
}

.diff-box-tall {
  height: 100%;
  min-height: clamp(100px, 31.5vw, 600px);
}

.diff-slider-container {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.diff-divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%);
}

.diff-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(30px, 3vw, 45px);
  height: clamp(30px, 3vw, 45px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--primary-textcolor);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
}

.diff-handle-icon {
  width: 55%;
  height: 55%;
}

.diff-before,
.diff-after {
  position: absolute;
  inset: 0;
}

.diff-before img,
.diff-after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diff-after {
  z-index: 1;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}

.animate-tag {
  animation: wkfFadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.arrow-flow-top {
  animation: arrowFlowRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.arrow-flow-right {
  animation: arrowFlowDown 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.arrow-flow-bottom {
  animation: arrowFlowLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.arrow-flow-left {
  animation: arrowFlowUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowFlowRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes arrowFlowDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowFlowLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes arrowFlowUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wkfFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 0.5;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .wkf-section {
    background-position: center top;
  }

  .wkf-container {
    width: 90%;
    padding: 30px 0 30px 0;
  }

  .wkf-header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .wkf-left,
  .wkf-right {
    width: 100%;
    flex: none;
  }

  .wkf-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .wkf-description {
    max-width: 100%;
    font-size: 0.7rem;
    line-height: 1.5;
    text-align: center;
  }

  .wkf-features {
    width: 90%;
    margin: 0 auto;
  }

  .wkf-features li {
    padding: 10px 0;
    font-size: 1.1rem;
  }

  .wkf-features li::after {
    width: 100%;
  }

  .wkf-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    font-size: 0.9rem;
  }

  .wkf-card {
    padding: 30px 0 60px 0;
    border-radius: 12px;
  }

  .wkf-tags {
    gap: 8px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 0;
  }

  .wkf-tag {
    padding: 8px 14px;
    font-size: 0.6rem;
    white-space: nowrap;
  }

  .wkf-heading {
    font-size: 1.6rem;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  .wkf-flow {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .box-1,
  .box-2,
  .box-3,
  .box-4 {
    grid-area: auto;
  }

  .box-1 {
    order: 1;
  }

  .box-2 {
    order: 2;
  }

  .box-3 {
    order: 3;
  }

  .box-4 {
    order: 4;
  }

  .wkf-box-wrap {
    width: 100%;
  }

  .wkf-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }

  .wkf-placeholder-text {
    font-size: 0.6rem;
  }

  .wkf-placeholder-icon {
    font-size: 1.2rem;
  }

  .wkf-box-wrap:nth-child(odd) .wkf-box {
    margin-left: 0;
  }

  .wkf-box-wrap:nth-child(even) .wkf-box {
    margin-right: 0;
  }

  .wkf-arrow {
    display: none;
  }

  .wkf-box-wrap {
    position: relative;
    width: 100%;
  }

  .wkf-box-wrap:not(.box-4)::after {
    content: "↓";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
  }

  .diff-container {
    width: 90%;
    padding: 30px 0 60px 0;
  }

  .diff-header {
    margin-bottom: 30px;
  }

  .diff-title {
    font-size: 1.6rem;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .diff-grid .diff-card-wrap:nth-child(1),
  .diff-grid .diff-card-wrap:nth-child(2),
  .diff-grid .diff-card-wrap:nth-child(3),
  .diff-grid .diff-card-wrap:nth-child(4),
  .diff-grid .diff-card-wrap:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }

  .diff-card-wrap {
    border-radius: 12px;
  }

  .diff-box-short {
    aspect-ratio: 16 / 9;
  }

  .diff-box-tall {
    min-height: 300px;
    height: 100%;
  }

  .diff-handle {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.35);
    width: 35px;
    height: 35px;
  }
}

.bio-section {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: clamp(25px, 3.5vw, 100px) 0 clamp(15px, 3.5vw, 100px) 0;
  background: var(--primary-bgcolor);
  overflow: hidden;
}

.bio-container {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto clamp(120px, 20.3vw, 260px);
  grid-template-areas:
    "text1 young"
    "now text2";
  align-items: start;
  width: 90%;
  max-width: 1920px;
  margin: 0 auto;
}

.bio-text-group-1 {
  grid-area: text1;
  width: 70%;
}

.bio-text-group-2 {
  grid-area: text2;
  width: 70%;
}

.bio-photo-young {
  grid-area: young;
  display: block;
  width: 100%;
  max-width: 950px;
  height: auto;
}

.bio-photo-now {
  grid-area: now;
  display: block;
  width: 100%;
  max-width: 950px;
  height: auto;
  margin-top: clamp(-250px, -34%, -34%);
  margin-left: -10%;
}

.bio-title {
  margin-bottom: clamp(5px, 1.5vw, 30px);
  font-weight: 800;
}

.bio-highlight {
  display: inline-block;
  padding: 0 3px;
  font-size: clamp(0.7rem, 3.5vw, 3.5rem);
  font-weight: 700;
  color: var(--secondary-bgcolor);
  background: var(--primary-color);
}

.bio-desc {
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0.07rem;
  color: var(--primary-textcolor);
  text-align: left;
}

.bio-desc.right {
  transform: translateX(clamp(40px, 3.68vw, 70px));
}

.bio-lime {
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  font-weight: 600;
  color: var(--primary-color);
}

.bio-photo-now.animate-up {
  animation: fadeInUpPhotoNow 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInUpPhotoNow {
  from {
    opacity: 0;
    margin-top: clamp(-350px, -59%, -59%);
    margin-left: -10%;
  }
  to {
    opacity: 1;
    margin-top: clamp(-250px, -34%, -34%);
    margin-left: -10%;
  }
}

@media (max-width: 768px) {
  .bio-section {
    padding: 20px 0 40px 0;
    overflow: hidden;
  }

  .bio-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "young"
      "text1"
      "now"
      "text2";
    gap: 20px;
    width: 90%;
  }

  .bio-text-group-1 {
    grid-area: text1;
    width: 100%;
    text-align: center;
  }

  .bio-text-group-2 {
    grid-area: text2;
    width: 100%;
    text-align: center;
  }

  .bio-photo-young {
    grid-area: young;
    max-width: 100%;
    margin: 0 auto;
  }

  .bio-photo-now {
    grid-area: now;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .bio-photo-now.animate-up {
    animation: fadeInUpPhotoNowMobile 0.8s cubic-bezier(0.25, 1, 0.5, 1)
      forwards;
  }

  @keyframes fadeInUpPhotoNowMobile {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .bio-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .bio-highlight {
    font-size: 1.5rem;
    padding: 0 5px;
  }

  .bio-desc {
    font-size: 0.7rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
  }

  .bio-desc.right {
    transform: none;
  }

  .bio-lime {
    font-size: 0.7rem;
  }
}

.net-section {
  width: 100%;
  padding: clamp(25px, 3.5vw, 100px) 0 clamp(15px, 3.5vw, 100px) 0;
  background-image: url(/assets/net-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.net-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.net-header {
  max-width: 800px;
  margin-bottom: 40px;
}

.net-title {
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.net-title-highlight {
  display: inline-block;
  padding: 0 10px;
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  color: var(--secondary-bgcolor);
  background: var(--primary-color);
}

.net-description {
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0.07rem;
}

.net-lime {
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  font-weight: 600;
  color: var(--primary-color);
}

.net-tools-box {
  width: 100%;
  max-width: 900px;
  margin-bottom: 60px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.net-tools-title {
  margin-bottom: 30px;
  font-size: clamp(0.3rem, 1.2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.07rem;
}

.net-tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3.9vw, 50px);
}

.net-tool-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(55px, 6vw, 75px);
  height: clamp(55px, 6vw, 75px);
}

.net-tool-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.net-cta-box {
  max-width: 700px;
  margin-top: 20px;
}

.net-cta-title {
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.net-cta-highlight {
  display: inline-block;
  padding: 0 10px;
  font-size: clamp(1rem, 3.5vw, 3.5rem);
  font-weight: 700;
  color: var(--secondary-bgcolor);
  background: var(--primary-color);
}

.net-btn-primary {
  display: inline-block;
  margin: 35px 0;
  padding: clamp(5px, 1vw, 14px) clamp(10px, 1vw, 28px);
  border-radius: 999px;
  font-size: clamp(0.4rem, 1vw, 1rem);
  font-weight: 600;
  color: var(--secondary-bgcolor);
  background-color: var(--primary-color);
  text-decoration: none;
  transition: background-color 0.1s ease;
}

.net-btn-primary:hover {
  background-color: var(--primary-hover-color);
}

.net-btn-outline {
  display: inline-block;
  padding: clamp(5px, 1vw, 14px) clamp(10px, 1vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: clamp(0.4rem, 1vw, 1rem);
  color: var(--primary-textcolor);
  background-color: transparent;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.net-btn-outline:hover {
  opacity: 1;
}

.net-social-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.net-footer-text {
  font-size: clamp(0.2rem, 1.2vw, 0.9rem);
  color: var(--secondary-textcolor);
  letter-spacing: 0.07rem;
  line-height: 1.4;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .net-section {
    padding: 60px 0 40px 0;
    background-position: center top;
  }

  .net-container {
    width: 90%;
  }

  .net-header {
    margin-bottom: 30px;
  }

  .net-title {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .net-title-highlight {
    font-size: 1.7rem;
    padding: 0 8px;
  }

  .net-description {
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
  }

  .net-lime {
    font-size: 0.95rem;
  }

  .net-tools-box {
    margin-bottom: 40px;
    padding: 25px 15px;
    border-radius: 16px;
  }

  .net-tools-title {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .net-tools-grid {
    gap: 15px;
  }

  .net-tool-item {
    width: 35px;
    height: 35px;
  }

  .net-tool-item img {
    border-radius: 10px;
  }

  .net-cta-box {
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .net-cta-title {
    font-size: 1.5rem;
  }

  .net-cta-highlight {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .net-btn-primary {
    margin: 18px 0;
    padding: 5px 10px;
    font-size: 0.6rem;
    box-sizing: border-box;
  }

  .net-btn-outline {
    padding: 5px 10px;
    font-size: 0.6rem;
  }

  .net-social-group {
    gap: 8px;
    margin-bottom: 20px;
  }

  .net-footer-text {
    max-width: 200px;
    margin: 0 auto;
    font-size: 0.5rem;
    line-height: 1.4;
  }
}

.floating-nav {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.floating-nav.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: clamp(40px, 4.7vw, 60px);
  height: clamp(40px, 4.7vw, 60px);
  border: none;
  border-radius: clamp(10px, 1.2vw, 16px);
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-btn:active {
  transform: scale(0.95);
}

.gear-icon {
  width: clamp(15px, 2.3vw, 30px);
  height: clamp(15px, 2.3vw, 30px);
  color: var(--primary-bgcolor);
  transition: transform 0.5s ease;
}

.floating-nav.active .gear-icon {
  transform: rotate(90deg);
}

.nav-menu-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1vw, 20px);
  width: clamp(40px, 4.7vw, 60px);
  margin-bottom: -14px;
  padding: clamp(16px, 1.3vw, 25px) 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-nav.active .nav-menu-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.menu-icon svg {
  width: clamp(22px, 1.2vw, 24px);
  height: clamp(22px, 1.2vw, 24px);
  transition: fill 0.2s;
}

.menu-icon svg path {
  fill: var(--primary-textcolor);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.menu-item:hover .menu-icon svg path {
  opacity: 1;
}

.menu-label {
  position: absolute;
  left: clamp(40px, 2.9vw, 55px);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-nav.active .menu-label {
  opacity: 1;
  transform: translateX(0);
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 4.7vw, 60px);
  height: clamp(40px, 4.7vw, 60px);
  border: none;
  border-radius: 50%;
  background-color: var(--primary-bgcolor);
  color: var(--primary-textcolor);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

.scroll-top-btn:active {
  transform: translateY(0) scale(0.95);
}

.arrow-up-icon {
  width: clamp(15px, 2.3vw, 30px);
  height: clamp(15px, 2.3vw, 30px);
}

@media (max-width: 768px) {
  .floating-nav {
    bottom: 20px;
    left: 20px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
  }

  .gear-icon {
    width: 22px;
    height: 22px;
  }

  .nav-menu-options {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(20, 22, 28, 0.92);
    border-color: rgba(255, 255, 255, 0.15);
    width: 45px;
    gap: 12px;
    padding: 18px 0;
    border-radius: 16px 16px 0 0;
  }

  .menu-icon svg {
    width: 20px;
    height: 20px;
  }

  .menu-label {
    left: 45px;
    font-size: 13px;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .arrow-up-icon {
    width: 22px;
    height: 22px;
  }
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
