/* SkillsDecoder — Landing Page (Build Phase)
   Uses platform design tokens from styles.css */

/* Landing screen layout */
#loginScreen {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === Navy Hero Band ===
   Values from original public landing page hero (styles.css:2189-2229)
   .landing-hero: background, padding, text-align, width
   .landing-logo: max-width 380px, white badge bg, padding, border-radius, backdrop-filter
   .landing-headline: Fraunces 2.25rem 700, white, not italic */
.landing-hero-band {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 3rem 0;
    text-align: center;
    width: 100%;
}

.landing-hero-band .landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Logo — same as .landing-logo (styles.css:2196-2208)
   Color logo on white pill/badge background */
.landing-hero-logo {
    max-width: 380px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.35);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

/* Headline — same as .landing-headline (styles.css:2211-2218)
   Fraunces serif, 2.25rem, bold, white, upright (not italic) */
.landing-hero-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* === Cream Content Section === */
.landing-content {
    background: var(--bg-cream);
    flex: 1;
    padding: 2.5rem 2rem 3rem;
    display: flex;
    justify-content: center;
}

.landing-content-inner {
    max-width: 560px;
    width: 100%;
}

/* Section heading with green accent bar (matches platform section headers) */
.landing-section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-section-heading::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--teal);
    border-radius: 2px;
    flex-shrink: 0;
}

.landing-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.landing-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

/* === Access Card === */
.landing-access-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--teal);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

/* Subtle glow behind card (matches platform access card) */
.landing-access-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.15;
}

.landing-access-heading {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.landing-access-instruction {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.landing-access-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.landing-access-input {
    width: 100%;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    color: var(--text-primary);
    background-color: var(--bg-warm);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.landing-access-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

.landing-access-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(46, 182, 125, 0.15);
}

.landing-access-input.field-error {
    border-color: var(--danger);
}

.landing-access-button {
    width: 100%;
    padding: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    background: var(--teal);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 2px 8px rgba(46, 182, 125, 0.3);
}

.landing-access-button:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(46, 182, 125, 0.4);
}

.landing-access-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.landing-access-error {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--danger);
    margin-top: 0.75rem;
    min-height: 1.25rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.landing-access-error.visible {
    opacity: 1;
}

/* === Mobile === */
/* Matches original landing responsive (styles.css:2671-2685) */
@media (max-width: 768px) {
    .landing-hero-band {
        padding: 2.5rem 0;
    }

    .landing-hero-logo {
        max-width: 280px;
    }

    .landing-hero-headline {
        font-size: 1.75rem;
    }

    .landing-content {
        padding: 2rem 1.25rem 2.5rem;
    }

    .landing-access-card {
        padding: 1.5rem 1.25rem;
    }
}
