/* 
 * Modern Tech Theme for IPFS Image Bed
 * 
 */

:root {
    /* Color Palette - Modern Tech Blue/Purple */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Backgrounds */
    --bg-body: #f3f4f6;
    --bg-card: #ffffff;
    --bg-sidebar: #1e293b;
    --bg-header: rgba(255, 255, 255, 0.8);
    
    /* Text */
    --text-main: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #f9fafb;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
}

/* Global Styles */
body {
    background-color: var(--bg-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Ensure layout body handles overflow correctly */
html, body.layui-layout-body {
    height: 100%;
    overflow: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-main);
}

/* Layui Overrides */
.layui-layout-admin .layui-header {
    background-color: var(--bg-header) !important;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.layui-layout-admin .layui-logo {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    font-size: 20px;
    font-weight: 700;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layui-layout-admin .layui-side {
    background-color: var(--bg-sidebar) !important;
    box-shadow: var(--shadow-md);
}

.layui-side-scroll .layui-nav {
    background-color: transparent !important;
}

.layui-nav-tree .layui-nav-item a {
    color: #94a3b8 !important;
    transition: var(--transition-base);
}

.layui-nav-tree .layui-nav-item a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.layui-nav-tree .layui-this > a, 
.layui-nav-tree .layui-nav-child dd.layui-this a, 
.layui-nav-tree .layui-this, 
.layui-nav-tree .layui-nav-child dd.layui-this {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Header Nav Items */
.layui-layout-left .layui-nav-item > a,
.layui-layout-right .layui-nav-item > a {
    color: var(--text-secondary) !important;
}

/* Dashboard Cards */
.admin-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
    height: 100%;
}

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

.admin-card-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-body {
    padding: 20px;
}

/* Stat Cards */
.stat-card {
    display: flex;
    align-items: center;
    padding: 24px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Color Utilities */
.text-blue { color: var(--primary-color); }
.text-purple { color: var(--secondary-color); }
.text-cyan { color: var(--accent-color); }
.text-green { color: var(--success-color); }
.text-yellow { color: var(--warning-color); }
.text-red { color: var(--danger-color); }

.bg-blue-light { background-color: rgba(59, 130, 246, 0.1); }
.bg-purple-light { background-color: rgba(139, 92, 246, 0.1); }
.bg-cyan-light { background-color: rgba(6, 182, 212, 0.1); }
.bg-green-light { background-color: rgba(16, 185, 129, 0.1); }
.bg-yellow-light { background-color: rgba(245, 158, 11, 0.1); }
.bg-orange-light { background-color: rgba(249, 115, 22, 0.1); }
.bg-red-light { background-color: rgba(239, 68, 68, 0.1); }

/* Tables */
.layui-table {
    color: var(--text-main);
    box-shadow: none;
}

.layui-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: var(--text-secondary);
    border-color: #e2e8f0;
    padding: 12px 15px;
}

.layui-table td {
    border-color: #e2e8f0;
    padding: 12px 15px;
    color: var(--text-main);
}

.layui-table-view {
    border-color: #e2e8f0;
}

/* Buttons */
.layui-btn {
    border-radius: 6px;
    transition: var(--transition-base);
}

.layui-btn-primary {
    border-color: #d1d5db;
}

.layui-btn-primary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Forms */
.layui-input, .layui-textarea, .layui-select {
    border-radius: 6px;
    border-color: #d1d5db;
    transition: var(--transition-base);
}

.layui-input:focus, .layui-textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Login/Register Pages */
.user-auth {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.auth-box {
    background: #fff;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .auth-wrapper {
        padding: 15px;
    }
    .auth-box {
        padding: 25px;
        max-width: 100%;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Utility Classes */
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.shadow-md { box-shadow: var(--shadow-md); }
.rounded-lg { border-radius: 12px; }

/* Flex Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }

/* Grid Utilities for Mobile */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.image-container {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    background: #f3f4f6;
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-item:hover .image-container img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-info {
    padding: 12px;
}

.image-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #e5e7eb;
    display: block;
}

.empty-state p {
    font-size: 1rem;
    color: #6b7280;
}


/* Page Header */
.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}


/* =========================================
   User Center Specific Styles
   ========================================= */

/* User Center Background - Soft Gradient Mesh */
body.user-layout {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-image: 
        radial-gradient(at 40% 20%, hsla(28,100%,74%,0.1) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189,100%,56%,0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355,100%,93%,0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, hsla(340,100%,76%,0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(22,100%,77%,0.1) 0px, transparent 50%),
        radial-gradient(at 80% 100%, hsla(242,100%,70%,0.1) 0px, transparent 50%),
        radial-gradient(at 0% 0%, hsla(343,100%,76%,0.1) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* User Card - Glassmorphism Effect */
.user-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
    z-index: 50;
}

.user-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
}

.user-card-body {
    padding: 24px;
}

/* User Statistics Cards */
.user-stat-card {
    display: flex;
    align-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.user-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.user-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-right: 20px;
    z-index: 1;
    background: linear-gradient(135deg, #fff 0%, #f0f2f5 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.user-stat-content {
    z-index: 1;
}

.user-stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    background: linear-gradient(to right, var(--text-main), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* User Gallery Grid */
.user-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.user-image-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.user-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.user-image-card:hover img {
    transform: scale(1.1);
}

.user-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.user-image-card:hover .user-image-overlay {
    opacity: 1;
}

.user-image-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.user-image-card:hover .user-image-actions {
    transform: translateY(0);
}

/* Mobile Adaptation for User Pages */
@media screen and (max-width: 768px) {
    .user-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 0 5px;
    }
    
    .user-card-header {
        padding: 15px;
        font-size: 16px;
    }
    
    .user-card-body {
        padding: 15px;
    }
}

/* =========================================
   Sidebar Collapse Styles
   ========================================= */

/* Transition setup */
.layui-layout-admin .layui-side,
.layui-layout-admin .layui-logo,
.layui-side-scroll,
.layui-nav-tree .layui-nav-item a,
.layui-layout-left {
    transition: all 0.3s ease-in-out;
}

.layui-layout-admin .layui-body,
.layui-layout-admin .layui-footer {
    transition: left 0.3s ease-in-out;
}

/* Default Sidebar Width (Explicit) */
.layui-layout-admin .layui-side {
    width: 200px;
}
.layui-layout-admin .layui-logo {
    width: 200px;
}
.layui-layout-admin .layui-body {
    position: absolute;
    top: 60px;
    bottom: 44px;
    left: 200px;
    right: 0 !important;
    width: auto !important;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    z-index: 1;
}

.layui-layout-admin .layui-footer {
    position: absolute;
    left: 200px;
    right: 0 !important;
    bottom: 0;
    height: 44px;
    width: auto !important;
    box-sizing: border-box;
    z-index: 2;
}
.layui-layout-admin .layui-header .layui-layout-left {
    left: 200px;
}

/* Collapsed State */
.layui-layout-admin .layui-side.layui-side-menu {
    z-index: 1000;
}

body.is-collapse .layui-side {
    width: 60px !important;
}

body.is-collapse .layui-logo {
    width: 60px !important;
    padding: 0;
}

body.is-collapse .layui-logo span {
    display: none !important;
}

body.is-collapse .layui-body,
body.is-collapse .layui-footer {
    left: 60px !important;
}

body.is-collapse .layui-layout-left {
    left: 60px !important;
}

body.is-collapse .layui-nav-tree .layui-nav-item {
    position: relative;
}

body.is-collapse .layui-nav-tree .layui-nav-item a {
    padding: 0 !important;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 50px;
    position: relative;
    overflow: visible !important;
}

body.is-collapse .layui-nav-tree .layui-nav-item a i {
    margin: 0 !important;
    font-size: 20px !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit !important;
    position: static !important;
    z-index: 10;
}

/* Force override any hidden states */
body.is-collapse .layui-nav-tree .layui-nav-item a .layui-icon {
    display: inline-block !important;
}

body.is-collapse .layui-nav-tree .layui-nav-item a span {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    width: 0;
}

body.is-collapse .layui-nav-tree .layui-nav-item a cite {
    display: none !important;
}

/* Ensure submenus are hidden or adjusted in collapse mode */
body.is-collapse .layui-nav-tree .layui-nav-item .layui-nav-child {
    display: none !important;
}

/* Hover to show sidebar (Optional: Expansion on hover) 
   Uncomment if you want the sidebar to expand on hover when collapsed
*/
/*
body.is-collapse .layui-side:hover {
    width: 200px !important;
}
body.is-collapse .layui-side:hover .layui-nav-tree .layui-nav-item a span {
    display: inline !important;
    opacity: 1;
    visibility: visible;
    width: auto;
}
*/

/* Fix for mobile */
@media screen and (max-width: 768px) {
    .layui-layout-admin .layui-side {
        width: 200px; /* Reset width for mobile off-canvas */
        transform: translate3d(-200px, 0, 0);
    }
    
    body.is-collapse .layui-side {
        width: 200px !important; /* Mobile collapse doesn't shrink, it toggles visibility via transform */
    }

    body.site-mobile .layui-side {
        transform: translate3d(0, 0, 0);
    }

    body.is-collapse .layui-body,
    body.is-collapse .layui-footer {
        left: 0 !important;
    }
    
    .layui-layout-admin .layui-body, 
    .layui-layout-admin .layui-footer {
        left: 0;
    }

    .layui-layout-admin .layui-header .layui-layout-left {
        left: 0 !important;
    }
}
/* =========================================
   Landing Page Styles
   ========================================= */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    width: 400px;
    height: 400px;
}

.hero-shape-1 {
    top: -100px;
    left: -100px;
    background: rgba(59, 130, 246, 0.15);
}

.hero-shape-2 {
    bottom: -100px;
    right: -100px;
    background: rgba(139, 92, 246, 0.15);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.feature-icon-box i {
    color: currentColor;
}
.feature-icon-box.bg-blue-light { color: var(--primary-color); }
.feature-icon-box.bg-green-light { color: var(--success-color); }
.feature-icon-box.bg-purple-light { color: var(--secondary-color); }
.feature-icon-box.bg-orange-light { color: var(--warning-color); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Showcase Section */
.showcase-section {
    padding: 100px 0;
    background-color: #f9fafb;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.showcase-meta {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.showcase-item:hover .showcase-title,
.showcase-item:hover .showcase-meta {
    transform: translateY(0);
}

/* Step Cards (How it works) */
.step-card {
    position: relative;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.step-number-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    line-height: 1;
    pointer-events: none;
}

.step-icon-box {
    width: 64px;
    height: 64px;
    background: var(--bg-body);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Small Cards */
.stat-card-small {
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.stat-card-small:hover {
    transform: translateY(-5px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-icon-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.stat-value-small {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label-small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-bg-shape {
    position: absolute;
    background: radial-gradient(circle, rgba(59,130,246,0.4) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.btn-white:hover {
    background: #f3f4f6;
    color: var(--primary-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}


/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }


/* Fix Layout Height */
.layui-layout-admin {
    height: 100%;
}


/* Fix for 'Slow network is detected' warning */
@font-face {
  font-family: 'layui-icon';
  src: url('../layui/font/iconfont.eot?v=293');
  src: url('../layui/font/iconfont.eot?v=293#iefix') format('embedded-opentype'),
       url('../layui/font/iconfont.woff2?v=293') format('woff2'),
       url('../layui/font/iconfont.woff?v=293') format('woff'),
       url('../layui/font/iconfont.ttf?v=293') format('truetype'),
       url('../layui/font/iconfont.svg?v=293#iconfont') format('svg');
  font-display: swap;
}
