﻿/* ═══════════════════════════════════════════════════════════════════
   HUB HYDRA — Landing / Home page (Waves.css)
   Owns the full viewport — sidebar and topbar are hidden.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Override SB Admin 2 layout ──────────────────────────────────── */
body#page-top {
    background: #f0f4f6 !important;
    overflow-x: hidden;
}

#wrapper .sidebar,
#wrapper .topbar,
nav.navbar,
.sticky-footer,
.scroll-to-top {
    display: none !important;
}

#content-wrapper {
    margin-left: 0 !important;
}

#content {
    padding: 0 !important;
}

.container-fluid {
    padding: 0 !important;
    max-width: 100% !important;
}

/* ── Page wrapper ─────────────────────────────────────────────────── */
.land-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════════ */
.land-hero {
    position: relative;
    background: linear-gradient(135deg, #020f20 0%, #075570 60%, #0a8aad 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 0;
    overflow: hidden;
    min-height: 88vh;
}

/* Decorative circles — same language as the login page */
.land-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.land-deco--1 {
    width: 500px;
    height: 500px;
    background: rgba(7,85,112,.35);
    top: -140px;
    right: -120px;
}

.land-deco--2 {
    width: 300px;
    height: 300px;
    background: rgba(10,138,173,.25);
    bottom: 80px;
    left: -80px;
}

.land-deco--3 {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,.04);
    top: 30%;
    right: 15%;
}

.land-deco--4 {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.06);
    top: 20%;
    left: 12%;
}

/* Hero content */
.land-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    padding-bottom: 3rem;
}

/* Logo */
.land-logo-wrap {
    margin-bottom: 1.75rem;
}

.land-logo {
    width: 275px;
    height: 275px;
    object-fit: cover;
    border-radius: 24px;
    filter: drop-shadow(0 8px 24px rgba(7,85,112,.7));
}

/* Eyebrow */
.land-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: rgba(255,255,255,.55);
    margin-bottom: 1rem;
}

/* Main headline */
.land-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 1.25rem;
}

.land-title-accent {
    background: linear-gradient(90deg, #4dc8e8, #a8e8f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.land-desc {
    font-size: .95rem;
    color: rgba(255,255,255,.6);
    line-height: 1.75;
    max-width: 500px;
    margin: 0 auto 2.25rem;
    letter-spacing: .01em;
}

/* CTA buttons */
.land-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.land-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: #075570;
    border: none;
    border-radius: 10px;
    padding: .75rem 1.75rem;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    transition: background .18s, box-shadow .18s, transform .12s;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

    .land-btn-primary:hover {
        background: #e8f4f8;
        box-shadow: 0 6px 28px rgba(0,0,0,.28);
        transform: translateY(-2px);
        color: #075570;
        text-decoration: none;
    }

    .land-btn-primary:active {
        transform: translateY(0);
    }

.land-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 10px;
    padding: .75rem 1.5rem;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .18s, color .18s, background .18s;
}

    .land-btn-ghost:hover {
        border-color: rgba(255,255,255,.7);
        color: #fff;
        background: rgba(255,255,255,.07);
        text-decoration: none;
    }

/* Discipline tags */
.land-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
}

.land-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: .25rem .75rem;
    background: rgba(255,255,255,.06);
}

    .land-tag i {
        font-size: .62rem;
    }

/* ── Animated wave at hero bottom ────────────────────────────────── */
.land-wave-wrap {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: auto;
    line-height: 0;
    /* Bust out of any container padding so waves touch both edges */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.land-waves {
    width: 100%;
    height: 12vh;
    min-height: 80px;
    max-height: 130px;
    display: block;
    /* Prevent any gap between wave bottom and features section */
    margin-bottom: -2px;
}

/* Wave parallax animation */
.parallax > use {
    animation: wave-move 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes wave-move {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* ══════════════════════════════════════════════════════════════════
   FEATURES STRIP
══════════════════════════════════════════════════════════════════ */
.land-features {
    display: flex;
    align-items: stretch;
    background: #f0f4f6;
    padding: 3rem 4rem;
    gap: 0;
    flex: 1;
}

.land-feature {
    flex: 1;
    text-align: center;
    padding: 1.5rem 2rem;
}

.land-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #075570, #0a8aad);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(7,85,112,.25);
}

.land-feature-title {
    font-size: .95rem;
    font-weight: 800;
    color: #1a2a35;
    margin: 0 0 .5rem;
    letter-spacing: -.01em;
}

.land-feature-desc {
    font-size: .8rem;
    color: #6b8090;
    line-height: 1.65;
    margin: 0;
}

/* Vertical divider between features */
.land-feature-divider {
    width: 1px;
    background: #dde8ed;
    margin: 1rem 0;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER STRIP
══════════════════════════════════════════════════════════════════ */
.land-footer {
    background: #020f20;
    color: rgba(255,255,255,.4);
    text-align: center;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.land-footer-sep {
    opacity: .3;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .land-hero {
        min-height: 70vh;
        padding: 4rem 1.5rem 0;
    }

    .land-features {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .land-feature-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .land-waves {
        height: 8vh;
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    .land-title {
        font-size: 1.8rem;
    }

    .land-desc {
        font-size: .875rem;
    }

    .land-btn-primary,
    .land-btn-ghost {
        width: 100%;
        justify-content: center;
    }
}
