/* ============================================================
   CONVITEPRO — ULTRA-MODERN SAAS DESIGN SYSTEM (CANVA / FRAMER STYLE)
   Visual Jovem, Moderno, Dinâmico & Elegante (Plus Jakarta Sans & Outfit)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Palette Ultra-Moderna */
  --bg-main: #f8fafc;
  --bg-gradient: radial-gradient(circle at 10% 10%, #f1f5f9 0%, #f8fafc 50%, #eef2ff 100%);
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(226, 232, 240, 0.8);
  
  --primary-violet: #6366f1;
  --primary-fuchsia: #d946ef;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --primary-hover: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --gold-accent: #f59e0b;
  --shadow-soft: 0 10px 30px -5px rgba(99, 102, 241, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px -10px rgba(99, 102, 241, 0.2), 0 8px 20px -4px rgba(168, 85, 247, 0.15);
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Navbar Ultra Moderna */
.navbar-modern {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Botões Modernos com Gradiente e Glow */
.btn-modern-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-modern-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px -5px rgba(168, 85, 247, 0.5);
}

.btn-modern-secondary {
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-modern-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  color: #6366f1;
}

/* Pills de Filtro Ativas */
.filter-pill {
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover {
  border-color: #a855f7;
  color: #a855f7;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* Card de Template Moderno (SaaS Style) */
.template-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-hover);
}

.template-badge {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Inputs Modernos */
.input-modern {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}

.input-modern:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

/* Mockup de Celular SaaS */
.phone-mockup-saas {
  width: 320px;
  height: 580px;
  background: #090d16;
  border: 10px solid #1e293b;
  border-radius: 44px;
  box-shadow: 0 30px 70px -10px rgba(99, 102, 241, 0.25), 0 0 50px rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
