@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Brand Variables and Global Overrides */
:root {
  --font-inter: 'Inter', sans-serif;
  --font-space: 'Space Grotesk', sans-serif;

  --color-primary: #ae8035;
  /* AI Blue */
  --color-green: #dd9310;
  /* AI Green */
  --color-purple: #fbae17;
  /* Purple Accent */
  --color-cyan: #b8720c;
  /* Soft Cyan */

  --mouse-x: 0px;
  --mouse-y: 0px;
}

html {
  font-family: var(--font-inter);
  scroll-behavior: initial;
  /* Lenis handles smooth scrolling */
  overflow-x: hidden;
  background-color: #FFFFFF;
}

body {
  color: #6B7280;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Helpers with Mobile-First Responsive Scaling */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-space);
  color: #111827;
  letter-spacing: -0.02em;
}

/* Large background cursor glow follower has been removed for a clean background */

/* Dotted Premium Grid Backgrounds */
.bg-grid-pattern {
  background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-grid-pattern-dark {
  background-image: radial-gradient(rgba(229, 231, 235, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Premium Animated Mesh Gradients */
.mesh-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.mesh-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 128, 53, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatMesh1 25s infinite alternate ease-in-out;
}

.mesh-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 174, 23, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  animation: floatMesh2 30s infinite alternate ease-in-out;
}

.mesh-glow-3 {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 40%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 147, 16, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  animation: floatMesh3 28s infinite alternate ease-in-out;
}

@keyframes floatMesh1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(80px, 50px) scale(1.15);
  }
}

@keyframes floatMesh2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-100px, -60px) scale(1.2);
  }
}

@keyframes floatMesh3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-40px, 80px) scale(0.9);
  }
}

/* Card Hover Radial Mouse-Follow Glow Effect & Glowing Borders */
.hover-glow-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  overflow: hidden;
}

.hover-glow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(174, 128, 53, 0.07), rgba(251, 174, 23, 0.03) 30%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

/* Precisely masked dynamic glowing border following cursor */
.hover-glow-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(280px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(174, 128, 53, 0.4), rgba(251, 174, 23, 0.2) 60%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.hover-glow-card:hover::before,
.hover-glow-card:hover::after {
  opacity: 1;
}

.hover-glow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(174, 128, 53, 0.2);
  box-shadow: 0 30px 60px -15px rgba(148, 163, 184, 0.25);
}

/* Interactive Glowing Glassmorphism */
.glass-effect {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Sticky Navigation Shrink / Dynamic Glow States */
header.sticky-scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -10px rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(174, 128, 53, 0.08);
}

header.sticky-scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(174, 128, 53, 0.4) 20%, rgba(251, 174, 23, 0.4) 50%, rgba(221, 147, 16, 0.4) 80%, transparent);
  opacity: 1;
  transition: opacity 0.3s ease;
}

header.sticky-scrolled .max-w-7xl {
  height: 70px;
}

/* ==========================================
   OFFERINGS DROPDOWN MEGA MENU
========================================== */
.offerings-dropdown {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: -20px;
}

.offerings-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.offerings-dropdown-trigger .dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.5;
}

.offerings-dropdown:hover .dropdown-chevron,
.offerings-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.offerings-dropdown-menu {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 420px;
  background: #ffffff;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 20px;
  padding: 8px;
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.offerings-dropdown:hover .offerings-dropdown-menu,
.offerings-dropdown.active .offerings-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.offerings-dropdown-menu .offering-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.offerings-dropdown-menu .offering-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.offerings-dropdown-menu .offering-item:nth-child(1)::before {
  background: linear-gradient(135deg, rgba(174, 128, 53, 0.06), rgba(174, 128, 53, 0.02));
}

.offerings-dropdown-menu .offering-item:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(251, 174, 23, 0.06), rgba(251, 174, 23, 0.02));
}

.offerings-dropdown-menu .offering-item:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(221, 147, 16, 0.06), rgba(221, 147, 16, 0.02));
}

.offerings-dropdown-menu .offering-item:nth-child(4)::before {
  background: linear-gradient(135deg, rgba(184, 114, 12, 0.06), rgba(184, 114, 12, 0.02));
}

.offerings-dropdown-menu .offering-item:hover::before {
  opacity: 1;
}

.offerings-dropdown-menu .offering-item:hover {
  transform: translateX(4px);
}

.offering-item .offering-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.offering-item:hover .offering-icon {
  transform: scale(1.08);
}

.offering-item .offering-text h4 {
  font-family: var(--font-space);
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.offering-item .offering-text p {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.offering-item:nth-child(1):hover .offering-text h4 {
  color: #ae8035;
}

.offering-item:nth-child(2):hover .offering-text h4 {
  color: #fbae17;
}

.offering-item:nth-child(3):hover .offering-text h4 {
  color: #dd9310;
}

.offering-item:nth-child(4):hover .offering-text h4 {
  color: #b8720c;
}

.offering-item .offering-arrow {
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-top: 10px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  color: #94a3b8;
  flex-shrink: 0;
}

.offering-item:hover .offering-arrow {
  opacity: 1;
  transform: translateX(0);
}

.offering-item:nth-child(1):hover .offering-arrow {
  color: #ae8035;
}

.offering-item:nth-child(2):hover .offering-arrow {
  color: #fbae17;
}

.offering-item:nth-child(3):hover .offering-arrow {
  color: #dd9310;
}

.offering-item:nth-child(4):hover .offering-arrow {
  color: #b8720c;
}

/* Staggered entrance animation for dropdown items */
.offerings-dropdown:hover .offering-item,
.offerings-dropdown.active .offering-item {
  animation: dropdownItemSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.offerings-dropdown:hover .offering-item:nth-child(1) {
  animation-delay: 0.02s;
}

.offerings-dropdown:hover .offering-item:nth-child(2) {
  animation-delay: 0.06s;
}

.offerings-dropdown:hover .offering-item:nth-child(3) {
  animation-delay: 0.10s;
}

.offerings-dropdown:hover .offering-item:nth-child(4) {
  animation-delay: 0.14s;
}

@keyframes dropdownItemSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F8FAFC;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
  border: 2px solid #F8FAFC;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Custom Text Reveal Clip Path Animations */
.reveal-text-container {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Dynamic Interactive Gradient Borders for Actions */
.btn-glowing-gradient {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: #111827;
  color: #FFFFFF;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glowing-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #ae8035, #fbae17, #dd9310);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-glowing-gradient:hover::before {
  opacity: 1;
}

.btn-glowing-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(174, 128, 53, 0.4);
}

/* Dynamic Interactive Glowing Action Button */
.btn-interactive-glow {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: linear-gradient(135deg, #ae8035, #fbae17);
  color: #FFFFFF;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(174, 128, 53, 0.25);
}

.btn-interactive-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  transform: scale(0.5);
  pointer-events: none;
}

.btn-interactive-glow:hover::before {
  opacity: 1;
  transform: scale(1);
}

.btn-interactive-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -5px rgba(174, 128, 53, 0.5), 0 0 15px 2px rgba(251, 174, 23, 0.25);
}

/* Custom Modal Animation scale */
@keyframes scaleUp {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-scale-up {
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Swiper Overrides for Premium Styling */
.swiper-pagination-bullet {
  background: #E2E8F0 !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: #ae8035 !important;
  width: 28px !important;
  border-radius: 5px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #111827 !important;
  background: #FFFFFF;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50%;
  box-shadow: 0 10px 25px -5px rgba(148, 163, 184, 0.2);
  border: 1px solid #E2E8F0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #ae8035;
  color: #FFFFFF !important;
  border-color: #ae8035;
  transform: scale(1.05);
}

/* Mobile responsive padding constraints */
@media (max-width: 768px) {
  .max-w-7xl {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ==========================================
   INFINITE CLIENT LOGO MARQUEE
   ========================================== */
.logo-marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logoMarqueeScroll 35s linear infinite;
  will-change: transform;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes logoMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================
   CUSTOM TAILORED SERVICE SVG ANIMATIONS
   ========================================== */
.custom-svg-animated {
  overflow: visible;
  transition: color 0.3s ease;
}

/* 1. Code Brackets path drawing */
.svg-path-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawPath 2s ease-out forwards;
}

/* 2. Path drawing base keyframe */
@keyframes drawPath {
  100% {
    stroke-dashoffset: 0;
  }
}

/* 3. Node Pulsing */
.svg-node-pulse {
  transform-origin: center;
  animation: pulseNode 2s infinite ease-in-out;
}

@keyframes pulseNode {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    filter: drop-shadow(0 0 3px currentColor);
  }
}

/* 4. Dotted flow line animation */
.svg-flow-line {
  stroke-dasharray: 6, 6;
  animation: flowLine 2s infinite linear;
}

@keyframes flowLine {
  0% {
    stroke-dashoffset: 12;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* 5. Growth graph drawing */
.svg-path-draw-growth {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawPath 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 6. Radar waves expand */
.svg-radar-ring {
  transform-origin: 85px 20px;
  animation: radarRing 3s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes radarRing {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* 7. Creative bezier pen curve */
.svg-path-draw-creative {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawPath 2.5s ease-in-out forwards;
}

/* 8. Rotating gear/ring visual */
.svg-rotate-ring {
  transform-origin: 50px 50px;
  animation: rotateRing 12s infinite linear;
}

@keyframes rotateRing {
  100% {
    transform: rotate(360deg);
  }
}

/* 9. Core layout breathing scales */
.svg-shape-scale {
  transform-origin: 50px 48px;
  animation: shapeScale 4s infinite ease-in-out;
}

@keyframes shapeScale {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* 10. Commerce inventory cart line */
.svg-path-draw-commerce {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 2.5s ease-out forwards;
}

/* 11. Marketplace logistics arrows bobbing */
.svg-commerce-flow {
  transform-origin: 60px 42px;
  animation: commerceFlow 2.5s infinite ease-in-out;
}

@keyframes commerceFlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ==========================================
   LIVE PROCESS COCKPIT / DASHBOARD STYLES
   ========================================== */
.journey-step-btn {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.journey-step-btn:hover {
  border-color: rgba(174, 128, 53, 0.3);
  background: rgba(255, 255, 255, 0.5);
}

.journey-step-btn.active-step {
  border-color: rgba(174, 128, 53, 0.5);
  background: #FFFFFF;
  box-shadow: 0 20px 40px -10px rgba(148, 163, 184, 0.18);
  transform: translateX(10px);
}

@media (max-width: 1024px) {
  .journey-step-btn.active-step {
    transform: none;
  }
}

.journey-step-btn.active-step .step-node-bubble {
  background: linear-gradient(135deg, #ae8035, #fbae17);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(174, 128, 53, 0.4);
}

.journey-console-panel {
  display: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-console-panel.active-panel {
  display: flex !important;
  flex-direction: column;
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ==========================================
   COMMERCE GROWTH INTERACTIVE BUTTONS
   ========================================== */
.active-platform-btn {
  background: #ae8035 !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 10px 25px -5px rgba(174, 128, 53, 0.35), 0 8px 10px -6px rgba(174, 128, 53, 0.35) !important;
  transform: translateY(-2px);
}

.active-platform-btn svg {
  color: #FFFFFF !important;
}

.active-platform-btn img {
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease;
}

.inactive-platform-btn {
  background: #FFFFFF !important;
  color: #475569 !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.inactive-platform-btn:hover {
  background: #F8FAFC !important;
  color: #1E293B !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-1px);
}

.active-glossary-btn {
  background: #FFFFFF !important;
  border-color: #fbae17 !important;
  box-shadow: 0 10px 25px -5px rgba(251, 174, 23, 0.08), 0 0 0 1.5px rgba(251, 174, 23, 0.5) !important;
  transform: translateX(6px);
}

.active-glossary-btn span.font-display {
  color: #fbae17 !important;
}

.inactive-glossary-btn {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02) !important;
}

.inactive-glossary-btn:hover {
  border-color: #CBD5E1 !important;
  background: #F8FAFC !important;
  transform: translateX(3px);
}

/* ==========================================
   DYNAMIC SCROLL PROGRESS BACK TO TOP BUTTON
   ========================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  transform: scale(0.8) translateY(10px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.back-to-top-btn:focus {
  outline: none;
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(174, 128, 53, 0.1), 0 10px 10px -5px rgba(174, 128, 53, 0.05);
  border-color: rgba(174, 128, 53, 0.2);
  background: #ffffff;
}

.back-to-top-btn svg.progress-ring {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top-btn svg.progress-ring circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.back-to-top-btn svg.progress-ring .progress-ring-bg {
  stroke: rgba(226, 232, 240, 0.4);
}

.back-to-top-btn svg.progress-ring .progress-ring-fill {
  stroke: url(#progress-gradient);
}

.back-to-top-btn .arrow-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #0f172a;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 2;
  position: relative;
}

.back-to-top-btn:hover .arrow-icon {
  transform: translateY(-2px);
  color: #ae8035;
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
}