/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Custom styles - Hero Section */
.interactive-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#interactive-canvas {
  display: block;
  background-color: transparent;
  pointer-events: none;
  will-change: transform;
}

/* Logo de Fondo Transparente - Responsive */
.hero-logo-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-logo-bg-image {
  width: 180px;
  height: auto;
  opacity: 0.2;
  filter: blur(1px);
  transform-origin: center center;
}

/* Hero Content Layout - Mobile First */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 1rem 2rem;
  text-align: center;
}

/* Hero Text Container */
.hero-text-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Hero Title - Responsive Typography */
.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-cta-container {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

/* Tablet Breakpoint (768px) */
@media (min-width: 768px) {
  .hero-logo-bg-image {
    width: 350px;
    opacity: 0.35;
  }

  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .hero-content {
    padding: 100px 2rem 3rem;
  }
}

/* Desktop Breakpoint (1024px) */
@media (min-width: 1024px) {
  .hero-logo-bg-image {
    width: 500px;
    opacity: 0.45;
  }

  .hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .hero-logo-bg-image {
    width: 600px;
    opacity: 0.5;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-container,
  .hero-title,
  .hero-subtitle,
  .hero-cta-container {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Page Sections - On mobile, sections stack normally */
.page-section {
  padding-top: 5rem;
  padding-bottom: 3rem;
  scroll-margin-top: 80px; /* Compensar altura del header fijo */
}

/* On desktop, sections behave like full-screen slides */
@media (min-width: 1024px) {
  .page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .page-section.active {
    opacity: 1;
    visibility: visible;
    position: relative;
  }
}

.section-title {
  color: #1a202c;
  font-weight: 800;
  font-size: 2.5rem; /* Slightly smaller for mobile */
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem; /* Original size for larger screens */
  }
}

/* CTA Button - Mobile First */
.cta-button {
  background-color: #6d28d9;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0.025em;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  line-height: 1.5;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}

/* Tablet and up - larger buttons */
@media (min-width: 768px) {
  .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

.nav-link.active {
  color: #6d28d9;
  border-bottom: 2px solid #6d28d9;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Admin Sidebar Active Link */
.admin-nav-link.active {
  background-color: #4a5568; /* gray-700 */
  color: #ffffff; /* white */
}

/* Browser Tab Cards - Sección de Beneficios */
.browser-tab-card {
  background: white;
  border-radius: 12px 12px 0 0;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.browser-tab-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 16px rgba(109, 40, 217, 0.15),
    0 0 0 1px rgba(109, 40, 217, 0.1);
  border-bottom-color: #6d28d9;
}

.browser-tab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #7b1fa2, #9c27b0, #00bcd4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.browser-tab-card:hover::before {
  opacity: 1;
}

/* Browser Tab Header (barra superior tipo Chrome) */
.browser-tab-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
  border-bottom: 1px solid #e5e7eb;
  min-height: 52px;
}

.browser-tab-favicon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.browser-tab-card:hover .browser-tab-favicon {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  box-shadow: 0 2px 4px rgba(109, 40, 217, 0.15);
  transform: scale(1.05);
}

/* Título de la pestaña */
.browser-tab-title {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.browser-tab-card:hover .browser-tab-title {
  color: #6d28d9;
}

.browser-tab-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #9ca3af;
  transition: all 0.2s ease;
  cursor: pointer;
  opacity: 0;
}

.browser-tab-card:hover .browser-tab-close {
  opacity: 1;
}

.browser-tab-close:hover {
  background: #e5e7eb;
  color: #4b5563;
}

/* Browser Tab Content */
.browser-tab-content {
  padding: 1.75rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
  overflow: visible;
}

.browser-tab-content p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .browser-tab-card {
    border-radius: 8px 8px 0 0;
  }

  .browser-tab-header {
    padding: 0.625rem 0.875rem;
    min-height: 44px;
    gap: 0.5rem;
  }

  .browser-tab-favicon {
    width: 24px;
    height: 24px;
  }

  .browser-tab-title {
    font-size: 0.8125rem;
  }

  .browser-tab-close {
    width: 20px;
    height: 20px;
  }

  .browser-tab-content {
    padding: 1.25rem 1rem;
  }

  .browser-tab-content p {
    font-size: 0.875rem;
  }
}

/* ==================== BENEFITS SECTION ENHANCEMENTS ==================== */

/* Badge para "NUEVO" y "MÁS USADO" */
.benefit-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.3);
  z-index: 10;
  animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(0.98);
  }
}

/* Emoji como marca de agua en el fondo */
.benefit-emoji {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-15deg);
  transition: all 0.3s ease;
}

.browser-tab-card:hover .benefit-emoji {
  opacity: 0.85;
  transform: rotate(-12deg) scale(1.05);
}

/* Descripción del beneficio con más espacio */
.benefit-description {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Lista de features con checkmarks */
.benefit-features-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.5;
}

.benefit-check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #10b981;
  stroke-width: 2.5;
  margin-top: 2px;
}

/* Ejemplo con lightbulb */
.benefit-example {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  border-left: 3px solid #f59e0b;
}

.benefit-example-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.benefit-example-text {
  color: #78350f;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Gradientes de fondo por índice de beneficio */
.browser-tab-card[data-benefit-index="0"] {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.browser-tab-card[data-benefit-index="0"]:hover {
  border-bottom-color: #6d28d9;
  box-shadow:
    0 8px 16px rgba(109, 40, 217, 0.15),
    0 0 0 2px rgba(109, 40, 217, 0.1);
}

.browser-tab-card[data-benefit-index="1"] {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.browser-tab-card[data-benefit-index="1"]:hover {
  border-bottom-color: #10b981;
  box-shadow:
    0 8px 16px rgba(16, 185, 129, 0.15),
    0 0 0 2px rgba(16, 185, 129, 0.1);
}

.browser-tab-card[data-benefit-index="2"] {
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
}

.browser-tab-card[data-benefit-index="2"]:hover {
  border-bottom-color: #06b6d4;
  box-shadow:
    0 8px 16px rgba(6, 182, 212, 0.15),
    0 0 0 2px rgba(6, 182, 212, 0.1);
}

.browser-tab-card[data-benefit-index="3"] {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
}

.browser-tab-card[data-benefit-index="3"]:hover {
  border-bottom-color: #f59e0b;
  box-shadow:
    0 8px 16px rgba(245, 158, 11, 0.15),
    0 0 0 2px rgba(245, 158, 11, 0.1);
}

.browser-tab-card[data-benefit-index="4"] {
  background: linear-gradient(135deg, #ffffff 0%, #fce7f3 100%);
}

.browser-tab-card[data-benefit-index="4"]:hover {
  border-bottom-color: #ec4899;
  box-shadow:
    0 8px 16px rgba(236, 72, 153, 0.15),
    0 0 0 2px rgba(236, 72, 153, 0.1);
}

.browser-tab-card[data-benefit-index="5"] {
  background: linear-gradient(135deg, #ffffff 0%, #ede9fe 100%);
}

.browser-tab-card[data-benefit-index="5"]:hover {
  border-bottom-color: #a855f7;
  box-shadow:
    0 8px 16px rgba(168, 85, 247, 0.15),
    0 0 0 2px rgba(168, 85, 247, 0.1);
}

/* Responsive para mobile */
@media (max-width: 768px) {
  .benefit-emoji {
    font-size: 3.5rem;
    bottom: 0.5rem;
    right: 0.5rem;
    opacity: 0.6;
  }

  .browser-tab-card:hover .benefit-emoji {
    opacity: 0.75;
  }

  .benefit-badge {
    font-size: 0.5625rem;
    padding: 0.3125rem 0.5rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .benefit-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .benefit-features-list {
    gap: 0.625rem;
    margin: 1rem 0;
  }

  .benefit-feature-item {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }

  .benefit-check-icon {
    width: 16px;
    height: 16px;
  }

  .benefit-example {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .benefit-example-icon {
    font-size: 1rem;
  }

  .benefit-example-text {
    font-size: 0.75rem;
  }
}

/* ==================== USE CASES SECTION ==================== */

/* Parte A: Categorías principales */
.use-case-category-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: visible;
}

.use-case-category-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 24px rgba(109, 40, 217, 0.12),
    0 0 0 2px rgba(109, 40, 217, 0.1);
  border-color: #6d28d9;
}

.category-emoji {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-15deg);
  transition: all 0.3s ease;
}

.use-case-category-card:hover .category-emoji {
  opacity: 0.85;
  transform: rotate(-12deg) scale(1.05);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.category-description {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.category-scope {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: relative;
  z-index: 1;
}

.scope-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.scope-text {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
}

/* Gradientes por categoría */
.use-case-category-card[data-category-index="0"] {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.use-case-category-card[data-category-index="1"] {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.use-case-category-card[data-category-index="2"] {
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
}

.use-case-category-card[data-category-index="3"] {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
}

.use-case-category-card[data-category-index="4"] {
  background: linear-gradient(135deg, #ffffff 0%, #fce7f3 100%);
}

.use-case-category-card[data-category-index="5"] {
  background: linear-gradient(135deg, #ffffff 0%, #ede9fe 100%);
}

.invitation-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.invitation-card .category-emoji {
  font-size: 4rem;
  opacity: 0.12;
  top: auto;
  bottom: 1rem;
  right: 1rem;
  transform: rotate(-10deg);
}

.invitation-card--cta .category-emoji {
  opacity: 0.18;
}

.invitation-card--error {
  border-color: rgba(239, 68, 68, 0.25);
}

.invitation-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.invitation-list-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.invitation-list-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 700;
}

.invitation-list-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 600;
}

.invitation-meta {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.invitation-meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.invitation-meta-value {
  font-size: 1rem;
  color: #1f2937;
  font-weight: 600;
}

.invitation-meta-value--pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(109, 40, 217, 0.1);
  color: #5b21b6;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
}

.invitation-footnote {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.invitation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.invitation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.invitation-button--primary {
  background: linear-gradient(135deg, #6d28d9, #5b21b6);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(91, 33, 182, 0.25);
}

.invitation-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(76, 29, 149, 0.28);
  background: linear-gradient(135deg, #5b21b6, #4c1d95);
}

.invitation-button--ghost {
  background: transparent;
  color: #5b21b6;
  border-color: rgba(109, 40, 217, 0.25);
}

.invitation-button--ghost:hover {
  background: rgba(109, 40, 217, 0.08);
  border-color: rgba(109, 40, 217, 0.4);
}

/* Parte B: Herramientas MCP */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool-group-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.tool-group-card:hover {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(109, 40, 217, 0.2);
  transform: translateY(-2px);
}

.tool-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.tool-group-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
}

.tool-group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.tool-group-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.tool-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
}

.tool-check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #10b981;
  stroke-width: 2.5;
  margin-top: 2px;
}

/* Parte C: Roles */
.role-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 24px rgba(109, 40, 217, 0.15),
    0 0 0 2px rgba(109, 40, 217, 0.1);
}

.role-card[data-role-index="0"] {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.role-card[data-role-index="0"]:hover {
  border-left-color: #10b981;
}

.role-card[data-role-index="1"] {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.role-card[data-role-index="1"]:hover {
  border-left-color: #3b82f6;
}

.role-card[data-role-index="2"] {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
}

.role-card[data-role-index="2"]:hover {
  border-left-color: #f59e0b;
}

.role-card[data-role-index="3"] {
  background: linear-gradient(135deg, #ffffff 0%, #fce7f3 100%);
}

.role-card[data-role-index="3"]:hover {
  border-left-color: #ec4899;
}

.role-emoji {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.role-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.role-description {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.role-example {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  border-left: 3px solid #6d28d9;
}

.role-example-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6d28d9;
  margin-bottom: 0.5rem;
}

.role-example-text {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
  font-style: italic;
}

/* Responsive para mobile */
@media (max-width: 768px) {
  .use-case-category-card {
    padding: 1.5rem;
  }

  .category-emoji {
    font-size: 3.5rem;
    bottom: 0.5rem;
    right: 0.5rem;
    opacity: 0.6;
  }

  .use-case-category-card:hover .category-emoji {
    opacity: 0.75;
  }

  .category-title {
    font-size: 1.25rem;
  }

  .category-description {
    font-size: 0.9375rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-group-card {
    padding: 1.25rem;
  }

  .role-card {
    padding: 1.5rem;
  }

  .role-emoji {
    font-size: 2rem;
  }

  .role-title {
    font-size: 1.25rem;
  }

  .role-description {
    font-size: 0.875rem;
  }
}

/* ==================== PRICING SECTION ==================== */

/* Beta Banner - Mobile First */
.beta-banner {
  background: linear-gradient(90deg, #7b1fa2, #9c27b0, #00bcd4);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.beta-banner-icon {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

.beta-banner-text {
  font-size: 0.875rem;
}

.beta-banner-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

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

/* Pricing Grid - Mobile First (stacked) */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Pricing Card - Base Mobile Styles */
.pricing-card {
  background: white;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Popular Card */
.pricing-card-popular {
  border: 3px solid #6d28d9;
  box-shadow: 0 8px 16px rgba(109, 40, 217, 0.2);
}

.pricing-card-popular:hover {
  box-shadow: 0 16px 32px rgba(109, 40, 217, 0.3);
}

/* Popular Badge */
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, #6d28d9, #9c27b0);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
}

/* Card Header */
.pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-card-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.pricing-card-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.pricing-card-tagline {
  font-size: 0.875rem;
  color: #6d28d9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Body */
.pricing-card-body {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-card-description {
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Price Section */
.pricing-card-price-section {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f3f4f6;
}

.pricing-original {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.pricing-beta {
  font-size: 2rem;
  font-weight: 800;
  color: #6d28d9;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.pricing-discount-badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features List */
.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.5;
}

.pricing-feature-item.included .pricing-feature-icon {
  color: #10b981;
}

.pricing-feature-item.not-included {
  opacity: 0.5;
}

.pricing-feature-item.not-included .pricing-feature-icon {
  color: #9ca3af;
}

.pricing-feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 2.5;
}

/* Ideal For Text */
.pricing-ideal-for {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.6;
  font-style: italic;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #6d28d9;
}

/* Card Footer */
.pricing-card-footer {
  margin-top: auto;
}

/* CTA Buttons */
.pricing-cta-button {
  display: block;
  width: 100%;
  background-color: #6d28d9;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.pricing-cta-button:hover {
  background-color: #5b21b6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}

.pricing-cta-button-popular {
  background: linear-gradient(135deg, #6d28d9, #9c27b0);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}

.pricing-cta-button-popular:hover {
  background: linear-gradient(135deg, #5b21b6, #7b1fa2);
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.5);
}

.pricing-cta-button-outline {
  background-color: white;
  color: #6d28d9;
  border: 2px solid #6d28d9;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.1);
}

.pricing-cta-button-outline:hover {
  background-color: #f9fafb;
  border-color: #5b21b6;
  color: #5b21b6;
}

/* Tablet Breakpoint (768px) */
@media (min-width: 768px) {
  .beta-banner {
    flex-direction: row;
    justify-content: center;
    font-size: 1rem;
    padding: 1.25rem;
  }

  .beta-banner-text {
    font-size: 1rem;
  }

  .beta-banner-badge {
    font-size: 0.8125rem;
    padding: 0.375rem 1rem;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
  }

  .pricing-card {
    padding: 2.5rem;
  }

  .pricing-card-icon {
    font-size: 3rem;
  }

  .pricing-card-name {
    font-size: 2rem;
  }

  .pricing-card-tagline {
    font-size: 0.9375rem;
  }

  .pricing-card-description {
    font-size: 0.9375rem;
  }

  .pricing-beta {
    font-size: 2.5rem;
  }

  .pricing-feature-item {
    font-size: 0.9375rem;
  }

  .pricing-cta-button {
    font-size: 1rem;
    padding: 1.125rem 2rem;
  }

  /* Popular card stands out more on desktop */
  .pricing-card-popular {
    transform: scale(1.03);
    z-index: 10;
  }

  .pricing-card-popular:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

/* Desktop Breakpoint (1024px) */
@media (min-width: 1024px) {
  .pricing-card {
    padding: 3rem;
  }

  .pricing-card-icon {
    font-size: 3.5rem;
  }

  .pricing-ideal-for {
    font-size: 0.875rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .beta-banner-icon,
  .pricing-card,
  .pricing-cta-button {
    animation: none;
    transition: none;
  }

  .pricing-card:hover,
  .pricing-card-popular,
  .pricing-cta-button:hover {
    transform: none;
  }
}

/* Table container with dropdowns */
.table-container-with-dropdowns {
  overflow: visible !important;
}

.table-container-with-dropdowns table {
  overflow: visible !important;
}

.table-container-with-dropdowns tbody {
  overflow: visible !important;
}

.table-container-with-dropdowns tr {
  overflow: visible !important;
}

/* Dropdown positioning - open upwards to avoid scroll */
.table-container-with-dropdowns details > div {
  bottom: 100%;
  top: auto;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
