:root {
  --navbar-bg: rgba(15, 23, 42, 0.95);
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --card-bg: #1e293b;
  --border-color: #c5c4e0;
  --font-size: 12px; /* FIXED: Changed from 6px to standard desktop base size */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
}


body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
}

/* ==========================================================================
   Mobile Responsive Rules
   ========================================================================== */
@media screen and (max-width: 768px) {
  .top-utility-bar {
    display: none; /* Collapses utility ribbon on compact viewports to prioritize screen area */
  }
  .navbar {
    top: 0; /* Snaps main navigation back to browser top edge for simple finger interaction */
  }
  .hero-fixed-layout {
    margin-top: 70px; /* Restores standard native spacing offset */
  }
}



/* ==========================================================================
   2. Navbar Base Layout
   ========================================================================== */
.navbar {
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0a2463;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: left;
  justify-content: space-between;
  position: relative;
}

.nav-menu-wrapper {
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	flex-grow: 1;
	margin-left: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  height: 70px;
  align-items: center;
}

.nav-links > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item {
  color: var(--text-main);
  text-decoration: none;
  padding: 0 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.nav-item:hover {
  color: var(--accent-blue);
}
.hd-btn{
	background-color:#ab0707; 
	color: white; 
	border-radius: 13px; 
	padding:5px;
	pointer:active;
	transition: 2s;
	cursor: pointer
}
.hd-btn:hover{ 
	background-color: #ffffff;
	color: #d40a0a; 
	border: 1px solid #ab0707 ;
	border-radius: 13px; 
	padding:5px;
	transition: 3s;
	cursor: pointer
}
.arrow {
  font-size: 0.35rem;
  transition: 0.3s ease;
  color: var(--text-muted);
}

/* Hidden inputs used for functionality */
.menu-checkbox {
  display: none;
}

.hamburger-label {
  display: none;
}

/* ==========================================================================
   3. Mega Dropdown & Nested Submenu Styles (Desktop)
   ========================================================================== */
.dropdown-trigger {

}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%; /* FIXED: Centered underneath the trigger link */
  right: 2rem; /* Extends completely across to the right padding boundary */
  transform: translateX(-50%) translateY(0px);
  width: max-content;
  max-width: 90vw; /* FIXED: Restricts wide expansions past standard device screen edges */
  background-color: #0a2463;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1100; /* Ensures it renders above any underlying page body content */
}

.dropdown-trigger:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10);
}

.dropdown-trigger:hover .arrow {
  transform: rotate(180deg);
  color: var(--accent-blue);
}
.dropdown-inner {
  display: grid;
  /* Adjusts smoothly from 7 columns down to fewer if the screen shrinks slightly */
  grid-template-columns: repeat(auto-fit, minmax(0px, 1fr)); 
  gap: 1.5rem;
  min-width: 700px; /* FIXED: Guarantees full desktop layouts look expansive */
  align-items: start;
}

/* Give featured column extra layout priority */
.dropdown-inner .featured-panel {
  grid-column: span 2; 
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
}

.dropdown-col h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dropdown-col .img-panel {
  width: 120px;
}

.dropdown-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-col ul li {
  margin-bottom: 0.5rem;
}

.dropdown-col ul li a, 
.nested-title {
  display: block;
  padding: 0.5rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.dropdown-col ul li a:hover {
  background-color: var(--card-bg);
}

.dropdown-col ul li a:hover {
  background-color: var(--card-bg);
}

.dropdown-col ul li strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
}

.dropdown-col ul li p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 3px;
  line-height: 1.4;
}

/* --- Nested Submenu Styling --- */
.has-nested {
  position: relative;
}

.nested-title {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: default;
}

.nested-submenu {
  margin-left: 0.05rem;
  padding-left: 0.75rem;
  margin-top: 0.05rem;
  list-style: none;
}

.nested-submenu li {
  margin-bottom: 0.25rem !important;
}

.nested-submenu li a {
  padding: 2px 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 300;
}

.nested-submenu li a:hover {
  color: var(--accent-blue) !important;
  background-color: transparent !important;
}

/* --- Featured Column Panel --- */
.featured-panel {
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
}

.featured-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: 8px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--card-bg);
}

.featured-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.featured-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.featured-btn {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
/* Badges styling */
.badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.badge.hot { background-color: rgba(239, 68, 68, 0.2); color: #ef4444; }
.badge.new { background-color: rgba(34, 197, 94, 0.2); color: #22c55e; }

.cta-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   4. Responsive Breakpoints & Mobile Overlay Drawer
   ========================================================================== */
@media screen and (max-width: 968px) {
  
  /* Show Hamburger Trigger Buttons */
  .hamburger-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer; 
    z-index: 1002;
    position: relative;
  }

  .hamburger-label span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
 
  /* Hamburger to 'X' Transform configuration */
  .menu-checkbox:checked ~ .hamburger-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-checkbox:checked ~ .hamburger-label span:nth-child(2) {
    opacity: 0;
  }

  .menu-checkbox:checked ~ .hamburger-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Structural transformation into Mobile Panel Menu Container */ 
  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    left: -100%; /* CHANGED: Hide off-screen to the left side */
    right: auto; /* CHANGED: Resets the desktop right setting */
    width: 100%;
    max-width: 400px;
    height: 100vh; /* CHANGED: Forces full viewport height for mobile panel */
    background-color: #0a2463;
    border-right: 1px solid var(--border-color); /* CHANGED: border to the right side */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 60px 1.5rem 2rem 1.5rem; /* CHANGED: More top padding so hamburger clear-space is safe */
    margin-left: 0;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* CHANGED: Transition left property instead */
    overflow-y: auto; 
    z-index: 1001;
    display: flex;
  }

  /* Slide menu in when checkbox is checked */
  .menu-checkbox:checked ~ .nav-menu-wrapper {
    left: 0; /* CHANGED: Snaps perfectly back to viewport left boundary */
  }

  .nav-links {
    display: flex; /* CHANGED: Ensured flex context is active */
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .nav-links > li {
    width: 100%;
    height: auto;
    display: flex; /* CHANGED: Ensured flex context is active */
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item {
    display: flex; /* CHANGED: Enabled flex to make space-between layout push arrows wide */
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: space-between;
    color: white; /* Added to guarantee visibility against dark panel background */
    text-decoration: none;
  }

  /* Mobile Dropdown adaptation */
.mega-dropdown {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0; 
    display: none; 
    overflow: visible;
}
  .dropdown-trigger:hover .mega-dropdown,
  .dropdown-trigger:focus-within .mega-dropdown {
    display: block; /* FIX: Instantly displays 100% of the links without a height cap */
    padding: 0.5rem 0 1rem 1rem;
  }

  .dropdown-inner {
    display: grid; /* FIXED: Explicitly declared grid layout style */
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dropdown-col h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .dropdown-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dropdown-col a {
    display: block;
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
  }
  
  /* Hide the graphic featured panel to optimize tight mobile dimensions */
  .featured-panel {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  .cta-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.8rem;
  }
}


/* ==========================================================================
   5. Fixed Layout Hero with Middle Infinite Carousel
   ========================================================================== */
.hero-fixed-layout {
  margin-top: 70px; /* Offset for fixed top navbar */
  width: 100%;
  height: 600px;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.hero-grid-container {
  max-width: auto;
  height: 100%;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2rem;
  align-items: center;
}

/* --- Left Side: Permanent Static Text --- */
.hero-static-details {
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-title strong {
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.secondary-btn {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- Middle Side: Absolute Fading Image Carousel Panel --- */
.hero-middle-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-fade-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.fade-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  /* Smooth opacity cross-fade */
  animation: infiniteImageCrossfade 15s infinite ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.slide-overlay-tag {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Right Side: Permanent Static Sidebar --- */
.hero-static-sidebar {
  display: flex;
  justify-content: flex-end;
  z-index: 5;
}

.widget-card {
  width: 100%;
  max-width: 340px;
  background-color: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.widget-header {
  background-color: #0b0f19;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }
.widget-title { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; margin-left: 6px; }
.widget-body { padding: 1.25rem; font-family: monospace; font-size: 0.8rem; }
.code-line { margin-bottom: 0.5rem; color: #e2e8f0; }
.code-line.comment { color: #64748b; }
.code-line.success { color: #34d399; }
.code-cmd { color: #38bdf8; }

/* ==========================================================================
   6. Pure CSS Keyframe Fade Engine (3 Slides Loop)
   ========================================================================== */
@keyframes infiniteImageCrossfade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  33.33% { opacity: 1; }
  38.33% { opacity: 0; }
  100% { opacity: 0; }
}

/* ==========================================================================
   7. Responsive Adaptations
   ========================================================================== */
@media screen and (max-width: 968px) {
  .hero-fixed-layout {
    height: auto;
    padding-bottom: 3rem;
  }
  .hero-grid-container {
    grid-template-columns: 1fr; /* Stack layout seamlessly on tablet/mobile */
    gap: 2.5rem;
    padding-top: 3rem;
  }
  .hero-static-details {
    text-align: center;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-middle-carousel {
    height: 300px;
    order: -1; /* Puts the automated visual at the very top on mobile devices */
  }
  .hero-static-sidebar {
    justify-content: center;
  }
}

/* ==========================================================================
   8. Custom 8-Column Block Grid System
   ========================================================================== */
.feature-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Framework utility mirrors */
.row {

}
.col-lg-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 0 0 100%;
  max-width: 100%;
}

.custom-block-wrap{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  width: 100%;
  font-size:20px;
}
**/
/* Card Boxes Design Metrics */
.feature-box{
  background-color: #fdfcfc;
  border-radius: 10px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.feature-box .btnb{
	width:100%;
	background-color:none;
	color:white;
	border-radius: 5px;
	padding: 5px;
}
.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.box-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: gray;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  padding-left:10px;
}

.feature-box p {
	font-size: 0.75rem;
	color: var(--text-muted);
	line-height: 1.3;
	padding:5px;
	text-align: left;
	padding-left:10px;
	background-color: none;
}

/* ==========================================================================
   9. Fluid Breakpoint Grid Downscaling
   ========================================================================== */
@media screen and (max-width: 1200px) {
  .custom-block-wrap {
    grid-template-columns: repeat(4, 1fr); /* 4 Columns on smaller laptop profiles */
  }
}

@media screen and (max-width: 768px) {
  .custom-block-wrap {
    grid-template-columns: repeat(2, 1fr); /* 2 Columns on typical mobile screens */
  }
}

@media screen and (max-width: 480px) {
  .custom-block-wrap {
    grid-template-columns: 1fr; /* Stacks completely vertical on tight screens */
  }
}


/* ==========================================================================
   14. Live Customer Milestone Section Styles
   ========================================================================== */
.milestone-countdown-section {
  max-width: 1200px;
  margin: 6rem auto 2rem auto;
  padding: 0 2rem;
}

.countdown-card-wrapper {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle accent radial spot light behind counter */
.countdown-card-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Left Side Content --- */
.countdown-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.countdown-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
}

/* Pulse badge styling */
.pulse-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #0a2463;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
  cursor:pointer;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #22c55e;
  border-radius: 50%;
  animation: liveBadgePulse 1.8s infinite ease-in-out;
}

@keyframes liveBadgePulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- Right Side Numeric Display --- */
.countdown-metric-box {
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.counter-display {
  font-size: 4rem;
  font-weight: 900;
  font-family: monospace;
  letter-spacing: -2px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Live tracking loading pipeline bar */
.live-progress-track {
  width: 100%;
  height: 8px;
  background-color: #0f172a;
  border-radius: 4px;
  overflow: hidden;
}

.live-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   15. Milestone Media Queries
   ========================================================================== */
@media screen and (max-width: 968px) {
  .countdown-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
  .countdown-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .countdown-metric-box {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ==========================================================================
   11. Responsive Footer Adaptation
   ========================================================================== */
@media screen and (max-width: 868px) {
  .footer-container {
    grid-template-columns: 1fr; /* Stacks column sections layout */
    gap: 3rem;
  }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-tagline {
    max-width: 100%;
  }
}

@media screen and (max-width: 580px) {
  .footer-links-grid {
    grid-template-columns: 1fr; /* Full single collapse on tiny windows */
    gap: 2rem;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/***** Page Up Button *****/

/* ==========================================================================
   11. Smooth Scroll Setup (Add this to the top of your CSS file if missing)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   12. Page Up (Scroll to Top) Button
   ========================================================================== */
.page-up-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.3);
  text-decoration: none;
  z-index: 999; /* Keeps it layered above all standard content and footer layers */
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

/* SVG Arrow Sizing */
.page-up-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Hover Mechanics & Micro-interactions */
.page-up-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.5);
}

/* Subtly nudge the arrow graphic upwards on hover to simulate upward direction */
.page-up-btn:hover svg {
  transform: translateY(-2px);
}

/* Active press micro-interaction */
.page-up-btn:active {
  transform: translateY(-2px) scale(0.95);
}

/* ==========================================================================
   13. Responsive Positioning Modification
   ========================================================================== */
@media screen and (max-width: 768px) {
  .page-up-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
  }
  .page-up-btn svg {
    width: 18px;
    height: 18px;
  }
}
