
:root {
    --navy: #102451;
    --navy-dark: #0a1734;
    --blue: #315ce8;
    --text: #17243d;
    --muted: #77839a;
    --border: #e5eaf2;
    --background: #f5f7fc;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(49, 92, 232, 0.09), transparent 48%),
        var(--background);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.welcome-app {
    width: 100%;
    max-width: 1120px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 38px;
    display: flex;
    flex-direction: column;
}

.app-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(16, 36, 81, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #315ce8, #102451);
    border-radius: 13px;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(16, 36, 81, 0.18);
}

.brand-name {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.3px;
    color: var(--navy);
}

.brand-name span {
    color: var(--blue);
}

.header-label {
    color: #8791a5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.welcome-content {
    width: 100%;
    max-width: 780px;
    margin: auto;
    padding: 72px 0 64px;
    text-align: center;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #e2e8f5;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    color: #5e6b85;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36b887;
    box-shadow: 0 0 0 4px rgba(54, 184, 135, 0.12);
}

.welcome-content h1 {
    margin: 25px 0 12px;
    color: var(--navy-dark);
    font-size: clamp(34px, 5vw, 49px);
    line-height: 1.15;
    letter-spacing: -2px;
    font-weight: 800;
}

.welcome-content h1 span {
    color: var(--blue);
}

.welcome-description {
    max-width: 470px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.login-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 42px;
    text-align: left;
}

.login-card {
    min-width: 0;
    min-height: 260px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(19, 39, 78, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.login-card:hover {
    transform: translateY(-4px);
    border-color: #c7d4f6;
    box-shadow: 0 18px 38px rgba(19, 39, 78, 0.09);
}

.login-card:focus-visible {
    outline: 3px solid rgba(49, 92, 232, 0.35);
    outline-offset: 4px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.option-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
}

.option-icon svg {
    width: 27px;
    height: 27px;
}

.owner-icon {
    color: #315ce8;
    background: #edf2ff;
}

.barber-icon {
    color: #16866a;
    background: #e9f8f2;
}

.option-number {
    padding-top: 5px;
    color: #b2bbca;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-content {
    flex: 1;
    padding: 25px 0 22px;
}

.card-content h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.45px;
}

.card-content p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
    border-top: 1px solid #edf0f6;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.arrow {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f0f4ff;
    color: var(--blue);
    font-size: 17px;
    transition: background 0.2s ease, color 0.2s ease;
}

.login-card:hover .arrow {
    background: var(--blue);
    color: #fff;
}

.secure-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: #8a95a8;
    font-size: 11px;
}

.secure-note svg {
    width: 16px;
    height: 16px;
    color: #6c7b97;
}

.app-footer {
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(16, 36, 81, 0.08);
    color: #8a95a8;
    font-size: 11px;
}

@media (max-width: 600px) {
    .welcome-app {
        padding: 0 20px;
    }

    .app-header {
        min-height: 74px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 25px;
    }

    .header-label {
        max-width: 110px;
        font-size: 8px;
        letter-spacing: 1px;
        text-align: right;
    }

    .welcome-content {
        padding: 54px 0 48px;
    }

    .welcome-content h1 {
        margin-top: 23px;
        font-size: 36px;
        letter-spacing: -1.5px;
    }

    .welcome-description {
        max-width: 340px;
        font-size: 14px;
    }

    .login-options {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 30px;
    }

    .login-card {
        min-height: 220px;
        padding: 22px;
        border-radius: 17px;
    }

    .card-content {
        padding: 20px 0;
    }

    .secure-note {
        margin-top: 24px;
        font-size: 10px;
    }

    .app-footer {
        min-height: 62px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
