/* ========================================
   UCHU Analytics Landing Page Styles
   ======================================== */

/* Variables CSS */
:root {
    --uchu-orange: #F17D04;
    --uchu-yellow: #FFB800;
    --uchu-green: #22C55E;
    --uchu-brown: #8B4513;
    --uchu-purple: #A855F7;
    --uchu-pink: #EC4899;
    --uchu-blue: #3B82F6;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;

    --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);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--gray-50);
    overflow-x: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #F17D04 0%, #FFB800 50%, #F17D04 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #FFB800 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #F17D04 0%, transparent 70%);
    bottom: -15%;
    right: -15%;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8B4513 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 50px) scale(1.05);
    }
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 100;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition-fast);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Content */
.hero-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #ffe5b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Montserrat', sans-serif;
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: white;
    color: var(--uchu-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

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

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--uchu-orange);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: -2rem auto 3rem;
}

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

.feature-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 16px;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--uchu-orange);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-icon.orange {
    background: linear-gradient(135deg, #F17D04 0%, #FFB800 100%);
}

.feature-icon.green {
    background: linear-gradient(135deg, #22C55E 0%, #10B981 100%);
}

.feature-icon.purple {
    background: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%);
}

.feature-icon.pink {
    background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.feature-icon.yellow {
    background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   DEMO SECTION
   ======================================== */

.demo-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.demo-container {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.demo-nav {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    overflow-x: auto;
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.demo-tab:hover {
    border-color: var(--uchu-orange);
    transform: translateY(-2px);
}

.demo-tab.active {
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    color: white;
    border-color: var(--uchu-orange);
}

.tab-icon {
    font-size: 1.125rem;
}

.demo-content {
    padding: 2.5rem;
    min-height: 600px;
}

.demo-view {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.demo-view.active {
    display: block;
}

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

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.demo-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.demo-badge {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.kpi-card.orange {
    border-color: var(--uchu-orange);
}

.kpi-card.green {
    border-color: var(--uchu-green);
}

.kpi-card.yellow {
    border-color: var(--uchu-yellow);
}

.kpi-card.purple {
    border-color: var(--uchu-purple);
}

.kpi-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.kpi-content {
    flex: 1;
}

.kpi-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.kpi-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.kpi-trend.positive {
    color: var(--uchu-green);
}

.kpi-trend.negative {
    color: #EF4444;
}

/* Charts */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.chart-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
}

.chart-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.pie-chart-demo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 2rem auto;
    background: conic-gradient(
        #F17D04 0deg 126deg,
        #22C55E 126deg 216deg,
        #FFB800 216deg 288deg,
        #EF4444 288deg 360deg
    );
    box-shadow: var(--shadow-md);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.champions {
    background: #F17D04;
}

.legend-color.loyal {
    background: #22C55E;
}

.legend-color.potential {
    background: #FFB800;
}

.legend-color.atrisk {
    background: #EF4444;
}

.line-chart-demo {
    padding: 1rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 200px;
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    border-radius: 8px 8px 0 0;
    transition: all var(--transition-normal);
    animation: growUp 1s ease-out;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
}

@keyframes growUp {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--uchu-orange);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.metric-period {
    color: var(--uchu-orange);
    font-weight: 600;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.metric-chart {
    margin-bottom: 0.5rem;
}

.sparkline {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.spark-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    border-radius: 2px;
    animation: growUp 1s ease-out;
}

.metric-progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    border-radius: 4px;
    animation: growRight 1.5s ease-out;
}

@keyframes growRight {
    from {
        width: 0;
    }
}

.metric-footer {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Table */
.table-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    overflow-x: auto;
}

.table-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.demo-table thead {
    background: white;
}

.demo-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-300);
}

.demo-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.demo-table tbody tr {
    transition: background var(--transition-fast);
}

.demo-table tbody tr:hover {
    background: white;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.green {
    background: #D1FAE5;
    color: #065F46;
}

.badge.blue {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge.purple {
    background: #EDE9FE;
    color: #5B21B6;
}

/* Segmentation Grid */
.segmentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.segment-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 3px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.segment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.segment-card.champions {
    border-color: var(--uchu-orange);
}

.segment-card.loyal {
    border-color: var(--uchu-green);
}

.segment-card.potential {
    border-color: var(--uchu-yellow);
}

.segment-card.atrisk {
    border-color: #EF4444;
}

.segment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.segment-icon {
    font-size: 2rem;
}

.segment-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.segment-stats {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.segment-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.segment-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.segment-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-200);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: var(--gray-600);
}

.detail-row strong {
    color: var(--gray-900);
    font-weight: 600;
}

.segment-action {
    text-align: center;
}

.btn-segment {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Montserrat', sans-serif;
}

.btn-segment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card.star {
    border-color: var(--uchu-orange);
    background: linear-gradient(135deg, #FFF7ED 0%, white 100%);
}

.product-card.trending {
    border-color: #EF4444;
    background: linear-gradient(135deg, #FEF2F2 0%, white 100%);
}

.product-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--uchu-orange);
    color: white;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card.trending .product-badge {
    background: #EF4444;
}

.product-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.product-category {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.product-stats {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-200);
}

.product-stat {
    flex: 1;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-value.positive {
    color: var(--uchu-green);
}

/* Category Analysis */
.category-analysis {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
}

.category-analysis h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.category-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

.category-bar-track {
    height: 24px;
    background: var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    border-radius: 12px;
    animation: growRight 1.5s ease-out;
}

/* RFM Matrix */
.rfm-matrix {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.matrix-header {
    text-align: center;
    margin-bottom: 2rem;
}

.matrix-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.matrix-header p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.matrix-cell {
    aspect-ratio: 1;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 3px solid var(--gray-300);
    transition: all var(--transition-normal);
}

.matrix-cell:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.matrix-cell.high.high {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: var(--uchu-orange);
}

.matrix-cell.high.medium,
.matrix-cell.medium.high {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border-color: var(--uchu-green);
}

.matrix-cell.high.low,
.matrix-cell.low.high {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border-color: #EF4444;
}

.matrix-cell.medium.medium {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-color: var(--uchu-yellow);
}

.matrix-cell.medium.low,
.matrix-cell.low.medium {
    background: linear-gradient(135deg, #F5F5F5 0%, #E5E5E5 100%);
    border-color: var(--gray-400);
}

.matrix-cell.low.low {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-color: var(--gray-300);
}

.cell-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cell-count {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
}

.matrix-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-axis {
    text-align: center;
}

.axis-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* RFM Recommendations */
.rfm-recommendations {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
}

.rfm-recommendations h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

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

.recommendation-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rec-segment {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
}

.rec-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rec-priority.high {
    background: #FEF3C7;
    color: #92400E;
}

.rec-priority.urgent {
    background: #FEE2E2;
    color: #991B1B;
}

.rec-list {
    list-style: none;
    padding-left: 0;
}

.rec-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.rec-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--uchu-orange);
    font-weight: 700;
}

/* Social Media Stats */
.social-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-stat-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.social-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.social-stat-card.instagram {
    border-color: #E4405F;
}

.social-stat-card.facebook {
    border-color: #1877F2;
}

.social-stat-card.tiktok {
    border-color: #000000;
}

.social-platform-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.social-stat-card h4 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.social-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.social-metric {
    text-align: center;
}

.social-metric .metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.social-metric .metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.social-trend {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.social-trend.positive {
    color: var(--uchu-green);
}

/* Campaign Performance */
.campaign-performance {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.campaign-performance h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.campaign-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.campaign-item {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.campaign-name {
    font-weight: 600;
    color: var(--gray-900);
}

.campaign-status {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.campaign-status.active {
    background: #D1FAE5;
    color: #065F46;
}

.campaign-status.completed {
    background: var(--gray-200);
    color: var(--gray-700);
}

.campaign-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.campaign-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.campaign-metric span {
    color: var(--gray-600);
}

.campaign-metric strong {
    color: var(--gray-900);
    font-weight: 700;
}

.campaign-metric strong.positive {
    color: var(--uchu-green);
}

/* Social Correlation */
.social-correlation {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
}

.social-correlation h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.correlation-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.correlation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.correlation-label,
.correlation-result {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.correlation-result {
    color: var(--uchu-green);
    font-weight: 700;
}

.correlation-arrow {
    font-size: 1.5rem;
    color: var(--uchu-orange);
}

/* AI Insights */
.ai-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.insight-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.insight-card.predictive {
    border-color: var(--uchu-purple);
}

.insight-card.churn {
    border-color: #EF4444;
}

.insight-card.opportunity {
    border-color: var(--uchu-green);
}

.insight-card.optimization {
    border-color: var(--uchu-yellow);
}

.insight-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.insight-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.insight-content {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.insight-confidence {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--uchu-green) 0%, var(--uchu-yellow) 100%);
    border-radius: 4px;
}

.insight-actions-list {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.action-item {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.insight-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.insight-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.insight-stat span {
    color: var(--gray-600);
}

.insight-stat strong {
    color: var(--gray-900);
    font-weight: 700;
}

.insight-impact {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.impact-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.impact-item span:first-child {
    color: var(--gray-600);
}

.impact-item .positive {
    color: var(--uchu-green);
    font-weight: 700;
}

.impact-item .neutral {
    color: var(--gray-700);
    font-weight: 700;
}

.insight-action {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Montserrat', sans-serif;
}

.insight-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.insight-action.urgent {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

/* AI Chat Preview */
.ai-chat-preview {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
}

.ai-chat-preview h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.chat-demo {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    color: white;
    margin-left: 20%;
}

.chat-message.ai {
    background: white;
    border: 2px solid var(--gray-200);
    margin-right: 20%;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--uchu-orange);
    border-radius: 50%;
    animation: typing 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-list {
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.chat-list div {
    padding: 0.25rem 0;
}

.chat-cta {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--uchu-purple) 0%, #8B5CF6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Montserrat', sans-serif;
}

.chat-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-item {
    position: relative;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--uchu-orange);
}

.benefit-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.benefit-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--uchu-orange) 0%, var(--uchu-yellow) 50%, var(--uchu-orange) 100%);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--uchu-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--uchu-orange);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .demo-nav {
        overflow-x: auto;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
