/* ============================================
   Landing Page Styles
   ============================================ */

.landing-container {
    flex: 1;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #dbeafe 100%);
    display: flex;
    align-items: flex-start;
    padding-top: 3rem;
    padding-bottom: 2rem;
    margin-top: 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.access-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.access-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-icon.company {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.card-icon.user {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.action-btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-btn.primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.action-btn.secondary {
    background: white;
    color: #1e40af;
    border: 2px solid #3b82f6;
}

.action-btn.secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.action-btn.success {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.action-btn.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
}

.card-note {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 1rem;
    font-style: italic;
}

.features-strip {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-align: center;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   Key Features Section
   ============================================ */

.key-features-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-title i {
    color: #fbbf24;
    margin-right: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card-icon.time {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.feature-card-icon.absence {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.feature-card-icon.analytics {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.feature-card-icon.notifications {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.feature-card-icon.permissions {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.feature-card-icon.audit {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.feature-card-icon.language {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.feature-card-icon.mobile {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-card-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Dark Mode Support
   ============================================ */

:root[data-theme="dark"] .landing-container {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

:root[data-theme="dark"] .hero-title {
    color: #f9fafb;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

:root[data-theme="dark"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

:root[data-theme="dark"] .access-card {
    background: #1f2937;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
}

:root[data-theme="dark"] .access-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    border-color: #4b5563;
}

:root[data-theme="dark"] .card-icon {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .card-icon.company {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

:root[data-theme="dark"] .card-icon.user {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

:root[data-theme="dark"] .card-title {
    color: #f9fafb;
}

:root[data-theme="dark"] .card-description {
    color: #d1d5db;
}

:root[data-theme="dark"] .card-note {
    color: #9ca3af;
}

:root[data-theme="dark"] .action-btn.primary {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

:root[data-theme="dark"] .action-btn.primary:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

:root[data-theme="dark"] .action-btn.secondary {
    background: #374151;
    color: #a78bfa;
    border: 2px solid #6d28d9;
}

:root[data-theme="dark"] .action-btn.secondary:hover {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

:root[data-theme="dark"] .action-btn.success {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

:root[data-theme="dark"] .action-btn.success:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

:root[data-theme="dark"] .features-strip {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .feature-icon {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .feature-text {
    color: rgba(255, 255, 255, 0.9);
}

:root[data-theme="dark"] .key-features-section {
    color: white;
}

:root[data-theme="dark"] .section-title {
    color: #f9fafb;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

:root[data-theme="dark"] .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

:root[data-theme="dark"] .feature-card {
    background: #1f2937;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
}

:root[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: #4b5563;
}

:root[data-theme="dark"] .feature-card-icon {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .feature-card-title {
    color: #f9fafb;
}

:root[data-theme="dark"] .feature-card-description {
    color: #d1d5db;
}

/* ============================================
   Collapsible Feature Details
   ============================================ */

.feature-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
}

.feature-details.expanded {
    max-height: 500px;
    transition: max-height 0.4s ease-in;
}

.feature-details-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

:root[data-theme="dark"] .feature-details-content {
    border-top-color: #374151;
}

.feature-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-details-list li {
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

:root[data-theme="dark"] .feature-details-list li {
    color: #9ca3af;
}

.feature-details-list li i {
    color: #10b981;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.expand-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.expand-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

:root[data-theme="dark"] .expand-btn {
    border-color: #4b5563;
    color: #9ca3af;
}

:root[data-theme="dark"] .expand-btn:hover {
    border-color: #60a5fa;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

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

.expand-btn.expanded i {
    transform: rotate(180deg);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .access-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .access-card {
        padding: 2rem;
    }
    
    .features-strip {
        margin-top: 1.5rem;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}
