/* Landing FlyTrack — cielo claro, nubes y aviones */

:root {
    --sky-top: #f8fafc;
    --sky-mid: #e8f4fc;
    --sky-deep: #dbeafe;
    --ink: #0f172a;
    --ink-soft: #334155;
    --accent: #0284c7;
    --accent-dark: #0369a1;
    --cloud: rgba(255, 255, 255, 0.92);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.welcome-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-deep) 100%);
    overflow-x: hidden;
}

.sky-scene {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cloud {
    position: absolute;
    background: var(--cloud);
    border-radius: 50%;
    filter: blur(0.5px);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    opacity: 0.95;
    animation: drift 28s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.c1 {
    width: 120px;
    height: 48px;
    top: 12%;
    left: 8%;
    animation-duration: 32s;
}

.c1::before {
    width: 64px;
    height: 64px;
    top: -28px;
    left: 18px;
}

.c1::after {
    width: 80px;
    height: 56px;
    top: -20px;
    right: 10px;
}

.c2 {
    width: 160px;
    height: 56px;
    top: 22%;
    right: 6%;
    animation-duration: 38s;
    animation-delay: -4s;
}

.c2::before {
    width: 72px;
    height: 72px;
    top: -32px;
    left: 24px;
}

.c2::after {
    width: 96px;
    height: 60px;
    top: -22px;
    right: 8px;
}

.c3 {
    width: 100px;
    height: 40px;
    bottom: 38%;
    left: 18%;
    animation-duration: 26s;
    animation-delay: -8s;
}

.c3::before {
    width: 52px;
    height: 52px;
    top: -22px;
    left: 12px;
}

.c3::after {
    width: 64px;
    height: 44px;
    top: -16px;
    right: 6px;
}

.c4 {
    width: 140px;
    height: 50px;
    bottom: 28%;
    right: 12%;
    animation-duration: 34s;
    animation-delay: -12s;
}

.c4::before {
    width: 60px;
    height: 60px;
    top: -26px;
    left: 20px;
}

.c4::after {
    width: 78px;
    height: 52px;
    top: -18px;
    right: 14px;
}

@keyframes drift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(18px) translateY(-8px);
    }
}

.plane {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.35;
    animation: fly 22s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
}

.plane-1 {
    top: 18%;
    left: -10%;
    animation-duration: 26s;
}

.plane-2 {
    top: 42%;
    left: -15%;
    font-size: 1.6rem;
    opacity: 0.28;
    animation-duration: 34s;
    animation-delay: -6s;
}

.plane-3 {
    bottom: 20%;
    left: -12%;
    font-size: 1.9rem;
    opacity: 0.3;
    animation-duration: 30s;
    animation-delay: -14s;
}

@keyframes fly {
    0% {
        transform: translateX(0) translateY(0) rotate(-2deg);
    }
    100% {
        transform: translateX(120vw) translateY(-12vh) rotate(4deg);
    }
}

.welcome-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 3rem;
    text-align: center;
}

.welcome-brand {
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.welcome-title {
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 700;
    margin: 0 0 0.35rem;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.welcome-sub {
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    font-weight: 500;
    color: var(--ink-soft);
    margin: 0 0 0.25rem;
}

.welcome-quote {
    font-size: 1rem;
    color: var(--accent-dark);
    font-weight: 500;
    margin: 0 0 2.5rem;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: min(100%, 320px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-cta:active {
    transform: translateY(1px);
}

.btn-primary-light {
    background: #fff;
    color: var(--accent-dark);
    border-color: #bae6fd;
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.18);
}

.btn-primary-light:hover {
    background: #f0f9ff;
    box-shadow: 0 10px 32px rgba(14, 165, 233, 0.22);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
    border-color: rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
    background: #fff;
    border-color: var(--accent);
    color: var(--accent-dark);
}

.welcome-foot {
    margin-top: auto;
    padding-top: 2.5rem;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.welcome-foot a {
    color: var(--accent);
    text-decoration: none;
}

.welcome-foot a:hover {
    text-decoration: underline;
}
