/* ========================================
   TRUE ACCESS - WELCOME SCREEN STYLES
   Pastel, accessible, hospital-calm design
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #F2F6FA;
    color: #2B3A4A;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Welcome Container */
.welcome-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Background Waves - Soft decoration */
.background-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #9AC6F3 0%, #BEE4D2 50%, #F7D6E6 100%);
    opacity: 0.15;
    z-index: 0;
}

.background-waves::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,64 C320,96 640,32 960,64 C1120,80 1200,96 1200,96 L1200,120 L0,120 Z" fill="%239AC6F3" opacity="0.3"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* Main Content */
.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 8px 32px rgba(43, 58, 74, 0.12);
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

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

/* Logo Section */
.logo-section {
    margin-bottom: 32px;
}

.logo-icon {
    display: inline-block;
    margin-bottom: 16px;
    animation: floatIcon 3s ease-in-out infinite;
}

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

.app-name {
    font-size: 32px;
    font-weight: 700;
    color: #2B3A4A;
    letter-spacing: -0.5px;
    margin: 0;
}

/* Tagline Section */
.tagline-section {
    margin-bottom: 32px;
}

.tagline {
    font-size: 18px;
    font-weight: 600;
    color: #2B3A4A;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: #5A6C7D;
    line-height: 1.5;
}

/* Features Preview */
.features-preview {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #E0E8F0;
    border-bottom: 1px solid #E0E8F0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 28px;
    display: block;
}

.feature-text {
    font-size: 12px;
    color: #5A6C7D;
    font-weight: 500;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px; /* WCAG touch target */
    font-family: inherit;
}

.btn:focus {
    outline: 3px solid #9AC6F3;
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #9AC6F3 0%, #BEE4D2 100%);
    color: #2B3A4A;
    box-shadow: 0 4px 12px rgba(154, 198, 243, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(154, 198, 243, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #FFFFFF;
    color: #2B3A4A;
    border: 2px solid #9AC6F3;
}

.btn-secondary:hover {
    background: #F2F6FA;
    border-color: #7AB3E8;
}

/* Footer Text */
.footer-text {
    font-size: 12px;
    color: #8A9AAB;
    line-height: 1.4;
}

.footer-text a {
    color: #9AC6F3;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .welcome-content {
        padding: 36px 24px;
    }

    .app-name {
        font-size: 28px;
    }

    .tagline {
        font-size: 16px;
    }

    .features-preview {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .welcome-content {
        border: 2px solid #2B3A4A;
    }

    .btn-primary {
        background: #9AC6F3;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}