/* ============================================================
   SAS TECHZONE — ULTRA 2026 UI SUITE
   Next-Generation Atmospheric, Glassmorphic & Kinetic Design System
   Inspired by Luxury Scene-based & Futuristic Hardware Engineering
   ============================================================ */

/* --- 1. Custom Hardware Cursor --- */
.sas-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-accent, #E35205);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  box-shadow: 0 0 12px rgba(227, 82, 5, 0.6);
}

.sas-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(227, 82, 5, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
}

body.cursor-hover .sas-cursor {
  width: 14px;
  height: 14px;
  background: #ff6b21;
}

body.cursor-hover .sas-cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(227, 82, 5, 0.8);
  background-color: rgba(227, 82, 5, 0.06);
}

body.cursor-view .sas-cursor {
  width: 44px;
  height: 44px;
  background: rgba(21, 82, 99, 0.85);
  backdrop-filter: blur(4px);
}

@media (pointer: coarse) or (max-width: 991px) {
  .sas-cursor, .sas-cursor-ring {
    display: none !important;
  }
}

/* --- 2. Cinematic Gateway Opening --- */
#sas-gateway {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: visibility 0.8s ease;
}

#sas-gateway.is-opened {
  pointer-events: none;
  visibility: hidden;
}

.gateway__panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, #0e2d3b 0%, #071720 100%);
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.gateway__panel--left {
  left: 0;
  border-right: 1px solid rgba(227, 82, 5, 0.2);
}

.gateway__panel--right {
  right: 0;
  border-left: 1px solid rgba(227, 82, 5, 0.2);
}

#sas-gateway.is-opened .gateway__panel--left {
  transform: translateX(-100%);
}

#sas-gateway.is-opened .gateway__panel--right {
  transform: translateX(100%);
}

.gateway__center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#sas-gateway.is-opened .gateway__center {
  opacity: 0;
  transform: scale(0.92);
}

.gateway__logo-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(227, 82, 5, 0.4);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 35px rgba(227, 82, 5, 0.25);
  position: relative;
  overflow: hidden;
}

.gateway__logo-box img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.gateway__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.gateway__title span {
  color: var(--color-accent);
}

.gateway__tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.gateway__loader-bar {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.gateway__loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #155263, #E35205);
  animation: gatewayLoad 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes gatewayLoad {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.gateway__skip {
  position: absolute;
  bottom: 40px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gateway__skip:hover {
  color: #fff;
  border-color: var(--color-accent);
  background: rgba(227, 82, 5, 0.2);
}

/* --- 3. Film Grain Noise Texture --- */
.noise-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.045;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- 4. Aurora Mesh Liquid Gradients --- */
.aurora-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  mix-blend-mode: multiply;
  animation: auroraFloat 14s ease-in-out infinite alternate;
}

.aurora-blob-1 {
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #E35205 0%, rgba(227, 82, 5, 0) 70%);
  animation-duration: 16s;
}

.aurora-blob-2 {
  bottom: 5%;
  left: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #155263 0%, rgba(21, 82, 99, 0) 75%);
  animation-duration: 20s;
  animation-delay: -5s;
}

.aurora-blob-3 {
  top: 40%;
  left: 30%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #f08143 0%, rgba(240, 129, 67, 0) 70%);
  opacity: 0.16;
  animation-duration: 18s;
  animation-delay: -10s;
}

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* --- 5. Liquid Glassmorphism 2.0 Utilities --- */
.liquid-glass {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 16px 40px -10px rgba(21, 82, 99, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

.liquid-glass-dark {
  background: rgba(10, 31, 43, 0.78) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.liquid-glass-interactive {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.liquid-glass-interactive:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 82, 5, 0.4) !important;
  box-shadow: 0 24px 50px -12px rgba(227, 82, 5, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* --- 6. Live Status Pulsing Indicator --- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.25);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #1b8a4b;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #2ecc71;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.5);
  animation: pulseDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* --- 7. Bento Grid Architecture (2026 Layout) --- */
.metrics-bento-section {
  padding: 60px 0 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg) 0%, #edf1f4 100%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.bento-card {
  position: relative;
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(21, 82, 99, 0.08);
  box-shadow: 0 12px 35px -8px rgba(21, 82, 99, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -12px rgba(21, 82, 99, 0.12);
  border-color: rgba(227, 82, 5, 0.3);
}

.bento-hero {
  grid-column: span 7;
  background: radial-gradient(circle at 10% 20%, #155263 0%, #0c333f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px -10px rgba(12, 51, 63, 0.35);
}

.bento-hero:hover {
  border-color: rgba(227, 82, 5, 0.5);
  box-shadow: 0 25px 60px -12px rgba(227, 82, 5, 0.3);
}

.bento-hero .bento-label {
  color: rgba(255, 255, 255, 0.7);
}

.bento-hero .bento-val {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bento-hero .bento-val span {
  color: var(--color-accent);
}

.bento-hero .bento-desc {
  color: rgba(255, 255, 255, 0.8);
}

.bento-card-sub {
  grid-column: span 5;
}

.bento-card-third {
  grid-column: span 4;
}

.bento-val {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin: 12px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bento-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
}

.bento-desc {
  font-size: 0.95rem;
  color: #617379;
  line-height: 1.5;
  margin-top: 8px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227, 82, 5, 0.1);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  width: fit-content;
  margin-top: 16px;
}

@media (max-width: 991px) {
  .bento-hero, .bento-card-sub {
    grid-column: span 12;
  }
  .bento-card-third {
    grid-column: span 12;
  }
}

/* --- 8. Infinite Continuous Marquee Ticker --- */
.marquee-container {
  width: 100%;
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg, #FAF9F6) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-bg, #FAF9F6) 0%, transparent 100%);
}

.marquee-dark::before {
  background: linear-gradient(90deg, #0a1f2b 0%, transparent 100%);
}
.marquee-dark::after {
  background: linear-gradient(-90deg, #0a1f2b 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: continuousMarquee 32s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes continuousMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--color-accent);
}

.marquee-divider {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  opacity: 0.6;
}

/* Secondary High-Tech Ticker above footer */
.tech-ticker-bar {
  background: #06151e;
  border-top: 1px solid rgba(227, 82, 5, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- 9. Kinetic Text Scramble & Typography Upgrades --- */
.kinetic-title span.char {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, color 0.3s ease;
}

.shimmer-text {
  background: linear-gradient(110deg, var(--color-accent) 0%, #ff8a43 45%, #ffffff 50%, #ff8a43 55%, var(--color-accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s infinite linear;
}

@keyframes textShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* --- 10. Floating Rotating Circle Cue (Reliance Style) --- */
.rotating-scroll-badge {
  position: absolute;
  bottom: 40px;
  right: var(--page-padding);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rotating-scroll-badge:hover {
  transform: scale(1.1);
}

.rotating-scroll-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spinSlow 14s linear infinite;
}

.rotating-scroll-center-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(21, 82, 99, 0.3);
  transition: background-color 0.3s;
}

.rotating-scroll-badge:hover .rotating-scroll-center-icon {
  background: var(--color-accent);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- 11. Luxury Horizontal Service Panels (Reliance Inspired) --- */
.service-slide {
  position: relative;
}

.service-watermark-num {
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 15rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(21, 82, 99, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.4s ease;
}

.service-slide:hover .service-watermark-num {
  color: rgba(227, 82, 5, 0.08);
}

.service-glass-pill {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(21, 82, 99, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.service-glass-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* 3D Perspective Tilt on Card Graphics */
.card-tilt-wrap {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.card-tilt-target {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* --- 12. Testimonials Staggered Glass System --- */
.testimonials-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.testimonial-glass-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(21, 82, 99, 0.08);
  box-shadow: 0 10px 30px -5px rgba(21, 82, 99, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-glass-card::before {
  content: '“';
  position: absolute;
  top: -15px;
  right: 20px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: rgba(227, 82, 5, 0.07);
  pointer-events: none;
}

.testimonial-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 82, 5, 0.35);
  box-shadow: 0 20px 45px -10px rgba(227, 82, 5, 0.12);
}

.testimonial-glass-card.offset-card {
  transform: translateY(18px);
}

.testimonial-glass-card.offset-card:hover {
  transform: translateY(12px);
}

@media (max-width: 991px) {
  .testimonial-glass-card.offset-card {
    transform: none;
  }
  .testimonial-glass-card.offset-card:hover {
    transform: translateY(-6px);
  }
}

/* --- 13. High-Impact Cinematic Closing Banner --- */
.cinematic-closing-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, #185a6d 0%, #071922 100%);
  color: #fff;
  padding: clamp(60px, 8vw, 120px) clamp(30px, 6vw, 90px);
  box-shadow: 0 30px 70px -15px rgba(7, 25, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cinematic-closing-watermark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 16rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
}

