/* public/css/style.css - Complete consolidated file */
:root {
    --primary: #2563EB;
    --secondary: #0F172A;
    --accent: #22C55E;
    --brand-navy: #0F172A;
    --brand-ink: #120E0F;
    --brand-white: #FFFFFF;
    --danger: #EF4444;
    --background: #F8FAFC;
    --borders: #E2E8F0;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --card-bg: #FFFFFF;
    --warning: #F59E0B;
    --info: #3B82F6;
}

[data-theme="dark"] {
    --primary: #2563EB;
    --secondary: #1E293B;
    --accent: #22C55E;
    --danger: #EF4444;
    --background: #0F172A;
    --borders: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --card-bg: #1E293B;
    --warning: #F59E0B;
    --info: #60A5FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--card-bg);
    border-right: 1px solid var(--borders);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--borders);
}

.sidebar-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.75rem;
    position: relative;
}

.nav-link i {
    width: 1.5rem;
    font-size: 1.1rem;
}

.nav-link:hover {
    background: var(--background);
    color: var(--primary);
    padding-left: 1.8rem;
}

.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
}

/* Top Navbar */
.top-navbar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--borders);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.menu-toggle:hover {
    color: var(--primary);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.user-menu:hover {
    background: var(--background);
}

.user-name {
    color: var(--text-primary);
    font-weight: 500;
}

.user-avatar {
    font-size: 2rem;
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 0.5rem;
    min-width: 200px;
    display: none;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.user-menu:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

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

.dropdown-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s ease;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--background);
    color: var(--primary);
}

.menu-toggle-welcome {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}
@media (max-width: 768px) {
    .menu-toggle-welcome {
        display: block;
    }
    .navbar-welcome {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
}

/* Content Wrapper */
.content-wrapper {
    padding: 2rem;
    min-height: calc(100vh - 73px);
}

/* Typography */
.page-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
}

.stat-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.recent-card, .data-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 1.5rem;
}

.recent-card h3, .data-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--borders);
    font-weight: 600;
}

.data-table td {
    padding: 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--borders);
}

.data-table tr:hover {
    background: var(--background);
}

/* Buttons */
.btn-primary, .btn-outline, .btn-danger {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    font-size: 1rem;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-edit {
    color: var(--primary);
}

.btn-delete {
    color: var(--danger);
}

.btn-success {
    background: var(--accent);
    color: white;
}

.btn-info {
    background: var(--info);
    color: white;
}

/* Forms */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--borders);
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--borders);
    border-radius: 0.5rem;
    background: var(--background);
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

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

.alert-success {
    background: var(--accent);
    color: white;
}

.alert-danger {
    background: var(--danger);
    color: white;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: var(--primary);
    color: white;
}

.status-completed, .status-paid {
    background: var(--accent);
    color: white;
}

.status-pending {
    background: var(--danger);
    color: white;
}

/* Welcome Page Styles */
.welcome-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background) 0%, var(--card-bg) 100%);
}

.navbar-welcome {
    background: var(--card-bg);
    border-bottom: 1px solid var(--borders);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.features-section {
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-top: 1px solid var(--borders);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    background: var(--background);
    border-radius: 1rem;
    border: 1px solid var(--borders);
    transition: transform 0.2s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Attendance & Payroll Specific */
.attendance-actions, .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stats-summary {
    display: flex;
    gap: 1rem;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background);
    border-radius: 0.5rem;
    color: var(--text-primary);
}

.btn-checkin, .btn-checkout {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-checkin {
    background: var(--accent);
    color: white;
}

.btn-checkout {
    background: var(--danger);
    color: white;
}

/* File Management */
.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-icon {
    font-size: 1.25rem;
    color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

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

    .recent-section {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .top-navbar {
        padding: 0.75rem 1rem;
    }

    .user-name {
        display: none;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* Add to public/css/style.css */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.input-group-text {
    background: var(--background);
    border: 1px solid var(--borders);
    color: var(--primary);
}

.text-muted {
    color: var(--text-secondary) !important;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

.btn:active {
    transform: translateY(0);
}

/* Add to public/css/style.css */
.superadmin-sidebar {
    background: linear-gradient(180deg, var(--secondary) 0%, #0f0f1a 100%);
}

.superadmin-sidebar .sidebar-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.superadmin-sidebar .sidebar-header h3 {
    color: white;
}

.superadmin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.superadmin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.superadmin-sidebar .nav-link.active {
    background: var(--primary);
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.bg-success {
    background: var(--accent);
    color: white;
}

.bg-info {
    background: var(--info);
    color: white;
}

.bg-primary {
    background: var(--primary);
    color: white;
}

.sidebar-divider {
    margin: 1rem 1.5rem;
    border-color: var(--borders);
}

.superadmin-sidebar .sidebar-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.mt-auto {
    margin-top: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

/* Info rows for organization details */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--borders);
}
.info-row label {
    font-weight: 600;
    color: var(--text-secondary);
}
.info-row span {
    color: var(--text-primary);
}
.mt-4 {
    margin-top: 1.5rem;
}
.btn-block {
    display: block;
    width: 100%;
}
.d-flex {
    display: flex;
}
.gap-2 {
    gap: 0.5rem;
}
/* ===== GUEST PAGES ===== */
.guest-main {
    min-height: calc(100vh - 140px);
}

/* Hero Image */
.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image svg {
    max-width: 100%;
    height: auto;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1.2rem;
    padding: 2rem;
    transition: all 0.2s;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0 0.25rem;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--borders);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
}

.testimonial::before {
    content: "“";
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    max-width: 900px;
    margin: 4rem auto;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    .hero-buttons {
        justify-content: center;
    }
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ecosystem-visual {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    .section {
        padding: 3rem 1rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .cta {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }
    .cta h2 {
        font-size: 1.3rem;
    }
}
/* ============================================
   MAELIS - Brand Guidelines v1.0
   Font: Inter (Primary), Segoe UI (Secondary)
   Colors: Blue (#2563EB), Navy (#0F172A)
   ============================================ */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors - from PDF */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --secondary: #0F172A;
    --secondary-light: #1E293B;
    --accent: #22C55E;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Core Values Colors */
    --depth-color: #0F172A;      /* Depth, Reliability, Professionalism */
    --trust-color: #2563EB;      /* Trust, Innovation, Openness */
    --growth-color: #22C55E;     /* People, Structure, Growth */

    /* Neutrals - Light Mode */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-surface: #F1F5F9;
    --bg-input: #FFFFFF;
    --border-color: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Font */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --bg-body: #0F172A;
    --bg-card: #1E293B;
    --bg-surface: #334155;
    --bg-input: #1E293B;
    --border-color: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0F172A;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);

    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #93BBFC;
    --secondary: #1E293B;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color var(--transition-base),
                color var(--transition-base),
                border-color var(--transition-base),
                opacity var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--primary);
    color: white;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== LAYOUT ===== */
.app-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    padding: 1.5rem 2rem;
    flex: 1;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header img {
    max-width: 120px;
    height: auto;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.sidebar-nav {
    padding: 0.75rem 0;
    flex: 1;
}

.nav-section-title {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0.75rem 1.5rem 0.25rem;
    font-weight: 600;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    border-radius: 0.375rem;
    margin: 0.1rem 0.5rem;
}

.nav-link i {
    width: 1.25rem;
    font-size: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.nav-link:hover {
    background: var(--bg-surface);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-link.active:hover {
    background: var(--primary-dark);
}

.nav-link .badge {
    margin-left: auto;
}

/* ===== TOP NAVBAR ===== */
.top-navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
    background: rgba(var(--bg-card-rgb, 255, 255, 255), 0.9);
}

[data-theme="dark"] .top-navbar {
    background: rgba(30, 41, 59, 0.9);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.menu-toggle:hover {
    background: var(--bg-surface);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-left .organization-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.user-menu:hover {
    background: var(--bg-surface);
}

.user-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.user-menu:hover .dropdown-menu,
.user-menu:focus-within .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background var(--transition-fast);
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--bg-surface);
}

.dropdown-item i {
    width: 1.25rem;
    color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    line-height: 1.5;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-success {
    background: var(--accent);
    color: white;
}

.btn-success:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-edit {
    color: var(--primary);
}
.btn-edit:hover {
    background: rgba(37, 99, 235, 0.1);
}

.btn-delete {
    color: var(--danger);
}
.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-info {
    color: var(--info);
}
.btn-info:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-success-icon {
    color: var(--accent);
}
.btn-success-icon:hover {
    background: rgba(34, 197, 94, 0.1);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
}

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

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

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

.data-table th {
    text-align: left;
    padding: 0.75rem 0.75rem;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 0.75rem 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:hover {
    background: var(--bg-surface);
}

.data-table .actions {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.form-group .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ===== ALERTS ===== */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(34, 197, 94, 0.08);
    color: #16A34A;
    border-color: rgba(34, 197, 94, 0.15);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #DC2626;
    border-color: rgba(239, 68, 68, 0.15);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    color: #D97706;
    border-color: rgba(245, 158, 11, 0.15);
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    color: #2563EB;
    border-color: rgba(59, 130, 246, 0.15);
}

.alert .btn-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: currentColor;
    opacity: 0.7;
    padding: 0.25rem;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.1875rem 0.625rem;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #16A34A;
}
.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #DC2626;
}
.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #D97706;
}
.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #2563EB;
}
.badge-primary {
    background: rgba(37, 99, 235, 0.15);
    color: #2563EB;
}
.badge-secondary {
    background: var(--bg-surface);
    color: var(--text-secondary);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .active .page-link {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== PAGE HEADER ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .content-wrapper {
        padding: 1rem;
    }

    .top-navbar {
        padding: 0.5rem 1rem;
    }

    .user-name {
        display: none;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .recent-section {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 0.75rem;
    }

    .top-navbar {
        padding: 0.4rem 0.75rem;
    }

    .card {
        padding: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .page-title {
        font-size: 1.25rem;
    }
}

/* ===== PRINT ===== */
@media print {
    .no-print,
    .sidebar,
    .top-navbar,
    .bottom-nav,
    .actions {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .content-wrapper {
        padding: 0.5rem !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ============================================
   MAELIS BRAND STYLES
   Colors: #2563EB (Primary Blue)
           #22C55E (Accent Green)
   ============================================ */

/* ----- Hero Section ----- */
.hero-section {
    padding: 4rem 2rem;
    background: var(--bg-body);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-content h1 span {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563EB;
}

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

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

/* ----- Section Shared ----- */
.section {
    padding: 5rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563EB;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

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

.feature-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border-color: #2563EB;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ----- Ecosystem Section ----- */
.ecosystem-section {
    padding: 5rem 2rem;
    background: var(--bg-body);
}

.ecosystem-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ecosystem-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563EB;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.ecosystem-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.ecosystem-title span {
    color: #2563EB;
}

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

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ecosystem-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    background: var(--bg-card);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.benefit-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon-blue {
    background: rgba(37, 99, 235, 0.08);
    color: #2563EB;
}

.benefit-icon-green {
    background: rgba(34, 197, 94, 0.08);
    color: #22C55E;
}

.benefit-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.ecosystem-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecosystem-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* ----- Pricing Section ----- */
.pricing-section {
    padding: 5rem 2rem;
    background: var(--bg-body);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563EB;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.pricing-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.pricing-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pricing-card.popular {
    border-color: #2563EB;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.pricing-card.popular:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.popular-tag {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #2563EB;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563EB;
    line-height: 1;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-period {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.pricing-cap {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #22C55E;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

.btn-pricing.btn-primary {
    background: #2563EB;
    color: white;
    border: none;
}

.btn-pricing.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-pricing.btn-outline {
    background: transparent;
    color: #2563EB;
    border: 1.5px solid #2563EB;
}

.btn-pricing.btn-outline:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 2.5rem;
}

.pricing-note i {
    margin-right: 0.5rem;
    color: #2563EB;
}

/* ----- Testimonials Section ----- */
.testimonials-section {
    padding: 5rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563EB;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 50px;
}

.testimonials-title {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.5rem 0 0.25rem;
}

.testimonials-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

.testimonial-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.testimonial-stars i {
    color: #F59E0B;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.testimonial-avatar-blue {
    background: #2563EB;
}

.testimonial-avatar-green {
    background: #22C55E;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ----- CTA Section ----- */
.cta-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 4rem auto;
}

.cta-container {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

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

.cta-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin: 0.75rem 0 0.5rem;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    background: white;
    color: #0b8236;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ecosystem-visual {
        order: -1;
    }

    .ecosystem-header {
        text-align: left;
    }

    .ecosystem-subtitle {
        max-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .cta-section {
        margin: 2rem 1rem;
    }

    .cta-container {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .ecosystem-section {
        padding: 3rem 1rem;
    }

    .pricing-section {
        padding: 3rem 1rem;
    }

    .testimonials-section {
        padding: 3rem 1rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

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

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

/* ============================================
   MAELIS AUTH PAGES STYLES
   Colors: #2563EB (Primary Blue)
           #22C55E (Accent Green)
           #0F172A (Secondary/Navy)
   ============================================ */

/* Auth Pages Container */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2563EB 0%, #0F172A 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 1.5rem;
    margin: 0;
    width: 100%;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.auth-card.register-card {
    max-width: 580px;
}

[data-theme="dark"] .auth-card {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
}

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

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .brand-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.auth-header .brand-logo img {
    height: 48px;
    width: auto;
}

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-header h2 {
    color: #F1F5F9;
}

.auth-header p {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-header p {
    color: #94A3B8;
}

/* Auth Form Elements */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #0F172A;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form .form-group label {
    color: #F1F5F9;
}

.auth-form .form-group label .required {
    color: #EF4444;
    margin-left: 2px;
}

.auth-form .input-group {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    display: flex;
    align-items: stretch;
}

[data-theme="dark"] .auth-form .input-group {
    background: #1E293B;
    border-color: #475569;
}

.auth-form .input-group:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form .input-group-text {
    background: #F8FAFC;
    border: none;
    color: #475569;
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form .input-group-text {
    background: #1E293B;
    color: #94A3B8;
}

.auth-form .form-control {
    border: none;
    border-radius: 0;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #0F172A;
    height: auto;
    width: 100%;
    font-family: 'Inter', sans-serif;
    outline: none;
}

[data-theme="dark"] .auth-form .form-control {
    background: #1E293B;
    color: #F1F5F9;
}

.auth-form .form-control:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #94A3B8;
    opacity: 0.7;
}

[data-theme="dark"] .auth-form .form-control::placeholder {
    color: #64748B;
}

.auth-form .password-toggle {
    background: #F8FAFC;
    border: none;
    cursor: pointer;
    padding: 0.6rem 0.9rem;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .auth-form .password-toggle {
    background: #1E293B;
    color: #94A3B8;
}

.auth-form .password-toggle:hover {
    color: #2563EB;
}

.auth-form .password-toggle:active {
    transform: scale(0.92);
}

.auth-form .form-text {
    font-size: 0.7rem;
    color: #475569;
    margin-top: 0.3rem;
    display: block;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form .form-text {
    color: #94A3B8;
}

.auth-form .error {
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: block;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* Auth Buttons */
.auth-form .btn-primary {
    background: #2563EB;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    font-family: 'Inter', sans-serif;
}

.auth-form .btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.auth-form .btn-primary:active {
    transform: translateY(0);
}

.auth-form .btn-outline {
    background: transparent;
    border: 2px solid #E2E8F0;
    color: #0F172A;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    flex: 1;
}

[data-theme="dark"] .auth-form .btn-outline {
    border-color: #334155;
    color: #F1F5F9;
}

.auth-form .btn-outline:hover {
    background: #F8FAFC;
    border-color: #2563EB;
    color: #2563EB;
}

[data-theme="dark"] .auth-form .btn-outline:hover {
    background: #1E293B;
}

.auth-form .btn-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auth-form .btn-group .btn {
    flex: 1;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #E2E8F0;
}

[data-theme="dark"] .auth-footer {
    border-top-color: #334155;
}

.auth-footer p {
    color: #475569;
    font-size: 0.85rem;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-footer p {
    color: #94A3B8;
}

.auth-footer a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Auth Alerts */
.auth-alert {
    border-radius: 0.75rem;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.auth-alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border-left: 4px solid #EF4444;
}

[data-theme="dark"] .auth-alert-danger {
    background: #7F1D1D;
    color: #FECACA;
}

.auth-alert i {
    margin-right: 0.5rem;
}

/* Auth Form Options */
.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-form-options .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #475569;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form-options .checkbox-label {
    color: #94A3B8;
}

.auth-form-options .checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2563EB;
    cursor: pointer;
}

.auth-form-options .forgot-link {
    color: #2563EB;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.auth-form-options .forgot-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Register Specific */
.register-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0;
    position: relative;
    padding: 0 1rem;
}

.register-step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #E2E8F0;
    z-index: 0;
}

[data-theme="dark"] .register-step-indicator::before {
    background: #334155;
}

.register-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.register-step .circle {
    width: 40px;
    height: 40px;
    background: #E2E8F0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .register-step .circle {
    background: #334155;
    color: #94A3B8;
}

.register-step.active .circle {
    background: #2563EB;
    color: white;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.register-step.completed .circle {
    background: #22C55E;
    color: white;
    border-color: #22C55E;
}

.register-step .circle .checkmark {
    display: none;
}

.register-step.completed .circle .checkmark {
    display: inline;
}

.register-step.completed .circle .step-number {
    display: none;
}

.register-step .label {
    font-size: 0.7rem;
    color: #475569;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .register-step .label {
    color: #94A3B8;
}

.register-step.active .label {
    color: #2563EB;
    font-weight: 600;
}

.register-step.completed .label {
    color: #22C55E;
}

.register-form-step {
    display: none;
    animation: fadeSlideIn 0.3s ease;
}

.register-form-step.active-step {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Password Strength */
.auth-password-strength {
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
    margin-top: 0.4rem;
    overflow: hidden;
}

[data-theme="dark"] .auth-password-strength {
    background: #334155;
}

.auth-password-strength .strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.4s ease, background 0.4s ease;
}

.auth-password-strength .strength-bar.weak { width: 25%; background: #EF4444; }
.auth-password-strength .strength-bar.medium { width: 50%; background: #F59E0B; }
.auth-password-strength .strength-bar.strong { width: 75%; background: #3B82F6; }
.auth-password-strength .strength-bar.very-strong { width: 100%; background: #22C55E; }

.auth-password-hint {
    font-size: 0.65rem;
    color: #475569;
    margin-top: 0.2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-password-hint {
    color: #94A3B8;
}

.auth-password-hint .hint-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.auth-password-hint .hint-item .hint-icon {
    font-size: 0.5rem;
}

.auth-password-hint .hint-item.valid {
    color: #22C55E;
}

.auth-password-hint .hint-item.invalid {
    color: #475569;
    opacity: 0.5;
}

[data-theme="dark"] .auth-password-hint .hint-item.invalid {
    color: #94A3B8;
}

/* Color Picker */
.auth-color-picker-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.auth-color-picker-wrapper input[type="color"] {
    width: 42px;
    height: 42px;
    padding: 2px;
    cursor: pointer;
    border-radius: 0.75rem;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    flex-shrink: 0;
}

[data-theme="dark"] .auth-color-picker-wrapper input[type="color"] {
    border-color: #475569;
    background: #1E293B;
}

.auth-color-picker-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.auth-color-picker-wrapper input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 0.4rem;
}

.auth-color-picker-wrapper .color-hex-input {
    flex: 1;
}

/* Auth Form Row */
.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Auth Checkbox */
.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #475569;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-checkbox-label {
    color: #94A3B8;
}

.auth-checkbox-label input[type="checkbox"] {
    margin-top: 0.1rem;
    width: 17px;
    height: 17px;
    accent-color: #2563EB;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-checkbox-label a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.auth-checkbox-label a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-page { padding: 1rem; }
    .auth-card { padding: 1.5rem; border-radius: 0.75rem; }
    .auth-form-row { grid-template-columns: 1fr; gap: 0; }
    .register-step .label { font-size: 0.6rem; }
    .register-step .circle { width: 34px; height: 34px; font-size: 0.7rem; }
    .auth-form .btn-group { flex-direction: column; }
    .auth-form .btn-group .btn { width: 100%; }
    .auth-header .brand-logo img { height: 36px; }
    .auth-header h2 { font-size: 1.4rem; }
    .register-step-indicator::before { left: 10%; right: 10%; }
    .auth-form-options { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
    .register-step .label { font-size: 0.5rem; }
    .register-step .circle { width: 28px; height: 28px; font-size: 0.6rem; }
    .register-step-indicator::before { left: 8%; right: 8%; }
}

/* public/css/style.css - Complete consolidated file with MAELIS Brand Colors */
:root {
    /* Brand Colors */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --secondary: #0F172A;
    --secondary-light: #1E293B;
    --accent: #22C55E;
    --accent-dark: #16A34A;
    --accent-light: #86EFAC;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    /* Core Values Colors */
    --depth-color: #0F172A;      /* Depth, Reliability, Professionalism */
    --trust-color: #2563EB;      /* Trust, Innovation, Openness */
    --growth-color: #22C55E;     /* People, Structure, Growth */
    
    /* Neutrals - Light Mode */
    --background: #F8FAFC;
    --borders: #E2E8F0;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --card-bg: #FFFFFF;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-surface: #F1F5F9;
    --bg-input: #FFFFFF;
    --border-color: #E2E8F0;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
    
    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Font */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

[data-theme="dark"] {
    --background: #0F172A;
    --borders: #334155;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --card-bg: #1E293B;
    --bg-body: #0F172A;
    --bg-card: #1E293B;
    --bg-surface: #334155;
    --bg-input: #1E293B;
    --border-color: #334155;
    --text-muted: #64748B;
    --text-inverse: #0F172A;
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #93BBFC;
    --secondary: #1E293B;
    --accent: #22C55E;
    --accent-dark: #16A34A;
    --accent-light: #86EFAC;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== LAYOUT ===== */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: var(--card-bg);
    border-right: 1px solid var(--borders);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--borders);
}

.sidebar-header h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 0.75rem;
    position: relative;
}

.nav-link i {
    width: 1.5rem;
    font-size: 1.1rem;
}

.nav-link:hover {
    background: var(--background);
    color: var(--primary);
    padding-left: 1.8rem;
}

.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    margin-left: 260px;
}

/* ===== TOP NAVBAR ===== */
.top-navbar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--borders);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.menu-toggle:hover {
    color: var(--primary);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.user-menu:hover {
    background: var(--background);
}

.user-name {
    color: var(--text-primary);
    font-weight: 500;
}

.user-avatar {
    font-size: 2rem;
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 0.5rem;
    min-width: 200px;
    display: none;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.user-menu:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

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

.dropdown-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s ease;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--background);
    color: var(--primary);
}

.menu-toggle-welcome {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .menu-toggle-welcome {
        display: block;
    }
    .navbar-welcome {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
}

/* ===== CONTENT WRAPPER ===== */
.content-wrapper {
    padding: 2rem;
    min-height: calc(100vh - 73px);
}

/* ===== TYPOGRAPHY ===== */
.page-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* ===== CARDS & GRIDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
}

.stat-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.recent-card, .data-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 1.5rem;
}

.recent-card h3, .data-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--borders);
    font-weight: 600;
}

.data-table td {
    padding: 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--borders);
}

.data-table tr:hover {
    background: var(--background);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline, .btn-danger {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--accent);
    color: white;
}

.btn-success:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-info {
    background: var(--info);
    color: white;
}

.btn-info:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    font-size: 1rem;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-edit {
    color: var(--primary);
}

.btn-edit:hover {
    background: rgba(37, 99, 235, 0.1);
}

.btn-delete {
    color: var(--danger);
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-success-icon {
    color: var(--accent);
}

.btn-success-icon:hover {
    background: rgba(34, 197, 94, 0.1);
}

/* ===== FORMS ===== */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--borders);
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--borders);
    border-radius: 0.5rem;
    background: var(--background);
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    animation: slideDown 0.3s ease;
}

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

.alert-success {
    background: var(--accent);
    color: white;
}

.alert-danger {
    background: var(--danger);
    color: white;
}

/* ===== BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: var(--primary);
    color: white;
}

.status-completed, .status-paid {
    background: var(--accent);
    color: white;
}

.status-pending {
    background: var(--danger);
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.bg-success {
    background: var(--accent);
    color: white;
}

.bg-primary {
    background: var(--primary);
    color: white;
}

.bg-info {
    background: var(--info);
    color: white;
}

/* ===== GUEST PAGES ===== */
.guest-main {
    min-height: calc(100vh - 140px);
}

/* Hero Image */
.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-image {
    flex: 1;
    text-align: center;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1.2rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1.2rem 1.2rem 0 0;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0 0.25rem;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--borders);
}

.pricing-features li i {
    color: var(--accent);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--borders);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial::before {
    content: "“";
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    max-width: 900px;
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-section {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .top-navbar {
        padding: 0.75rem 1rem;
    }
    
    .user-name {
        display: none;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .cta {
        margin: 2rem 1rem;
        padding: 2rem 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 0.75rem;
    }
    
    .top-navbar {
        padding: 0.4rem 0.75rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   MAELIS AUTH PAGES STYLES
   Colors: #2563EB (Primary Blue)
           #22C55E (Accent Green)
           #0F172A (Secondary/Navy)
   ============================================ */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2563EB 0%, #0F172A 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 1.5rem;
    margin: 0;
    width: 100%;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    animation: fadeInUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB 0%, #22C55E 100%);
}

.auth-card.register-card {
    max-width: 580px;
}

[data-theme="dark"] .auth-card {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
}

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

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

.auth-header .brand-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.auth-header .brand-logo img {
    height: 48px;
    width: auto;
}

.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.auth-header h2 .highlight-blue {
    color: #2563EB;
}

.auth-header h2 .highlight-green {
    color: #22C55E;
}

[data-theme="dark"] .auth-header h2 {
    color: #F1F5F9;
}

.auth-header p {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-header p {
    color: #94A3B8;
}

/* Auth Form Elements */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #0F172A;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form .form-group label {
    color: #F1F5F9;
}

.auth-form .form-group label .required {
    color: #EF4444;
    margin-left: 2px;
}

.auth-form .input-group {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    display: flex;
    align-items: stretch;
}

[data-theme="dark"] .auth-form .input-group {
    background: #1E293B;
    border-color: #475569;
}

.auth-form .input-group:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form .input-group-text {
    background: #F8FAFC;
    border: none;
    color: #2563EB;
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form .input-group-text {
    background: #1E293B;
    color: #60A5FA;
}

.auth-form .form-control {
    border: none;
    border-radius: 0;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #0F172A;
    height: auto;
    width: 100%;
    font-family: 'Inter', sans-serif;
    outline: none;
}

[data-theme="dark"] .auth-form .form-control {
    background: #1E293B;
    color: #F1F5F9;
}

.auth-form .form-control:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #94A3B8;
    opacity: 0.7;
}

[data-theme="dark"] .auth-form .form-control::placeholder {
    color: #64748B;
}

.auth-form .password-toggle {
    background: #F8FAFC;
    border: none;
    cursor: pointer;
    padding: 0.6rem 0.9rem;
    color: #475569;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .auth-form .password-toggle {
    background: #1E293B;
    color: #94A3B8;
}

.auth-form .password-toggle:hover {
    color: #2563EB;
}

.auth-form .password-toggle:active {
    transform: scale(0.92);
}

.auth-form .form-text {
    font-size: 0.7rem;
    color: #475569;
    margin-top: 0.3rem;
    display: block;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form .form-text {
    color: #94A3B8;
}

.auth-form .error {
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: block;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

/* Auth Buttons */
.auth-form .btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.auth-form .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.auth-form .btn-primary:hover::after {
    opacity: 1;
}

.auth-form .btn-primary span {
    position: relative;
    z-index: 1;
}

.auth-form .btn-primary:active {
    transform: translateY(0);
}

.auth-form .btn-outline {
    background: transparent;
    border: 2px solid #E2E8F0;
    color: #0F172A;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    flex: 1;
}

[data-theme="dark"] .auth-form .btn-outline {
    border-color: #334155;
    color: #F1F5F9;
}

.auth-form .btn-outline:hover {
    background: #F8FAFC;
    border-color: #2563EB;
    color: #2563EB;
    transform: translateY(-2px);
}

[data-theme="dark"] .auth-form .btn-outline:hover {
    background: #1E293B;
}

.auth-form .btn-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auth-form .btn-group .btn {
    flex: 1;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #E2E8F0;
}

[data-theme="dark"] .auth-footer {
    border-top-color: #334155;
}

.auth-footer p {
    color: #475569;
    font-size: 0.85rem;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-footer p {
    color: #94A3B8;
}

.auth-footer a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Auth Alerts */
.auth-alert {
    border-radius: 0.75rem;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.auth-alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border-left: 4px solid #EF4444;
}

[data-theme="dark"] .auth-alert-danger {
    background: #7F1D1D;
    color: #FECACA;
}

.auth-alert i {
    margin-right: 0.5rem;
}

/* Auth Form Options */
.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-form-options .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #475569;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-form-options .checkbox-label {
    color: #94A3B8;
}

.auth-form-options .checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #2563EB;
    cursor: pointer;
}

.auth-form-options .forgot-link {
    color: #2563EB;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.auth-form-options .forgot-link:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* Register Specific */
.register-step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0;
    position: relative;
    padding: 0 1rem;
}

.register-step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: #E2E8F0;
    z-index: 0;
}

[data-theme="dark"] .register-step-indicator::before {
    background: #334155;
}

.register-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.register-step .circle {
    width: 40px;
    height: 40px;
    background: #E2E8F0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .register-step .circle {
    background: #334155;
    color: #94A3B8;
}

.register-step.active .circle {
    background: #2563EB;
    color: white;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.register-step.completed .circle {
    background: #22C55E;
    color: white;
    border-color: #22C55E;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.register-step .circle .checkmark {
    display: none;
}

.register-step.completed .circle .checkmark {
    display: inline;
}

.register-step.completed .circle .step-number {
    display: none;
}

.register-step .label {
    font-size: 0.7rem;
    color: #475569;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

[data-theme="dark"] .register-step .label {
    color: #94A3B8;
}

.register-step.active .label {
    color: #2563EB;
    font-weight: 600;
}

.register-step.completed .label {
    color: #22C55E;
    font-weight: 600;
}

.register-form-step {
    display: none;
    animation: fadeSlideIn 0.3s ease;
}

.register-form-step.active-step {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Password Strength */
.auth-password-strength {
    height: 3px;
    background: #E2E8F0;
    border-radius: 2px;
    margin-top: 0.4rem;
    overflow: hidden;
}

[data-theme="dark"] .auth-password-strength {
    background: #334155;
}

.auth-password-strength .strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.4s ease, background 0.4s ease;
}

.auth-password-strength .strength-bar.weak { width: 25%; background: #EF4444; }
.auth-password-strength .strength-bar.medium { width: 50%; background: #F59E0B; }
.auth-password-strength .strength-bar.strong { width: 75%; background: #2563EB; }
.auth-password-strength .strength-bar.very-strong { width: 100%; background: #22C55E; }

.auth-password-hint {
    font-size: 0.65rem;
    color: #475569;
    margin-top: 0.2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-password-hint {
    color: #94A3B8;
}

.auth-password-hint .hint-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.3s ease;
}

.auth-password-hint .hint-item .hint-icon {
    font-size: 0.5rem;
}

.auth-password-hint .hint-item.valid {
    color: #22C55E;
}

.auth-password-hint .hint-item.invalid {
    color: #475569;
    opacity: 0.5;
}

[data-theme="dark"] .auth-password-hint .hint-item.invalid {
    color: #94A3B8;
}

/* Color Picker */
.auth-color-picker-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.auth-color-picker-wrapper input[type="color"] {
    width: 42px;
    height: 42px;
    padding: 2px;
    cursor: pointer;
    border-radius: 0.75rem;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    flex-shrink: 0;
}

[data-theme="dark"] .auth-color-picker-wrapper input[type="color"] {
    border-color: #475569;
    background: #1E293B;
}

.auth-color-picker-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.auth-color-picker-wrapper input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 0.4rem;
}

.auth-color-picker-wrapper .color-hex-input {
    flex: 1;
}

/* Auth Form Row */
.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Auth Checkbox */
.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #475569;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .auth-checkbox-label {
    color: #94A3B8;
}

.auth-checkbox-label input[type="checkbox"] {
    margin-top: 0.1rem;
    width: 17px;
    height: 17px;
    accent-color: #2563EB;
    cursor: pointer;
    flex-shrink: 0;
}

.auth-checkbox-label a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.auth-checkbox-label a:hover {
    color: #22C55E;
    text-decoration: underline;
}

/* Auth Decorative Elements */
.auth-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    pointer-events: none;
}

.auth-decoration-1 {
    width: 200px;
    height: 200px;
    background: #2563EB;
    top: -100px;
    right: -100px;
}

.auth-decoration-2 {
    width: 150px;
    height: 150px;
    background: #22C55E;
    bottom: -75px;
    left: -75px;
}

@media (max-width: 576px) {
    .auth-page { padding: 1rem; }
    .auth-card { padding: 1.5rem; border-radius: 0.75rem; }
    .auth-form-row { grid-template-columns: 1fr; gap: 0; }
    .register-step .label { font-size: 0.6rem; }
    .register-step .circle { width: 34px; height: 34px; font-size: 0.7rem; }
    .auth-form .btn-group { flex-direction: column; }
    .auth-form .btn-group .btn { width: 100%; }
    .auth-header .brand-logo img { height: 36px; }
    .auth-header h2 { font-size: 1.4rem; }
    .register-step-indicator::before { left: 10%; right: 10%; }
    .auth-form-options { flex-direction: column; align-items: flex-start; }
    .auth-decoration-1 { width: 150px; height: 150px; top: -75px; right: -75px; }
    .auth-decoration-2 { width: 100px; height: 100px; bottom: -50px; left: -50px; }
}

@media (max-width: 400px) {
    .register-step .label { font-size: 0.5rem; }
    .register-step .circle { width: 28px; height: 28px; font-size: 0.6rem; }
    .register-step-indicator::before { left: 8%; right: 8%; }
}
/* ============================================
   WELCOME PAGE - BRAND STYLES ENHANCED
   Colors: #2563EB (Blue) & #22C55E (Green)
   ============================================ */

/* ----- Hero Section Enhancements ----- */
.hero-section {
    padding: 4rem 2rem;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 197, 94, 0.08));
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-content h1 span {
    background: linear-gradient(135deg, #2563EB 0%, #22C55E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: #2563EB;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1.5px solid #2563EB;
}

.hero-buttons .btn-outline:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563EB;
}

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

/* ----- Features Section ----- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #22C55E);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border-color: #2563EB;
}

.feature-tag {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.15rem 0.75rem;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 197, 94, 0.08));
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* ----- Ecosystem Section ----- */
.ecosystem-section {
    padding: 5rem 2rem;
    background: var(--bg-body);
    position: relative;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #22C55E, #2563EB);
    background-size: 200% 100%;
    animation: gradientMove 6s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.benefit-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover {
    background: var(--bg-card);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border-color: rgba(37, 99, 235, 0.1);
}

.benefit-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-icon-blue {
    background: rgba(37, 99, 235, 0.08);
    color: #2563EB;
}

.benefit-icon-green {
    background: rgba(34, 197, 94, 0.08);
    color: #22C55E;
}

.benefit-card:hover .benefit-icon-blue {
    background: #2563EB;
    color: white;
    transform: scale(1.05);
}

.benefit-card:hover .benefit-icon-green {
    background: #22C55E;
    color: white;
    transform: scale(1.05);
}

.benefit-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ----- Pricing Section ----- */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pricing-card.popular {
    border-color: #2563EB;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #22C55E);
    border-radius: 0.75rem 0.75rem 0 0;
}

.pricing-card.popular:hover {
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.popular-tag {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563EB, #22C55E);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563EB;
    line-height: 1;
}

.pricing-features li i {
    color: #22C55E;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.btn-pricing.btn-primary {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-pricing.btn-primary:hover {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-pricing.btn-outline {
    background: transparent;
    color: #2563EB;
    border: 1.5px solid #2563EB;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-pricing.btn-outline:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-2px);
}

/* ----- Testimonials Section ----- */
.testimonial-card {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: "“";
    font-size: 3rem;
    background: linear-gradient(135deg, #2563EB, #22C55E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border-color: rgba(37, 99, 235, 0.2);
}

.testimonial-avatar-blue {
    background: #2563EB;
}

.testimonial-avatar-green {
    background: #22C55E;
}

/* ----- CTA Section ----- */
.cta-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 4rem auto;
}

.cta-container {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #22C55E 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 250px;
    height: 250px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    color: #2563EB;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #22C55E;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ecosystem-visual {
        order: -1;
    }

    .ecosystem-header {
        text-align: left;
    }

    .ecosystem-subtitle {
        max-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .cta-section {
        margin: 2rem 1rem;
    }

    .cta-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

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

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

/* ----- Pricing Empty State ----- */
.pricing-empty {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.pricing-empty .empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
    max-width: 500px;
}

.pricing-empty .empty-state i {
    font-size: 3rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

.pricing-empty .empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-empty .empty-state p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ----- Pricing Employee Count ----- */
.pricing-employees {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.pricing-employees i {
    color: #2563EB;
}

/* ----- Currency Switcher ----- */
.currency-switcher {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .currency-switcher {
    background: #1E293B;
    border-color: #334155;
}

.currency-switcher:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.currency-switcher select {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #E2E8F0;
    font-size: 0.8rem;
    background: white;
    cursor: pointer;
    outline: none;
}

[data-theme="dark"] .currency-switcher select {
    background: #1E293B;
    border-color: #475569;
    color: #F1F5F9;
}

.currency-switcher select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
    .currency-switcher {
        top: 70px;
        right: 10px;
        padding: 0.4rem 0.8rem;
    }
    .currency-switcher select {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ----- Pricing Duration ----- */
.pricing-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.pricing-duration i {
    color: #2563EB;
}

/* Board discovery callout shared by admin and employee navigation. */
.board-discovery-badge {
    position: relative;
    margin: .65rem .75rem;
    padding: .75rem;
    border: 1px solid rgba(var(--primary-rgb), .3);
    border-radius: 7px;
    background: color-mix(in srgb, var(--card-bg) 92%, var(--primary));
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
    opacity: 0;
    transform: translateX(-115%);
    transition: transform .38s ease, opacity .28s ease;
}

.board-discovery-badge.is-visible { opacity: 1; transform: translateX(0); }
.board-discovery-badge a { display: grid; grid-template-columns: 30px 1fr; gap: .15rem .55rem; color: var(--text-primary); text-decoration: none; }
.board-discovery-badge a > span:last-child { grid-column: 2; color: var(--text-secondary); font-size: .7rem; line-height: 1.4; }
.board-discovery-badge strong { padding-right: 1rem; font-size: .76rem; line-height: 1.3; }
.board-discovery-icon { display: grid; width: 30px; height: 30px; grid-row: 1 / 3; place-items: center; border-radius: 5px; background: var(--primary); color: white; }
.board-discovery-close { position: absolute; top: .35rem; right: .35rem; border: 0; background: transparent; color: var(--text-secondary); font-size: .72rem; }

@media (prefers-reduced-motion: reduce) {
    .board-discovery-badge { transition: none; }
}
