/* =============================================================================
   AutoElectro – Custom Styles (Mobile-First)
   Tailwind v4 @theme tokens + third-party overrides
============================================================================= */

/* ---------- Design Tokens ---------- */
@theme {
  --color-bg:      #09090b;
  --color-surface: #121215;
  --color-border:  rgba(255, 255, 255, 0.08);
  --color-accent:  #22c55e;
  --color-text:    #fafafa;
  --color-muted:   #a1a1aa;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #09090b;
  color: #fafafa;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #27272a;
  color: #fafafa;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* ---------- Utility Classes ---------- */
.glass {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.accent-glow {
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.15);
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* ---------- Swiper Overrides ---------- */
.swiper-pagination-bullet {
  background: #71717a !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
}
.swiper-pagination-bullet-active {
  background: #fafafa !important;
  width: 24px !important;
  border-radius: 4px !important;
}
.swiper-button-next,
.swiper-button-prev {
  color: #fafafa !important;
  background: #18181b !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 900 !important;
}

/* ---------- Pulse animation for hero badge ---------- */
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.pulse-ring {
  animation: pulse-ring 1.5s ease-out infinite;
}

/* ---------- Sticky Mobile CTA ---------- */
#sticky-cta {
  /* always rendered, visibility toggled via JS on desktop */
  transition: transform 0.3s ease;
}

/* ---------- GSAP invisible defaults — only when GSAP is loaded ---------- */
/* .reveal opacity is controlled entirely by GSAP inline styles, not CSS */

/* ---------- Mascot float animation ---------- */
@keyframes mascot-float {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-12px); }
}
.mascot-float {
  animation: mascot-float 4s ease-in-out infinite;
}

/* ---------- Floating bubbles ---------- */
@keyframes bubble-float-1 {
  0%, 100% { transform: translateY(0) rotate(-2deg);  }
  50%       { transform: translateY(-8px) rotate(2deg); }
}
@keyframes bubble-float-2 {
  0%, 100% { transform: translateY(0) rotate(1deg);  }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes bubble-float-3 {
  0%, 100% { transform: translateY(0) rotate(-1deg);  }
  50%       { transform: translateY(-6px) rotate(2deg); }
}
.bubble-1 { animation: bubble-float-1 3.5s ease-in-out infinite; }
.bubble-2 { animation: bubble-float-2 4.2s ease-in-out infinite 0.8s; }
.bubble-3 { animation: bubble-float-3 3.8s ease-in-out infinite 0.4s; }

/* ---------- Gradient text ---------- */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- How section connecting line on step 1 ---------- */
.how-card { position: relative; }

/* ---------- Live Master Status Badge & Radar Pulse ---------- */
.status-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(28, 31, 39, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid #2A2D38;
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
  position: relative;
}

.status-indicator.free {
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.status-indicator.busy {
  border-color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.status-indicator.offline {
  border-color: #6b7280;
}

.status-icon {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator.free .status-icon {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-indicator.busy .status-icon {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.status-indicator.offline .status-icon {
  background: #6b7280;
}

.radar-ring {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 2px solid rgba(16, 185, 129, 0.5);
  border-radius: 50%;
  animation: pulseRadar 2s infinite ease-out;
  pointer-events: none;
  z-index: 1;
}

.status-indicator.busy ~ .radar-ring {
  border-color: rgba(245, 158, 11, 0.5);
}

.status-indicator.offline ~ .radar-ring {
  display: none;
}

@keyframes pulseRadar {
  0%   { transform: translateY(-50%) scale(0.6); opacity: 0.9; }
  60%  { opacity: 0.4; }
  100% { transform: translateY(-50%) scale(2.2); opacity: 0; }
}

/* =============================================================================
   VIBEPROMPTS.DEV MINIMALIST DESIGN SYSTEM (LINEAR / STRIPE / SHADCN)
============================================================================= */

/* Base minimalist tokens */
:root {
  --color-bg: #09090b;
  --color-surface: #121215;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  --color-text-primary: #fafafa;
  --color-text-muted: #a1a1aa;
  --color-accent: #22c55e;
}

/* Minimalist Clean Hero */
.hero-minimal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #d4d4d8;
}
.hero-minimal-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

/* Minimal Buttons */
.btn-solid-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fafafa;
  color: #09090b;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 0.875rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-solid-white:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}
.btn-outline-zinc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: 0.875rem;
  transition: all 0.15s ease;
}
.btn-outline-zinc:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Metric Strip (Clean Divider) */
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.875rem;
}

/* Minimalist Services: 6 Core Services + Expandable Catalog */
.service-minimal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.service-minimal-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: #16161a;
  transform: translateY(-1px);
}
.service-price-pill {
  font-size: 0.875rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}
.service-mini-btn {
  padding: 0.45rem 0.9rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fafafa;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.service-mini-btn:hover {
  background: #fafafa;
  color: #09090b;
}

/* Expand full catalog button */
.toggle-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.toggle-catalog-btn:hover {
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

/* Minimalist Configurator (SaaS Checkout Style) */
.calc-clean-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}
.calc-step-pill {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem;
  color: #71717a;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.calc-step-pill.active {
  color: #fafafa;
  border-bottom-color: #fafafa;
}
.calc-clean-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}
.calc-clean-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}
.calc-clean-btn.selected {
  border-color: #fafafa;
  background: rgba(255, 255, 255, 0.08);
}



/* ---------- Reduced Motion (Accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .radar-ring { display: none !important; }
  .mascot-float { transform: none !important; }
}

