/* Version 39.6 Fixed (Cleaned Whitespace) */

/* --- 1. Base Styles --- */

body {
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* --- 2. Background Slideshow --- */

#bg-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  filter: brightness(0.4);
}

.bg-slide.active {
  opacity: 1;
}

/* --- 3. Noise Overlay --- */

.noise-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
  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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* Three.js Canvas */

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- 4. Glassmorphism Utilities --- */

.glass-panel-dark {
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel-section {
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #1a1a1a;
}

/* --- 5. Pricing Card Styles --- */

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 200, 200, 0.3);
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border: 4px solid #e65100;
  position: relative;
}

.pricing-card-onetime {
  background: rgba(245, 245, 245, 0.95);
  border: 1px solid rgba(200, 200, 200, 0.5);
  color: #333;
  transition: all 0.3s ease;
}

.pricing-card-onetime:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* --- 6. Scroll Animation --- */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 7. Back to Top Button --- */

#back-to-top {
  background-color: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

#back-to-top:hover {
  background-color: #e65100;
  border-color: #e65100;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(230, 81, 0, 0.4);
}

/* --- 8. Mobile Menu Transitions --- */

.mobile-menu-overlay {
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.hamburger-line {
  transition: all 0.3s ease-in-out;
}

/* --- 9. Smartphone Mockup --- */

.phone-mockup {
  width: 260px;
  height: 520px;
  border: 12px solid #1f2937;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 24px;
  background: #1f2937;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.phone-scroll-content {
  width: 100%;
  height: auto;
  min-height: 250%;
  padding-bottom: 50px;
  background: #0f172a;
  transition: transform 0.1s ease-out;
  will-change: transform;
  color: white;
  font-family: sans-serif;
}

/* LP Demo Parts */

.lp-demo-header {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-demo-logo {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
}

.lp-demo-menu {
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
}

.lp-demo-menu::before,
.lp-demo-menu::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  left: 0;
}

.lp-demo-menu::before {
  top: -6px;
}

.lp-demo-menu::after {
  top: 6px;
}

.lp-demo-hero {
  height: 200px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.lp-demo-hero h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.2;
}

.lp-demo-hero p {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.lp-demo-btn {
  padding: 8px 20px;
  background: #e65100;
  color: white;
  font-size: 10px;
  font-weight: bold;
  border-radius: 20px;
}

.lp-demo-section {
  padding: 30px 20px;
}

.lp-demo-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.lp-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.lp-demo-card {
  background: #1e293b;
  border-radius: 8px;
  overflow: hidden;
  height: 100px;
}

.lp-demo-card-img {
  height: 60%;
  background: #334155;
}

.lp-demo-text-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.lp-demo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #334155;
  flex-shrink: 0;
}

.lp-demo-desc {
  flex-grow: 1;
}

.lp-demo-line {
  height: 4px;
  background: #475569;
  margin-bottom: 4px;
  border-radius: 2px;
}

.lp-demo-form {
  background: #1e293b;
  padding: 20px;
  border-radius: 8px;
}

.lp-demo-input {
  width: 100%;
  height: 30px;
  background: #0f172a;
  border: 1px solid #334155;
  margin-bottom: 10px;
  border-radius: 4px;
}

.lp-demo-submit {
  width: 100%;
  height: 35px;
  background: #e65100;
  border-radius: 4px;
  margin-top: 5px;
}

.lp-demo-footer {
  background: #000;
  padding: 30px 20px;
  text-align: center;
  font-size: 8px;
  color: #64748b;
}