/* Modern Project Management Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #1a1d29;
    --card-bg: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Modern Navbar */
.navbar {
    background: rgba(26, 29, 41, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 4rem 2rem 6rem;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.logo-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    flex: 1;
}

.logo-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    display: inline-block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    color: white;
    overflow: hidden;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Header Section */
.row h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

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

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

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

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

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

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

/* Filter Dropdown */
#filter {
    margin-top: 1rem;
}

#type_filter {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 300px;
}

#type_filter:hover {
    border-color: #667eea;
    box-shadow: var(--shadow-md);
}

#type_filter:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Project Cards */
#projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3::before {
    content: '📋';
    font-size: 1rem;
}

.card-body {
    padding: 0.5rem 0.75rem;
    max-height: 180px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 0.75rem;
}

.card-body h4 {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0.3rem 0 0.15rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    grid-column: span 1;
}

.card-body h4 i {
    font-size: 0.65rem;
}

.card-body h4:first-child {
    margin-top: 0;
}

.card-body h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
    margin-left: 0.5rem;
}

.card-body > div {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
    padding-left: 0;
    line-height: 1.25;
    grid-column: span 1;
}

/* Make description span full width */
.card-body h4.description-label,
.card-body .description-text {
    grid-column: 1 / -1;
}

.card-body .description-text {
    max-height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0;
}

.status-badge.active,
.status-badge.in-progress {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.status-badge.completed,
.status-badge.done {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.status-badge.pending,
.status-badge.planned {
    background: linear-gradient(135deg, #fbc531 0%, #feca57 100%);
    color: white;
}

.status-badge.on-hold,
.status-badge.blocked {
    background: linear-gradient(135deg, #ee5a6f 0%, #f093fb 100%);
    color: white;
}

/* Project Type Badge */
.project-type-badge {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--primary-gradient);
    color: white;
    margin-left: 0;
}

/* Card Footer */
.card-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.5rem 0.75rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 0.4rem;
    justify-content: space-between;
}

.card-footer .btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    cursor: pointer;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal > .modal {
    cursor: default;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog {
    max-width: 600px;
    width: 90%;
    margin: auto;
    animation: slideUp 0.3s ease;
    max-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
}

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

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4rem);
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem;
    border-bottom: none;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-body label,
.modal-body > div:not(.projectTitle) {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.modal-body input[type="text"],
.modal-body input[type="date"],
.modal-body select,
.modal-body textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-body input[type="text"]:focus,
.modal-body input[type="date"]:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-body textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-body .projectTitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    flex-shrink: 0;
}

/* Story List */
#stories {
    list-style: none;
    padding: 0;
    margin: 0;
}

#stories li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

#stories li:hover {
    border-color: #667eea;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

#stories li strong {
    font-size: 1.125rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .row h1 {
        font-size: 2rem;
    }

    #projects {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-body {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .card-body h4,
    .card-body > div {
        grid-column: span 1;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .modal {
        padding: 1rem 0.5rem;
    }

    .modal-dialog {
        width: 95%;
        margin: auto;
        max-height: calc(100vh - 2rem);
    }

    .modal-content {
        max-height: calc(100vh - 2rem);
    }

    .modal-body {
        padding: 1.5rem;
    }

    .calendar-grid {
        gap: 0.25rem;
        padding: 0.5rem;
    }

    .calendar-day {
        min-height: 80px;
        padding: 0.25rem;
    }

    .calendar-day-header {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .calendar-project {
        font-size: 0.65rem;
        padding: 0.3rem 0.4rem;
    }

    .view-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .hero-banner {
        padding: 2rem 1rem 4rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo {
        flex-direction: column;
        text-align: center;
    }

    .logo-title {
        font-size: 2rem;
    }

    .logo-tagline {
        font-size: 1rem;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
    }

    .logo-icon i {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
        width: 100%;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
    }

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

@media (max-width: 1024px) and (min-width: 769px) {
    #projects {
        grid-template-columns: repeat(auto-fill, minmax(1000px, 1fr));
    }
}

/* View Tabs */
.view-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.view-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.view-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.view-tab.active {
    background: white;
    color: #667eea;
    box-shadow: var(--shadow-md);
}

.view-content {
    display: none;
}

.view-content.active {
    display: block;
}

/* Calendar Styles */
.calendar-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.calendar-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.calendar-day-header {
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.75rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-color);
}

.calendar-day {
    min-height: 120px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.calendar-day:hover {
    border-color: #667eea;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.calendar-day.empty {
    background: #f8f9fa;
    border: none;
    cursor: default;
}

.calendar-day.empty:hover {
    transform: none;
    box-shadow: none;
}

.calendar-day.today {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    border-width: 3px;
}

.calendar-day.past {
    opacity: 0.6;
}

.calendar-day-number {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.calendar-day.today .calendar-day-number {
    color: #667eea;
    font-size: 1.125rem;
}

.calendar-projects {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    overflow-y: auto;
}

.calendar-project {
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.calendar-project:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

.calendar-project i {
    font-size: 0.7rem;
}

.calendar-project-title {
    flex: 1;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-project.status-active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.calendar-project.status-completed {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.calendar-project.status-pending {
    background: linear-gradient(135deg, #fbc531 0%, #feca57 100%);
}

.calendar-project.status-on-hold {
    background: linear-gradient(135deg, #ee5a6f 0%, #f093fb 100%);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Kanban Styles */
.kanban-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
    min-height: 600px;
}

.kanban-column {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 300px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.kanban-column:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.kanban-column-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.kanban-column-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.kanban-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    min-width: 2rem;
    text-align: center;
}

.kanban-column-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 200px;
    transition: background-color 0.3s ease;
}

.kanban-column-body.drag-over {
    background: rgba(102, 126, 234, 0.1);
    border: 2px dashed #667eea;
    border-radius: 12px;
}

.kanban-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    cursor: grab;
    transition: all 0.3s ease;
    position: relative;
}

.kanban-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #667eea;
}

.kanban-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
    transform: rotate(3deg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
}

.kanban-card-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.kanban-card-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.kanban-card-body {
    margin-bottom: 0.75rem;
}

.kanban-card-status {
    margin-bottom: 0.5rem;
}

.kanban-card-type,
.kanban-card-date,
.kanban-card-manager {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.kanban-card-type i,
.kanban-card-date i,
.kanban-card-manager i {
    color: #667eea;
    width: 16px;
}

.kanban-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.kanban-card-footer {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border-color);
}

.kanban-card-footer .btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.5rem;
}

.kanban-save-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.kanban-save-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.kanban-save-notification i {
    font-size: 1.25rem;
}

/* Responsive Kanban */
@media (max-width: 768px) {
    .kanban-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .kanban-column {
        max-height: 400px;
    }

    .kanban-card {
        padding: 0.75rem;
    }

    .kanban-card-header h4 {
        font-size: 1rem;
    }
}

/* Landing Page Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease;
    background: #f8f9fa;
}

/* Hero Section */
.landing-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 20s ease-in-out infinite;
}

@keyframes heroZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 50%, rgba(240, 147, 251, 0.85) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 4rem 2rem;
    text-align: center;
    animation: slideUp 0.8s ease;
}

.hero-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: white;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1.5rem 0;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3rem 0;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    background: white;
    color: #667eea;
    border: none;
    padding: 1.5rem 3.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-cta-button:hover::before {
    left: 100%;
}

.hero-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

.hero-cta-button i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-cta-button:hover i {
    transform: translateX(5px);
}

.hero-cta-button span {
    position: relative;
    z-index: 1;
}

/* Content Section */
.landing-content-section {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-page.hidden {
    animation: fadeOut 0.8s ease forwards;
    pointer-events: none;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}

.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.landing-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.landing-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    animation: slideUp 0.8s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3rem 0;
    font-weight: 300;
}

.landing-logo-container {
    margin-bottom: 4rem;
}

.landing-logo-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.landing-logo-icon > i {
    position: relative;
    z-index: 100;
}

.landing-logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.landing-logo-icon i {
    font-size: 4rem;
    color: white !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 10;
    display: block;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.landing-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    animation: cardFadeIn 0.8s ease backwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: visible;
}

.feature-icon > i {
    position: relative;
    z-index: 100;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 10;
    display: block;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.landing-cta {
    margin-top: 3rem;
    animation: ctaFadeIn 1s ease 0.8s backwards;
}

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

.landing-enter-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.landing-enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.landing-enter-btn:hover::before {
    left: 100%;
}

.landing-enter-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.landing-enter-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.landing-enter-btn i {
    transition: transform 0.3s ease;
}

.landing-enter-btn:hover i {
    transform: translateX(5px);
}

.landing-enter-btn span {
    position: relative;
    z-index: 1;
}

.landing-enter-btn i {
    position: relative;
    z-index: 1;
}

/* Main App Styles */
.main-app {
    animation: appFadeIn 0.8s ease;
}

@keyframes appFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Landing Page */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta-button {
        padding: 1.25rem 2.5rem;
        font-size: 1rem;
    }

    .landing-title {
        font-size: 3rem;
    }

    .landing-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .landing-content-section {
        padding: 4rem 1.5rem;
    }

    .landing-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .landing-logo-icon {
        width: 100px;
        height: 100px;
    }

    .landing-logo-icon i {
        font-size: 3rem;
    }

    .landing-enter-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

