/* FreshPC Cloud - Main Stylesheet */
/* Note: CSS Variables are now generated dynamically from config.php via generateDynamicCSS() */
/* See config.php for color customization */

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Error message styling */
.error-message {
    background-color: color-mix(in srgb, var(--danger-color) 20%, var(--surface));
    color: color-mix(in srgb, var(--danger-color) 80%, black);
    border: 1px solid color-mix(in srgb, var(--danger-color) 50%, var(--surface));
    border-radius: 6px;
    padding: 12px 16px;
    margin: 15px 0;
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.error-message.hidden {
    display: none !important;
}

.section-spacing {
    margin-top: 2rem;
}

.form-spacing {
    margin-top: 2rem;
}

.client-list-spacing {
    margin-bottom: 2rem;
}

.report-result-spacing {
    margin-top: 2rem;
}

/* Dynamic Configuration Styles - Variables now from config.php */

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-weight: var(--font-weight);
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: var(--header-text-color) !important;
    box-shadow: var(--shadow);
}

.header h1, .header h2, .header h3 {
    color: var(--header-text-color) !important;
}

.logo {
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
}

.site-title {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1001;
    /* Hide on desktop completely */
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.mobile-menu-toggle:active {
    background-color: rgba(255, 255, 255, 0.2);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: white;
    font-size: 1.5rem;
}

.nav-logo span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-role {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    opacity: 0.9;
}

/* Override for header navbar to ensure white text on dark background */
.header .nav-link {
    color: var(--header-text-color) !important;
}

.header .site-title {
    color: var(--header-text-color) !important;
}

.nav-link:hover {
    opacity: 1;
    color: white;
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

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

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

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

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

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

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Services */
.services {
    padding: 4rem 0;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact */
.contact {
    background: var(--surface);
    padding: 4rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Admin/Engineer Dashboard */
.admin-container, .engineer-container {
    min-height: 100vh;
    background: var(--background);
}

.admin-header, .engineer-header {
    background: var(--surface);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Login Form */
.login-form {
    max-width: 400px;
    margin: 4rem auto;
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Dashboard Navigation */
.admin-nav, .engineer-nav {
    background: var(--surface);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 1rem;
}

.nav-btn {
    padding: 1rem 2rem;
    border: none;
    background: linear-gradient(135deg, var(--background), var(--border));
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--border), var(--text-secondary));
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.nav-btn.active:hover {
    background: linear-gradient(135deg, var(--primary-hover), #1e40af);
}

/* Content Sections */
.admin-content, .engineer-content {
    padding: 2rem;
}

.content-section {
    background: var(--surface);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.task-form {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

/* Task Lists */
.tasks-list {
    display: grid;
    gap: 1rem;
}

.task-item {
    background: var(--background);
    padding: 0;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Task title header - displayed on top for mobile-friendly layout */
.task-title-header {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem 0.75rem 0 0;
    border-left: 4px solid #3b82f6;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.task-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.task-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.task-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Task head styling for mobile-friendly layout */
.task-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border);
}

.task-info {
    flex: 1;
}

.task-toggle-btn {
    margin-left: auto;
}

/* Task form input fields styling - match signature field appearance */
.clientName, .clientEmail, .workNotes {
    width: 100%;
    max-width: 560px;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    color: #374151;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.clientName:focus, .clientEmail:focus, .workNotes:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.workNotes {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.row {
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.row:last-child {
    margin-bottom: 0;
}

/* Signature field padding to match input rows */
.sigbox {
    padding: 0 1rem;
}

/* Task actions padding for proper button spacing */
.task-actions {
    padding: 0 1rem;
    margin-top: 0.75rem;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .task-head {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .task-info {
        text-align: center;
    }
    
    .task-toggle-btn {
        width: 100%;
        margin-left: 0;
    }
    
    .clientName, .clientEmail, .workNotes {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: var(--warning-color); color: white; }
.status-in_progress { background: var(--primary-color); color: white; }
.status-completed { background: var(--success-color); color: white; }

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--surface);
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-body {
    padding: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

/* Reports */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.report-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.stat-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive */
/* Mobile History Cards */
.history-mobile {
    display: none;
}

.history-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.history-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: var(--success-color);
    color: white;
}

.history-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.history-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Show mobile history cards, hide table */
    .history-mobile {
        display: block !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobile navbar adjustments */
    .navbar {
        padding: 0.5rem 0; /* Reduce header height */
    }
    
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }
    
    /* Show mobile menu toggle only on mobile screens */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide regular nav menu by default on mobile */
    .nav-menu {
        display: none !important;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        border-radius: 8px;
        overflow: hidden;
        margin-top: 0;
    }
    
    /* Show menu when active on mobile */
    .nav-menu.active {
        display: flex !important;
        animation: slideDown 0.3s ease-out;
    }
    
    /* Smooth dropdown animation */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu .nav-link,
    .nav-menu .nav-role {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        display: block;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .admin-nav, .engineer-nav {
        flex-wrap: wrap;
    }
}
/* Authentication Logs Styling */
.logs-container {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logs-info {
    color: #666;
    font-size: 14px;
}

.logs-content {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.log-entry {
    padding: 8px 12px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    border-left: 4px solid;
}

.log-success {
    background-color: #f0f9ff;
    border-left-color: #22c55e;
    color: #166534;
}

.log-failed {
    background-color: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

/* Login Page Styles */
.login-main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form-container {
    width: 100%;
    max-width: 500px;
}

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

.login-header .logo {
    height: 48px;
    margin-bottom: 10px;
}

.password-input-group {
    position: relative;
    display: flex;
}

.password-input-group input {
    flex: 1;
    padding-right: 4rem;
}

.btn-password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
}

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

.btn-block {
    width: 100%;
}

.form-footer {
    margin-top: 1rem;
    text-align: center;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}


/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.task-actions .btn {
    margin-bottom: 0.25rem;
}

/* Email spam protection styles */
.email-reveal {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: underline;
}

.email-revealed a {
    color: var(--primary-color);
}


/* --- New Separate History Cards Layout --- */
.history-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.history-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}

.history-field:last-child {
    border-bottom: none;
}

.field-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-value {
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

/* Status color coding */
.status-done {
    color: var(--success-color);
    font-weight: 600;
}

.status-rejected {
    color: var(--danger-color);
    font-weight: 600;
}

.status-in_progress {
    color: var(--warning-color);
    font-weight: 600;
}

.status-accepted {
    color: var(--primary-color);
    font-weight: 600;
}

/* =========================== */
/*    LANDING PAGE STYLES      */
/* =========================== */

/* Landing page navigation */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-logo h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.nav-logo span {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: white;
  color: #667eea;
}

.btn-secondary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* Services Section */
.services {
  padding: 4rem 0;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

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

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

.service-card h3 {
  color: #333;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: white;
}

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

.feature {
  text-align: center;
  padding: 1rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

/* Footer */
.footer {
  background: #343a40;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: #667eea;
}

.footer-section p, .footer-section a {
  color: #adb5bd;
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: white;
}

/* Landing page language content */
.lang-content { 
  display: none; 
}

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

/* Landing page responsive styles */
@media (max-width: 768px) {
  .hero h1 { 
    font-size: 2rem; 
  }
  
  .hero p { 
    font-size: 1.1rem; 
  }
  
  .nav-container { 
    flex-direction: column; 
    gap: 1rem; 
  }
  
  .lang-selector { 
    position: static; 
    margin: 1rem; 
  }
}

/* Native date input styling */
input[type="date"] {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  transition: all 0.2s ease;
}

input[type="date"]:focus {
  box-shadow: 0 0 0 2px rgba(103, 126, 234, 0.2);
  border-color: #667eea;
}
