/* ==========================================================================
   NEXO MARKETING — COMPONENTS & WIDGETS
   ========================================================================== */

/* --------------------------------------------------
   1. Buttons
   -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-neon-green);
  color: var(--color-deep-black);
  border: 1px solid var(--color-neon-green);
  box-shadow: 0 0 25px rgba(102, 255, 0, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--color-bright-lime);
  border-color: var(--color-bright-lime);
  box-shadow: 0 0 40px rgba(102, 255, 0, 0.65), 0 0 80px rgba(57, 255, 20, 0.3);
  transform: translateY(-2px);
  color: var(--color-deep-black);
}

.btn-secondary {
  background: rgba(11, 24, 11, 0.8);
  color: var(--color-white);
  border: 1px solid var(--color-border-green);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--color-neon-green);
  color: var(--color-neon-green);
  background: rgba(15, 34, 15, 0.9);
  box-shadow: 0 0 20px rgba(102, 255, 0, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #020502;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* --------------------------------------------------
   2. Cyber Cards & Glassmorphic Surfaces with 3D Spotlight
   -------------------------------------------------- */
.cyber-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

/* Dynamic Spotlight Glare that follows cursor */
.cyber-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(102, 255, 0, 0.14), transparent 70%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.cyber-card > * {
  position: relative;
  z-index: 2;
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 255, 0, 0.35), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
}

.cyber-card:hover {
  border-color: var(--color-border-green-hover);
  box-shadow: var(--shadow-card-hover);
}

.cyber-card:hover::before {
  opacity: 1;
}

/* Tech Accent Corner Notches */
.has-corners {
  position: relative;
}

.has-corners::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--color-neon-green);
  border-right: 2px solid var(--color-neon-green);
  opacity: 0.7;
}

/* --------------------------------------------------
   3. Hero Section Components
   -------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(90px + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-headline {
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
  color: var(--color-muted-green);
  max-width: 740px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Floating Metrics Bar */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-metrics-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-pill {
  background: rgba(11, 24, 11, 0.6);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.metric-pill:hover {
  border-color: var(--color-neon-green);
  box-shadow: 0 0 18px rgba(102, 255, 0, 0.15);
  transform: translateY(-2px);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-neon-green);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-muted-green);
  letter-spacing: 0.05em;
}

/* Floating Terminal Preview in Hero */
.hero-terminal-preview {
  margin-top: 3.5rem;
  background: rgba(6, 16, 6, 0.85);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(102, 255, 0, 0.1);
  overflow: hidden;
  text-align: left;
}

.terminal-header {
  background: rgba(11, 24, 11, 0.9);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-green);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1B3A1B;
}

.terminal-dot:nth-child(1) { background: #39FF14; box-shadow: 0 0 6px #39FF14; }
.terminal-dot:nth-child(2) { background: #7CFF00; }
.terminal-dot:nth-child(3) { background: #1B3A1B; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-muted-green);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--color-white);
  line-height: 1.7;
}

.terminal-code-green { color: var(--color-neon-green); }
.terminal-code-lime { color: var(--color-bright-lime); }
.terminal-code-comment { color: var(--color-subtle-green); }

/* --------------------------------------------------
   4. Infinite Marquee / Tech Stacks Ticker
   -------------------------------------------------- */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border-green);
  border-bottom: 1px solid var(--color-border-green);
  background: rgba(3, 6, 3, 0.7);
  position: relative;
  z-index: 2;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-deep-black), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-deep-black), transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 3.5rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-muted-green);
  transition: color var(--transition-fast);
}

.marquee-item:hover {
  color: var(--color-neon-green);
}

.marquee-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --------------------------------------------------
   5. Services Section Grid
   -------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(102, 255, 0, 0.08);
  border: 1px solid rgba(102, 255, 0, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neon-green);
  margin-bottom: 1.75rem;
  box-shadow: 0 0 15px rgba(102, 255, 0, 0.15);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
  background: var(--color-neon-green);
  color: var(--color-deep-black);
  box-shadow: 0 0 25px var(--color-neon-green);
  transform: scale(1.05);
}

.service-title {
  font-size: var(--text-2xl);
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: var(--text-base);
  color: var(--color-muted-green);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 58, 27, 0.6);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-white);
}

.service-feature-item svg {
  color: var(--color-neon-green);
  flex-shrink: 0;
}

.service-action-wrap {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------
   6. Digital Products Marketplace
   -------------------------------------------------- */
.marketplace-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .marketplace-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 8px 18px;
  background: rgba(11, 24, 11, 0.7);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-muted-green);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-tab:hover {
  color: var(--color-white);
  border-color: rgba(102, 255, 0, 0.4);
}

.filter-tab.active {
  background: var(--color-neon-green);
  color: var(--color-deep-black);
  border-color: var(--color-neon-green);
  box-shadow: 0 0 15px rgba(102, 255, 0, 0.3);
}

.search-and-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  position: relative;
  min-width: 240px;
}

.search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-full);
  padding: 10px 16px 10px 38px;
  font-size: 0.88rem;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--color-neon-green);
  box-shadow: 0 0 15px rgba(102, 255, 0, 0.2);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-green);
  pointer-events: none;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.product-card:hover {
  border-color: var(--color-border-green-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.product-preview-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-card-green);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-green);
}

.product-preview-wrap img,
.product-preview-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-preview-wrap img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(2, 5, 2, 0.85);
  border: 1px solid var(--color-neon-green);
  color: var(--color-neon-green);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(102, 255, 0, 0.25);
}

.product-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(2, 5, 2, 0.85);
  border: 1px solid rgba(27, 58, 27, 0.8);
  color: var(--color-bright-lime);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.85rem;
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(27, 58, 27, 0.4);
  color: var(--color-muted-green);
  border: 1px solid rgba(27, 58, 27, 0.6);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-muted-green);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.product-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 58, 27, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-price-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--color-muted-green);
  text-transform: uppercase;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-neon-green);
  line-height: 1;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------
   7. Product Details Modal (Quick View)
   -------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-glass-modal);
  border: 1px solid var(--color-border-green-hover);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(102, 255, 0, 0.2);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 24, 11, 0.8);
  border: 1px solid var(--color-border-green);
  color: var(--color-muted-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-neon-green);
  color: var(--color-deep-black);
  border-color: var(--color-neon-green);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-content-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.modal-media-col {
  padding: 2rem;
  background: rgba(6, 16, 6, 0.6);
  border-bottom: 1px solid var(--color-border-green);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .modal-media-col {
    border-bottom: none;
    border-right: 1px solid var(--color-border-green);
  }
}

.modal-preview-mockup {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.modal-details-col {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.modal-product-title {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

.modal-product-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-neon-green);
  margin-bottom: 1rem;
}

.modal-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1.5rem 0;
}

.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-white);
}

/* --------------------------------------------------
   8. Why Choose Us (The NEXO Advantage)
   -------------------------------------------------- */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.advantage-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.advantage-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(102, 255, 0, 0.3);
  margin-bottom: 1rem;
  line-height: 1;
}

.advantage-card:hover .advantage-number {
  color: var(--color-neon-green);
  text-shadow: 0 0 12px rgba(102, 255, 0, 0.5);
}

.advantage-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------
   9. Interactive Project Estimator
   -------------------------------------------------- */
.estimator-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(102, 255, 0, 0.1);
}

.estimator-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .estimator-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.estimator-field-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.estimator-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.estimator-radio-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(6, 16, 6, 0.8);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.92rem;
}

.estimator-radio-label:hover {
  border-color: rgba(102, 255, 0, 0.4);
}

.estimator-radio-label.is-selected {
  background: rgba(102, 255, 0, 0.1);
  border-color: var(--color-neon-green);
  color: var(--color-white);
  box-shadow: 0 0 15px rgba(102, 255, 0, 0.15);
}

.estimator-result-box {
  background: rgba(6, 16, 6, 0.9);
  border: 1px solid var(--color-border-green-hover);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .estimator-result-box {
    flex-direction: row;
    text-align: left;
  }
}

.estimator-calculated-price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--color-neon-green);
  line-height: 1;
}

/* --------------------------------------------------
   10. Contact Section & Working Form
   -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.35fr;
  }
}

.contact-info-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wa-direct-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-group-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-neon-green);
  box-shadow: 0 0 18px rgba(102, 255, 0, 0.25);
  background: rgba(11, 24, 11, 0.9);
}

.form-select option {
  background: var(--color-deep-black);
  color: var(--color-white);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* --------------------------------------------------
   11. Floating WhatsApp Button & Back to Top
   -------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #020502;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.9);
}

.floating-wa-pulse {
  position: absolute;
  inset: -6px;
  border: 2px solid #25D366;
  border-radius: 50%;
  animation: pulseWaRing 2.2s infinite ease-out;
  pointer-events: none;
}

.back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 24, 11, 0.9);
  border: 1px solid var(--color-border-green);
  color: var(--color-neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--color-neon-green);
  color: var(--color-deep-black);
  border-color: var(--color-neon-green);
  box-shadow: 0 0 20px rgba(102, 255, 0, 0.4);
}

/* --------------------------------------------------
   12. Toasts
   -------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(11, 24, 11, 0.95);
  border: 1px solid var(--color-neon-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(102, 255, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-white);
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------
   13. FAQ Accordion
   -------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(102, 255, 0, 0.35);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-item.is-open .faq-question {
  color: var(--color-neon-green);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neon-green);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--color-muted-green);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem;
}

/* --------------------------------------------------
   14. Cyber Laser Cursor
   -------------------------------------------------- */
.cyber-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-neon-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  margin-left: -3px;
  margin-top: -3px;
  box-shadow: 0 0 10px var(--color-neon-green);
}

.cyber-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(102, 255, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  margin-left: -17px;
  margin-top: -17px;
  box-shadow: 0 0 15px rgba(102, 255, 0, 0.2);
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1), height 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.cyber-cursor-ring.cursor-active {
  width: 52px;
  height: 52px;
  margin-left: -26px;
  margin-top: -26px;
  border-color: var(--color-neon-green);
  background-color: rgba(102, 255, 0, 0.08);
  box-shadow: 0 0 25px rgba(102, 255, 0, 0.45);
}

/* --------------------------------------------------
   15. Audio FX Toggle Button in Header
   -------------------------------------------------- */
.audio-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(11, 24, 11, 0.6);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-muted-green);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.audio-toggle-btn:hover {
  border-color: var(--color-neon-green);
  color: var(--color-white);
}

.audio-toggle-btn.sound-active {
  background: rgba(102, 255, 0, 0.12);
  border-color: var(--color-neon-green);
  color: var(--color-neon-green);
  box-shadow: 0 0 12px rgba(102, 255, 0, 0.2);
}

/* --------------------------------------------------
   16. System Pulse Bar
   -------------------------------------------------- */
.system-pulse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(6, 16, 6, 0.8);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  margin: 2.5rem auto 0;
  max-width: 820px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.pulse-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-muted-green);
}

.pulse-item strong {
  color: var(--color-bright-lime);
}

/* --------------------------------------------------
   17. Laser Border Beam Animation
   -------------------------------------------------- */
.laser-border-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(90deg, var(--color-border-green), rgba(102, 255, 0, 0.6), var(--color-border-green));
  background-size: 200% 200%;
  animation: laserBorderGlow 4s linear infinite;
}

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

/* --------------------------------------------------
   18. Service Workbench Interactive Tabs
   -------------------------------------------------- */
.service-workbench-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-green);
  padding-bottom: 1rem;
}

.service-workbench-tab {
  padding: 8px 18px;
  background: rgba(11, 24, 11, 0.6);
  border: 1px solid var(--color-border-green);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted-green);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.service-workbench-tab:hover {
  color: var(--color-white);
  border-color: rgba(102, 255, 0, 0.4);
}

.service-workbench-tab.active {
  background: var(--color-neon-green);
  color: var(--color-deep-black);
  border-color: var(--color-neon-green);
  box-shadow: 0 0 15px rgba(102, 255, 0, 0.35);
}
