/* ============================================
   Royal Sales - Área do Vendedor
   Dark Theme CSS
   ============================================ */

:root {
  --background: hsl(210 30% 8%);
  --foreground: hsl(0 0% 98%);
  --card: hsl(210 25% 12%);
  --card-foreground: hsl(0 0% 98%);
  --primary: hsl(170 85% 45%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(15 90% 60%);
  --secondary-foreground: hsl(0 0% 100%);
  --muted: hsl(210 20% 18%);
  --muted-foreground: hsl(210 10% 60%);
  --border: hsl(210 20% 20%);
  --accent: hsl(15 90% 60%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, var(--background) 0%, #0d0d14 50%, var(--background) 100%);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
  font-size: 0.9rem;
  padding: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-content {
  padding-top: 100px;
  padding-bottom: 4rem;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  color: var(--foreground);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--muted-foreground);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 300px;
  height: 300px;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 400px;
  height: 400px;
  background: var(--secondary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* ============================================
   Badges
   ============================================ */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--muted);
  color: var(--muted-foreground);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary);
}

.badge-secondary {
  background: rgba(249, 115, 22, 0.2);
  color: var(--secondary);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* ============================================
   Sections
   ============================================ */

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Stage Cards (Mapa de Vendas)
   ============================================ */

.stage-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.stage-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stage-number {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stage-content h3 {
  margin-bottom: 0.5rem;
}

.stage-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.stage-section {
  margin-bottom: 1.5rem;
}

.stage-section h4 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stage-section ul {
  list-style: none;
  padding-left: 0;
}

.stage-section li {
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.stage-section li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* ============================================
   Framework Cards
   ============================================ */

.framework-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.framework-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.framework-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.framework-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.framework-icon.orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.framework-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.framework-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.framework-icon.pink { background: linear-gradient(135deg, #ec4899, #db2777); }

.framework-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.framework-stage {
  padding: 1rem;
  background: var(--muted);
  border-radius: 0.5rem;
}

.framework-stage h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.framework-stage ul {
  list-style: none;
  padding: 0;
}

.framework-stage li {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.framework-stage li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* ============================================
   Technique Cards
   ============================================ */

.technique-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.technique-header {
  margin-bottom: 1rem;
}

.technique-guru {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.technique-card h3 {
  margin-bottom: 0.25rem;
}

.technique-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.technique-content {
  margin-top: 1rem;
}

.technique-box {
  background: var(--muted);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.technique-example {
  background: rgba(99, 102, 241, 0.1);
  border-left: 3px solid var(--primary);
  padding: 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-top: 1rem;
}

.technique-example p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.technique-example strong {
  color: var(--primary);
}

/* ============================================
   Objection Cards
   ============================================ */

.objection-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.objection-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.objection-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.objection-icon.amber { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.objection-icon.red { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.objection-icon.orange { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.objection-icon.yellow { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.objection-icon.rose { background: rgba(244, 63, 94, 0.2); color: #f43f5e; }

.objection-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.objection-category {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.objection-pain {
  background: rgba(249, 115, 22, 0.1);
  border-left: 3px solid var(--secondary);
  padding: 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin-bottom: 1.5rem;
}

.objection-pain strong {
  color: var(--secondary);
}

.response-step {
  background: var(--muted);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.response-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.response-step-number {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.response-step h5 {
  font-size: 0.9rem;
}

.response-step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pricing-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted-foreground);
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  margin-top: 4rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 { font-size: 2.5rem; }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
  }
}
