/* Theme variables start */
:root {
  --header-offset: 110px;
  --background-color: #fff;
  --border-color: #007acc;
  --text-color: #000;
  --accent-color: #ff6000;
  --font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
    sans-serif;
  /* Cursor variables */
  --cursor-color: #ffc107;
  --cursor-size: 36px;
  --cursor-hotspot-x: 14px;
  --cursor-hotspot-y: 8px;
  --cursor-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-family: var(--font-family);
  background: #000000;
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Theme variables end */
/* Accessibility start */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 3000;
}

.skip-link:focus {
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

/* Accessibility end */
/* Page sections (SEO-friendly anchors) start */
.sticky-header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  padding: 0;
  z-index: 2000;
}
.vscode-window {
  position: relative;
  width: auto;
  min-width: 200px;
  max-width: 320px;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;

  margin: 0;
  cursor: pointer;
  transform: translateZ(0);
}

/* Page sections (SEO-friendly anchors) end */
/* Mini Title Bar start */
.mini-title-bar {
  height: 28px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.vscode-logo {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vscode-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.window-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.window-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.window-btn:hover {
  opacity: 0.8;
}

.window-btn.close {
  background: #ff0e00;
}
.window-btn.minimize {
  background: yellow;
}
.window-btn.maximize {
  background: green;
}

/* Mini Title Bar end */
/* Main Editor Area start */
.editor-main {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Main Editor Area end */
/* Code Area start */
.code-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.line-numbers-column {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0px;
  background: var(--background-color);
  padding: 0;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #858585;
  text-align: right;
  user-select: none;
  display: none;
}

.code-content {
  flex: 1;
  padding: 12px 8px 12px 8px;
  font-family: var(--font-family);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 50px;
  justify-content: center;
}

/* Code Area end */
/* Mini Status Bar start */
.mini-status-bar {
  height: 20px;
  background: var(--border-color);
  display: block;
  position: relative;
  font-family: var(--font-family);
  color: #ffffff;
  overflow: hidden;
}

.status-languages {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  animation: scrollLanguages 600s linear infinite;
  white-space: nowrap;
  left: 0;
}

.lang-item {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.1px;
  font-weight: 500;
  opacity: 1;
}

@keyframes scrollLanguages {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  100% {
    transform: translateY(-50%) translateX(-50%);
  }
}

.status-message {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
  transform: translateY(10px);
  transition: all 0.6s ease-out;
}

.status-message.visible {
  opacity: 0.95;
  transform: translateY(0);
}

.typing-line {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
}

.typed-text {
  letter-spacing: -0.01em;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background-color: currentColor;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0;
}

.cursor.visible {
  opacity: 1;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.bracket {
  font-weight: 700;
  font-size: 1rem;
  opacity: 1;
  margin: 0 1px;
}

.slash {
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.8;
}

/* Mini Status Bar end */
/* Click Ripple Effect start */
.click-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.92);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 45;
  box-shadow:
    0 0 18px rgba(0, 217, 255, 0.85),
    0 0 34px rgba(181, 55, 242, 0.55);
}

.click-ripple.active {
  animation: rippleEffect 1.6s ease-out;
}

@keyframes rippleEffect {
  0% {
    width: 20px;
    height: 20px;
    opacity: 0.8;
  }
  100% {
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

/* Click Ripple Effect end */
/* Sparkle Effect start */
.sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 55;
  color: rgba(181, 55, 242, 1);
  background: currentColor;
  box-shadow:
    0 0 10px rgba(181, 55, 242, 0.95),
    0 0 18px rgba(0, 217, 255, 0.55);
}

.sparkle.active {
  animation: sparkleEffect 0.8s ease-out;
}

@keyframes sparkleEffect {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  40% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--tx) * 2), calc(var(--ty) * 2)) scale(0);
  }
}

/* Sparkle Effect end */
/* Glow pulse when clicking start */
.editor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 217, 255, 0.55), rgba(0, 217, 255, 0) 60%),
    radial-gradient(circle at 50% 55%, rgba(181, 55, 242, 0.4), rgba(181, 55, 242, 0) 75%);
}

.editor-glow.active {
  animation: glowPulse 2.2s ease-out;
}

@keyframes glowPulse {
  0% {
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.vscode-window.cinematic-click {
  animation:
    pressSmooth 0.48s cubic-bezier(0.18, 0.9, 0.22, 1),
    windowCinematicClick 1.15s ease-out;
}

@keyframes pressSmooth {
  0% {
    transform: translateZ(0) scale(1);
  }
  60% {
    transform: translateZ(0) scale(0.93);
  }
  100% {
    transform: translateZ(0) scale(1);
  }
}

@keyframes windowCinematicClick {
  0% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  35% {
    box-shadow:
      0 0 26px rgba(0, 217, 255, 0.75),
      0 0 42px rgba(181, 55, 242, 0.65),
      0 0 90px rgba(0, 217, 255, 0.42),
      0 0 160px rgba(181, 55, 242, 0.38);
  }
  100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
}

/* Glow pulse when clicking end */
/* Click "flash" overlay (avoids filter so fixed-position cursor never jumps) start */
.vscode-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 6; /* above editor-glow (5) and below ripple/sparkles */
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 217, 255, 0.38), rgba(0, 217, 255, 0) 52%),
    radial-gradient(circle at 50% 45%, rgba(181, 55, 242, 0.28), rgba(181, 55, 242, 0) 70%),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 45%);
}

.vscode-window.cinematic-click::after {
  animation: clickFlash 1s ease-out;
}

@keyframes clickFlash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Click "flash" overlay (avoids filter so fixed-position cursor never jumps) end */
/* Contact Bar start */
.contact-bar {
  background: var(--border-color);
  padding: 4px 0;
  border: 1px solid #0052a3;
  border-radius: 14px 14px;
  width: calc(100% - 20px);
  margin: 0 auto;
}

.contact-bar-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.contact-bar-inner::-webkit-scrollbar {
  display: none;
}

.contact-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  white-space: nowrap;
  color: white;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: opacity 0.2s;
  cursor: pointer;
}

.contact-text-short {
  display: inline;
}

.contact-text-full {
  display: none;
}

.contact-link:hover {
  opacity: 0.8;
}

.contact-link.book-online-link {
  background: linear-gradient(135deg, #ff8a00, #ff6000);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255, 96, 0, 0.35);
}

.contact-link.book-online-link:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(255, 96, 0, 0.45);
}

/* Contact Bar end */
/* Tablet and below start */
@media (max-width: 1024px) {
  .contact-bar-inner {
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
  }

  .contact-link {
    gap: 6px;
    font-size: 0.875rem;
  }

  .contact-link svg {
    width: 14px;
    height: 14px;
  }

  .contact-text-short {
    display: inline;
  }

  .contact-text-full {
    display: none;
  }

  .contact-link.book-online-link {
    padding: 6px 9px;
  }
}

/* Tablet and below end */
/* Desktop and above (starts after tablet max-width to avoid overlap) start */
@media (min-width: 1024px) {
  .contact-bar-inner {
    justify-content: center;
    gap: 12px;
    overflow-x: hidden;
    padding: 0 12px;
  }

  .contact-link {
    gap: 6px;
    font-size: 0.9rem;
  }

  .contact-link svg {
    width: 14px;
    height: 14px;
  }

  .contact-text-short {
    display: none;
  }

  .contact-text-full {
    display: inline;
  }
}

/* Desktop and above (starts after tablet max-width to avoid overlap) end */
/* Main Nav start */
.main-nav {
  background: white;
  border: 1px solid rgba(0, 102, 204, 0.15);
  border-radius: 14px 14px;
  box-shadow: 0 8px 20px rgba(2, 25, 48, 0.12);
  width: calc(100% - 20px);
  margin: 6px auto 0;
}

.main-nav-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 4px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nav-menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 10px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.nav-link:hover {
  color: #0066cc;
  border-bottom-color: #0066cc;
}

.nav-link.active {
  color: #0066cc;
}

/* Main Nav end */
/* Services Dropdown start */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 16px 0;
  width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  columns: 2;
  column-gap: 0;
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-group-label {
  display: block;
  padding: 10px 20px 4px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: #007acc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  break-inside: avoid;
}

.dropdown-item {
  display: block;
  padding: 7px 20px 7px 28px;
  color: #333;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  break-inside: avoid;
}

.dropdown-item:hover {
  background: rgba(0, 102, 204, 0.08);
  color: #0066cc;
  padding-left: 32px;
}

.cta-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.cta-button {
  background: #0066cc;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
  white-space: nowrap;
}

.cta-button:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

/* Services Dropdown end */
/* Burger Menu start */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  z-index: 1001;
}

.burger-line {
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-line {
  background: #dc2626;
  height: 3.5px;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-panel {
  position: fixed;
  top: var(--header-height, 80px);
  left: -100%;
  width: auto;
  max-height: calc(100% - var(--header-height, 80px));
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  border-radius: 0 0 12px 0;
}

.mobile-menu-panel.active {
  left: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  color: #333;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  padding: 15px 10px;
  border-bottom: 1px solid #ddd;
  transition: all 0.2s;
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: #0066cc;
  padding-left: 20px;
}

.mobile-nav-link.active {
  color: #0066cc;
  font-weight: 600;
}

/* Burger Menu end */
/* Mobile Services Dropdown start */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ddd;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  border-bottom: none;
  text-align: left;
  cursor: pointer;
}

.mobile-dropdown-arrow {
  transition: transform 0.25s ease;
}

.mobile-dropdown.open .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  margin-top: 8px;
  border-left: 2px solid rgba(0, 102, 204, 0.3);
  max-height: 60vh;
  overflow-y: auto;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  display: flex;
}

.mobile-group-label {
  display: block;
  padding: 12px 16px 4px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: #007acc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-group-label:first-child {
  padding-top: 4px;
}

.mobile-dropdown-item {
  padding: 8px 16px;
  color: #555;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
  color: #0066cc;
  padding-left: 20px;
}

/* Mobile Services Dropdown end */
/* Header and Nav Responsive start */
@media (max-width: 1024px) {
  .vscode-window {
    width: auto;
    min-width: 180px;
    max-width: 300px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 1rem;
  }

  .main-nav-inner {
    gap: 5px;
    padding: 5px 10px;
  }

  .code-content {
    padding: 10px 6px 10px 6px;
    min-height: 45px;
  }

  .mini-status-bar {
    height: 18px;
  }
  .typing-line {
    font-size: 1.125rem;
  }
  .cta-button {
    padding: 10px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-bar-inner {
    padding: 0 10px;
    gap: 8px;
  }

  .contact-link {
    font-size: 0.8125rem;
  }

  /* Hide desktop menu, show burger */
  .nav-menu-wrapper {
    display: none;
  }

  .burger-menu {
    display: flex;
    flex: 0 0 auto;
    order: 2;
    padding: 10px 4px;
  }

  .main-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
  }

  .logo-section {
    flex: 1;
    order: 1;
    display: flex;
    justify-content: flex-start;
    overflow: visible;
  }

  .vscode-window {
    width: auto;
    min-width: 160px;
    max-width: 280px;
  }

  .code-content {
    padding: 8px 4px 8px 4px;
    min-height: 40px;
  }

  .mini-title-bar {
    height: 24px;
    padding: 0 6px;
  }

  .vscode-logo {
    width: 14px;
    height: 14px;
  }

  .window-btn {
    width: 8px;
    height: 8px;
  }

  .window-controls {
    gap: 4px;
  }

  .typing-line {
    font-size: 1rem;
  }

  .mini-status-bar {
    height: 16px;
    padding: 0 6px;
  }

  .cta-section {
    flex: 1;
    order: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
  }

  .cta-button {
    padding: 10px 12px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-section {
    display: none;
  }
  .burger-menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .main-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
  }

  .vscode-window {
    min-width: 160px;
    max-width: 280px;
  }

  .code-content {
    padding: 4px 4px 4px 4px;
    min-height: 35px;
  }

  .mini-title-bar {
    height: 20px;
    padding: 0 5px;
  }

  .vscode-logo {
    width: 12px;
    height: 12px;
  }

  .window-btn {
    width: 7px;
    height: 7px;
  }

  .window-controls {
    gap: 3px;
  }

  .mini-status-bar {
    height: 14px;
    padding: 0 5px;
  }

  .contact-link:not(.book-online-link) .contact-text-short,
  .contact-link:not(.book-online-link) .contact-text-full {
    display: none;
  }

  .contact-link.book-online-link span {
    display: inline;
  }

  .contact-link:not(.book-online-link) {
    gap: 0;
  }

  .contact-link.book-online-link {
    padding: 4px 8px;
    font-weight: 400;
  }
}

/* Header and Nav Responsive end */
/* Links used for the logo start */
.logo-link {
  text-decoration: none;
  display: block;
}

/* Links used for the logo end */
/* Typing colours start */
.typed-text {
  color: var(--text-color);
}

.cursor {
  color: var(--text-color);
  height: 1.125em;
}

.bracket,
.slash {
  color: var(--accent-color);
}

/* Typing colours end */
/* Reveal closing tags during the cinematic sequence start */
#closingSlash,
#closingBracket,
#footerClosingSlash,
#footerClosingBracket {
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    width 0.25s ease;
}

#closingSlash.is-revealed,
#footerClosingSlash.is-revealed {
  opacity: 0.8;
  width: auto;
}

#closingBracket.is-revealed,
#footerClosingBracket.is-revealed {
  opacity: 0.95;
  width: auto;
}

/* Reveal closing tags during the cinematic sequence end */
/* Handle scrolling via a class, not inline start */
.no-scroll {
  overflow: hidden;
}

/* Handle scrolling via a class, not inline end */
/* Scale brackets and slash relative to typing size start */
.bracket,
.slash {
  font-size: 1.25rem;
}

/* Scale brackets and slash relative to typing size end */
/* Fine-tune symbol alignment only inside logo typing rows start */
.vscode-window .typing-line .bracket,
.vscode-window .typing-line .slash {
  display: inline-block;
  line-height: 1;
  transform: translateY(-0.125em);
}

/* Fine-tune symbol alignment only inside logo typing rows end */
/* Responsive cursor sizes start */
@media (max-width: 1024px) {
  :root {
    --cursor-size: 32px;
    --cursor-hotspot-x: 12px;
    --cursor-hotspot-y: 7px;
  }
}

@media (max-width: 768px) {
  :root {
    --cursor-size: 28px;
    --cursor-hotspot-x: 10px;
    --cursor-hotspot-y: 6px;
  }
}

@media (max-width: 480px) {
  :root {
    --cursor-size: 24px;
    --cursor-hotspot-x: 9px;
    --cursor-hotspot-y: 5px;
  }
}

/* Responsive cursor sizes end */
/* Marketing site additions start */

.card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

/* Marketing site additions end */
/* Hand cursor container - FIXED POSITIONING (ROBUST: transform-only, no layout jank) start */
.hand-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size);
  height: var(--cursor-size);
  pointer-events: none;
  z-index: 9999;
  filter: drop-shadow(var(--cursor-shadow));
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

/* Hand cursor container - FIXED POSITIONING (ROBUST: transform-only, no layout jank) end */
/* Keep SVGs stable and swap cursor types via opacity (NO display:none/block) start */
.cursor-arrow,
.cursor-hand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block !important;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor-arrow {
  opacity: 1;
}

.hand-cursor.show-hand .cursor-arrow {
  opacity: 0;
}

.hand-cursor.show-hand .cursor-hand {
  opacity: 1;
}

/* Keep SVGs stable and swap cursor types via opacity (NO display:none/block) end */
/* SVG sizing start */
.cursor-svg,
.hand-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* SVG sizing end */
/* Optional: Add a click animation start */
@keyframes cursorClick {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Optional: Add a click animation end */
/* CINEMATIC HAND CURSOR ANIMATION - ROBUST (transform only) start */
.hand-cursor.cinematic-entry {
  animation: cinematicHandEntry 6s ease-in-out both;
}

/* CINEMATIC HAND CURSOR ANIMATION - ROBUST (transform only) end */
/* Same name as before so JS doesn't change start */
@keyframes cinematicHandEntry {
  0% {
    opacity: 0;
    transform: translate3d(var(--cursor-start-x), var(--cursor-start-y), 0);
  }
  5% {
    opacity: 1;
    transform: translate3d(var(--cursor-start-x), var(--cursor-start-y), 0);
  }
  20% {
    opacity: 1;
    transform: translate3d(calc(var(--cursor-start-x) - 40px), calc(var(--cursor-start-y) - 15px), 0);
  }
  35% {
    opacity: 1;
    transform: translate3d(calc(var(--logo-right-x) + 20px), var(--logo-center-y), 0);
  }
  45% {
    opacity: 1;
    transform: translate3d(var(--logo-right-x), var(--logo-center-y), 0);
  }
  48% {
    opacity: 1;
    transform: translate3d(calc(var(--logo-right-x) - 20px), var(--logo-center-y), 0);
  }
  55% {
    opacity: 1;
    transform: translate3d(var(--logo-center-x), var(--logo-center-y), 0);
  }
  72% {
    opacity: 1;
    transform: translate3d(var(--logo-center-x), var(--logo-center-y), 0);
  }
  80% {
    opacity: 0;
    transform: translate3d(var(--logo-center-x), var(--logo-center-y), 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--logo-center-x), var(--logo-center-y), 0);
  }
}
/* Same name as before so JS doesn't change end */
/* PAGE-WIDE BACKGROUND start */

#main {
  position: relative;
  background: transparent;
  padding-top: var(--header-height, var(--header-offset));
}

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.12) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: 0 0;
  z-index: 1;
}

.page-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 15s infinite ease-in-out;
  z-index: 2;
}

.page-orb.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.4), transparent);
  top: -100px;
  left: -100px;
}

.page-orb.orb2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 55, 242, 0.3), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.page-orb.orb3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 96, 0, 0.3), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

/* PAGE-WIDE BACKGROUND end */
/* HERO SECTION start */

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  z-index: 1;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.2);
  }
  66% {
    transform: translate(-80px, 80px) scale(0.9);
  }
}

/* HERO SECTION end */
/* Cube Section - holds cube with stats and badge start */
.cube-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 40px auto;
  z-index: 10;
  position: relative;
  max-width: 1100px;
  padding: 0 20px;
}

/* Cube Section - holds cube with stats and badge end */
/* Stats Side - Left start */
.stats-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.stat-item {
  text-align: center;
  padding: 15px 25px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(181, 55, 242, 0.05));
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  animation: floatUp 4s ease-in-out infinite;
}

.stat-item:nth-child(2) {
  animation-delay: 0.5s;
  border-color: rgba(181, 55, 242, 0.3);
}

.stat-item:nth-child(3) {
  animation-delay: 1s;
  border-color: rgba(255, 96, 0, 0.3);
}

.stat-number {
  display: block;
  font-family: var(--font-family);
  font-size: 2.625rem;
  font-weight: 700;
  color: #00d9ff;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
  line-height: 1;
}

.stat-item:nth-child(2) .stat-number {
  color: #b537f2;
  text-shadow: 0 0 20px rgba(181, 55, 242, 0.8);
}

.stat-item:nth-child(3) .stat-number {
  color: #ff6000;
  text-shadow: 0 0 20px rgba(255, 96, 0, 0.8);
}

.stat-number::after {
  content: "+";
  font-size: 1.75rem;
}

.stat-label {
  display: block;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Stats Side - Left end */
/* Badge Side - Right start */
.badge-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.floating-badge {
  text-align: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(181, 55, 242, 0.1));
  border: 2px solid rgba(0, 217, 255, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
  animation: floatUp 4s ease-in-out infinite;
  animation-delay: 0.3s;
}

.floating-badge.badge-alt {
  border-color: rgba(255, 96, 0, 0.4);
  box-shadow: 0 0 25px rgba(255, 96, 0, 0.3);
  animation-delay: 0.8s;
}

.badge-icon {
  display: block;
  font-size: 2.25rem;
  margin-bottom: 8px;
}

/* Badge Side - Right end */
/* Stars layout - single row start */
.badge-icon.stars-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1rem;
  line-height: 1;
}

.badge-text {
  display: block;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  color: #00d9ff;
  text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

.badge-alt .badge-text {
  color: #ff6000;
  text-shadow: 0 0 15px rgba(255, 96, 0, 0.6);
}

.badge-subtext {
  display: block;
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Stars layout - single row end */
/* 3D Cube container start */
.cube-container {
  position: relative;
  perspective: 1200px;
  z-index: 10;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
}

.cube {
  width: 260px;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 50s infinite linear;
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

.cube-face {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 3px solid;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  line-height: 1.4;
  box-shadow: inset 0 0 30px rgba(0, 217, 255, 0.01);
}

.cube-face.front {
  transform: translateZ(130px);
  border-color: rgba(0, 217, 255, 0.6);
  color: #00d9ff;
  text-shadow: 0 0 15px rgba(0, 217, 255, 1);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(130px);
  border-color: rgba(181, 55, 242, 0.6);
  color: #b537f2;
  text-shadow: 0 0 15px rgba(181, 55, 242, 1);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(130px);
  border-color: rgba(255, 96, 0, 0.6);
  color: #ff6000;
  text-shadow: 0 0 15px rgba(255, 96, 0, 1);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(130px);
  border-color: rgba(0, 217, 255, 0.6);
  color: #00d9ff;
  text-shadow: 0 0 15px rgba(0, 217, 255, 1);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(130px);
  border-color: rgba(181, 55, 242, 0.6);
  color: #b537f2;
  text-shadow: 0 0 15px rgba(181, 55, 242, 1);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(130px);
  border-color: rgba(255, 96, 0, 0.6);
  color: #ff6000;
  text-shadow: 0 0 15px rgba(255, 96, 0, 1);
}

/* 3D Cube container end */
/* Code Rain - Raining, Uprising, and Floating start */
#codeRain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.code-text {
  position: absolute;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
}

.code-falling {
  animation: codeFall 12s infinite linear;
}

.code-rising {
  animation: codeRise 15s infinite linear;
}

.code-floating {
  animation: codeFloat 20s infinite ease-in-out;
}

@keyframes codeFall {
  0% {
    top: -10%;
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

@keyframes codeRise {
  0% {
    bottom: -10%;
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    bottom: 110%;
    opacity: 0;
  }
}

@keyframes codeFloat {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  50% {
    transform: translate(var(--float-x), var(--float-y));
    opacity: 0.7;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translate(calc(var(--float-x) * 2), calc(var(--float-y) * 2));
    opacity: 0;
  }
}

/* Code Rain - Raining, Uprising, and Floating end */
/* Hero Content - AT THE TOP start */
.hero-content {
  max-width: 1200px;
  text-align: center;
  z-index: 20;
  position: relative;
  margin-top: 0;
  margin-bottom: 10px;
  min-height: 0;
}

.hero h1 {
  font-size: clamp(1.875rem, 6.5vw, 4rem);
  color: white;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 4px 14px rgba(0, 217, 255, 0.22);
  letter-spacing: 2px;
  animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.glitch {
  position: relative;
  display: inline-block;
  color: #ffffff;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #ffffff;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.56)) drop-shadow(0 0 12px rgba(0, 225, 255, 0.42))
    drop-shadow(0 0 22px rgba(0, 140, 255, 0.3));
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.92),
    0 0 6px rgba(255, 255, 255, 0.58),
    0 0 13px rgba(0, 232, 255, 0.42),
    0 0 24px rgba(0, 153, 255, 0.31),
    0 2px 7px rgba(0, 0, 0, 0.42);
  will-change: auto;
  animation: none !important;
}

.glitch::before,
.glitch::after {
  content: none;
  animation: none;
}

.hero .accent {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1rem, 3.6vw, 3.2rem);
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #00d9ff, #b537f2, #ff6000);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 15px;
  font-weight: 400;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: #00d9ff;
  margin-left: 5px;
  animation: heroBlink 0.7s infinite;
  vertical-align: middle;
  box-shadow: 0 0 10px #00d9ff;
}

@keyframes heroBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
  padding: 20px 50px;
  font-size: 1.1rem;
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #00d9ff, #007acc);
  color: white;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  box-shadow:
    0 0 40px rgba(0, 217, 255, 0.7),
    0 8px 30px rgba(0, 217, 255, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    0 0 60px rgba(0, 217, 255, 1),
    0 15px 40px rgba(0, 217, 255, 0.6);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.5);
  color: #00d9ff;
  border: 3px solid #00d9ff;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 30px rgba(0, 217, 255, 0.4),
    inset 0 0 20px rgba(0, 217, 255, 0.1);
}

.btn-secondary:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(0, 217, 255, 0.2);
  color: white;
  box-shadow:
    0 0 50px rgba(0, 217, 255, 0.9),
    0 15px 40px rgba(0, 217, 255, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cube-section {
    display: none;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    padding: 16px 32px;
  }

  .hero-content {
    padding: 0 20px;
  }
}

/* Hero Content - AT THE TOP end */
/* PAGE SECTIONS - SHARED start */

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-family);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 15px;
  text-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.section-subtitle {
  font-family: var(--font-family);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* PAGE SECTIONS - SHARED end */
/* SERVICES SECTION start */

.services-section {
  background: transparent;
  padding: 10px 0 100px 0;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(181, 55, 242, 0.05));
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 217, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.15);
}

.service-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-family);
  font-size: 1.1rem;
  color: #00d9ff;
  margin-bottom: 12px;
}

.service-card p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #00d9ff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.service-link:hover {
  border-bottom-color: #00d9ff;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-card-icon {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICES SECTION end */
/* PORTFOLIO SECTION start */

.portfolio-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-image {
  width: 100%;
  height: 100%;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(181, 55, 242, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-family: var(--font-family);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
}

.portfolio-overlay p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #00d9ff;
}

.portfolio-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* PORTFOLIO SECTION end */
/* WHY CHOOSE US SECTION start */

.why-us-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 35px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  background: rgba(0, 217, 255, 0.05);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-family: var(--font-family);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.benefit-card p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* WHY CHOOSE US SECTION end */
/* PROCESS SECTION start */

.process-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.process-step {
  flex: 1;
  max-width: 250px;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00d9ff, #007acc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.process-step h3 {
  font-family: var(--font-family);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

.process-step p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00d9ff, #b537f2);
  margin-top: 30px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, #00d9ff, #b537f2);
    margin: 10px 0;
  }

  .process-step {
    max-width: 300px;
  }
}

/* PROCESS SECTION end */
/* TESTIMONIALS SECTION start */

.testimonials-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 35px 30px;
}

.testimonial-stars {
  font-size: 1.2rem;
  color: #ffc107;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  margin: 0 0 25px;
}

.testimonial-card blockquote p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: #00d9ff;
}

.author-business {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* TESTIMONIALS SECTION end */
/* INDUSTRIES SECTION start */

.industries-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.industry-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: rgba(0, 122, 204, 0.4);
  background: rgba(0, 122, 204, 0.05);
}

.industry-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.industry-name {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.industries-cta {
  text-align: center;
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.industries-cta strong {
  color: rgba(255, 255, 255, 0.9);
}

.industries-cta a {
  color: #00d9ff;
  text-decoration: none;
}

.industries-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-card {
    padding: 14px 14px;
    gap: 10px;
  }

  .industry-icon {
    font-size: 1.2rem;
  }

  .industry-name {
    font-size: 1rem;
  }
}

/* INDUSTRIES SECTION end */
/* PRICING SECTION (Service Pages) start */

.pricing-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateY(-5px);
}

.pricing-featured {
  border-color: #00d9ff;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(181, 55, 242, 0.05));
  transform: scale(1.05);
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00d9ff, #007acc);
  color: #000;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-family: var(--font-family);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.pricing-price {
  margin-bottom: 30px;
}

.price-amount {
  font-family: var(--font-family);
  font-size: 3rem;
  font-weight: 700;
  color: #00d9ff;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.price-period {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 5px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.pricing-features li {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li::before {
  content: "✓";
  color: #00d9ff;
  margin-right: 10px;
}

.pricing-btn {
  width: 100%;
  margin-bottom: 15px;
}

.pricing-note {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-custom {
  text-align: center;
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-custom a {
  color: #00d9ff;
  text-decoration: none;
}

.pricing-custom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-5px);
  }
}

/* PRICING SECTION (Service Pages) end */
/* FAQ SECTION start */

.faq-section {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-item summary {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  padding: 20px 25px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: #00d9ff;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(0, 217, 255, 0.05);
}

.faq-answer {
  padding: 0 25px 25px;
}

.faq-answer p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* FAQ SECTION end */
/* QUOTE WIZARD start */
.quote-section {
  background: transparent;
  padding: 100px 0 60px;
  position: relative;
  z-index: 1;
}

#pricing {
  scroll-margin-top: calc(var(--header-height, var(--header-offset)) - 30px);
}

.quote-wizard {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* QUOTE WIZARD end */
/* Progress Steps start */
.wizard-progress {
  padding: 28px 32px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 68px;
  min-width: 0;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.progress-step.active .step-circle {
  background: #007acc;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.35);
}

.progress-step.completed .step-circle {
  background: #22c55e;
  color: #fff;
}

.step-label {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.2;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.progress-step.active .step-label {
  color: #007acc;
  font-weight: 600;
}

.progress-step.completed .step-label {
  color: #22c55e;
}

.progress-line {
  flex: 1 1 auto;
  min-width: 36px;
  max-width: 84px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 0 6px;
  margin-bottom: 22px;
  overflow: hidden;
}

.progress-line-fill {
  width: 0;
  height: 100%;
  background: #22c55e;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-line.filled .progress-line-fill {
  width: 100%;
}

/* Progress Steps end */
/* Wizard Body start */
.wizard-body {
  padding: 32px;
  min-height: 300px;
  position: relative;
}

.wizard-step {
  display: none;
  animation: wizardFadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step-title {
  font-family: var(--font-family);
  font-size: 1.15rem;
  color: #1e293b;
  margin: 0 0 24px;
  text-align: center;
}

/* Wizard Body end */
/* Service Cards (Step 1) start */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.category-card:hover {
  border-color: #007acc;
  box-shadow: 0 2px 12px rgba(0, 122, 204, 0.12);
}

.category-card.selected {
  border-color: #007acc;
  background: rgba(0, 122, 204, 0.04);
  box-shadow: 0 2px 12px rgba(0, 122, 204, 0.15);
}

.category-card-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.category-card-name {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
}

.category-card-desc {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #94a3b8;
}

/* Service Cards (Step 1) end */
/* Service Option Cards (Step 2) start */
.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #334155;
}

.service-option:hover {
  border-color: #007acc;
}

.service-option.selected {
  border-color: #007acc;
  background: rgba(0, 122, 204, 0.04);
}

.service-option-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Service Option Cards (Step 2) end */
/* Detail Questions (Step 3) start */
.detail-questions {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wizard-question {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-question label {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
}

.option-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-card {
  padding: 10px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #475569;
  transition: all 0.2s ease;
}

.option-card:hover {
  border-color: #007acc;
}

.option-card.selected {
  border-color: #007acc;
  background: #007acc;
  color: #fff;
}

/* Detail Questions (Step 3) end */
/* Contact Form (Step 4) start */
.wizard-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wizard-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wizard-form-group label {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
}

.wizard-form-group .form-required {
  color: #dc2626;
  font-weight: 700;
}

.wizard-form-group input,
.wizard-form-group select,
.wizard-form-group textarea {
  font-family: var(--font-family);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.2s;
}

.wizard-form-group input:focus,
.wizard-form-group select:focus,
.wizard-form-group textarea:focus {
  outline: none;
  border-color: #007acc;
}

.wizard-form-group select {
  cursor: pointer;
}

.wizard-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Contact Form (Step 4) end */
/* Thank You (Step 5) start */
.wizard-thankyou {
  text-align: center;
  padding: 20px 0;
}

.thankyou-icon {
  margin-bottom: 20px;
}

.wizard-thankyou h3 {
  font-family: var(--font-family);
  font-size: 1.5rem;
  color: #1e293b;
  margin: 0 0 12px;
}

.wizard-thankyou p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 16px;
}

.quote-summary {
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.quote-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-family: var(--font-family);
  font-size: 1rem;
}

.quote-summary-item:last-child {
  border-bottom: none;
}

.quote-summary-label {
  color: #64748b;
}

.quote-summary-value {
  color: #1e293b;
  font-weight: 600;
}

.thankyou-cta {
  font-size: 1rem !important;
}

.thankyou-cta a {
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
}

.thankyou-cta a:hover {
  text-decoration: underline;
}

/* Thank You (Step 5) end */
/* Wizard Navigation start */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 32px 28px;
  border-top: 1px solid #f1f5f9;
}

.wizard-btn {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-back {
  background: transparent;
  color: #64748b;
  border: 2px solid #e2e8f0;
}

.wizard-back:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.wizard-back.hidden {
  visibility: hidden;
}

.wizard-next {
  background: #007acc;
  color: #fff;
  margin-left: auto;
}

.wizard-next:hover {
  background: #0069b4;
}

.wizard-next:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.wizard-next.submit {
  background: #22c55e;
}

.wizard-next.submit:hover {
  background: #16a34a;
}

/* Wizard Navigation end */
/* Direct Contact Strip start */
.direct-contact {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.direct-contact p {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #94a3b8;
  margin: 0 0 16px;
}

.direct-contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.direct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #007acc;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.direct-link:hover {
  background: #f8fafc;
  border-color: #007acc;
}

/* Direct Contact Strip end */
/* Wizard Responsive start */
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .quote-wizard {
    border-radius: 12px;
  }

  .wizard-progress {
    padding: 20px 6px 14px;
  }

  .progress-steps {
    gap: 2px;
  }

  .progress-step {
    flex-basis: 58px;
  }

  .progress-line {
    min-width: 14px;
    max-width: 22px;
    margin: 0 2px;
  }

  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .step-label {
    font-size: 1rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .wizard-body {
    padding: 24px 20px;
    min-height: 250px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    padding: 16px 10px;
  }

  .service-options {
    grid-template-columns: 1fr;
  }

  .wizard-form-row {
    grid-template-columns: 1fr;
  }

  .wizard-nav {
    padding: 16px 20px 22px;
  }

  .wizard-btn {
    padding: 10px 24px;
    font-size: 1rem;
  }

  .option-cards {
    gap: 6px;
  }

  .option-card {
    padding: 8px 14px;
    font-size: 1rem;
  }

  .direct-link {
    padding: 10px 14px;
    font-size: 1rem;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .progress-line {
    display: none;
  }

  .progress-step {
    flex-basis: 55px;
  }

  .progress-steps {
    justify-content: space-around;
    gap: 6px;
  }
}

/* Wizard Responsive end */
/* FOOTER - Clean Simple Layout start */

.site-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 122, 204, 0.15);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* FOOTER - Clean Simple Layout end */
/* 4-column grid for larger screens, 2-column for medium start */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
}

/* 4-column grid for larger screens, 2-column for medium end */
/* Brand Column - everything centered start */
.footer-brand {
  text-align: center;
}

/* Brand Column - everything centered end */
/* Contact Column - prevent overflow from long email start */
.footer-contact {
  overflow: hidden;
  min-width: 0;
}

.footer-contact a {
  word-break: break-word;
  flex-wrap: wrap;
}

/* Contact Column - prevent overflow from long email end */
/* Logo wrapper - centered with table trick (most reliable) start */
.footer-logo-wrapper {
  position: relative;
  display: table;
  margin: 0 auto;
}

.footer-brand .vscode-window {
  display: block;
}

.footer-tagline {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #64748b;
  line-height: 1.8;
  margin: 20px 0 0 0;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  color: #64748b;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.social-icon:hover {
  background: var(--border-color);
  border-color: var(--border-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.25);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon[aria-disabled="true"],
.contact-icon[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Logo wrapper - centered with table trick (most reliable) end */
/* Footer cursor - absolute within wrapper start */
.footer-hand-cursor {
  position: absolute !important;
}

/* Footer cursor - absolute within wrapper end */
/* Links Columns start */
.footer-links,
.footer-contact {
  text-align: center;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  display: inline-block;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--border-color);
}

.footer-contact a svg,
.footer-location svg {
  flex-shrink: 0;
  color: var(--border-color);
}

.footer-location {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Links Columns end */
/* Contact Icons Row start */
.footer-contact-icons {
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-icon,
.contact-location {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  color: #64748b;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.contact-icon:hover {
  background: var(--border-color);
  border-color: var(--border-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 122, 204, 0.3);
}

.contact-icon svg,
.contact-location svg {
  width: 20px;
  height: 20px;
}

.contact-location {
  cursor: default;
  color: var(--border-color);
}

/* Contact Icons Row end */
/* Footer Bottom start */
.footer-bottom {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-family);
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--border-color);
}

/* Footer Bottom end */
/* Mobile: 1 column below 480px start */
@media (max-width: 480px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 1rem;
  }

  .footer-links a,
  .footer-contact a,
  .footer-location {
    font-size: 1rem;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .footer-legal a {
    font-size: 0.75rem;
  }
}

/* Mobile: 1 column below 480px end */
/* Service Page Header start */
.service-header {
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-logo {
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.service-logo:hover {
  color: #0066cc;
}

.service-logo .logo-bracket {
  color: #0066cc;
}

.service-logo .logo-slash {
  color: #0066cc;
}

/* Service Page Header end */
/* Service Hero start */
.service-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 50%, #f5f0ff 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.service-hero h1 {
  font-family: var(--font-family);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 20px;
  line-height: 1.2;
}

.service-hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: #555;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.service-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Service Hero end */
/* Service Features start */
.service-features {
  padding: 80px 0;
  background: white;
}

.service-features h2 {
  font-family: var(--font-family);
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 48px;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-feature-card {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 102, 204, 0.2);
}

.service-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-feature-card h3 {
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.service-feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Service Features end */
/* Service Why Choose Us start */
.service-why {
  padding: 80px 0;
  background: #f8fafc;
}

.service-why h2 {
  font-family: var(--font-family);
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 48px;
}

.service-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.service-why-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-why-card h3 {
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 600;
  color: #0066cc;
  margin: 0 0 12px;
}

.service-why-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Service Why Choose Us end */
/* Service CTA start */
.service-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
  text-align: center;
  color: white;
}

.service-cta h2 {
  font-family: var(--font-family);
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: white;
}

.service-cta p {
  font-size: 1.125rem;
  margin: 0 0 32px;
  opacity: 0.9;
}

.service-cta .btn-primary {
  background: white;
  color: #0066cc;
}

.service-cta .btn-primary:hover {
  background: #f0f0f0;
}

.service-cta .btn-secondary {
  border-color: white;
  color: white;
}

.service-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Service CTA end */
/* Service Footer start */
.service-footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 24px 0;
  text-align: center;
  font-size: 1rem;
}

.service-footer a {
  color: #0066cc;
  text-decoration: none;
}

.service-footer a:hover {
  color: #3399ff;
}

/* Service Footer end */
/* Service Section Responsive start */
@media (max-width: 768px) {
  .service-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-why-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 60px 0 40px;
  }

  .service-features,
  .service-why,
  .service-cta {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .service-header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .service-logo {
    font-size: 1rem;
  }
}

.wdn-code-showcase {
  width: min(560px, 100%);
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.wdn-lang-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.wdn-lang-chip {
  border: 1px solid rgba(134, 221, 255, 0.36);
  background: rgba(3, 30, 54, 0.72);
  color: #a8e3ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.wdn-lang-chip:hover {
  transform: translateY(-2px);
}

.wdn-lang-chip.active {
  color: #032540;
  background: linear-gradient(135deg, #bdefff, #63d4ff);
  border-color: rgba(190, 241, 255, 0.95);
  box-shadow: 0 10px 20px rgba(40, 158, 228, 0.35);
}

.wdn-tier {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.2;
}

.wdn-tier.required {
  color: #08314f;
  background: rgba(117, 224, 255, 0.92);
}

.wdn-tier.optional {
  color: #d7f1ff;
  background: rgba(19, 69, 108, 0.82);
}

.wdn-code-window {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(158, 228, 255, 0.34);
  background: rgba(2, 20, 38, 0.88);
  box-shadow:
    0 26px 46px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 178, 255, 0.2);
}

.wdn-code-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(133, 220, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.wdn-code-dots {
  display: flex;
  gap: 7px;
  order: 2;
}

.wdn-code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.wdn-code-file {
  color: #b7e8ff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.wdn-code-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 1;
}

.wdn-copy-btn {
  border: 1px solid rgba(122, 212, 255, 0.4);
  background: rgba(2, 33, 59, 0.76);
  color: #b7e8ff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.wdn-copy-btn:hover {
  transform: translateY(-1px);
  background: rgba(8, 54, 94, 0.8);
  border-color: rgba(166, 229, 255, 0.7);
}

.wdn-copy-btn.copied {
  background: rgba(20, 90, 135, 0.9);
  border-color: rgba(167, 236, 255, 0.9);
}

.wdn-code-stage {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(133, 220, 255, 0.16);
  color: #9fdefd;
  font-family: var(--font-family);
  font-size: 1rem;
  letter-spacing: 0.03em;
  background: rgba(1, 28, 50, 0.5);
}

.wdn-code-pre {
  margin: 0;
  min-height: 300px;
  max-height: 360px;
  overflow-y: auto;
  padding: 18px 18px 22px;
  font-size: 1rem;
  line-height: 1.58;
  white-space: pre-wrap;
  color: #d7f4ff;
  font-family: "Fira Code", "Consolas", monospace;
}

.wdn-code-cursor {
  display: inline-block;
  width: 10px;
  height: 1.05em;
  margin-left: 2px;
  transform: translateY(2px);
  background: #71d7ff;
  animation: wdnCodeBlink 0.9s steps(1, end) infinite;
}

@keyframes wdnCodeBlink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

@keyframes wdnFlow {
  from {
    background-position: 0% center;
  }
  to {
    background-position: 220% center;
  }
}

@media (max-width: 760px) {
  .wdn-code-pre {
    min-height: 240px;
    font-size: 1rem;
    line-height: 1.52;
  }
}

@media (max-width: 560px) {
  .wdn-right {
    min-height: 340px;
  }

  .wdn-lang-chip {
    font-size: 1rem;
    padding: 6px 10px;
  }

  .wdn-code-pre {
    min-height: 210px;
    padding: 14px 14px 18px;
  }
}

/* Service Section Responsive end */
/* Cube Builder Hero Overrides start */

.wdn-shell {
  width: min(1240px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.wdn-code-showcase,
.wdn-build-area {
  width: min(560px, 100%);
  min-height: 500px;
  height: 500px;
  box-sizing: border-box;
}

.wdn-code-showcase {
  margin-top: 0;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid rgba(0, 217, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(181, 55, 242, 0.05));
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.22);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    filter 0.45s ease;
}

.wdn-code-showcase .wdn-code-window {
  height: calc(100% - 50px);
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.wdn-code-showcase .wdn-code-pre {
  min-height: 0;
  max-height: none;
  height: 100%;
}

.wdn-right {
  min-height: 520px;
  display: grid;
  justify-items: center;
  align-items: start;
}

.wdn-build-area {
  border-radius: 12px;
  border: 2px solid rgba(181, 55, 242, 0.3);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(181, 55, 242, 0.05));
  box-shadow:
    0 0 24px rgba(181, 55, 242, 0.22),
    inset 0 0 0 1px rgba(0, 178, 255, 0.14);
  display: grid;
  place-items: center;
  padding: 16px;
  position: relative;
  backdrop-filter: blur(10px);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.wdn-build-layout {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.wdn-cube-small {
  width: 170px;
  height: 170px;
}

.wdn-cube-small .cube {
  width: 170px;
  height: 170px;
}

.wdn-cube-small .cube-face {
  width: 170px;
  height: 170px;
  font-size: 1rem;
  padding: 10px;
  border-width: 2px;
}

.wdn-cube-small .cube-face.front {
  transform: translateZ(85px);
}

.wdn-cube-small .cube-face.back {
  transform: rotateY(180deg) translateZ(85px);
}

.wdn-cube-small .cube-face.right {
  transform: rotateY(90deg) translateZ(85px);
}

.wdn-cube-small .cube-face.left {
  transform: rotateY(-90deg) translateZ(85px);
}

.wdn-cube-small .cube-face.top {
  transform: rotateX(90deg) translateZ(85px);
}

.wdn-cube-small .cube-face.bottom {
  transform: rotateX(-90deg) translateZ(85px);
}

.wdn-side {
  gap: 10px;
}

.wdn-build-area .stat-item {
  padding: 8px 10px;
}

.wdn-build-area .stat-number {
  font-size: 1.5rem;
}

.wdn-build-area .stat-number::after {
  font-size: 1rem;
}

.wdn-build-area .stat-label {
  font-size: 1rem;
}

.wdn-build-area .floating-badge {
  padding: 10px 11px;
}

.wdn-build-area .badge-icon {
  font-size: 1.5rem;
}

.wdn-build-area .badge-icon.stars-grid {
  font-size: 1rem;
}

.wdn-build-area .badge-text {
  font-size: 1rem;
}

.wdn-build-area .badge-subtext {
  font-size: 1rem;
}

.wdn-build-node {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  filter: blur(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.wdn-build-node.is-built-node {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.wdn-build-area::before {
  content: none;
}

.wdn-build-label {
  position: absolute;
  top: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-family);
}

.wdn-build-cube {
  animation: none;
}

.wdn-build-cube.is-step-focus {
  transform: scale(1.03);
  transition: transform 0.2s ease;
}

.wdn-build-cube.is-complete {
  animation: rotateCube 50s infinite linear;
}

.wdn-build-cube .cube-face {
  opacity: 0;
  filter: blur(6px);
  clip-path: inset(50% 50% 50% 50%);
  transform-origin: center;
  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    box-shadow 0.45s ease,
    clip-path 0.45s ease;
}

.wdn-build-cube .cube-face.is-built {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
}

.wdn-build-cube .cube-face.is-building {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0);
  box-shadow:
    inset 0 0 35px rgba(0, 217, 255, 0.25),
    0 0 20px rgba(0, 217, 255, 0.45);
  animation: wdnFaceReveal 0.9s ease-out;
}

.wdn-build-cube .cube-face.is-focus {
  box-shadow:
    inset 0 0 45px rgba(255, 255, 255, 0.2),
    0 0 28px rgba(0, 217, 255, 0.7);
}

.wdn-build-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(8, 43, 71, 0.82);
  border: 1px solid rgba(123, 214, 250, 0.26);
  overflow: hidden;
}

.wdn-build-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #52d5ff, #00a1ff);
  box-shadow: 0 0 16px rgba(0, 178, 255, 0.6);
  transition: width 0.35s ease;
}

.wdn-build-area.phase-cyan {
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow:
    0 0 24px rgba(0, 217, 255, 0.22),
    inset 0 0 0 1px rgba(0, 178, 255, 0.14);
}

.wdn-build-area.phase-cyan .wdn-build-progress span {
  background: linear-gradient(90deg, #52d5ff, #00a1ff);
  box-shadow: 0 0 16px rgba(0, 178, 255, 0.6);
}

.wdn-build-area.phase-purple {
  border-color: rgba(181, 55, 242, 0.35);
  box-shadow:
    0 0 24px rgba(181, 55, 242, 0.24),
    inset 0 0 0 1px rgba(181, 55, 242, 0.16);
}

.wdn-build-area.phase-purple .wdn-build-progress span {
  background: linear-gradient(90deg, #d17cff, #b537f2);
  box-shadow: 0 0 16px rgba(181, 55, 242, 0.6);
}

.wdn-build-area.phase-orange {
  border-color: rgba(255, 96, 0, 0.38);
  box-shadow:
    0 0 24px rgba(255, 96, 0, 0.24),
    inset 0 0 0 1px rgba(255, 96, 0, 0.16);
}

.wdn-build-area.phase-orange .wdn-build-progress span {
  background: linear-gradient(90deg, #ff9a56, #ff6000);
  box-shadow: 0 0 16px rgba(255, 96, 0, 0.6);
}

.wdn-build-area.is-cinematic {
  box-shadow:
    0 0 18px rgba(0, 217, 255, 0.2),
    0 0 26px rgba(181, 55, 242, 0.2),
    inset 0 0 0 1px rgba(0, 178, 255, 0.14);
}

@keyframes wdnFaceReveal {
  0% {
    opacity: 0.15;
    clip-path: inset(48% 48% 48% 48%);
  }
  50% {
    opacity: 1;
    clip-path: inset(8% 8% 8% 8%);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 1020px) {
  .wdn-lang-slider {
    justify-content: center;
  }

  .wdn-shell {
    grid-template-columns: 1fr;
  }

  .wdn-code-showcase {
    order: 1;
  }

  .wdn-right {
    order: 2;
    min-height: 440px;
  }

  .wdn-code-showcase,
  .wdn-build-area {
    height: 420px;
    min-height: 420px;
  }

  .wdn-build-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .wdn-stats,
  .wdn-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .wdn-code-showcase,
  .wdn-build-area {
    height: 360px;
    min-height: 360px;
  }

  .wdn-cube-small {
    width: 130px;
    height: 130px;
  }

  .wdn-cube-small .cube {
    width: 130px;
    height: 130px;
  }

  .wdn-cube-small .cube-face {
    width: 130px;
    height: 130px;
    font-size: 1rem;
    padding: 7px;
  }

  .wdn-cube-small .cube-face.front {
    transform: translateZ(65px);
  }

  .wdn-cube-small .cube-face.back {
    transform: rotateY(180deg) translateZ(65px);
  }

  .wdn-cube-small .cube-face.right {
    transform: rotateY(90deg) translateZ(65px);
  }

  .wdn-cube-small .cube-face.left {
    transform: rotateY(-90deg) translateZ(65px);
  }

  .wdn-cube-small .cube-face.top {
    transform: rotateX(90deg) translateZ(65px);
  }

  .wdn-cube-small .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(65px);
  }

  .wdn-build-area .stat-item,
  .wdn-build-area .floating-badge {
    padding: 7px 8px;
  }

  .wdn-build-area .stat-number {
    font-size: 1.25rem;
  }

  .wdn-build-area .stat-label,
  .wdn-build-area .badge-subtext {
    font-size: 1rem;
  }

  .wdn-build-area .badge-text {
    font-size: 1rem;
  }
}

/* Cube Builder Hero Overrides end */
/* Disable floating motion in the builder hero start */
.wdn-code-showcase,
.wdn-build-area,
.wdn-build-area .stat-item,
.wdn-build-area .floating-badge {
  animation: none !important;
}

/* Disable floating motion in the builder hero end */
/* Re-enable subtle floating for side items around cube start */
.wdn-build-area .wdn-stats .stat-item,
.wdn-build-area .wdn-badges .floating-badge {
  animation: floatUp 4.2s ease-in-out infinite !important;
}

.wdn-build-area .wdn-stats .stat-item:nth-child(2) {
  animation-delay: 0.4s !important;
}

.wdn-build-area .wdn-stats .stat-item:nth-child(3) {
  animation-delay: 0.8s !important;
}

.wdn-build-area .wdn-badges .floating-badge {
  animation-delay: 0.35s !important;
}

.wdn-build-area .wdn-badges .floating-badge.badge-alt {
  animation-delay: 0.75s !important;
}

/* Re-enable subtle floating for side items around cube end */
/* Keep hero panels transparent so code-rain background is visible start */
.wdn-code-showcase,
.wdn-build-area {
  background: rgba(3, 18, 32, 0.18) !important;
  backdrop-filter: none !important;
}

.wdn-code-showcase .wdn-code-window {
  background: rgba(2, 20, 38, 0.6) !important;
}

/* Keep hero panels transparent so code-rain background is visible end */
/* Web-design pricing guide and estimator start */
.wdn-pricing-section {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.wdn-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.wdn-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wdn-tech-card {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
  text-align: left;
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.wdn-tech-card strong {
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.35;
}

.wdn-tech-card span {
  color: #475569;
  font-size: 1rem;
}

.wdn-tech-card:hover {
  border-color: #60a5fa;
  transform: translateY(-1px);
}

.wdn-tech-card.active {
  border-color: #007acc;
  box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.18);
  background: #f8fcff;
}

.wdn-price-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.wdn-price-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
}

.wdn-price-value {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #66dcff;
}

.wdn-price-value span {
  font-size: 1rem;
  font-weight: 600;
  color: #b9e8ff;
}

.wdn-price-card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.wdn-estimator {
  margin-top: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
}

.wdn-estimator h3 {
  margin: 0 0 12px;
  color: #0f172a;
}

.wdn-estimator .wizard-step-title {
  margin: 0 0 8px;
  text-align: left;
  font-size: 1.05rem;
}

.wdn-step-help {
  margin: 0 0 14px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.5;
}

.wdn-estimator-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.wdn-estimator-row label {
  color: #334155;
}

.wdn-estimator-row input[type="number"] {
  width: 100px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  padding: 8px 10px;
}

.wdn-estimator-row select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  padding: 8px 10px;
}

.wdn-estimator-addons {
  border: 1px solid rgba(0, 217, 255, 0.22);
  border-radius: 10px;
  padding: 10px;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.wdn-estimator-addons legend {
  padding: 0 6px;
  color: #0f172a;
  font-weight: 700;
}

.wdn-estimator-addons label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #334155;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.wdn-so-far {
  margin-top: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px 12px;
}

.wdn-so-far-heading {
  margin: 0 0 8px;
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
}

.wdn-so-far-lines {
  display: grid;
  gap: 6px;
}

.wdn-so-far-row {
  margin: 0;
  color: #334155;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 1rem;
}

.wdn-so-far-row span {
  color: #475569;
}

.wdn-so-far-row strong {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

.wdn-so-far-total {
  margin-top: 10px !important;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  justify-content: space-between;
  color: #0f172a;
}

.wdn-hosting-note {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
}

.wdn-live-estimate {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 20px));
  max-width: 980px;
  z-index: 2147483647;
  border: 1px solid #0ea5e9;
  border-radius: 12px;
  background: #04172b;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  overflow: hidden;
  opacity: 1;
  mix-blend-mode: normal;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body > .wdn-live-estimate {
  position: fixed !important;
  z-index: 2147483647 !important;
}

body.wdn-live-estimate-visible {
  padding-bottom: 96px;
}

.wdn-live-estimate:not(.is-visible) {
  display: none;
}

.wdn-live-line,
.wdn-live-total {
  margin: 0;
  color: #d8f4ff;
  text-shadow: none;
  animation: none;
  font-size: 1rem;
  line-height: 1.4;
}

.wdn-live-total strong {
  color: #6fe4ff;
}

.wdn-estimate-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(0, 12, 24, 0.5);
}

.wdn-estimate-total span {
  color: #bdeeff;
  font-weight: 700;
}

.wdn-estimate-total strong {
  font-size: 1.6rem;
  line-height: 1;
  color: #79e2ff;
}

.wdn-estimate-breakdown {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
}

.wdn-estimate-breakdown p {
  margin: 0;
  color: #334155;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.wdn-estimate-note {
  margin: 10px 0 0;
  color: #475569;
}

@media (max-width: 980px) {
  .wdn-pricing-grid {
    grid-template-columns: 1fr;
  }

  .wdn-tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wdn-pricing-section {
    padding: 20px 0;
  }

  .wdn-estimator {
    padding: 14px;
  }

  .wdn-estimator-row {
    grid-template-columns: 1fr;
  }

  .wdn-estimator-row input[type="number"] {
    width: 100%;
  }

  .wdn-estimate-total strong {
    font-size: 1.3rem;
  }

  .wdn-live-estimate {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    bottom: 8px;
    padding: 10px 12px;
  }

  body.wdn-live-estimate-visible {
    padding-bottom: 124px;
  }
}

/* Web-design pricing guide and estimator end */
/* Keep layout content below the absolute build label start */
.wdn-build-area {
  padding-top: 52px !important;
}

.wdn-build-layout {
  margin-top: 6px;
}

/* Keep layout content below the absolute build label end */
/* Mobile safety: prevent horizontal clipping in web-design hero start */
@media (max-width: 768px) {
  .wdn-shell {
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }

  .wdn-code-showcase,
  .wdn-build-area,
  .wdn-code-window {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .wdn-code-head {
    gap: 8px;
  }

  .wdn-code-meta {
    min-width: 0;
    gap: 6px;
    flex: 1 1 auto;
  }

  .wdn-code-file {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wdn-lang-chip {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    width: 100%;
  }

  .wdn-code-pre {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-height: 180px !important;
    min-height: 180px !important;
    padding: 10px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 420px) {
  .wdn-code-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .wdn-code-dots {
    margin-left: auto;
  }

  .wdn-copy-btn {
    padding: 4px 8px;
  }

  .wdn-code-showcase,
  .wdn-build-area {
    height: auto !important;
    min-height: 260px !important;
  }

  .wdn-build-area {
    padding-top: 56px !important;
  }

  .wdn-code-pre {
    max-height: 140px !important;
    min-height: 140px !important;
  }
}

/* Mobile safety: prevent horizontal clipping in web-design hero end */
/* Keyboard accessibility: strong visible focus ring start */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #00d9ff !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.2);
}

/* Keyboard accessibility: strong visible focus ring end */
/* Motion accessibility start */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Motion accessibility end */