/* Samsung Galaxy S25 Home Page Styles */

.home-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.home-content {
    width: 100%;
    max-width: 800px;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-section h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: #1565C0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 2rem 0;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    color: #1565C0;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.action-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #1565C0;
    border: 2px solid #1565C0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    transform: translateY(0);
}

.welcome-user, .auth-help {
    font-size: 0.9rem;
    color: #666;
    margin: 1rem 0 0 0;
    font-style: italic;
}

.welcome-user {
    color: #2E7D32;
    font-weight: 500;
    font-style: normal;
}

/* Samsung One UI Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-item {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: calc(0.1s * var(--index, 0));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .welcome-card {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }
    
    .logo-section h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem 0.75rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 0.5rem;
    }
    
    .welcome-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .logo-section h1 {
        font-size: 1.75rem;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .feature-item {
        padding: 1rem;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .welcome-card {
        background: #ffffff;
        border: 2px solid #1565C0;
    }
    
    .feature-item {
        border: 2px solid #dee2e6;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .welcome-card, .feature-item {
        animation: none;
    }
    
    .btn-primary, .btn-secondary, .feature-item {
        transition: none;
    }
    
    .feature-item:hover, .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .welcome-card {
        background: rgba(30, 30, 30, 0.95);
        color: #ffffff;
    }
    
    .logo-section h1 {
        color: #64B5F6;
    }
    
    .tagline, .feature-item p, .auth-help {
        color: #B0BEC5;
    }
    
    .feature-item h3 {
        color: #64B5F6;
    }
    
    .feature-item {
        background: linear-gradient(135deg, #424242 0%, #303030 100%);
        border-color: #555555;
    }
}
