/* ============================================
   ESPIA FÁCIL v4 — Premium Enterprise Design
   Colors: #1e1c40 (bg) | #00d1d5 (accent)
   Focused on: Professionalism, Trust & Conversion
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&family=Orbitron:wght@700;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #1e1c40;
  --bg-dark:      #0d0c22;
  --bg-card:      rgba(22, 20, 50, 0.85);
  --accent:       #00d1d5;
  --accent-dim:   #008b8e;
  --accent-glow:  rgba(0, 209, 213, 0.2);
  --text:         #f0f4f8;
  --text-muted:   #94a3b8;
  --border:       rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 209, 213, 0.3);
  --danger:       #ff4d6d;
  --success:      #10b981;
  --purple:       #8b5cf6;
  --radius:       12px;
  --radius-sm:    6px;
  --shadow-card:  0 10px 30px rgba(0,0,0,0.5);
  --transition:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- MATRIX RAIN BACKGROUND (GLOBAL) ---- */
#matrix-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ---- LOGO BRANDING ---- */
.brand-logo {
  max-width: 180px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 209, 213, 0.2));
}

/* ---- PROFESSIONAL CARDS ---- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-accent);
}

/* ---- TYPOGRAPHY ---- */
.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
  color: #fff;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 12px 16px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.3);
}

/* ---- BUTTONS (CLEANER) ---- */
.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: #00f2f6;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 209, 213, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---- PRICING CARDS (PRO STYLE) ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #1a1935;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.pricing-card.featured {
  background: #1e1c40;
  border-color: var(--accent-dim);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.price-row {
  margin-bottom: 20px;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}

.price-new {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.price-new span {
  font-size: 1rem;
  font-weight: 400;
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--purple);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ---- CLONING STEPS ---- */
.step-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.step-item.active {
  border-color: var(--accent);
  background: rgba(0, 209, 213, 0.03);
}

.step-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin: 12px 0;
}

.step-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s;
}

/* ---- TOPBAR ---- */
.topbar {
  background: rgba(13, 12, 34, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-logo {
  height: 32px;
  width: auto;
}

/* ---- MODAL STYLES ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: rgba(22, 20, 50, 0.95);
  border: 1px solid rgba(0, 209, 213, 0.3);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 16px;
  animation: bounce 0.6s ease;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}

.modal-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.modal-highlight {
  color: #00d1d5;
  font-weight: 600;
}

.modal-footer {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.modal-footer .btn {
  margin: 0;
}

/* ---- UTILS ---- */
.text-accent { color: var(--accent); }
.animate-in { animation: fadeInUp 0.5s ease both; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 768px) {
  .glass-card { padding: 30px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
