/**
 * LeapsGo Design System - Section Layouts & Components
 */

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.lg-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--lg-transition-normal);
}

.lg-header.scrolled {
  padding: 0.75rem 0;
  background-color: var(--lg-bg-glass-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lg-border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo */
.lg-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-decoration: none;
}

.lg-logo-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--lg-radius-sm);
  background: linear-gradient(135deg, var(--lg-primary) 0%, #ff7300 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--lg-primary-glow);
  color: #ffffff;
}

.lg-logo-mark svg {
  width: 1.4rem;
  height: 1.4rem;
}

.lg-logo span {
  color: var(--lg-primary);
}

/* Floating Center Navigation Pill */
.lg-nav-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-pill);
  padding: 0.35rem 0.5rem;
}

.lg-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b0b7c3;
  padding: 0.6rem 1.25rem;
  border-radius: var(--lg-radius-pill);
  transition: all var(--lg-transition-fast);
}

.lg-nav-link:hover, .lg-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Header Actions */
.lg-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger Trigger */
.lg-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--lg-border-subtle);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color var(--lg-transition-fast);
}

.lg-hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lg-hamburger svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Mobile Drawer */
.lg-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: min(380px, 100vw);
  height: 100vh;
  background-color: #0b0e14;
  border-left: 1px solid var(--lg-border-strong);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  visibility: hidden;
  pointer-events: none;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.lg-mobile-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

.lg-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lg-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.lg-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.lg-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lg-border-subtle);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lg-drawer-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color var(--lg-transition-fast), transform var(--lg-transition-fast);
}

.lg-drawer-link:hover {
  color: var(--lg-primary);
  transform: translateX(6px);
}

@media (max-width: 991px) {
  .lg-nav-pill {
    display: none;
  }
  .lg-hamburger {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .lg-header-actions .lg-btn {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.lg-hero {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 20%, rgba(255, 69, 0, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(20, 24, 34, 0.8) 0%, transparent 50%),
              transparent;
}

.lg-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--lg-space-3xl);
  position: relative;
  z-index: 2;
}

.lg-hero-content {
  position: relative;
}

.lg-hero-title {
  margin-bottom: var(--lg-space-lg);
}

.lg-hero-copy {
  margin-bottom: var(--lg-space-2xl);
  max-width: 580px;
}

.lg-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: var(--lg-space-3xl);
}

/* Right-Side Rail: The 4 Pillars (Signature Pattern from Reference) */
.lg-hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--lg-border-subtle);
  padding-top: var(--lg-space-xl);
  max-width: 520px;
}

.lg-hero-pillar-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--lg-border-subtle);
  transition: all var(--lg-transition-fast);
}

.lg-hero-pillar-item:hover {
  border-bottom-color: var(--lg-primary);
  padding-left: 0.5rem;
}

.lg-pillar-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lg-primary);
  letter-spacing: 0.05em;
  margin-right: 0.75rem;
}

.lg-pillar-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.lg-pillar-desc {
  font-size: 0.875rem;
  color: var(--lg-text-muted);
}

/* Hero Visual & 3D Artwork Backdrop */
.lg-hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-hero-artwork-frame {
  position: relative;
  width: 100%;
  border-radius: var(--lg-radius-card);
  overflow: hidden;
  border: 1px solid var(--lg-border-subtle);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 40px -10px var(--lg-primary-glow);
}

.lg-hero-artwork-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--lg-transition-smooth);
}

.lg-hero-artwork-frame:hover img {
  transform: scale(1.03);
}

/* Hero Floating Metric Card Positioning */
.lg-hero .lg-floating-card {
  bottom: -2rem;
  left: -2rem;
}

@media (max-width: 1024px) {
  .lg-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--lg-space-2xl);
  }
  .lg-hero .lg-floating-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .lg-hero {
    min-height: auto;
    padding-top: clamp(6.5rem, 16vw, 8rem);
    padding-bottom: 3rem;
  }
  .lg-hero-title {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    word-break: break-word;
  }
  .lg-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .lg-hero-actions .lg-btn {
    width: 100%;
    justify-content: center;
  }
  .lg-hero-pillar-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .lg-pillar-desc {
    font-size: 0.825rem;
  }
}

/* ==========================================================================
   Core Value Pillars (3-Column Island)
   ========================================================================== */

.lg-pillars-island {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
}

.lg-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg-space-xl);
}

.lg-pillar-col {
  padding: 0 var(--lg-space-md);
  border-right: 1px solid var(--lg-border-subtle);
}

.lg-pillar-col:last-child {
  border-right: none;
}

.lg-pillar-col .lg-service-icon-box {
  margin-bottom: var(--lg-space-lg);
}

.lg-pillar-col h3 {
  margin-bottom: var(--lg-space-sm);
}

@media (max-width: 900px) {
  .lg-pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--lg-space-xl);
  }
  .lg-pillar-col {
    border-right: none;
    border-bottom: 1px solid var(--lg-border-subtle);
    padding-bottom: var(--lg-space-xl);
    padding-left: 0;
    padding-right: 0;
  }
  .lg-pillar-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.lg-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--lg-space-3xl);
  align-items: center;
}

.lg-about-visuals {
  position: relative;
  width: 100%;
}

.lg-about-composition {
  position: relative;
  width: 100%;
  padding: 1rem 1rem 2rem 1rem;
}

/* Atmospheric Ambient Glow behind About Visual */
.lg-about-glow {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.18) 0%, rgba(34, 53, 84, 0.22) 55%, transparent 75%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 7s ease-in-out infinite alternate;
}

/* Geometric Tech Crosshairs */
.lg-about-crosshair {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 3;
}

.lg-about-crosshair::before,
.lg-about-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.28);
}

.lg-about-crosshair.top-left {
  top: 0.25rem;
  left: 0.25rem;
}
.lg-about-crosshair.top-left::before { top: 0; left: 0; width: 14px; height: 1.5px; }
.lg-about-crosshair.top-left::after { top: 0; left: 0; width: 1.5px; height: 14px; }

.lg-about-crosshair.top-right {
  top: 0.25rem;
  right: 0.25rem;
}
.lg-about-crosshair.top-right::before { top: 0; right: 0; width: 14px; height: 1.5px; }
.lg-about-crosshair.top-right::after { top: 0; right: 0; width: 1.5px; height: 14px; }

.lg-about-crosshair.bottom-left {
  bottom: 1.25rem;
  left: 0.25rem;
}
.lg-about-crosshair.bottom-left::before { bottom: 0; left: 0; width: 14px; height: 1.5px; }
.lg-about-crosshair.bottom-left::after { bottom: 0; left: 0; width: 1.5px; height: 14px; }

/* Main Image Frame */
.lg-about-frame {
  position: relative;
  border-radius: var(--lg-radius-island);
  overflow: hidden;
  border: 1px solid var(--lg-border-subtle);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 30px -10px var(--lg-primary-glow);
  z-index: 1;
}

.lg-about-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.05) 0%, rgba(7, 9, 14, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.lg-about-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Concentric Orbit Rings */
.lg-about-orbit-rings {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 110px;
  height: 110px;
  pointer-events: none;
  z-index: 0;
}

.lg-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.lg-orbit-ring.ring-1 {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spinSlow 30s linear infinite;
}

.lg-orbit-ring.ring-2 {
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 1px solid rgba(255, 69, 0, 0.18);
  animation: spinSlow 20s linear infinite reverse;
}

/* Decorative Geometric Starburst */
.lg-about-starburst {
  position: absolute;
  bottom: 0.75rem;
  left: -0.25rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.3) 0%, rgba(7, 9, 14, 0.85) 70%);
  border: 1px solid rgba(255, 69, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--lg-primary);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--lg-primary-glow);
}

.lg-starburst-inner {
  animation: spinSlow 24s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-about-starburst svg {
  width: 3.75rem;
  height: 3.75rem;
}

/* Floating Glass Stat Counterbalance Badge */
.lg-about-floating-stat {
  position: absolute;
  bottom: 0.5rem;
  right: 0rem;
  background: rgba(14, 18, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--lg-radius-lg);
  padding: 1.15rem 1.4rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 25px -5px rgba(255, 69, 0, 0.2);
  z-index: 2;
  max-width: 290px;
  transition: transform var(--lg-transition-normal), border-color var(--lg-transition-normal);
  animation: floatSubtle 7s ease-in-out infinite;
}

.lg-about-floating-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 69, 0, 0.45);
}

.lg-floating-stat-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lg-primary);
  margin-bottom: 0.35rem;
}

.lg-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lg-primary);
  box-shadow: 0 0 8px var(--lg-primary);
  animation: pulseDot 2s ease-in-out infinite;
}

.lg-floating-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.lg-floating-stat-label {
  font-size: 0.8125rem;
  color: var(--lg-text-muted);
  margin-top: 0.2rem;
  line-height: 1.35;
}

.lg-about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: var(--lg-space-2xl) 0;
  border-top: 1px solid var(--lg-border-subtle);
  padding-top: var(--lg-space-xl);
}

.lg-principle-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-md);
  padding: 1.25rem;
}

.lg-principle-card h3,
.lg-principle-card h4 {
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.lg-principle-card p {
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .lg-about-grid {
    grid-template-columns: 1fr;
    gap: var(--lg-space-2xl);
  }
  .lg-about-frame img {
    height: 380px;
  }
}

/* ==========================================================================
   The 6 Primary Service Categories Showcase
   ========================================================================== */

.lg-services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--lg-space-3xl) auto;
}

.lg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lg-service-card-title {
  margin-bottom: var(--lg-space-sm);
  color: #ffffff;
}

.lg-service-deliverables {
  list-style: none;
  margin: var(--lg-space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.lg-service-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: #c0c6d2;
}

.lg-service-deliverables li svg {
  width: 1rem;
  height: 1rem;
  color: var(--lg-primary);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .lg-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .lg-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Featured Solutions / Work Showcase
   ========================================================================== */

.lg-work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--lg-space-3xl);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.lg-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .lg-work-grid {
    grid-template-columns: 1fr;
  }
}

.lg-work-card {
  background-color: var(--lg-bg-card);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-card);
  overflow: hidden;
  transition: all var(--lg-transition-normal);
  display: flex;
  flex-direction: column;
}

.lg-work-card:hover {
  border-color: var(--lg-border-active);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.9);
}

.lg-work-media {
  position: relative;
  overflow: hidden;
  background-color: #0b0e14;
}

.lg-work-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--lg-transition-smooth);
}

.lg-work-card:hover .lg-work-media img {
  transform: scale(1.04);
}

.lg-work-body {
  padding: var(--lg-space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lg-work-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .lg-work-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Dual Slanted Marquee Ribbons (Signature Momentum Pattern)
   ========================================================================== */

.lg-marquee-section {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  contain: paint;
  padding: 4.5rem 0;
  margin: var(--lg-space-3xl) 0;
}

.lg-marquee-wrapper {
  position: relative;
  width: 120vw;
  margin-left: -10vw;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .lg-marquee-section {
    padding: 2.5rem 0;
    margin: var(--lg-space-xl) 0;
  }
  .lg-marquee-wrapper {
    width: 140vw;
    margin-left: -20vw;
    gap: 1rem;
  }
  .lg-marquee-item {
    font-size: 1.15rem;
    gap: 1rem;
  }
  .lg-marquee-ribbon-dark {
    padding: 0.85rem 0;
  }
  .lg-marquee-ribbon-orange {
    padding: 0.95rem 0;
    margin-top: -1.25rem;
  }
}

/* Top Dark Ribbon */
.lg-marquee-ribbon-dark {
  background-color: #12161f;
  border-top: 1px solid var(--lg-border-subtle);
  border-bottom: 1px solid var(--lg-border-subtle);
  transform: rotate(-2.5deg);
  padding: 1.25rem 0;
  display: flex;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Bottom Orange Ribbon */
.lg-marquee-ribbon-orange {
  background: linear-gradient(90deg, #ff4500 0%, #ff5d1a 100%);
  transform: rotate(2deg);
  padding: 1.35rem 0;
  display: flex;
  overflow: hidden;
  user-select: none;
  margin-top: -1.75rem;
  box-shadow: 0 20px 40px var(--lg-primary-glow);
}

.lg-marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}

.lg-marquee-track.reverse {
  animation: marqueeScrollReverse 25s linear infinite;
}

.lg-marquee-item {
  font-size: 1.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lg-marquee-ribbon-dark .lg-marquee-item {
  color: #ffffff;
}

.lg-marquee-ribbon-orange .lg-marquee-item {
  color: #ffffff;
}

.lg-marquee-item::after {
  content: '✦';
  font-size: 1.2rem;
  opacity: 0.7;
}

/* ==========================================================================
   The LeapsGo Workflow: 5 Steps Forward
   ========================================================================== */

/* Connector Rail between "WORK PROCESS" Heading and Steps */
.lg-process-connector-rail {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto clamp(2rem, 3.5vw, 3rem) auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lg-process-connector-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.lg-process-connector-beam {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, transparent, var(--lg-primary), #ffffff);
  box-shadow: 0 0 12px var(--lg-primary-glow);
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.5s ease;
  border-radius: 2px;
}

.lg-process-connector-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lg-text-muted);
}

.lg-process-connector-tags span {
  transition: color 0.4s ease, transform 0.4s ease;
}

.lg-process-connector-tags span.active {
  color: var(--lg-primary);
  transform: translateY(-1px);
}

.lg-workflow-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lg-workflow-sticky {
  position: sticky;
  top: 130px;
}

/* Enhanced SVG Circular Progress Ring */
.lg-workflow-ring {
  width: 210px;
  height: 210px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--lg-transition-normal);
}

.lg-workflow-ring-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.lg-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 6.5;
}

.lg-ring-progress {
  fill: none;
  stroke: var(--lg-primary);
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 211; /* Default 1/5 */
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 10px var(--lg-primary-glow));
}

.lg-workflow-ring-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lg-workflow-ring-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lg-text-secondary);
  font-weight: 700;
}

.lg-workflow-ring-val {
  font-size: 3.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-top: 0.2rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Vertical Timeline Track connecting cards */
.lg-workflow-steps-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lg-workflow-steps-stack::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: -1.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--lg-primary) 0%, rgba(255, 255, 255, 0.08) 85%);
  pointer-events: none;
}

.lg-step-card {
  background-color: var(--lg-bg-card);
  border: 1px solid var(--lg-border-subtle);
  border-left: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--lg-radius-card);
  padding: 1.25rem 1.65rem;
  position: relative;
  opacity: 0.65;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.lg-step-card h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.lg-step-card p {
  font-size: 0.8875rem;
  line-height: 1.48;
  color: var(--lg-text-secondary);
  margin: 0;
}

.lg-step-card:hover {
  opacity: 0.9;
  border-color: rgba(255, 69, 0, 0.45);
  transform: translateY(-2px);
}

.lg-step-card.active {
  opacity: 1;
  border-color: var(--lg-primary);
  border-left: 3px solid var(--lg-primary);
  background-color: var(--lg-bg-card-hover);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.85), 0 0 25px -8px var(--lg-primary-glow);
  transform: translateX(8px);
}

.lg-step-card.active .lg-step-watermark-num {
  color: var(--lg-primary);
  opacity: 0.95;
  text-shadow: 0 0 22px var(--lg-primary-glow);
  transform: scale(1.05);
}

.lg-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.lg-step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lg-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lg-step-watermark-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: rgba(255, 69, 0, 0.25);
  line-height: 1;
  transition: all 0.4s ease;
}

/* Tablet & Mobile Layout (<= 900px) */
@media (max-width: 900px) {
  #workflow {
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
  }

  .lg-process-connector-rail {
    display: none;
  }

  .lg-workflow-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lg-workflow-sticky {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .lg-workflow-sticky .lg-eyebrow {
    order: 1;
    margin-bottom: 0.4rem;
  }

  .lg-workflow-sticky h2 {
    order: 2;
    margin-bottom: 0.75rem !important;
    text-align: center;
  }

  .lg-workflow-sticky p {
    order: 3;
    max-width: 480px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .lg-workflow-ring {
    order: 4;
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .lg-workflow-ring-val {
    font-size: 2.5rem;
  }

  .lg-workflow-ring-label {
    font-size: 0.7rem;
  }

  .lg-workflow-steps-stack {
    width: 100%;
    gap: 0.85rem;
  }

  .lg-workflow-steps-stack::before {
    display: none;
  }

  .lg-step-card {
    width: 100%;
    padding: 1.15rem 1.35rem;
    box-sizing: border-box;
  }

  .lg-step-card.active {
    transform: none;
    border-left: 3px solid var(--lg-primary);
  }

  .lg-step-watermark-num {
    font-size: 1.85rem;
  }

  .lg-step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .lg-step-card p {
    font-size: 0.875rem;
    line-height: 1.48;
  }
}

/* Compact Mobile (<= 480px) */
@media (max-width: 480px) {
  #workflow {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .lg-workflow-grid {
    gap: 1.75rem;
  }

  .lg-workflow-sticky p {
    font-size: 0.8875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .lg-workflow-ring {
    width: 140px;
    height: 140px;
  }

  .lg-workflow-ring-val {
    font-size: 2.15rem;
  }

  .lg-workflow-steps-stack {
    gap: 0.75rem;
  }

  .lg-step-card {
    padding: 1rem 1.15rem;
  }

  .lg-step-badge {
    font-size: 0.7rem;
  }

  .lg-step-watermark-num {
    font-size: 1.65rem;
  }

  .lg-step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }

  .lg-step-card p {
    font-size: 0.85rem;
    line-height: 1.44;
  }
}

/* ==========================================================================
   The Umbrella Advantage (High-Value Comparison)
   ========================================================================== */

.lg-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--lg-space-2xl);
}

.lg-advantage-card {
  background: var(--lg-bg-surface);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-lg);
  padding: var(--lg-space-xl);
  position: relative;
}

.lg-advantage-card.featured {
  background: linear-gradient(180deg, rgba(255, 69, 0, 0.08) 0%, rgba(20, 24, 34, 0.95) 100%);
  border-color: rgba(255, 69, 0, 0.4);
}

.lg-advantage-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--lg-radius-pill);
  margin-bottom: 1rem;
}

.lg-advantage-card.featured .lg-advantage-badge {
  background-color: var(--lg-primary);
  color: #ffffff;
}

@media (max-width: 900px) {
  .lg-advantage-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Domains & Digital Assets Spotlight
   ========================================================================== */

.lg-domains-island {
  background: linear-gradient(135deg, rgba(16, 20, 28, 0.9) 0%, rgba(24, 28, 40, 0.8) 100%);
  border: 1px solid rgba(255, 69, 0, 0.25);
  border-radius: var(--lg-radius-island);
  padding: var(--lg-space-3xl);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 35px -10px var(--lg-primary-glow);
}

.lg-domains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lg-space-3xl);
  align-items: center;
}

.lg-domains-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: var(--lg-space-lg) 0;
}

.lg-domain-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.lg-domain-pill.hot {
  border-color: var(--lg-primary);
  color: var(--lg-primary);
  background: var(--lg-primary-subtle);
}

.lg-domains-preview-card {
  background: var(--lg-bg-card);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-card);
  padding: var(--lg-space-2xl);
  box-shadow: var(--lg-shadow-card);
}

@media (max-width: 900px) {
  .lg-domains-grid {
    grid-template-columns: 1fr;
    gap: var(--lg-space-xl);
  }
}

/* ==========================================================================
   FAQ & Technology Ecosystem
   ========================================================================== */

.lg-ecosystem-marquee {
  overflow: hidden;
  padding: 2.5rem 0;
  margin-bottom: var(--lg-space-3xl);
  border-bottom: 1px solid var(--lg-border-subtle);
}

.lg-ecosystem-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: marqueeScroll 30s linear infinite;
  white-space: nowrap;
}

.lg-tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #8c93a0;
  transition: color var(--lg-transition-fast);
}

.lg-tool-pill:hover {
  color: #ffffff;
}

.lg-tool-pill svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--lg-primary);
}

.lg-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .lg-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Section & Underline Form
   ========================================================================== */

#contact.lg-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  min-height: 0 !important;
  height: auto !important;
}

#contact .lg-container {
  max-width: 1024px !important;
}

.lg-contact-island {
  max-width: 980px;
  width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
  height: auto;
  min-height: 0;
  background-color: var(--lg-bg-surface);
  border: 1px solid var(--lg-border-subtle);
  border-radius: var(--lg-radius-island);
  overflow: hidden;
  box-shadow: var(--lg-shadow-card);
}

.lg-contact-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 0;
  align-items: stretch;
  height: auto;
  min-height: 0;
}

.lg-contact-sidebar {
  padding: 32px 30px;
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.9) 0%, rgba(10, 12, 16, 0.95) 100%);
  border-right: 1px solid var(--lg-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
  gap: 0;
}

.lg-contact-sidebar .lg-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  color: var(--lg-primary);
  font-weight: 700;
}

.lg-contact-sidebar .lg-heading-2 {
  font-size: 38px !important;
  line-height: 1.12 !important;
  margin-bottom: 12px !important;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.lg-contact-sidebar .lg-heading-2 .lg-accent-serif {
  font-family: var(--lg-font-serif, "Instrument Serif", serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lg-primary);
}

.lg-contact-sidebar p {
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: 360px;
  color: var(--lg-text-secondary);
  margin-top: 0;
  margin-bottom: 22px;
}

.lg-contact-main {
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
}

.lg-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.lg-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lg-contact-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.12);
  color: var(--lg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-contact-icon-box svg {
  width: 16px;
  height: 16px;
}

.lg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  #contact.lg-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .lg-contact-island {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .lg-contact-grid {
    grid-template-columns: 1fr;
  }
  .lg-contact-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--lg-border-subtle);
    padding: 24px;
  }
  .lg-contact-main {
    padding: 24px;
  }
  .lg-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   Perspective 3D Grid Footer
   ========================================================================== */

.lg-footer {
  position: relative;
  background-color: #06080b;
  overflow: hidden;
  padding-top: var(--lg-space-5xl);
  padding-bottom: var(--lg-space-2xl);
}

/* Perspective Wireframe Background (Reference signature) */
.lg-footer-perspective-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
  opacity: 0.65;
  animation: footerGridDrift 45s linear infinite;
  will-change: background-position;
}

@keyframes footerGridDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

.lg-footer-content {
  position: relative;
  z-index: 2;
}

.lg-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: var(--lg-space-3xl);
  padding-bottom: var(--lg-space-4xl);
  border-bottom: 1px solid var(--lg-border-subtle);
  align-items: center;
}

/* Footer Centerpiece (Glowing Prismatic Orb) */
.lg-footer-centerpiece {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-footer-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid var(--lg-primary);
  background: radial-gradient(circle at 35% 35%, rgba(255, 115, 0, 0.4) 0%, rgba(255, 69, 0, 0.15) 50%, #0c0f16 100%);
  box-shadow: 0 0 50px -10px var(--lg-primary-glow), inset 0 0 30px rgba(255, 69, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.lg-footer-orb-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  animation: spinSlow 30s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.lg-footer-orb-inner svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--lg-primary);
}

.lg-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.lg-footer-col h3,
.lg-footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.lg-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lg-footer-col a {
  color: var(--lg-text-secondary);
  font-size: 0.9375rem;
  transition: color var(--lg-transition-fast), transform var(--lg-transition-fast);
  display: inline-block;
}

.lg-footer-col a:hover {
  color: var(--lg-primary);
  transform: translateX(4px);
}

/* Bottom Bar */
.lg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--lg-space-2xl);
  font-size: 0.875rem;
  color: var(--lg-text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.lg-footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.lg-footer-legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 991px) {
  .lg-footer-top {
    grid-template-columns: 1fr;
    gap: var(--lg-space-2xl);
  }
  .lg-footer-centerpiece {
    order: -1;
  }
}
