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

:root {
    --hl-bg: #f3f8fc;
    --hl-card: #ffffff;
    --hl-border: #dce9f5;
    --hl-title: #0f2e4c;
    --hl-text: #3e5f7c;
    --hl-muted: #6e8aa2;
    --hl-primary: #0f77bf;
    --hl-primary-strong: #0b639f;
    --hl-accent: #1cc5d8;
    --hl-soft: #ecf7ff;
    --hl-shadow: 0 16px 40px rgba(9, 55, 98, 0.12);
}

.home-page {
    background: linear-gradient(180deg, var(--hl-bg) 0%, #fbfdff 46%, #fff 100%);
    font-family: 'Manrope', sans-serif;
    color: var(--hl-text);
}

.home-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

.hero {
    position: relative;
    min-height: 88vh;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: #0f2f4b;
    background-image: var(--hero-poster);
    background-size: cover;
    background-position: center;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.no-hero-video .hero video {
    display: none;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
    .hero video {
        display: none;
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 28, 49, 0.72) 0%, rgba(8, 52, 88, 0.56) 36%, rgba(13, 98, 132, 0.34) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto -20% -30% -20%;
    height: 45%;
    background: radial-gradient(ellipse at center, rgba(31, 198, 217, 0.25) 0%, rgba(31, 198, 217, 0) 70%);
    z-index: 1;
}

.hero .home-wrap::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 224, 236, 0.24) 0%, rgba(68, 224, 236, 0) 72%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
}

.hero-center {
    text-align: center;
    display: grid;
    place-items: center;
    min-height: 78vh;
    align-content: center;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.9rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.hero-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    animation: heroFloat 1.8s ease-in-out infinite;
}

.btn-home {
    border: none;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-home.primary {
    background: linear-gradient(135deg, var(--hl-primary), #1298cb);
    color: #fff;
}

.btn-home.primary:hover { background: linear-gradient(135deg, var(--hl-primary-strong), #0e87b6); }

.btn-home.light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-home.secondary {
    background: #edf6ff;
    border: 1px solid #d7e8f8;
    color: #1f5f93;
}

.btn-home:hover {
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-ribbon {
    margin: -44px auto 18px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-ribbon-card {
    padding: 20px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,250,255,.98) 100%);
    border: 1px solid rgba(210, 228, 244, 0.95);
    box-shadow: 0 18px 44px rgba(9, 55, 98, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-ribbon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(9, 55, 98, 0.12);
    border-color: #bfdcf0;
}

.feature-ribbon-card span {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--hl-primary);
}

.feature-ribbon-card strong {
    display: block;
    color: var(--hl-title);
    font-size: 1.08rem;
}

.feature-ribbon-card p {
    margin: 8px 0 0;
    color: var(--hl-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.trust-strip {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.quick-nav {
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.quick-card {
    text-decoration: none;
    background: linear-gradient(160deg, #ffffff 0%, #f5fbff 100%);
    border: 1px solid #d9e9f6;
    border-radius: 20px;
    padding: 16px;
    color: inherit;
    box-shadow: 0 14px 34px rgba(10, 61, 104, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 184px;
    position: relative;
    overflow: hidden;
}

.quick-card:hover {
    transform: translateY(-4px);
    border-color: #bed9ec;
    box-shadow: 0 18px 42px rgba(10, 61, 104, 0.13);
}

.quick-card::after {
    content: '';
    position: absolute;
    inset: auto -10% -36px 10%;
    height: 76px;
    background: radial-gradient(circle at center, rgba(28,197,216,.18) 0%, rgba(28,197,216,0) 72%);
    pointer-events: none;
}

.quick-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-card-top span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--hl-soft);
    color: var(--hl-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.quick-card i {
    color: var(--hl-primary);
    font-size: 1.1rem;
}

.quick-card h3 {
    margin: 16px 0 8px;
    color: var(--hl-title);
    font-size: 1.1rem;
}

.quick-card p {
    margin: 0;
    color: var(--hl-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.trust-item {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid var(--hl-border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(10, 61, 104, 0.08);
    display: flex;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 61, 104, 0.11);
}

.trust-item i {
    color: var(--hl-primary);
    font-size: 1.15rem;
    margin-top: 2px;
}

.trust-item strong {
    display: block;
    color: var(--hl-title);
    font-size: 0.93rem;
}

.trust-item span {
    color: var(--hl-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.section {
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #fcfeff 100%);
    border: 1px solid var(--hl-border);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(9, 55, 98, 0.09);
    padding: 20px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.section-head h2 {
    margin: 0;
    color: var(--hl-title);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

.section-head a {
    color: var(--hl-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.card {
    border: 1px solid var(--hl-border);
    border-radius: 20px;
    padding: 16px;
    display: grid;
    gap: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(10, 61, 104, 0.12);
    border-color: #c5ddf2;
}

.card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, #15a8cf 0%, #22ced6 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card:hover::after {
    opacity: 1;
}

.card h3 {
    margin: 0;
    font-size: 1.08rem;
    color: var(--hl-title);
    line-height: 1.35;
}

.card-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--hl-soft);
    color: var(--hl-primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--hl-text);
    line-height: 1.55;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    background: var(--hl-soft);
    color: #1f5f93;
    font-size: 0.78rem;
    border-radius: 999px;
    padding: 4px 9px;
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.weather-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.weather-box {
    border: 1px solid var(--hl-border);
    border-radius: 18px;
    padding: 14px;
    background: linear-gradient(145deg, #fff, #f4fbff);
    box-shadow: 0 12px 28px rgba(10, 61, 104, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.weather-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 61, 104, 0.11);
}

.weather-box-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--hl-muted);
    margin-bottom: 8px;
}

.weather-box-top span {
    font-weight: 700;
}

.weather-box strong {
    font-size: 1.25rem;
    color: var(--hl-title);
    font-family: 'Space Grotesk', sans-serif;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bottom-cta {
    margin: 22px 0 36px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0c6cb0 0%, #1299c9 56%, #1bc8d7 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.bottom-cta h3 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
}

.bottom-cta p {
    margin: 4px 0 0;
    opacity: 0.92;
}

@keyframes heroFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (max-width: 960px) {
    .split { grid-template-columns: 1fr; }
    .hero { min-height: 72vh; }
    .hero-center { min-height: 72vh; }
    .feature-ribbon { grid-template-columns: 1fr; margin-top: -24px; }
    .quick-nav { grid-template-columns: 1fr; }
    .trust-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .hero h1 { font-size: 2.8rem; }
    .trust-strip { grid-template-columns: 1fr; }
}
