/* ========================================
   GalaxIA - Estilos Corporativos
   ======================================== */

/* Variables CSS */
:root {
    /* Colores principales */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #0ea5e9;
    --accent-color: #8b5cf6;
    
    /* Colores de estado */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Neutrales */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.top-bar-left i {
    color: #10b981;
    font-size: 0.875rem;
}

.top-bar-right {
    display: flex;
    gap: 2rem;
}

.top-bar-right a {
    color: white;
    opacity: 0.9;
    font-weight: 500;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-right a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.top-bar-right i {
    font-size: 0.875rem;
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 1);
    border-bottom-color: rgba(226, 232, 240, 1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.logo a:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: transform var(--transition-fast);
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    transition: transform var(--transition-fast);
}

.logo a:hover i {
    transform: scale(1.05);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: -0.01em;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta-nav {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(99, 102, 241, 0.2);
    transition: all var(--transition-normal);
    font-weight: 600;
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0 calc(var(--spacing-md) + 80px);
    overflow: visible;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #6366f1 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(224, 231, 255, 0.85) 100%);
    z-index: 2;
}

.hero-grid {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    width: 100%;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.clients-logos {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.clients-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-marquee {
    overflow: hidden;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.logos-track {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 80px;
    flex-shrink: 0;
    gap: 0.25rem;
}

.logo-item img {
    max-width: 120px;
    max-height: 50px;
    opacity: 0.9;
    transition: var(--transition-fast);
    filter: grayscale(0%);
}

.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-item i {
    opacity: 0.9;
    transition: var(--transition-fast);
    filter: grayscale(0%);
}

.logo-item:hover i {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-item svg {
    opacity: 0.9;
    transition: var(--transition-fast);
}

.logo-item:hover svg {
    opacity: 1;
}

.logo-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.logo-item .more-clients {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.dashboard-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dashboard-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-weight: 500;
}

.dashboard-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.938rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.938rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: var(--spacing-lg) 0;
}

section:first-of-type:not(.hero) {
    padding-top: calc(var(--spacing-lg) + 70px);
}

.bg-secondary {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.section-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.section-badge.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.section-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.problem-section .container {
    position: relative;
    z-index: 1;
}

.problem-section .section-header {
    margin-top: 3rem;
}

.problem-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.problem-intro .section-badge {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.problem-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-intro .highlight {
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.problem-intro p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    perspective: 1000px;
    align-items: stretch;
}

.problem-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.problem-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes gradientSlide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.85);
}

.problem-card:hover::before,
.problem-card:hover::after {
    opacity: 1;
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.problem-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 0.875rem;
    background: currentColor;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.problem-card:hover .problem-icon::after {
    opacity: 0.2;
}

.problem-icon.red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.problem-icon.orange {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.problem-icon.yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #ca8a04;
    border: 1px solid rgba(202, 138, 4, 0.2);
}

.problem-icon.purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.problem-card:hover .problem-icon {
    transform: translateY(-2px);
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.problem-card p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 0.875rem;
    flex-grow: 1;
}

.problem-impact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.4);
    transition: all 0.3s ease;
    margin-top: auto;
}

.problem-card:hover .problem-impact {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.impact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.impact-value {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.impact-value::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.impact-value.critical {
    color: #dc2626;
}

.impact-value.high {
    color: #ea580c;
}

.impact-value.warning {
    color: #ca8a04;
}

.highlight-red {
    color: #dc2626;
    font-weight: 700;
}

/* Stats counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.problem-card.animate-in {
    animation: countUp 0.6s ease forwards;
}

.problem-card:nth-child(1) {
    animation-delay: 0.1s;
}

.problem-card:nth-child(2) {
    animation-delay: 0.2s;
}

.problem-card:nth-child(3) {
    animation-delay: 0.3s;
}

.problem-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */
.solution-section {
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.solution-container {
    position: relative;
    z-index: 1;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.15);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--gradient-primary);
    color: white;
    margin-bottom: 1.75rem;
    position: relative;
    transition: all 0.4s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 1.25rem;
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(16px);
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05) rotate(-5deg);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0.875rem;
    color: var(--text-secondary);
    background: rgba(99, 102, 241, 0.03);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.938rem;
    font-weight: 500;
}

.feature-list li:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(4px);
}

.feature-list i {
    color: var(--success-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Solution Showcase Grid */
.solution-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.showcase-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s ease;
}

.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -8px rgba(99, 102, 241, 0.15);
}

.showcase-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.showcase-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

.showcase-image.dashboard {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.showcase-image.architecture {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.showcase-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.visual-node {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 0.938rem;
    text-align: center;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.visual-node:nth-child(1) {
    animation-delay: 0s;
}

.visual-node:nth-child(2) {
    animation-delay: 0.5s;
}

.visual-node:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.visual-node i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.visual-connection {
    position: absolute;
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    left: 50%;
    transform: translateX(-50%);
}

.showcase-content {
    padding: 2rem;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.813rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.showcase-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.938rem;
}

.showcase-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.showcase-stat {
    flex: 1;
}

.showcase-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.showcase-stat-label {
    display: block;
    font-size: 0.813rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   CAPABILITIES SECTION
   ======================================== */
.capabilities-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.capabilities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.capabilities-section .section-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.capabilities-section .section-badge {
    background: white;
    box-shadow: var(--shadow-md);
}

.capabilities-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.capabilities-section .section-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.capability-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.capability-card:nth-child(5) {
    grid-column: 1 / 3;
}

.capability-card:nth-child(6) {
    grid-column: 3 / 5;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.2);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.05);
    line-height: 1;
    transition: all var(--transition-normal);
    user-select: none;
}

.capability-card:hover .capability-number {
    color: rgba(99, 102, 241, 0.1);
    transform: scale(1.05) rotate(-2deg);
}

.capability-content {
    position: relative;
    z-index: 1;
}

.capability-icon-small {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transition: all var(--transition-normal);
}

.capability-card:hover .capability-icon-small {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.capability-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.capability-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.capability-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-fast);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.capability-card:hover .tech-tag {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capability-card:nth-child(5),
    .capability-card:nth-child(6) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .capabilities-section .section-title {
        font-size: 2rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .capability-card {
        padding: 2rem;
    }
    
    .capability-card:nth-child(5),
    .capability-card:nth-child(6) {
        grid-column: span 1;
    }
    
    .capability-number {
        font-size: 2.5rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}

/* ========================================
   STATS SECTION
   ======================================== */
/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.stats-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.stats-header .section-badge {
    background: white;
    box-shadow: var(--shadow-md);
}

.stats-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px -15px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-visual {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.stat-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-circle-bg {
    fill: none;
    stroke: rgba(99, 102, 241, 0.1);
    stroke-width: 8;
}

.stat-circle-progress {
    fill: none;
    stroke: url(#stat-gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--progress)) / 100);
    transition: stroke-dashoffset 1.5s ease;
}

.stat-card:hover .stat-circle-progress {
    stroke-dashoffset: calc(283 - (283 * var(--progress)) / 100 - 10);
}

.stat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all var(--transition-normal);
}

.stat-card:hover .stat-icon {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-unit {
    font-size: 2rem;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.stat-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-header .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: url('../img/cta.png') center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.7) 0%, rgba(139, 92, 246, 0.7) 50%, rgba(236, 72, 153, 0.7) 100%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-light);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer-cta h3 {
    margin-bottom: 1rem;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 0.875rem;
}

.footer-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
}

.footer-links-bottom a:hover {
    color: var(--primary-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-bar-right {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .top-bar-right a {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .logos-marquee {
        padding: 0.75rem 0;
    }
    
    .logo-item {
        min-width: 120px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 1.75rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   ESTILOS ADICIONALES PARA PÁGINAS
   ======================================== */

/* Hero Secondary (para páginas internas) */
.hero-secondary {
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.hero-content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Platform Page */
.platform-section {
    padding: var(--spacing-lg) 0;
}

.platform-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.platform-feature.reverse {
    direction: rtl;
}

.platform-feature.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pipeline-example {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.pipeline-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.visual-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

.visual-content {
    padding: 2rem;
}

.react-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.step-icon.think { background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%); }
.step-icon.act { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.step-icon.observe { background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%); }

.mcp-benefits, .ui-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card, .ui-module-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.benefit-card:hover, .ui-module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon, .ui-module-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.integrations-showcase {
    margin-top: 3rem;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    transition: var(--transition-fast);
}

.integration-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.integration-item i {
    font-size: 2rem;
}

.rag-flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rag-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rag-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.rag-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rag-benefit i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.rag-formats {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
}

.formats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.format-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 0.5rem;
    font-weight: 600;
}

.module-features {
    list-style: none;
    margin-top: 1rem;
}

.module-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

/* Gobernanza Page */
.governance-intro, .governance-section {
    padding: var(--spacing-lg) 0;
}

.governance-intro {
    background: var(--bg-secondary);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.intro-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.intro-stat h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.rbac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rbac-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.rbac-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.rbac-roles {
    list-style: none;
}

.rbac-roles li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.permissions-matrix {
    margin-top: 1.5rem;
}

.permission-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.resource {
    font-weight: 600;
}

.permission-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-permission {
    padding: 0.25rem 0.75rem;
    background: white;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.hierarchy-list {
    list-style: none;
    margin: 1.5rem 0;
}

.hierarchy-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.rbac-benefits {
    margin-top: 3rem;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.audit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audit-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.audit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.audit-content {
    padding: 2rem;
}

.audit-details {
    list-style: none;
    margin-top: 1rem;
}

.audit-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.audit-example {
    margin-top: 2rem;
    background: var(--bg-dark);
    border-radius: 0.5rem;
    overflow: hidden;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
}

.audit-example pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.audit-example code {
    color: #10b981;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.audit-dashboard {
    margin-top: 3rem;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.audit-dashboard h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.dashboard-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dashboard-feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    transition: var(--transition-normal);
}

.dashboard-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dashboard-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dashboard-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.dashboard-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FinOps Section */
.finops-features {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.finops-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.finops-icon {
    width: 70px;
    height: 70px;
    border-radius: 1rem;
    background: var(--gradient-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.finops-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.finops-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.routing-example {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.routing-rule {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    transition: var(--transition-normal);
}

.routing-rule:hover {
    box-shadow: var(--shadow-md);
}

.rule-condition {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rule-condition i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rule-condition span {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.rule-condition small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.routing-rule > i {
    color: var(--text-muted);
    font-size: 1.5rem;
}

.rule-model {
    flex: 1;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.rule-model.cheap {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
}

.rule-model.medium {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--warning-color);
}

.rule-model.expensive {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-color);
}

.model-name {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.model-cost {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.savings-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.savings-highlight i {
    font-size: 2rem;
    color: var(--success-color);
}

.savings-highlight p {
    margin: 0;
    color: var(--text-primary);
}

.finops-features-list {
    list-style: none;
    margin-top: 1.5rem;
}

.finops-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.finops-features-list li:last-child {
    border-bottom: none;
}

.finops-features-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.cost-comparison {
    margin-top: 4rem;
}

.cost-comparison h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comparison-column {
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.comparison-column.without {
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.comparison-column.with {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.comparison-column h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-column.without h4 {
    color: var(--danger-color);
}

.comparison-column.with h4 {
    color: var(--success-color);
}

.comparison-column ul {
    list-style: none;
    margin-bottom: 2rem;
}

.comparison-column ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.comparison-column ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.comparison-column.without ul li::before {
    color: var(--danger-color);
}

.comparison-column.with ul li::before {
    color: var(--success-color);
}

.cost-box {
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
}

.cost-box.expensive {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-color);
}

.cost-box.cheap {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
}

.cost-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.cost-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.savings {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--success-color);
    margin-top: 1rem;
}

/* Infrastructure Section */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.infra-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.infra-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.infra-icon {
    width: 60px;
    height: 60px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.infra-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.infra-list {
    list-style: none;
}

.infra-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.infra-list li:last-child {
    border-bottom: none;
}

.infra-list strong {
    color: var(--text-primary);
    display: inline-block;
    min-width: 140px;
}

.deployment-options {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.deployment-options h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.deployment-card {
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    transition: var(--transition-normal);
}

.deployment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.deployment-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: var(--primary-color);
    position: relative;
}

.deployment-card.featured::before {
    content: 'Recomendado';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.deployment-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    color: white;
}

.deployment-badge.cloud {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

.deployment-badge.hybrid {
    background: var(--gradient-primary);
}

.deployment-badge.onprem {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.deployment-card h4 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.deployment-card > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.deployment-benefits {
    list-style: none;
    margin: 2rem 0;
}

.deployment-benefits li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.deployment-ideal {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

.deployment-ideal strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Compliance Section */
.compliance-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-secondary);
}

.compliance-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.compliance-badge {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.compliance-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.compliance-badge i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.compliance-badge h4 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.compliance-badge p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hierarchy-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Contact Page */
.contact-section {
    padding: var(--spacing-lg) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success-message {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-actions {
    margin-top: 2rem;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 0.5rem;
}

.info-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.demo-checklist {
    list-style: none;
}

.demo-checklist li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-checklist i {
    color: var(--success-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial {
    background: var(--bg-dark);
    color: white;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-card {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-card h3,
.cta-card p {
    color: white;
}

.faq-section {
    padding: var(--spacing-lg) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item i {
    color: var(--primary-color);
}

/* Responsive adicional */
@media (max-width: 1024px) {
    .platform-feature,
    .intro-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-feature.reverse {
        direction: ltr;
    }
    
    .rbac-grid,
    .audit-features,
    .infrastructure-grid,
    .deployment-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pipeline-example {
        flex-direction: column;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .routing-rule {
        flex-direction: column;
        gap: 1rem;
    }
    
    .routing-rule > i {
        transform: rotate(90deg);
    }
    
    .finops-features-list li,
    .infra-list li {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .intro-stats {
        grid-column: 1;
    }
}

/* ========================================
   DEMO MODAL
   ======================================== */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
}

.demo-modal-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10002;
}

.demo-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

.demo-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem 3rem 2rem;
}

.demo-modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.demo-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.demo-modal-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.demo-modal-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.938rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group-checkbox {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.form-group-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-group-checkbox label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-group-checkbox a {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.demo-form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.demo-form-note i {
    color: var(--primary-color);
}

.demo-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.demo-success h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.demo-success p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .demo-modal-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .demo-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}