:root {
    --primary: #6366f1;
    /* Indigo 500 */
    --primary-dark: #4f46e5;
    /* Indigo 600 */
    --primary-light: #818cf8;
    /* Indigo 400 */
    --secondary: #ec4899;
    /* Pink 500 */
    --accent: #8b5cf6;
    /* Violet 500 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    /* Slate 800 */
    --text-gray: #64748b;
    /* Slate 500 */
    --success: #10b981;
    /* Emerald 500 */
    --danger: #ef4444;
    /* Red 500 */
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    /* Modern Font */
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Utilities */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.w-full {
    width: 100%;
}

.h-screen {
    height: 100vh;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-xl {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.text-2xl {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.text-lg {
    font-size: 1.125rem;
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray {
    color: var(--text-gray);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-white {
    color: white;
}

.bg-white {
    background: white;
}

/* Components */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

.card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}



.input-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    outline: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.input-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Auth Pages */
#login-screen {
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
}

.login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

.sidebar {
    width: 260px;
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    transition: transform 0.3s ease;
    border-right: 1px solid #e2e8f0;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    /* Width of sidebar */
    padding: 2rem;
    transition: margin-left 0.3s ease;
}

/* Mobile Sidebar behavior */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .sidebar.open {
        transform: translateX(0);
    }
}

/* Mobile Toggle Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }
}

/* Bottom Nav - Only for Mobile (small screens) */
.bottom-nav {
    display: none;
    /* Default hidden */
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.75rem 0;
        border-top: 1px solid #e2e8f0;
        z-index: 60;
        justify-content: space-around;
        box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
    }

    .sidebar {
        display: none;
        /* Hide sidebar completely on very small screens if using bottom nav */
    }

    .dashboard-container {
        padding-bottom: 60px;
        /* Space for bottom nav */
    }
}

/* --- LANDING PAGE CORRECTIONS --- */

/* Fix for the SVG Wave Color */
.fill-indigo-600 {
    fill: #4f46e5;
}

/* Fix for the Text Gradient */
.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, #6366f1, #ec4899);
}

/* Stats Grid Layout - Explicit Fix */
.landing-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .landing-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Hero Section Alignment */
.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

@media (min-width: 768px) {
    .landing-title {
        font-size: 3.75rem;
    }
}

.landing-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Card Styling enhancements */
.landing-stat-card {
    background: #f8fafc;
    /* Fallback */
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Specific Card Colors (replicating the previous generic classes securely) */
.card-emerald {
    background-color: #ecfdf5;
    border-color: #d1fae5;
}

.card-cyan {
    background-color: #ecfeff;
    border-color: #cffafe;
}

.card-amber {
    background-color: #fffbeb;
    border-color: #fef3c7;
}

.icon-emerald {
    background-color: #d1fae5;
    color: #047857;
}

.icon-cyan {
    background-color: #cffafe;
    color: #0891b2;
}

.icon-amber {
    background-color: #fef3c7;
    color: #b45309;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Navbar Tweaks */
.nav-link {
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-demo {
    background-color: #312e81;
    /* Indigo 900 */
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.btn-cta-large {
    background-color: #312e81;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-cta-large:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Utils */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.flex-1 {
    flex: 1;
}

/* Navigation */
.backdrop-blur-md {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

.z-10 {
    z-index: 10;
}

.-z-10 {
    z-index: -10;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

/* Colors needed for the stats */
/* Escaped selectors for tailwind-like slash syntax if used */
.bg-emerald-50\/50,
.bg-emerald-50 {
    background-color: #ecfdf5;
}

.bg-cyan-50\/50,
.bg-cyan-50 {
    background-color: #ecfeff;
}

.bg-amber-50\/50,
.bg-amber-50 {
    background-color: #fffbeb;
}

.bg-emerald-100 {
    background-color: #d1fae5;
}

.bg-cyan-100 {
    background-color: #cffafe;
}

.bg-amber-100 {
    background-color: #fef3c7;
}

.border-emerald-100 {
    border: 1px solid #d1fae5;
}

.border-cyan-100 {
    border: 1px solid #cffafe;
}

.border-amber-100 {
    border: 1px solid #fef3c7;
}

/* Decorations */
.blur-3xl {
    filter: blur(64px);
}

.pointer-events-none {
    pointer-events: none;
}

.overflow-hidden {
    overflow: hidden;
}

/* Animations */
@keyframes bounce-sub {

    0%,
    100% {
        transform: translateY(-5%);
    }

    50% {
        transform: translateY(0);
    }
}

.animate-bounce {
    animation: bounce-sub 2s infinite;
}

/* Button & Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.hover\:-translate-y-0\.5:hover {
    transform: translateY(-0.125rem);
}

/* Gradient Text Support */
.text-transparent {
    color: transparent;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--primary), var(--secondary));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, #f5f3ff, rgba(255, 255, 255, 0));
}

.w-1\/3 {
    width: 33.333333%;
}

.h-64 {
    height: 16rem;
}

.w-64 {
    width: 16rem;
}

/* Specific Employee Desktop Tweaks */
.punch-btn-large {
    width: 200px;
    height: 200px;
}

/* Clean Tables for all devices */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 640px) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

/* Mobile App UI Wrapper - Optional if used inside specific views */
.mobile-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-light);
    min-height: 100vh;
    position: relative;
    padding-bottom: 90px;
}

.app-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 2rem 1.5rem 3rem;
    /* Extended padding for overlap */
    border-radius: 0 0 2.5rem 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 10;
}

.status-card-container {
    padding: 0 1.5rem;
    margin-top: -2.5rem;
    /* Overlap header */
    position: relative;
    z-index: 20;
}

.punch-btn-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.punch-btn {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: white;
    /* border: 1px solid #e2e8f0; */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.punch-btn::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: 1;
    transition: all 0.3s;
}

.punch-btn:active {
    transform: scale(0.95);
}

.punch-btn.punched::after {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.punch-content {
    z-index: 2;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.punch-icon {
    font-size: 2rem;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
    z-index: 50;
    border-radius: 1.5rem 1.5rem 0 0;
}

.nav-item {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 1.25rem;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active i {
    transform: translateY(-2px);
    transition: transform 0.2s;
}

/* Admin Dashboard */
@media (min-width: 768px) {

    /* Removed .app-container.admin-mode override as it's no longer needed */
    .sidebar {
        width: 280px;
        background: #ffffff;
        height: 100vh;
        border-right: 1px solid #e2e8f0;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        top: 0;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 3rem;
        color: var(--primary-dark);
        font-weight: 800;
        font-size: 1.5rem;
    }

    .main-content {
        flex: 1;
        padding: 2.5rem;
        margin-left: 280px;
        /* Offset sidebar */
        overflow-y: auto;
    }

    .admin-menu-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        color: var(--text-gray);
        border-radius: 0.75rem;
        cursor: pointer;
        transition: all 0.2s;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .admin-menu-item:hover,
    .admin-menu-item.active {
        background: #eef2ff;
        color: var(--primary);
    }

    .admin-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        background: white;
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-sm);
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* --- PREMIUM HERO SECTION --- */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgb(248, 250, 252) 0%, rgb(241, 245, 249) 90%);
    min-height: auto;
    /* Removed large vh constraint */
    display: flex;
    align-items: center;
    padding: 2rem 0 2rem;
    /* Reduced padding */
}

/* Background decorations */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Text Side */
.hero-text {
    animation: fadeSlideUp 0.8s ease-out;
    margin-top: -3rem;
    /* Shift text up specifically */
}

.hero-header {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-header span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-header span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(99, 102, 241, 0.1);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Visual Side - Glassmorphism Dashboard */
.hero-visual {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.glass-dashboard {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 50px -10px rgba(99, 102, 241, 0.25);
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    /* Removed transform and animation to straighten the card */
    transition: transform 0.5s ease;
    margin-top: -2rem;
    /* Shift upwards slightly */
    animation: slideInRight 1s ease-out;
}

.glass-dashboard:hover {
    transform: translateY(-5px);
    /* Simple subtle lift instead of rotation reset */
}

/* Inner Dashboard Elements */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dash-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: #0f172a;
}

.live-badge {
    background: #dcfce7;
    color: #16a34a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    display: block;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dash-card {
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
    /* Indigo tint matching brand */
    border-color: #e0e7ff;

    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s;
}

/* Colored Dashboard Cards */
.card-purple-bg {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #ddd6fe;
}

.card-blue-bg {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.card-pink-bg {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-color: #fbcfe8;
}

.card-green-bg {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.dash-card:hover {
    transform: translateY(-3px);
}

.dash-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.icon-purple {
    background: #e0e7ff;
    color: #4338ca;
}

.icon-blue {
    background: #dbeafe;
    color: #1e40af;
}

.icon-pink {
    background: #fce7f3;
    color: #be185d;
}

.icon-green {
    background: #dcfce7;
    color: #15803d;
}

.dash-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.dash-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

/* Progress Bars in Dash */
.dash-progress-item {
    margin-bottom: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #475569;
}

.progress-track {
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    width: 0;
    /* Start at 0 for animation */
    animation: fillProgress 1.5s ease-out forwards;
    animation-delay: 0.8s;
    /* Start after card animation */
}

/* Activity Items */
.dash-activity {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fillProgress {
    from {
        width: 0;
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge */
.new-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.new-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.new-pill span.tag {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Stats Section Modern */
.stats-modern {
    padding: 2.5rem 0;
    /* Reduced height from 5rem */
    background: #ffffff;
    position: relative;
    z-index: 2;
    border-top: 1px solid #f1f5f9;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 0 1.5rem;
}

.stat-modern-item {
    text-align: center;
    padding: 1rem;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

.stat-modern-number {
    font-size: 3.5rem;
    /* Larger and bolder */
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
    display: block;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-modern-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-header {
        font-size: 3rem;
    }

    .hero-subtext {
        margin: 0 auto 2.5rem;
    }

    .glass-dashboard {
        transform: none !important;
        margin-top: 3rem;
        animation: none;
        /* Disable 3D float on tablet/mobile for better performance/look */
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-header {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services-section {
    padding: 2rem 0;
    background: #ffffff;
    position: relative;
    border-top: 1px solid #f8fafc;
}

.services-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.services-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.services-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.service-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    /* Stronger shadow on hover */
    border-color: rgba(99, 102, 241, 0.2);
}

.service-image-box {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-icon-float {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-top: -2.5rem;
    /* Overlap image */
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 1rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.learn-more-link:hover {
    gap: 0.75rem;
}

/* Service Variations */
.service-payroll .service-icon-float {
    color: #4338ca;
}

.service-attendance .service-icon-float {
    color: #1e40af;
}

.service-performance .service-icon-float {
    color: #a21caf;
}

.service-expense .service-icon-float {
    color: #15803d;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 2rem;
    }
}

/* Core Solutions Section */
.core-solutions-section {
    padding: 3rem 0;
    background: #f8fafc;
    position: relative;
    border-top: 1px solid #e2e8f0;
}

.solutions-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.solutions-sub {
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.solutions-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.solution-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.solution-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon-box {
    transform: scale(1.1);
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.solution-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Icon Box Colors */
.sol-1 .solution-icon-box {
    background: #e0f2fe;
    color: #0284c7;
}

.sol-2 .solution-icon-box {
    background: #dcfce7;
    color: #16a34a;
}

.sol-3 .solution-icon-box {
    background: #fae8ff;
    color: #a21caf;
}

.sol-4 .solution-icon-box {
    background: #fee2e2;
    color: #dc2626;
}

.sol-5 .solution-icon-box {
    background: #ffedd5;
    color: #ea580c;
}

.sol-6 .solution-icon-box {
    background: #f3e8ff;
    color: #9333ea;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* Value Section */
.value-section {
    padding: 1.5rem 0;
    background: white;
}

.value-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.value-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.value-title span {
    color: #a855f7;
    /* Purple to match image */
}

.value-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* User Type Tabs */
.value-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 1.5rem;
}

.value-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    width: 180px;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.value-tab-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.value-tab-item.active {
    border-color: #a855f7;
    background: #faf5ff;
    box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.15);
}

.value-tab-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

.value-tab-item.active .value-tab-icon img {
    transform: scale(1.1);
}

.value-tab-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.value-tab-item.active .value-tab-label {
    color: #a855f7;
}

/* Comparison Layout */
.value-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 1.5rem;
}

.without-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.with-card-wrapper {
    background: #ecfdf5;
    /* Light green bg from image */
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.comparison-header {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #64748b;
    font-size: 1.05rem;
    font-weight: 500;
}

.dot-indicator {
    min-width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
}

.dot-red {
    background: #94a3b8;
}

/* Grey/Slate */
.dot-green {
    background: #a855f7;
}

/* With Card Specifics */
.with-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.with-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    font-weight: 500;
}

.with-visual {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(0);
    transition: transform 0.3s;
    max-width: 80%;
    margin: 0 auto;
}

.with-visual:hover {
    transform: translateY(-5px);
}

.profile-img-lg {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
}

.with-card-content {
    flex: 1;
}

@media (max-width: 1024px) {
    .value-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1rem;
    }

    .value-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .value-tab-item {
        min-width: 120px;
    }

    .value-container {
        padding: 0 1rem;
    }
}

/* Why Better Section (Parallax) */
.why-better-section {
    position: relative;
    padding: 3rem 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    overflow: hidden;
}

.why-better-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Slightly darker/more opaque */
    z-index: 1;
}

.why-better-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.why-header {
    text-align: center;
    margin-bottom: 3rem;
}

.why-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.why-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

/* New "No-Card" Design */
.why-feature-item {
    position: relative;
    padding: 1rem;
    transition: transform 0.3s;
}

.why-feature-item:hover {
    transform: translateY(-10px);
}

.why-icon-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #f87171;
    /* Red for "No" */
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
}

.why-feature-item:hover .why-icon-circle {
    border-color: #fca5a5;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(248, 113, 113, 0.3);
    /* Red glow */
    transform: scale(1.1);
}

.why-feature-item:hover .why-icon-circle i {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.why-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.why-feature-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #f87171;
    margin: 0.75rem auto 0;
    transition: width 0.3s;
}

.why-feature-item:hover .why-feature-title::after {
    width: 80px;
}

.why-feature-desc {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.why-feature-item:hover .why-feature-desc {
    opacity: 1;
    height: auto;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-title {
        font-size: 2.5rem;
    }
}

/* Call To Action Section */
.cta-section {
    padding: 2rem 0 0;
    background: #eff6ff;
    /* Very light blue (Blue 50) */
    position: relative;
    text-align: center;
    color: #1e293b;
    /* Slate 800 */
    border-top: 1px solid #e2e8f0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
    /* Slate 900 */
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #64748b;
    /* Slate 500 */
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Button 1: Primary (White with Border) */
.btn-white {
    background: white;
    border-color: #3b82f6;
    /* Blue 500 */
    color: #3b82f6;
}

.btn-white:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Button 2: Secondary (Outline) */
.btn-outline-white {
    background: transparent;
    border-color: #cbd5e1;
    /* Slate 300 */
    color: #475569;
    /* Slate 600 */
}

.btn-outline-white:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: white;
}

/* Button 3: Tertiary (Outline) */
.btn-glass {
    background: transparent;
    border-color: #cbd5e1;
    /* Slate 300 */
    color: #475569;
    /* Slate 600 */
}

.btn-glass:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Footer Section */
.footer-section {
    background: #0f172a;
    /* Slate 900 */
    color: #cbd5e1;
    /* Slate 300 */
    padding: 5rem 0 0;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.footer-col-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: white;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}