/* ===================================
   SYGIE PREMIUM PROFESSIONAL THEME
   Color Variables & Design System
   =================================== */

:root {
    --primary-color: #1e40af;
    --secondary-color: #0f766e;
    --accent-color: #d97706;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --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);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
    --gradient-warm: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ===================================
   BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    min-height: 100vh;
    position: relative;
    color: var(--text-primary);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -40%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: 0%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
    z-index: 0;
    pointer-events: none;
}

.wrapper {
    position: relative;
    z-index: 1;
}

/* ===================================
   HERO SECTION - CAROUSEL
   =================================== */

.panel-header {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin: 20px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.25);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    z-index: 1;
}

.panel-header::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out reverse;
    z-index: 1;
}

.hero-carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-img {
    filter: brightness(0.6) contrast(1.15) saturate(0.95);
    object-fit: cover;
    height: 500px;
    width: 100%;
}

.overlay {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.5) 0%, rgba(15, 118, 110, 0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 60px 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-content h3:first-child {
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fbbf24;
    animation: fadeInDown 0.6s ease 0.4s both;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-content h3:nth-of-type(2) {
    font-size: 1.1em;
    color: #e0f2fe;
    font-weight: 500;
    animation: fadeInDown 0.6s ease 0.5s both;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3.8em;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 25px 0;
    animation: fadeInDown 0.6s ease 0.6s both;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.hero-content h4 {
    font-size: 1.25em;
    font-weight: 500;
    color: #f0f9ff;
    opacity: 0.98;
    animation: fadeInDown 0.6s ease 0.7s both;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-white {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #1e40af !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-white:hover {
    background: white !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-light {
    background: var(--gradient-success) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

/* ===================================
   CARDS
   =================================== */

.card {
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(30, 64, 175, 0.1) !important;
    box-shadow: var(--shadow-lg) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 10;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.15) !important;
    border-color: var(--primary-color) !important;
}

.card-title {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.3px;
    font-size: 1.1em;
}

.card-category {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-stats {
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.4s ease;
}

.card-stats:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl) !important;
}

/* ===================================
   ICONS
   =================================== */

.icon-big {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    transition: all 0.4s ease;
}

.icon-primary {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 64, 175, 0.05));
    color: var(--primary-color);
}

.icon-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: var(--success-color);
}

.icon-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: var(--warning-color);
}

.icon-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: var(--danger-color);
}

.icon-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    color: var(--info-color);
}

.card-stats:hover .icon-big {
    transform: scale(1.1) rotate(10deg);
}

/* ===================================
   PRICING CARDS
   =================================== */

.card-pricing2 {
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    border: 2px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-pricing2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.card-pricing2.card-success::before {
    background: var(--gradient-success);
}

.card-pricing2.card-secondary::before {
    background: var(--gradient-warm);
}

.card-pricing2:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.15) !important;
}

.card-pricing2 h3 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3em;
}

.pricing-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.main-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.logo-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--border-color);
}

.navbar-header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.sidebar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)) !important;
    border-right: 2px solid var(--border-color);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* ===================================
   TYPOGRAPHY
   =================================== */

.page-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5em;
    letter-spacing: -0.3px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2em;
    letter-spacing: -0.5px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1em;
    font-weight: 500;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .panel-header {
        min-height: 450px;
    }

    .carousel-img {
        height: 450px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.3em;
        margin: 15px 0;
    }

    .hero-content h3:first-child {
        font-size: 1em;
    }

    .hero-content h3:nth-of-type(2) {
        font-size: 0.95em;
    }

    .hero-content h4 {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .btn-white,
    .btn-light {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        font-size: 0.9em;
    }

    .panel-header {
        margin: 10px;
        border-radius: 15px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.bg-gradient-primary {
    background: var(--gradient-primary);
    color: white;
}

.bg-gradient-success {
    background: var(--gradient-success);
    color: white;
}

.text-primary {
    color: var(--primary-color);
}

.bg-primary-gradient {
    background: var(--gradient-primary);
}