﻿:root {
    --m360-primary: #6D28D9;
    --m360-secondary: #9333EA;
    --m360-dark: #2E1065;
    --m360-gold: #D4AF37;
    --m360-light: #F8F5FF;
  
    --m360-success: #10B981;
    --m360-info: #3B82F6;
    --m360-danger: #EF4444;

}

.hero-section{
    min-height:100vh;

    background:
        linear-gradient(
            135deg,
            #2E1065 0%,
            #6D28D9 60%,
            #9333EA 100%);

    color:white;

    position:relative;

    overflow:hidden;
}

.hero-section::before{

    content:'';

    position:absolute;

    width:700px;
    height:700px;

    background:
        radial-gradient(
            rgba(255,255,255,.12),
            transparent 70%);

    top:-200px;
    right:-200px;
}

.hero-section .container{
    position:relative;
    z-index:2;
}

.hero-image{

    border-radius:24px;

    box-shadow:
        0 30px 60px rgba(0,0,0,.30);

    transform:rotate(-2deg);

    transition:.4s;
}

.hero-image:hover{

    transform:
        rotate(0deg)
        scale(1.02);
}

.text-gradient{

    background:
        linear-gradient(
            90deg,
            #D4AF37,
            #FFD700);

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.feature-card{

    padding:30px;

    border-radius:20px;

    transition:.3s;
}

.feature-card:hover{

    transform:translateY(-5px);
}

.icon-circle{

    width:80px;
    height:80px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    margin:auto auto 20px;

    font-size:28px;

    font-weight:700;

    color:white;

    background:
        linear-gradient(
            135deg,
            var(--m360-primary),
            var(--m360-secondary));

    box-shadow:
        0 15px 30px rgba(109,40,217,.25);
}

.benefit-card{

    background:white;

    border-radius:24px;

    padding:35px;

    height:100%;

    border:none;

    box-shadow:
        0 15px 40px rgba(0,0,0,.06);

    transition:.3s;
}

.benefit-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 50px rgba(109,40,217,.15);
}

.benefit-card h4{

    color:var(--m360-primary);

    margin-bottom:15px;
}

.stats-section{

    padding:90px 0;

    background:
        linear-gradient(
            135deg,
            var(--m360-dark),
            var(--m360-primary));

    color:white;
}

.stats-section h2{

    font-size:4rem;

    font-weight:800;

    margin-bottom:10px;
}

.stats-section p{

    font-size:1.1rem;

    opacity:.85;
}

.cta-section{

    padding:120px 0;

    color:white;

    background:
        linear-gradient(
            135deg,
            var(--m360-primary),
            var(--m360-dark));
}

.cta-section .btn{

    border-radius:50px;

    font-size:1.2rem;

    padding:15px 40px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.20);
}

.btn-warning{

    background:#D4AF37;
    border:none;
    color:#222;
    font-weight:600;
}

.btn-warning:hover{

    background:#E6C35A;
}

.hero-section .badge{

    padding:12px 18px;

    border-radius:30px;

    font-size:.9rem;
}

section{

    position:relative;
}

.bg-light{

    background:#F8F5FF !important;
}

@media(max-width:768px){

    .hero-section{

        text-align:center;
        padding-top:50px;
    }

    .hero-image{

        margin-top:40px;
    }

    .stats-section h2{

        font-size:2.5rem;
    }
}



.hero-section {
    min-height: 100vh;
    background: linear-gradient( 135deg, #2E1065 0%, #6D28D9 60%, #9333EA 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 700px;
        height: 700px;
        background: radial-gradient( rgba(255,255,255,.12), transparent 70%);
        top: -200px;
        right: -200px;
    }

    .hero-section .container {
        position: relative;
        z-index: 2;
    }

.hero-image {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,.30);
    transform: rotate(-2deg);
    transition: .4s;
}

    .hero-image:hover {
        transform: rotate(0deg) scale(1.02);
    }

.text-gradient {
    background: linear-gradient( 90deg, #D4AF37, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    transition: .3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: white;
    background: linear-gradient( 135deg, var(--m360-primary), var(--m360-secondary));
    box-shadow: 0 15px 30px rgba(109,40,217,.25);
}

.benefit-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
    transition: .3s;
}

    .benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(109,40,217,.15);
    }

    .benefit-card h4 {
        color: var(--m360-primary);
        margin-bottom: 15px;
    }

.stats-section {
    padding: 90px 0;
    background: linear-gradient( 135deg, var(--m360-dark), var(--m360-primary));
    color: white;
}

    .stats-section h2 {
        font-size: 4rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .stats-section p {
        font-size: 1.1rem;
        opacity: .85;
    }

.cta-section {
    padding: 120px 0;
    color: white;
    background: linear-gradient( 135deg, var(--m360-primary), var(--m360-dark));
}

    .cta-section .btn {
        border-radius: 50px;
        font-size: 1.2rem;
        padding: 15px 40px;
        box-shadow: 0 15px 40px rgba(0,0,0,.20);
    }

.btn-warning {
    background: #D4AF37;
    border: none;
    color: #222;
    font-weight: 600;
}

    .btn-warning:hover {
        background: #E6C35A;
    }

.hero-section .badge {
    padding: 12px 18px;
    border-radius: 30px;
    font-size: .9rem;
}

section {
    position: relative;
}

.bg-light {
    background: #F8F5FF !important;
}

@media(max-width:768px) {

    .hero-section {
        text-align: center;
        padding-top: 50px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .stats-section h2 {
        font-size: 2.5rem;
    }
}


/********************************
 KPI CARDS
*********************************/

.kpi-card {
    border: none;
    border-radius: 24px;
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: .3s;
}

    .kpi-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(109,40,217,.12);
    }

    .kpi-card .card-body {
        padding: 25px;
    }

.kpi-label {
    color: #6B7280;
    font-size: .9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 5px;
}

.kpi-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

/********************************
 ICONOS KPI
*********************************/

.bg-kpi-primary {
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
}

.bg-kpi-success {
    background: linear-gradient( 135deg, #10B981, #34D399);
}

.bg-kpi-info {
    background: linear-gradient( 135deg, #2563EB, #60A5FA);
}

.bg-kpi-gold {
    background: linear-gradient( 135deg, #D4AF37, #FCD34D);
}

/********************************
 DASHBOARD CARDS
*********************************/

.dashboard-card {
    border: none;
    border-radius: 24px;
    background: white;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.dashboard-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

/********************************
 EVENTOS RECIENTES
*********************************/

.event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 15px;
    transition: .3s;
}

    .event-item:hover {
        background: #F8F5FF;
    }

.event-avatar {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/********************************
 BOTONES
*********************************/

.btn-m360 {
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 12px 24px;
    font-weight: 600;
}

    .btn-m360:hover {
        color: white;
        transform: translateY(-2px);
    }

/********************************
 TABLAS
*********************************/

.table-m360 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

    .table-m360 thead {
        background: #F8F5FF;
    }

    .table-m360 th {
        color: #6D28D9;
        font-weight: 600;
        border: none;
    }

    .table-m360 td {
        vertical-align: middle;
    }

/********************************
 BADGES
*********************************/

.badge-m360 {
    background: rgba(109,40,217,.1);
    color: #6D28D9;
    padding: 8px 12px;
    border-radius: 50px;
    font-weight: 600;
}


/* ===========================
   DASHBOARD MEMORIA360
=========================== */

.dashboard-hero {
    background: linear-gradient( 135deg, #2E1065, #6D28D9);
    color: white;
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(109,40,217,.20);
}

    .dashboard-hero::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        right: -120px;
        top: -120px;
    }

/* ===========================
   MÉTRICAS
=========================== */

.metric-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: .3s;
}

    .metric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(109,40,217,.12);
    }

.metric-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    margin-bottom: 20px;
}

.metric-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111827;
}

.metric-label {
    color: #6B7280;
    font-size: 1rem;
    margin-top: 5px;
}

/* ===========================
   ACCESOS RÁPIDOS
=========================== */

.quick-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    display: block;
    text-align: center;
    color: #111827;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: .3s;
}

    .quick-card:hover {
        transform: translateY(-5px);
        color: #6D28D9;
        box-shadow: 0 20px 40px rgba(109,40,217,.15);
    }

.quick-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    margin-bottom: 20px;
}

/* ===========================
   EVENTOS RECIENTES
=========================== */

.evento-card {
    background: #FAFAFA;
    border-radius: 18px;
    padding: 20px;
    border-left: 5px solid #6D28D9;
    transition: .3s;
}

    .evento-card:hover {
        background: #F8F5FF;
        transform: translateY(-3px);
    }

.evento-date {
    display: inline-block;
    background: rgba(109,40,217,.10);
    color: #6D28D9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===========================
   FEED RECUERDOS
=========================== */

.memory-feed {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #E5E7EB;
}

    .memory-feed:last-child {
        border-bottom: none;
    }

.memory-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #6D28D9, #9333EA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===========================
   TARJETAS GENERALES
=========================== */

.card {
    border-radius: 24px !important;
}

.card-header {
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 20px 25px !important;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px) {

    .dashboard-hero {
        padding: 30px;
        text-align: center;
    }

    .metric-value {
        font-size: 2rem;
    }
}

.evento-card {
    transition: .25s;
    border-radius: 20px;
    overflow: hidden;
}

    .evento-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,.12) !important;
    }

.evento-img {
    height: 260px;
    object-fit: cover;
}

.evento-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #5b6cff, #8f56ff);
    color: white;
    font-size: 4rem;
}

.card-footer {
    padding: 1rem;
}

.hero-evento {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( rgba(0,0,0,.25), rgba(0,0,0,.70));
}

#video {
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,.20);
}

.preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

    .preview-item img {
        transition: .3s;
    }

    .preview-item:hover img {
        transform: scale(1.05);
    }