/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    background: linear-gradient(45deg, #2c3e50, #3498db, #2980b9);
    color: #fff;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Glass Background Effect */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .home-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.logo .home-link:hover {
    opacity: 0.8;
    cursor: pointer;
}

.droplet {
    font-size: 1.8rem;
    animation: float 3s ease-in-out infinite;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

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

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 500px;
}

/* Login Container */
.login-container {
    flex: 1;
    max-width: 400px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation: float-1 20s infinite linear;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 15%;
    animation: float-2 15s infinite linear;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation: float-3 18s infinite linear;
}

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

@keyframes float-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-100px, -50px) rotate(-360deg); }
}

@keyframes float-3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, -100px) rotate(360deg); }
}

/* About Page Styles */
.content-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.about-section, .contact-section {
    padding: 3rem;
}

.about-content {
    line-height: 1.6;
}

.about-content h2 {
    margin: 2rem 0 1rem;
}

.about-content ul {
    list-style: none;
    margin: 1rem 0;
}

.about-content li {
    margin: 0.5rem 0;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    min-height: 150px;
    resize: vertical;
}

/* Dashboard Styles */
.dashboard {
    overflow-x: auto;
}

.board-container {
    padding: 2rem;
}

.board-wrapper {
    min-width: fit-content;
}

.lists-container {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
}

.list {
    min-width: 300px;
    max-width: 300px;
    margin: 0 0.5rem;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.task-list {
    padding: 1rem;
    min-height: 100px;
}

.task {
    margin: 0.5rem 0;
    padding: 1rem;
    cursor: grab;
}

.task:active {
    cursor: grabbing;
}

.task-content {
    margin-bottom: 0.5rem;
}

.task-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.task-actions button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.25rem;
}

.task-actions button:hover {
    color: #fff;
}

.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
}

.priority-badge.low {
    color: #4CAF50;
}

.priority-badge.medium {
    color: #FFC107;
}

.priority-badge.high {
    color: #F44336;
}

.add-task-btn, .add-list-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
}

.add-task-btn:hover, .add-list-btn:hover {
    color: #fff;
}

.add-list {
    min-width: 300px;
}

.add-list-btn {
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex !important;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 2rem;
}

.modal-content .input-group {
    margin-bottom: 1.5rem;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.modal-content textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.priority-buttons {
    margin: 1.5rem 0;
}

.priority-label {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.priority-options {
    display: flex;
    gap: 0.5rem;
}

.priority-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.priority-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.priority-btn.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.priority-btn[data-priority="low"] { color: #4CAF50; }
.priority-btn[data-priority="medium"] { color: #FFC107; }
.priority-btn[data-priority="high"] { color: #F44336; }

.glass-submit-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.glass-submit-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Credit Section */
.credit-section {
    text-align: center;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 2rem;
}

.thank-you-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.thank-you-message p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Contact Form Button */
.contact-form .glass-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: white;
    cursor: pointer;
}

.contact-form .glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-form .glass-btn:active {
    transform: translateY(0);
}

/* Authentication Forms */
.error-message {
    color: #ff4444;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.toggle-form {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.toggle-form a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.toggle-form a:hover {
    text-decoration: underline;
}

.register-form {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .login-container {
        width: 100%;
    }

    .board-container {
        padding: 1rem;
    }

    .list {
        min-width: 280px;
    }
}

.remove-list-btn.glass-card {
    padding: 0.3rem 1.2rem;
    font-size: 1rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    box-shadow: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.remove-list-btn.glass-card:hover {
    background: rgba(255,255,255,0.18);
}
