/* Reset & Base */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif; 
  background: #0a0e17; 
  color: #e0e0e0; 
  line-height: 1.6; 
  min-height: 100vh;
  position: relative;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

a { 
  color: #00d4aa; 
  text-decoration: none; 
}

.btn { 
  background: #00d4aa; 
  color: #000; 
  padding: 12px 24px; 
  border-radius: 50px; 
  font-weight: 600; 
  display: inline-block; 
  transition: all 0.3s;
}

.btn:hover { 
  background: #00ffc4; 
  transform: translateY(-3px);
}

.btn-large { 
  font-size: 1.4rem; 
  padding: 18px 40px; 
}

/* Canvas Background (Upward Floating Specks) */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Header */
header { 
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
}

header .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  height: 60px;
}

.logo { 
  height: 90px;
  filter: drop-shadow(0 0 15px rgba(0, 212, 170, 0.6));
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 25px rgba(0, 212, 170, 0.9));
  transform: scale(1.05);
}

nav a { 
  color: #fff; 
  margin: 0 15px; 
  font-weight: 500; 
  transition: color 0.3s;
}

nav a:hover { 
  color: #00d4aa; 
}

/* Hero - Completely Transparent */
.hero { 
  position: relative;
  padding: 180px 0 30px;
  text-align: center;
  overflow: hidden;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 { 
  font-size: 3.4rem; 
  font-weight: 800;
  color: #ffffff; 
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p { 
  font-size: 1.4rem; 
  max-width: 760px;
  margin: 0 auto 48px;
  color: #d0f0eb; 
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Pricing Section */
.pricing { 
  padding: 100px 0; 
  position: relative;
  z-index: 1;
}

.pricing h2 { 
  text-align: center; 
  font-size: 2.8rem; 
  margin-bottom: 60px; 
  color: #ffffff;
}

.cards { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
  justify-items: center; 
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card { 
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(12px); 
  border: 1px solid rgba(0, 212, 170, 0.2); 
  border-radius: 20px; 
  padding: 40px 30px; 
  text-align: center; 
  transition: all 0.4s ease; 
  position: relative;
}

/* Highlight for slider selection */
.card.highlight {
  transform: translateY(-20px) scale(1.05);
  border: 3px solid #00d4aa;
  box-shadow: 
    0 20px 50px rgba(0, 212, 170, 0.4),
    0 0 40px rgba(0, 212, 170, 0.2);
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
}

.card.popular .badge {
  position: absolute; 
  top: -12px; 
  right: 20px; 
  background: #00d4aa; 
  color: #000; 
  padding: 6px 16px; 
  border-radius: 20px; 
  font-size: 0.8rem; 
  font-weight: bold; 
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: #00d4aa;
  margin: 0 0 20px;
  white-space: nowrap;
}

.price span {
  font-size: 1rem;
  color: #aaa;
}

.starting-at {
  font-size: 1.2rem;
  font-weight: 600;
  color: #aaa;
  margin: 2px 0 -20px;
  text-align: center;
  letter-spacing: 0.5px;
}

.workstations {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  margin: 20px 0 24px;
  text-align: center;
}

.card ul {
  list-style: none;
  margin: 20px 0;
}

.card ul li {
  padding: 8px 0;
  color: #ccc;
}

/* Slider - Labels ABOVE the bar */
.slider-container {
  max-width: 900px;
  margin: 20px auto 60px;
  text-align: center;
  padding: 20px 30px 40px;
  background: rgba(15, 20, 35, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.slider-container label {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  padding: 0 6px;
}

.slider-labels span {
  flex: 1;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #aaa;
  transition: all 0.4s ease;
  padding: 0 10px;
}

.slider-labels span strong {
  display: block;
  font-size: 1.4rem;
  color: #ffffff;
}

.slider-labels span.active {
  color: #00d4aa;
  text-shadow: 0 0 20px rgba(0, 212, 170, 0.8);
  transform: scale(1.2);
}

/* Slider Bar */
#tier-slider {
  width: 100%;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(to right, #1a2338, #2a3b5a);
  outline: none;
  -webkit-appearance: none;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.4);
  padding: 0 6px;
  box-sizing: border-box;
}

/* Atom-Style Thumb */
#tier-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00ffcc, #00a388);
  cursor: pointer;
  box-shadow: 
    0 0 20px rgba(0, 212, 170, 0.9),
    0 0 40px rgba(0, 212, 170, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  border: 3px solid #001510;
  position: relative;
  transition: all 0.3s ease;
}

/* Orbiting Rings */
#tier-slider::-webkit-slider-thumb::before,
#tier-slider::-webkit-slider-thumb::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 170, 0.6);
  animation: orbit 4s linear infinite;
}

#tier-slider::-webkit-slider-thumb::before {
  width: 48px;
  height: 48px;
  top: -11px;
  left: -11px;
}

#tier-slider::-webkit-slider-thumb::after {
  width: 60px;
  height: 60px;
  top: -17px;
  left: -17px;
  animation-delay: 2s;
  border-style: dashed;
}

@keyframes orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#tier-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 
    0 0 30px rgba(0, 212, 170, 1),
    0 0 60px rgba(0, 212, 170, 0.7);
}

/* Firefox */
#tier-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #00ffcc, #00a388);
  box-shadow: 
    0 0 20px rgba(0, 212, 170, 0.9),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  border: 3px solid #001510;
}

/* Mobile */
@media (max-width: 768px) {
  .slider-labels {
    padding: 0 20px;
  }
  .slider-labels span {
    font-size: 1.1rem;
  }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.3rem; }
  nav { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card.popular { transform: none; }
}

/* Footer */
footer { 
  background: #000; 
  padding: 40px 0; 
  text-align: center; 
  font-size: 0.9rem; 
  border-top: 1px solid rgba(0, 212, 170, 0.1);
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Add these lines */
#pricing {
  scroll-margin-top: 110px; /* fallback for non-JS or native smooth scroll */
}

.hero {
  min-height: 100dvh; /* better than 100vh on mobile */
}

/* Optional: Extra polish for button */
.smooth-scroll {
  transition: all 0.3s ease;
}

.smooth-scroll:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}


/* Vex-Style Tier Product Page (Only for essential.html etc.) */
.tier-product {
  padding: 140px 0 60px;
}

.tier-product .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tier-product .tier-image {
  order: 1; /* Image on left */
}

.tier-product .tier-text {
  order: 2;
  text-align: left;
}

.tier-product h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.tier-product .price-big {
  font-size: 4.5rem;
  color: #00d4aa;
  margin: 30px 0;
}

.tier-product .price-big span {
  font-size: 1.8rem;
  color: #aaa;
}

.tier-product .lead {
  font-size: 1.6rem;
  color: #ccc;
  margin-bottom: 20px;
}

.tier-product .description {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 40px;
  max-width: 600px;
}

.tier-product .mockup {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

/* What You Get - 3 Columns, Closer to Hero */
.features-grid-vex {
  padding: 60px 0 100px; /* Reduced top padding — closer to hero */
}

.features-grid-vex h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card-vex {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card-vex:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 170, 0.3);
}

.feature-card-vex h3 {
  font-size: 1.8rem;
  color: #00d4aa;
  margin-bottom: 20px;
}

.feature-card-vex p {
  font-size: 1.1rem;
  color: #ccc;
}

/* Final CTA */
.checkout-cta-vex {
  padding: 100px 0;
  text-align: center;
  background: rgba(15, 20, 35, 0.3);
}

.checkout-cta-vex h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.checkout-cta-vex p {
  font-size: 1.4rem;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 50px;
}

.back-link {
  margin-top: 40px;
  font-size: 1.2rem;
}

/* Mobile */
@media (max-width: 868px) {
  .tier-product .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tier-product .tier-image {
    order: -1;
    margin-bottom: 40px;
  }
  .tier-product .tier-text {
    order: 2;
  }
  .tier-product h1 {
    font-size: 3.4rem;
  }
  .price-big {
    font-size: 3.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Chat Label - Tight & Premium */
.chat-label {
  position: fixed;
  bottom: 105px;                 /* Closer to bubble (adjust 100-110px if needed) */
  right: 30px;
  z-index: 9999;
  background: rgba(10, 14, 23, 0.9);
  color: #00d4aa;
  font-size: 0.95rem;            /* Smaller text */
  font-weight: 600;
  padding: 6px 14px;             /* Tighter padding */
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

/* Arrow pointing to bubble */
.chat-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: rgba(10, 14, 23, 0.9);
}

.contact-section {
  padding: 160px 0 120px;
  text-align: center;
}

.contact-section h1 {
  font-size: 3.8rem;
  margin-bottom: 20px;
}

.contact-section .lead {
  font-size: 1.6rem;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #ccc;
}

form {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 170, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d4aa;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

button.btn-large {
  width: 100%;
}

.form-status {
  margin-top: 40px;
  font-size: 1.3rem;
}

/* Mobile */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.about-main {
  padding: 60px 20px 100px;
  min-height: calc(100vh - 200px);
}

.about-main .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.hero {
  text-align: center;
  width: 100%;
}

.hero h1 {
  font-size: 3.5em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero .tagline {
  font-size: 1.5em;
  color: #aaa;
  margin-bottom: 60px;
}

.hero-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08); /* Adjust opacity for your bg */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 50px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.glass-card h2 {
  font-size: 2.4em;
  margin-bottom: 30px;
}

.glass-card p {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #ddd;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

.feature-card h3 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #00d4aa;
}

.cta-section p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ccc;
}

.cta-section .btn-large {
  font-size: 1.3em;
  padding: 18px 50px;
  background: #00d4aa;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

/* Hover effects for glass cards */
.glass-card:hover, .feature-card:hover {
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.8em; }
  .hero-photo img { width: 220px; height: 220px; }
  .glass-card { padding: 40px 30px; }
  .features-grid { grid-template-columns: 1fr; }
}

/* Force hide the slider on mobile - add this at the VERY END of /css/style.css */

@media (max-width: 768px) {
  /* Target every possible slider element with !important */
  .slider-container,
  #tier-slider,
  .slider-labels,
  .slider-labels span {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* Remove any potential space the slider was occupying */
  .pricing {
    padding-top: 40px !important; /* Small top padding for pricing section */
  }

  /* Make the hero section taller and more prominent on mobile to prevent immediate scroll to pricing */
  .hero {
    padding: 240px 20px 100px !important; /* Much taller top/bottom padding */
    min-height: 100vh !important; /* Full viewport height */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .hero h1 {
    font-size: 3.2rem !important;
  }

  .hero p {
    font-size: 1.6rem !important;
    max-width: 90% !important;
  }

  /* Ensure pricing cards are nicely stacked and readable */
  .cards {
    grid-template-columns: 1fr !important;
    gap: 60px !important;
    padding: 0 20px !important;
  }

  .card {
    padding: 60px 40px !important;
  }

  .card.highlight {
    border-width: 5px !important;
  }
}

html, body {
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .hero {
    padding: 180px 20px 80px !important;
    min-height: calc(100vh - 60px) !important;
  }
  header {
    position: sticky;
    top: 0;
  }
}
