@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #0d4d8b;
    --blue: #1684df;
    --orange: #ff8500;
    --green: #67c91b;
    --text: #12365a;
    --muted: #6f8193;
    --surface: rgba(255, 255, 255, 0.78);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 15%, rgba(103, 201, 27, 0.12), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(255, 133, 0, 0.13), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(22, 132, 223, 0.14), transparent 35%),
        #f8fbfe;
    overflow-x: hidden;
}

.welcome-page {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    margin: 0 auto;
    padding: clamp(34px, 7vw, 80px) 20px 42px;
}

.hero {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-wrap {
    width: clamp(130px, 30vw, 190px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    box-shadow:
        0 18px 45px rgba(13, 77, 139, 0.16),
        0 0 0 8px rgba(255, 255, 255, 0.55);
    animation: logoFloat 4.5s ease-in-out infinite;
    overflow: hidden;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-copy {
    margin-top: clamp(28px, 5vw, 42px);
    animation: riseIn 900ms cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: var(--blue);
    margin-bottom: 12px;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 8vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 800;
    color: var(--navy);
}

h1 span {
    background: linear-gradient(100deg, var(--blue), var(--navy), var(--green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 5s ease-in-out infinite;
}

.accent-line {
    width: 70px;
    height: 5px;
    margin: 26px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--orange), var(--green), var(--blue));
    animation: linePulse 2.5s ease-in-out infinite;
}

.video-section {
    margin-top: 10px;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    padding: 7px;
    background: linear-gradient(135deg, rgba(13,77,139,.8), rgba(22,132,223,.5), rgba(255,133,0,.75));
    box-shadow: 0 25px 70px rgba(13, 77, 139, 0.14);
}

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 18px;
    background: #071d32;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        radial-gradient(circle at center, rgba(22,132,223,.18), transparent 42%),
        #071d32;
    color: rgba(255,255,255,.72);
    font-size: 0.85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.play-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding-left: 3px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: white;
    background: rgba(255,255,255,.08);
}

.ambient {
    position: fixed;
    z-index: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    opacity: .18;
}

.ambient-one {
    top: -90px;
    left: -90px;
    background: var(--green);
    animation: driftOne 12s ease-in-out infinite alternate;
}

.ambient-two {
    right: -100px;
    top: 35%;
    background: var(--orange);
    animation: driftTwo 15s ease-in-out infinite alternate;
}

.ambient-three {
    left: 30%;
    bottom: -180px;
    background: var(--blue);
    animation: driftThree 14s ease-in-out infinite alternate;
}

footer {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(1deg); }
}

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

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes linePulse {
    0%, 100% { transform: scaleX(1); opacity: .9; }
    50% { transform: scaleX(1.35); opacity: 1; }
}

@keyframes driftOne {
    from { transform: translate(0, 0); }
    to { transform: translate(80px, 55px); }
}

@keyframes driftTwo {
    from { transform: translate(0, 0); }
    to { transform: translate(-60px, 70px); }
}

@keyframes driftThree {
    from { transform: translate(0, 0); }
    to { transform: translate(70px, -45px); }
}

@media (max-width: 600px) {
    .welcome-page {
        padding-top: 26px;
        padding-bottom: 24px;
    }

    .hero {
        min-height: 53vh;
    }

    .video-frame {
        border-radius: 18px;
        padding: 5px;
    }

    .video-placeholder {
        border-radius: 14px;
    }

    footer {
        padding-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
