/* Welcome / landing page — mirrors the production Sim-Fusion prototype 1:1:
      image @ opacity 60
    + blue-900/80 → teal-900/70 → slate-900/90 gradient with mix-blend-multiply
    + gradient-text title (teal-200 → blue-400) with drop-shadow
    + pill CTA, teal-400 outer glow, hover reverses gradient + grows shadow. */

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: rgb(15, 23, 42); /* slate-900 */
    color: #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ─── Stage ──────────────────────────────────────────────────────── */
.welcome-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgb(15, 23, 42); /* slate-900 fallback behind the photo */
    padding: clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}

/* ─── Background image + multiply overlay ───────────────────────── */
.welcome-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.welcome-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    display: block;
}

/* Tailwind: bg-gradient-to-br from-blue-900/80 via-teal-900/70 to-slate-900/90 mix-blend-multiply */
.welcome-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.80) 0%,    /* blue-900 / 80 */
        rgba(19, 78, 74, 0.70) 50%,    /* teal-900 / 70 */
        rgba(15, 23, 42, 0.90) 100%    /* slate-900 / 90 */
    );
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* ─── Content ────────────────────────────────────────────────────── */
.welcome-hero__content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    padding: 0 1rem;
}

/* Tailwind: text-5xl md:text-7xl font-bold bg-gradient-to-r from-teal-200 to-blue-400 bg-clip-text text-transparent drop-shadow-lg tracking-tight */
.welcome-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0 0 1.5rem;
    background: linear-gradient(90deg, #99f6e4 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.25)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.18));
}

/* Tailwind: text-xl md:text-2xl text-slate-200 font-light leading-relaxed max-w-2xl drop-shadow-md */
.welcome-tagline {
    font-size: clamp(1.05rem, 1.7vw, 1.375rem);
    color: #e2e8f0; /* slate-200 */
    font-weight: 300;
    line-height: 1.6;
    max-width: 42rem;
    margin: 0 auto 3rem;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.2));
}

/* ─── CTA (pill + teal glow + reverse-gradient hover) ─────────────── */
/* Tailwind: group relative px-10 py-4 bg-gradient-to-r from-teal-500 to-blue-600
   rounded-full font-bold text-lg text-white
   shadow-[0_0_20px_rgba(45,212,191,0.5)]
   hover:shadow-[0_0_30px_rgba(45,212,191,0.7)] hover:scale-105
   transition-all duration-300 overflow-hidden */
.welcome-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    overflow: hidden;
    background: linear-gradient(90deg, #14b8a6 0%, #2563eb 100%); /* teal-500 → blue-600 */
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.welcome-cta:hover,
.welcome-cta:focus-visible {
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.7);
    transform: scale(1.05);
    color: #ffffff;
}

.welcome-cta:focus-visible {
    outline: 2px solid rgba(165, 243, 252, 0.9);
    outline-offset: 3px;
}

.welcome-cta__label,
.welcome-cta__arrow {
    position: relative;
    z-index: 2;
}

.welcome-cta__arrow {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.welcome-cta:hover .welcome-cta__arrow {
    transform: translateX(3px);
}

/* Reverse-gradient hover layer (blue-600 → teal-500) */
.welcome-cta__hoverlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #2563eb 0%, #14b8a6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-cta:hover .welcome-cta__hoverlay,
.welcome-cta:focus-visible .welcome-cta__hoverlay {
    opacity: 1;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
.welcome-footer {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 10;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #94a3b8; /* slate-400 */
    text-align: center;
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .welcome-footer {
        position: static;
        margin-top: 2rem;
    }
}
