@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap');

/* --- CUSTOM PROPERTIES & TOKENS --- */
:root {
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --bg-primary: #04040a;
  --bg-secondary: #0a091a;
  --color-text-main: #f5f5f7;
  --color-text-muted: #9e9eb2;
  
  /* Glowing Accents */
  --glow-cyan: #00f2fe;
  --glow-magenta: #ff007f;
  --glow-violet: #7f00ff;
  --glow-cyan-rgb: 0, 242, 254;
  --glow-magenta-rgb: 255, 0, 127;
  --glow-violet-rgb: 127, 0, 255;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.18);
  
  /* Animation Scale Controllers (Adjusted dynamically via JS) */
  --gravity-scale: 1;
  --float-amplitude: 16px;
  --float-duration-base: 6s;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar for modern feel */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.4);
}

/* --- AMBIENT GLOW BACKDROP --- */
.ambient-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: transform 0.5s ease-out;
}

.glow-blob-1 {
  top: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
  animation: drift-slow 20s infinite alternate ease-in-out;
}

.glow-blob-2 {
  bottom: 10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow-violet) 0%, transparent 70%);
  animation: drift-slow 25s infinite alternate-reverse ease-in-out 2s;
}

.glow-blob-3 {
  top: 40%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--glow-magenta) 0%, transparent 70%);
  animation: drift-slow 18s infinite alternate ease-in-out 4s;
}

@keyframes drift-slow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.15); }
  100% { transform: translate(-30px, 50px) scale(0.9); }
}

/* --- PARTICLE CANVAS --- */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* --- GLASSMORPHISM SYSTEM --- */
.glass-panel {
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(127, 0, 255, 0.05), transparent 40%), var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.08), transparent 40%), var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.15);
}

.glass-card {
  position: relative;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.06), transparent 40%), var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* Glow Borders on Hover */
.glass-card:hover {
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.1), transparent 40%), rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 45px rgba(0, 242, 254, 0.15), 
              0 0 30px rgba(127, 0, 255, 0.08),
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
}

/* --- LEVITATION ANIMATION SYSTEM --- */
.levitate {
  --amplitude: var(--float-amplitude);
  --duration: var(--float-duration-base);
  animation: levitate-anim calc(var(--duration) / var(--gravity-scale)) ease-in-out infinite;
  will-change: transform, box-shadow;
}

.levitate-slow {
  --amplitude: calc(var(--float-amplitude) * 1.3);
  --duration: calc(var(--float-duration-base) * 1.4);
  animation: levitate-anim calc(var(--duration) / var(--gravity-scale)) ease-in-out infinite;
  will-change: transform, box-shadow;
}

.levitate-fast {
  --amplitude: calc(var(--float-amplitude) * 0.7);
  --duration: calc(var(--float-duration-base) * 0.7);
  animation: levitate-anim calc(var(--duration) / var(--gravity-scale)) ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* Delay modifiers to stagger floating elements out of sync */
.delay-1 { animation-delay: 0.8s; }
.delay-2 { animation-delay: 1.8s; }
.delay-3 { animation-delay: 2.8s; }
.delay-4 { animation-delay: 3.8s; }

@keyframes levitate-anim {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(calc(-1 * var(--amplitude) * var(--gravity-scale)));
  }
  100% {
    transform: translateY(0px);
  }
}

/* Shadow dilation effect for floating elements */
.floating-shadow-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.floating-shadow {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.3) 0%, transparent 70%);
  filter: blur(4px);
  z-index: -1;
  opacity: 0.7;
  transform: scale(1);
  transition: opacity 0.5s, transform 0.5s;
  animation: shadow-anim calc(var(--float-duration-base) / var(--gravity-scale)) ease-in-out infinite;
}

.floating-shadow-slow {
  animation: shadow-anim calc((var(--float-duration-base) * 1.4) / var(--gravity-scale)) ease-in-out infinite;
  animation-delay: inherit;
}

.floating-shadow-fast {
  animation: shadow-anim calc((var(--float-duration-base) * 0.7) / var(--gravity-scale)) ease-in-out infinite;
  animation-delay: inherit;
}

@keyframes shadow-anim {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    /* When element is high, shadow is larger, softer, more spread out, and weaker */
    transform: scale(1.15);
    opacity: 0.3;
    filter: blur(8px);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

/* --- NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: padding 0.3s ease, background 0.3s ease;
}

header.scrolled {
  padding: 1rem 0;
  background: rgba(4, 4, 10, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-orb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-image: url('assets/favicon.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px var(--glow-cyan);
  animation: pulsate 3s infinite ease-in-out;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-main);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

.nav-btn {
  background: var(--glass-bg);
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  color: var(--color-text-main) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
  transition: all 0.3s ease !important;
}

.nav-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--glow-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem 0;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.tagline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--glow-cyan);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.glow-text {
  background: linear-gradient(135deg, #fff 30%, var(--glow-cyan) 70%, var(--glow-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.3));
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Premium Levitating Glowing Button */
.btn-primary {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #04040a !important;
  background: linear-gradient(135deg, var(--glow-cyan), #00c6ff);
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: none !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.4);
  filter: brightness(1.1);
  color: #04040a !important;
}

.btn-secondary {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main) !important;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: none !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff !important;
}

/* Specific overrides for buttons inside prose blocks to prevent link style pollution */
.prose .btn-primary,
.prose a.btn-primary {
  color: #04040a !important;
  text-shadow: none !important;
}
.prose .btn-primary:hover,
.prose a.btn-primary:hover {
  color: #04040a !important;
  text-shadow: none !important;
}
.prose .btn-secondary,
.prose a.btn-secondary {
  color: var(--color-text-main) !important;
  text-shadow: none !important;
}
.prose .btn-secondary:hover,
.prose a.btn-secondary:hover {
  color: #fff !important;
  text-shadow: none !important;
}

/* --- HERO VISUAL (FLOATING PHONE MOCKUP) --- */
.hero-visual-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 500px;
}

.floating-scene {
  position: relative;
  width: 320px;
  height: 480px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Levitate container for the entire mockup */
.phone-mockup-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.phone-backplate {
  position: absolute;
  width: 260px;
  height: 460px;
  left: 30px;
  top: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.phone-screen {
  position: absolute;
  width: 244px;
  height: 444px;
  left: 38px;
  top: 18px;
  background: #060613;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 34px;
  z-index: 2;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.15);
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  filter: blur(20px);
}

/* Floating interface layers expanding outwards in 3D */
.interface-layer {
  position: absolute;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
              0 0 15px rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, border-color 0.3s;
  z-index: 4;
}

.interface-layer:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateZ(20px) scale(1.03);
}

.layer-widget-1 {
  width: 140px;
  height: 70px;
  top: 50px;
  left: -20px;
  padding: 0.8rem;
  background: rgba(127, 0, 255, 0.08);
  border-color: rgba(127, 0, 255, 0.2);
}

.layer-widget-2 {
  width: 160px;
  height: 110px;
  bottom: 80px;
  right: -30px;
  padding: 1rem;
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.2);
}

.layer-widget-3 {
  width: 200px;
  height: 60px;
  top: 190px;
  left: -40px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Audio wave elements inside widget */
.audio-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background: var(--glow-cyan);
  border-radius: 3px;
  animation: wave-bounce 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { height: 60%; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 85%; animation-delay: 0.4s; }
.wave-bar:nth-child(4) { height: 40%; animation-delay: 0.6s; }
.wave-bar:nth-child(5) { height: 70%; animation-delay: 0.1s; }

@keyframes wave-bounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* Screen internal layout mockup */
.screen-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-dot {
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
}

.screen-battery {
  width: 18px;
  height: 9px;
  border: 1px solid #666;
  border-radius: 2px;
  position: relative;
}

.screen-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  background: #666;
}

.app-ui-mockup {
  margin-top: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.app-circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-magenta) 0%, var(--glow-violet) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255, 0, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}

.app-mic-icon {
  width: 18px;
  height: 18px;
  background: #fff;
  clip-path: path('M9,2C7.3,2,6,3.3,6,5v4c0,1.7,1.3,3,3,3s3-1.3,3-3V5C12,3.3,10.7,2,9,2z M15,9c0,3-2.5,5.5-5.5,5.5S4,12,4,9H2 c0,3.5,2.6,6.4,6,6.9V19h2v-3.1c3.4-0.5,6-3.4,6-6.9H15z');
  transform: scale(0.9);
}

.app-visual-wave {
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.1), transparent);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.app-visual-wave::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 100%;
  left: -50%;
  background-image: repeating-linear-gradient(90deg, var(--glow-cyan) 0px, var(--glow-cyan) 2px, transparent 2px, transparent 8px);
  opacity: 0.6;
  animation: wave-slide 10s linear infinite;
}

@keyframes wave-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(50px); }
}

/* --- FLAGSHIP APP SECTION (SONIC SLICER) --- */
.section {
  padding: 8rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--glow-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Staggered Sonic Slicer Presentation Card */
.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.app-details-card {
  position: relative;
  z-index: 5;
}

.app-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.2);
  color: var(--glow-magenta);
  margin-bottom: 1.2rem;
}

.app-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.app-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.app-badge-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.google-play-btn {
  display: inline-block;
  opacity: 0.6;
  cursor: not-allowed;
  transition: opacity 0.3s;
  position: relative;
}

.google-play-btn img {
  height: 48px;
  display: block;
}

.google-play-btn:hover::after {
  content: 'Coming Soon';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  color: #fff;
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.app-action-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.app-action-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s, text-shadow 0.3s;
}

.app-action-links a:hover {
  color: var(--glow-cyan);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

/* Audio Oscillogram interactive graphic representation */
.oscillogram-container {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 30px;
  padding: 2rem;
  overflow: hidden;
}

.oscillogram-bg-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--glow-cyan);
  opacity: 0.15;
  filter: blur(50px);
  z-index: 1;
}

.oscillogram-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 180px;
  z-index: 2;
  gap: 4px;
}

.oscillogram-bar {
  flex-grow: 1;
  background: linear-gradient(to top, var(--glow-cyan), var(--glow-violet));
  border-radius: 4px;
  min-height: 4px;
  opacity: 0.85;
  transition: transform 0.5s ease-in-out, opacity 0.3s;
  transform-origin: center;
}

.oscillogram-bar:hover {
  opacity: 1;
  background: var(--glow-magenta);
  box-shadow: 0 0 10px var(--glow-magenta);
}

/* High-fidelity trim handles floating over oscillogram */
.trim-handle {
  position: absolute;
  top: 20%;
  width: 2px;
  height: 60%;
  background: var(--glow-magenta);
  z-index: 3;
  box-shadow: 0 0 15px var(--glow-magenta);
}

.trim-handle-left {
  left: 25%;
}

.trim-handle-right {
  right: 25%;
}

.trim-handle::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--glow-magenta);
  box-shadow: 0 0 10px var(--glow-magenta);
  cursor: ew-resize;
}

.trim-handle::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--glow-magenta);
  box-shadow: 0 0 10px var(--glow-magenta);
  cursor: ew-resize;
}

/* --- PRINCIPLES SECTION --- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.principle-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.principle-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.principle-card:hover .principle-icon-wrapper {
  border-color: var(--glow-cyan);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transform: rotate(5deg) scale(1.05);
}

.principle-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-text-muted);
  transition: background-color 0.4s;
}

.principle-card:hover .principle-icon {
  background-color: var(--glow-cyan);
}

/* Principle SVG clip path icons */
.icon-bloat {
  clip-path: path('M12,2L2,22h20L12,2z M12,6l6.8,12H5.2L12,6z M11,10v4h2v-4H11z M11,15v2h2v-2H11z');
}
.icon-privacy {
  clip-path: path('M18,8h-1V6c0-2.8-2.2-5-5-5S7,3.2,7,6v2H6c-1.1,0-2,0.9-2,2v10c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V10 C20,8.9,19.1,8,18,8z M9,6c0-1.7,1.3-3,3-3s3,1.3,3,3v2H9V6z M12,17c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S13.1,17,12,17z');
}
.icon-fluid {
  clip-path: path('M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M12,20c-4.4,0-8-3.6-8-8s3.6-8,8-8s8,3.6,8,8 S16.4,20,12,20z M12,6v6h5v2h-7V6H12z');
}

.principle-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.principle-desc {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- INTERACTIVE GRAVITY CONTROLLER --- */
.gravity-control-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem;
  text-align: center;
}

.panel-header {
  margin-bottom: 2.5rem;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.gravity-pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glow-cyan);
  box-shadow: 0 0 10px var(--glow-cyan);
}

.panel-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Custom interactive high-tech slider */
.slider-container {
  position: relative;
  padding: 1rem 0;
  margin: 2.5rem auto;
  max-width: 500px;
}

.gravity-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
}

.gravity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glow-cyan), var(--glow-violet));
  border: 2px solid #04040a;
  box-shadow: 0 0 15px var(--glow-cyan);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

.gravity-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px var(--glow-cyan);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.slider-val-display {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  margin-top: 1rem;
}

/* --- FOOTER --- */
footer {
  position: relative;
  background: #020205;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 3.5rem 0;
  z-index: 10;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(127, 0, 255, 0.08) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand .logo {
  font-size: 1.3rem;
}

.footer-brand-desc {
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-nav-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-nav-links a:hover {
  color: var(--glow-cyan);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-email {
  color: var(--glow-cyan);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  transition: text-shadow 0.3s, color 0.3s;
}

.contact-email:hover {
  color: #fff;
  text-shadow: 0 0 15px var(--glow-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-legal-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s, text-shadow 0.3s;
  padding: 0.5rem 0;
  display: inline-block;
}

.footer-legal-links a:hover {
  color: var(--glow-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* --- ANIMATION AND TRANSITION COMPLEMENTS --- */
@keyframes pulsate {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.2) drop-shadow(0 0 8px var(--glow-cyan)); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* --- PARALLAX ANIMATIONS STYLES FOR COMPATIBLE BROWSERS --- */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .parallax-layer-bg {
    animation: parallax-bg-anim linear both;
    animation-timeline: view();
    animation-range: entry 10% exit 100%;
  }

  .parallax-layer-mid {
    animation: parallax-mid-anim linear both;
    animation-timeline: view();
    animation-range: entry 10% exit 100%;
  }
}

@keyframes parallax-bg-anim {
  from { transform: translateY(0); }
  to { transform: translateY(120px); }
}

@keyframes parallax-mid-anim {
  from { transform: translateY(0); }
  to { transform: translateY(50px); }
}

/* --- ACCESSIBILITY AND REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .levitate, .levitate-slow, .levitate-fast, 
  .glow-blob, .wave-bar, .app-visual-wave::after,
  .app-circle-btn, .logo-orb, .oscillogram-bar {
    animation: none !important;
  }
  
  .floating-shadow {
    display: none !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* --- RESPONSIVE LAYOUT BREAKPOINTS --- */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  header {
    padding: 0.8rem 0;
  }
  header.scrolled {
    padding: 0.6rem 0;
  }
  .nav-container {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0 1rem;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .nav-links .nav-btn {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .hero {
    padding-top: 6rem;
  }
  
  .gravity-control-panel {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   PREMIUM UX & INTERACTIVE COMPONENT ENHANCEMENTS (PARSED OF MIND REDESIGN)
   ========================================================================== */

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--glow-cyan), var(--glow-violet), var(--glow-magenta));
  z-index: 10001;
  box-shadow: 0 0 8px var(--glow-cyan), 0 0 15px var(--glow-violet);
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* --- TRIM TOOLTIPS --- */
.trim-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 9, 26, 0.95);
  color: #fff;
  border: 1px solid var(--glow-magenta);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
}

.trim-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--glow-magenta);
}

.trim-handle:hover .trim-tooltip,
.trim-handle.dragging .trim-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0px);
}

/* --- DYNAMIC PLAY/PAUSE SIMULATOR --- */
.oscillogram-play-btn {
  position: absolute;
  z-index: 10;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(4, 4, 10, 0.85);
  border: 2px solid var(--glow-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3), inset 0 0 10px rgba(0, 242, 254, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}

.oscillogram-play-btn:hover {
  transform: scale(1.1);
  border-color: var(--glow-magenta);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.5), inset 0 0 12px rgba(255, 0, 127, 0.3);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(2px);
  transition: all 0.25s ease;
}

.oscillogram-play-btn.playing .play-icon {
  width: 14px;
  height: 16px;
  border-style: double;
  border-width: 0px 0px 0px 14px;
  border-color: #fff;
  transform: translateX(0px);
}

/* --- SCROLL-DRIVEN ENTRY/EXIT REVEAL EFFECTS --- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in {
      from {
        opacity: 0;
        transform: translateY(60px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .reveal-on-scroll {
      animation: reveal-in auto linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 75%;
    }
  }
}

/* --- APP FEATURES LIST --- */
.app-desc-slicer {
  margin-bottom: 1.5rem;
}

.app-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem 0;
  padding: 0;
  text-align: left;
}

.app-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.app-features-list li span:first-child {
  color: var(--glow-cyan);
  margin-top: 0.15rem;
  font-size: 0.9rem;
}

.app-features-list li strong {
  color: var(--color-text-main);
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.app-features-list li span:last-child {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* --- INTERACTIVE OSCILLOGRAM WAVEBAR HEIGHTS --- */
.oscillogram-bar:nth-child(1) { height: 30%; }
.oscillogram-bar:nth-child(2) { height: 45%; }
.oscillogram-bar:nth-child(3) { height: 20%; }
.oscillogram-bar:nth-child(4) { height: 60%; }
.oscillogram-bar:nth-child(5) { height: 75%; }
.oscillogram-bar:nth-child(6) { height: 40%; }
.oscillogram-bar:nth-child(7) { height: 90%; }
.oscillogram-bar:nth-child(8) { height: 50%; }
.oscillogram-bar:nth-child(9) { height: 35%; }
.oscillogram-bar:nth-child(10) { height: 70%; }
.oscillogram-bar:nth-child(11) { height: 85%; }
.oscillogram-bar:nth-child(12) { height: 55%; }
.oscillogram-bar:nth-child(13) { height: 30%; }
.oscillogram-bar:nth-child(14) { height: 65%; }
.oscillogram-bar:nth-child(15) { height: 80%; }
.oscillogram-bar:nth-child(16) { height: 45%; }
.oscillogram-bar:nth-child(17) { height: 95%; }
.oscillogram-bar:nth-child(18) { height: 60%; }
.oscillogram-bar:nth-child(19) { height: 40%; }
.oscillogram-bar:nth-child(20) { height: 75%; }
.oscillogram-bar:nth-child(21) { height: 50%; }
.oscillogram-bar:nth-child(22) { height: 25%; }
.oscillogram-bar:nth-child(23) { height: 60%; }
.oscillogram-bar:nth-child(24) { height: 45%; }
.oscillogram-bar:nth-child(25) { height: 30%; }

/* --- PROSE PAGES STYLING (PRIVACY & SUPPORT) --- */
.prose-section {
  padding-bottom: 8rem;
}

.prose-card {
  padding: 3.5rem;
}

.prose a {
  color: var(--glow-cyan);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.prose a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--glow-cyan);
}

.prose ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.prose li {
  margin-bottom: 0.6rem;
}

.footer-bottom-clean {
  border-top: none !important;
  padding-top: 0 !important;
}

.footer-contact-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* --- PHONE MOCKUP INTERFACE WIDGET HELPERS --- */
.widget-label {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--glow-cyan);
  margin-bottom: 0.4rem;
}

.widget-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 6px;
}
.widget-line-80 { width: 80%; }
.widget-line-60 { width: 60%; }
.widget-line-70 { width: 70%; margin-bottom: 0; }

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 10px #00f2fe;
}

.status-text {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-heading);
}

/* --- FOOTER OPERATOR CREDENTIALS --- */
.footer-operator-info {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
}

.footer-operator-info strong {
  color: var(--color-text-main);
  font-family: var(--font-heading);
  display: block;
  margin-bottom: 0.2rem;
}

/* Sleek Compact Horizontal App Metadata Pill */
.app-meta-compact {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  margin: 1rem 0 1.5rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.app-meta-compact-dot {
  color: var(--glow-cyan);
  font-weight: bold;
}

.app-meta-compact a {
  color: var(--glow-cyan);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.app-meta-compact a:hover {
  color: var(--color-text-main);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* --- APP METADATA INFO CARD --- */
.meta-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.meta-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--glow-cyan);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
}

.meta-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-table tr:last-child {
  border-bottom: none;
}

.meta-table td {
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.meta-table td:first-child {
  color: var(--color-text-muted);
  font-weight: 500;
  width: 35%;
}

.meta-table td:last-child {
  color: var(--color-text-main);
  text-align: right;
}

/* Support Portal & Custom Info Blocks */
.support-portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .support-portal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-operator-subpage {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

/* Apps Page Layout Styling */
.app-card-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}
.app-card-desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.app-card-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}
.meta-card-zero {
  margin-top: 0 !important;
}
.apps-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 2rem 0;
}
.apps-coming-soon-card {
  text-align: center;
  padding: 4rem 2rem;
}
.apps-coming-soon-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}
.apps-coming-soon-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}
.apps-waves-center {
  justify-content: center;
  gap: 6px;
  height: 32px;
  opacity: 0.4;
}
.wave-delay-1 { animation-delay: 0.1s; }
.wave-delay-2 { animation-delay: 0.2s; }
.wave-delay-3 { animation-delay: 0.3s; }
.wave-delay-4 { animation-delay: 0.4s; }
.wave-delay-5 { animation-delay: 0.5s; }

/* Support Portal Helper Styles */
.portal-card-desc {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.portal-card-desc-lh {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.portal-action-align {
  margin-top: 1rem;
  text-align: right;
}
.portal-btn-small {
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
}

/* --- PUBLISHER TRUST SIGNALS ABOVE FOOTER --- */
.publisher-trust-signals {
  padding: 2.5rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.trust-signals-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.trust-signals-text h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-signals-text p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0 !important;
}

.trust-signals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-size: 0.85rem;
}

.trust-signals-col {
  display: flex;
  flex-direction: column;
}

.trust-signals-label {
  color: var(--glow-cyan);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.trust-signals-val {
  color: var(--color-text-main);
}

.trust-signals-val a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.2s;
}

.trust-signals-val a:hover {
  color: var(--glow-cyan);
}

/* --- UPCOMING APPLICATIONS GRID --- */
.upcoming-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.upcoming-app-item {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.upcoming-app-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glow-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.upcoming-app-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.upcoming-app-item:hover::before {
  opacity: 0.8;
}

.upcoming-app-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.upcoming-app-title span {
  font-size: 0.75rem;
  color: var(--glow-cyan);
}

.upcoming-app-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- SUPPORT FAQ STYLING --- */
.support-faq-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.support-faq-q {
  color: var(--color-text-main);
  font-family: var(--font-heading);
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.support-faq-a {
  margin-bottom: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
}

