/* ==========================================================================
   Renderix Studio — WhatsApp Story HD Optimizer
   Mobile-First High-End Design System
   ========================================================================== */

:root {
  --bg-base: #080d10;
  --bg-surface: #0f171c;
  --bg-elevated: #162229;
  --bg-input: #090e11;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(37, 211, 102, 0.35);

  --wa-green: #25d366;
  --wa-teal: #128c7e;
  --wa-dark-teal: #075e54;
  --wa-glow: rgba(37, 211, 102, 0.35);

  --text-main: #f0f2f5;
  --text-sub: #8696a0;
  --text-muted: #536471;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Mobile Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: -1;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 320px;
  background: radial-gradient(circle, rgba(7, 94, 84, 0.28), transparent 70%);
}

.glow-bottom {
  bottom: -150px;
  right: 10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.12), transparent 70%);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 56px;
}

.nav-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #080d10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 14px var(--wa-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.brand-accent {
  color: var(--wa-green);
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-sub);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-donate i {
  color: #f59e0b;
}

.btn-donate:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #fbbf24;
  color: #fff;
  transform: translateY(-1px);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.status-badge.offline {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.35);
}

.status-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--wa-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--wa-green);
  animation: pulse 2s infinite;
}

.status-badge .dot.dot-red {
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

/* Layout Container */
.page-body {
  padding: 16px 14px 48px;
}

.content-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero-block {
  text-align: center;
  padding: 18px 8px 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(7, 94, 84, 0.35);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: var(--wa-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.hero-heading {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.gradient-text {
  background: linear-gradient(135deg, #25d366 0%, #53bdeb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.45;
  max-width: 480px;
  margin: 0 auto;
}

/* Main Tool Card */
.app-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

/* STEP 1: Upload Dropzone */
.upload-dropzone {
  border: 1.5px dashed rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-md);
  padding: 30px 14px;
  text-align: center;
  background: rgba(7, 94, 84, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--wa-green);
  background: rgba(7, 94, 84, 0.16);
}

.upload-circle {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--wa-green);
}

.upload-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.upload-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.mini-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.btn-choose {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #080d10;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-choose:active {
  transform: scale(0.97);
}

/* STEP 2: Preview Strip */
.preview-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.preview-media {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-tag {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.preview-info {
  flex: 1;
  min-width: 0;
}

.preview-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.meta-highlight {
  color: var(--wa-green);
  font-weight: 700;
}

.btn-swap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-swap:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

/* WhatsApp Direct Send Card */
.send-wa-card {
  background: linear-gradient(135deg, rgba(7, 94, 84, 0.35) 0%, rgba(18, 140, 126, 0.15) 100%);
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 14px;
}

.send-wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.wa-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.send-wa-copy h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 2px;
}

.send-wa-copy p {
  font-size: 0.74rem;
  color: var(--text-sub);
  line-height: 1.35;
}

.wa-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
}

.phone-input-bar {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-sm);
  height: 48px;
  padding: 0 12px;
  gap: 10px;
  transition: var(--transition);
}

.phone-input-bar:focus-within {
  border-color: var(--wa-green);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.25);
}

.phone-prefix {
  font-weight: 800;
  color: var(--wa-green);
  font-size: 0.95rem;
  user-select: none;
}

.phone-field {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-sans);
  outline: none;
}

.phone-field::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
}

.btn-submit-wa {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #080d10;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-submit-wa:active {
  transform: scale(0.98);
}

.form-tip {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 2px;
}

/* STEP 3: Processing Animation */
.processing-wrap {
  text-align: center;
  padding: 24px 8px;
}

.loader-pulse {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--wa-green);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.processing-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.processing-wrap p {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #128c7e, #25d366);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.progress-status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.terminal-box {
  background: #000;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--wa-green);
  text-align: left;
  max-height: 80px;
  overflow-y: auto;
}

/* STEP 4: Success Result Screen */
.success-banner {
  text-align: center;
  padding: 16px 8px;
}

.success-icon-wrap {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 2px solid var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--wa-green);
}

.success-banner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.success-banner p {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.final-instruction-box {
  background: rgba(7, 94, 84, 0.25);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.instruction-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--wa-green);
  text-transform: uppercase;
}

.instruction-step p {
  font-size: 0.84rem;
  color: var(--text-main);
  line-height: 1.45;
  margin: 0;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-open-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #080d10;
  text-decoration: none;
  height: 48px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-restart {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

/* 3-Step Clean Guide */
.guide-section {
  margin-top: 36px;
  margin-bottom: 32px;
}

.guide-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.guide-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.guide-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-teal));
  color: #080d10;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-item-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.guide-item-content p {
  font-size: 0.75rem;
  color: var(--text-sub);
  line-height: 1.35;
}

/* FAQ Container */
.faq-container {
  margin-bottom: 40px;
}

.faq-header {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.faq-card summary {
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 20px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-sub);
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.faq-card[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-content {
  padding-top: 8px;
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.45;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 14px;
  text-align: center;
}

.footer-donate-wrap {
  margin-bottom: 12px;
}

.footer-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fb7185;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.footer-donate-btn:hover {
  background: rgba(225, 29, 72, 0.2);
  border-color: #fb7185;
  color: #fff;
  transform: translateY(-1px);
}

.footer-love {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer-heart {
  display: inline-block;
  animation: heartPulse 1.8s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 2px;
}

.footer-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Toast */
.toast-host {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 32px);
  max-width: 380px;
}

.toast {
  background: #111b21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--wa-green);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Desktop Expansion (Clean centering) */
@media (min-width: 641px) {
  .hero-heading {
    font-size: 2.2rem;
  }
  .hero-subheading {
    font-size: 0.95rem;
  }
  .guide-cards {
    flex-direction: row;
  }
  .guide-item {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: 20px 14px;
  }
  .guide-item-content h4 {
    margin-top: 8px;
  }
}

/* ==========================================================================
   React Bits — MorphSlider Component
   ========================================================================== */
.slider-showcase-section {
  margin-bottom: 22px;
  width: 100%;
}

.slider-showcase-card,
.slider-showcase-card.morph-slider {
  position: relative;
  width: 100% !important;
  height: 280px !important;
  min-height: 280px !important;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
  background: #0c0c0e;
}

@media (min-width: 641px) {
  .slider-showcase-card,
  .slider-showcase-card.morph-slider {
    height: 380px !important;
    min-height: 380px !important;
    border-radius: 20px;
  }
}

.morph-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0c0c0e;
  user-select: none;
  touch-action: pan-y;
}

.morph-slider-stage {
  position: absolute;
  inset: 0;
  cursor: grab;
  outline: none;
}

.morph-slider-stage:active {
  cursor: grabbing;
}

.morph-slider-stage:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.morph-slider-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.morph-slider-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: 80%;
  pointer-events: none;
  display: grid;
}

.morph-slider-caption-text {
  grid-area: 1 / 1;
  justify-self: start;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition:
    opacity var(--ms-swap, 0.7s) cubic-bezier(0.16, 1, 0.3, 1),
    transform var(--ms-swap, 0.7s) cubic-bezier(0.16, 1, 0.3, 1),
    filter var(--ms-swap, 0.7s) cubic-bezier(0.16, 1, 0.3, 1);
}

.morph-slider-caption-text.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.morph-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.morph-slider-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 12, 14, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    border-color 0.25s ease;
}

.morph-slider-btn:hover {
  background: rgba(24, 24, 28, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.06);
}

.morph-slider-btn:active {
  transform: scale(0.94);
}

.morph-slider-btn:focus-visible {
  outline: 2px solid var(--wa-green);
  outline-offset: 2px;
}

.morph-slider-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.morph-slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    width var(--ms-dot, 0.5s) cubic-bezier(0.16, 1, 0.3, 1),
    background var(--ms-dot, 0.5s) ease;
}

.morph-slider-dot.is-active {
  width: 20px;
  background: var(--wa-green);
}

.morph-slider-dot:focus-visible {
  outline: 2px solid var(--wa-green);
  outline-offset: 2px;
}

@media (min-width: 641px) {
  .morph-slider-btn {
    width: 42px;
    height: 42px;
  }
  .morph-slider-caption-text {
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .morph-slider-caption-text,
  .morph-slider-btn,
  .morph-slider-dot {
    animation: none;
    transition: none;
  }
}

/* ==========================================================================
   React Bits — FoldText Component
   ========================================================================== */
.hero-fold-line:not(.fold-text) {
  opacity: 0;
}

.hero-fold-line,
.hero-fold-line.fold-text {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.fold-text {
  display: inline-block;
  color: var(--fold-text-color, currentColor);
  font-size: var(--fold-text-font-size, inherit);
  font-weight: var(--fold-text-font-weight, inherit);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: normal;
  user-select: text;
}

.fold-text-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fold-text-visual {
  display: inline;
}

.fold-text-line {
  display: block;
}

.fold-text-whitespace {
  display: inline;
}

.fold-text-segment {
  display: inline-block;
  line-height: inherit;
  perspective: var(--fold-perspective, 700px);
  transform-style: preserve-3d;
  vertical-align: baseline;
}

.fold-text-segment[data-fold-split='line'] {
  display: block;
}

.fold-text-piece {
  position: relative;
  display: inline-block;
  color: inherit;
  line-height: inherit;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.gradient-text .fold-text-piece {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fold-text-piece::after {
  content: '';
  position: absolute;
  inset: -0.08em -0.02em;
  pointer-events: none;
  opacity: var(--fold-crease, 0);
  mix-blend-mode: multiply;
  border-radius: 0.08em;
}

.fold-text-piece[data-fold-hinge='top']::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(255, 255, 255, 0.26) 100%);
}

.fold-text-piece[data-fold-hinge='bottom']::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(255, 255, 255, 0.26) 100%);
}

.fold-text-piece[data-fold-hinge='left']::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(255, 255, 255, 0.26) 100%);
}

.fold-text-piece[data-fold-hinge='right']::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(255, 255, 255, 0.26) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .fold-text-piece {
    transform: none !important;
  }

  .fold-text-piece::after {
    opacity: 0 !important;
  }
}

/* ==========================================================================
   Community Support & Comments Section
   ========================================================================== */
.comments-section {
  margin-top: 36px;
  margin-bottom: 40px;
}

.comments-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-tag-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  color: #fb7185;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.comments-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.comments-subtitle {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.comment-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.input-field-group {
  margin-bottom: 14px;
}

.input-field-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.input-field-group label i {
  color: var(--wa-green);
}

.input-field-group input,
.input-field-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.input-field-group textarea {
  resize: vertical;
  min-height: 70px;
}

.input-field-group input:focus,
.input-field-group textarea:focus {
  border-color: var(--wa-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.btn-send-comment {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--wa-green), #16a34a);
  color: #05140b;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-send-comment:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, #2ae06f, #15803d);
}

.btn-send-comment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.comments-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comments-loading,
.comments-empty {
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.comment-card {
  background: rgba(15, 23, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  animation: fadeInComment 0.35s ease forwards;
}

.comment-card:hover {
  border-color: rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
}

@keyframes fadeInComment {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 211, 102, 0.3);
  text-transform: uppercase;
  flex-shrink: 0;
}

.comment-author-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-author-name i {
  color: var(--wa-green);
  font-size: 0.72rem;
}

.comment-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.82rem;
  color: #d1d7db;
  line-height: 1.45;
  word-break: break-word;
}



