﻿/* ===========================
   BASE + UBO COLORS
   =========================== */
:root {
    --ubo-blue: #2D7EF7; /* blue  */
    --ubo-teal: #1CCFC1; /* teal  */
    --ubo-yellow: #F7C843; /* yellow*/
    --ubo-pink: #F24C8F; /* pink  */
}

.landing-page {
    background: radial-gradient(circle at top left, #f3f5ff 0, #ffffff 40%, #f7fbff 100%);
    color: #1a2340;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* make main/container content breathe a bit more */
.landing-main {
    padding-bottom: 4rem;
}

/* Global responsive images */
.landing-page img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   HERO
   =========================== */

.landing-hero {
    padding: 4.5rem 0 3.5rem;
}

@media (min-height: 800px) {
    .landing-hero {
        min-height: 80vh;
        display: flex;
        align-items: center;
    }
}

/* left column */

.landing-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(37, 99, 235, 0.06);
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.landing-hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

    .landing-hero-title span {
        color: #2563eb; /* UBO blue accent */
    }

.landing-hero-subtitle {
    max-width: 38rem;
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1.75rem;
}

/* CTAs */

.landing-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.landing-btn-primary {
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: none;
    color: #ffffff !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .landing-btn-primary:hover,
    .landing-btn-primary:focus {
        transform: translateY(-1px);
        box-shadow: 0 20px 48px rgba(37, 99, 235, 0.35);
        background: linear-gradient(135deg, #1d4ed8, #0284c7);
    }

.landing-btn-secondary {
    border-radius: 999px;
    padding: 0.85rem 1.7rem;
    font-weight: 600;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .landing-btn-secondary:hover,
    .landing-btn-secondary:focus {
        background: #f3f4f6;
        border-color: #9ca3af;
        color: #111827;
    }

/* hero metrics */

.landing-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

    .metric-item .metric-value {
        font-size: 1.25rem;
        font-weight: 600;
        color: #111827;
    }

/* right column card */

@media (min-width: 992px) {
    .landing-hero-right {
        display: flex;
        justify-content: flex-end;
    }
}

.landing-hero-card {
    background: linear-gradient(145deg, #ffffff, #f1f5ff);
    border-radius: 24px;
    padding: 1.75rem 1.75rem 1.4rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    width: 100%;
    max-width: 520px;
}

.landing-hero-card-header {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
}

.landing-hero-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.4rem;
}

    .landing-hero-list li {
        display: flex;
        gap: 0.55rem;
        align-items: flex-start;
        font-size: 0.9rem;
        color: #374151;
        margin-bottom: 0.4rem;
    }

    .landing-hero-list i {
        font-size: 1rem;
        color: #16a34a;
        margin-top: 0.1rem;
    }

.landing-hero-inline-cta {
    border-top: 1px dashed rgba(148, 163, 184, 0.7);
    padding-top: 0.9rem;
    margin-top: 0.6rem;
}

.landing-hero-login {
    display: flex;
    gap: 0.6rem;
}

    .landing-hero-login .form-control {
        border-radius: 999px;
        font-size: 0.9rem;
    }

/* mobile tweaks – medium and down */

@media (max-width: 991.98px) {
    .landing-hero {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

        /* Center text and content on smaller screens */
        .landing-hero,
        .landing-hero .col-lg-7 {
            text-align: center;
        }

    .landing-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero-actions {
        justify-content: center;
    }

    .landing-hero-metrics {
        justify-content: center;
    }

    .landing-hero-right {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .landing-hero-card {
        margin-top: 2rem;
        max-width: 480px;
    }

    .landing-hero-title {
        font-size: 2.2rem;
    }
}

/* ===========================
   SECTIONS (generic)
   =========================== */

.landing-section {
    padding: 3.5rem 0;
}

.section-header h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    max-width: 40rem;
    margin: 0.5rem auto 0;
    color: #6b7280;
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ===========================
   WHY UBO PANEL (cards)
   =========================== */

.landing-why {
    background: radial-gradient(circle at top, #f7fbff 0, #ffffff 45%);
}

.info-card {
    border-radius: 20px;
    padding: 1.5rem 1.6rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.7);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    height: 100%;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

    .info-icon i {
        font-size: 1.2rem;
        color: #2563eb;
    }

.info-icon-green {
    background: rgba(22, 163, 74, 0.12);
}

    .info-icon-green i {
        color: #16a34a;
    }

.info-icon-purple {
    background: rgba(129, 140, 248, 0.14);
}

    .info-icon-purple i {
        color: #6366f1;
    }

.info-card h5 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.info-card p {
    margin-bottom: 0;
    font-size: 0.92rem;
    color: #4b5563;
}

/* ===========================
   STEPS SECTION
   =========================== */

.landing-steps {
    background: #ffffff;
}

.steps-wrapper {
    margin-top: 2.5rem;
    position: relative;
}

/* little connecting line behind the cards on desktop */
@media (min-width: 992px) {
    .steps-wrapper::before {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        top: 0.9rem;
        height: 2px;
        background: linear-gradient( to right, rgba(148, 163, 184, 0.0), rgba(148, 163, 184, 0.35), rgba(148, 163, 184, 0.0) );
        z-index: 0;
    }
}

/* base card */
.step-card {
    position: relative;
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.3rem;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: #f9fafb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    height: 100%;
    z-index: 1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

    .step-card h6 {
        font-weight: 600;
        margin-bottom: 0.3rem;
    }

    .step-card p {
        font-size: 0.9rem;
        color: #6b7280;
    }

.step-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* UBO-colored icon circles */

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.step-icon-blue {
    background: rgba(45, 126, 247, 0.14);
    color: var(--ubo-blue);
}

.step-icon-teal {
    background: rgba(28, 207, 193, 0.16);
    color: var(--ubo-teal);
}

.step-icon-yellow {
    background: rgba(247, 200, 67, 0.16);
    color: var(--ubo-yellow);
}

.step-icon-pink {
    background: rgba(242, 76, 143, 0.16);
    color: var(--ubo-pink);
}

/* color variants for cards (top border + tint) */

.step-card--blue {
    border-top: 3px solid rgba(37, 99, 235, 0.8);
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.05), #f9fafb);
}

.step-card--purple {
    border-top: 3px solid rgba(99, 102, 241, 0.8);
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), #f9fafb);
}

.step-card--teal {
    border-top: 3px solid rgba(45, 212, 191, 0.8);
    background: linear-gradient(to bottom, rgba(45, 212, 191, 0.05), #f9fafb);
}

.step-card--green {
    border-top: 3px solid rgba(22, 163, 74, 0.8);
    background: linear-gradient(to bottom, rgba(22, 163, 74, 0.05), #f9fafb);
}

/* hover – same for all */
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.4);
    background-position: top;
}

/* ===========================
   REWARDS / PARTNERS
   =========================== */

.landing-rewards {
    background: radial-gradient(circle at top center, #eef2ff 0, #ffffff 55%);
}

/* LEFT: visual card instead of text list */

.partner-visual {
    max-width: 460px;
    margin-inline: auto;
    border-radius: 28px;
    overflow: hidden;
    background: radial-gradient(circle at top left, #f9fbff 0%, #ffffff 60%);
}

    .partner-visual img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

@media (max-width: 991.98px) {
    .partner-visual {
        margin-bottom: 2rem;
    }
}

/* HORIZONTAL LOGO STRIP */

.brand-strip {
    padding: 3rem 0 4rem;
    background: radial-gradient(circle at top, #f6f7ff 0, #ffffff 65%);
    overflow: hidden;
}

.brand-strip-track {
    display: inline-flex;
    align-items: center;
    gap: 3.5rem; /* more spacing between logos */
    animation: brand-scroll 28s linear infinite;
    white-space: nowrap;
}

.brand-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-logo img {
        height: 100px; /* BIGGER logos on desktop */
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 12px 26px rgba(15, 23, 42, 0.18));
    }

@keyframes brand-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .brand-logo img {
        height: 56px; /* slightly smaller on mobile */
    }

    .brand-strip-track {
        gap: 2.5rem;
        animation-duration: 22s;
    }
}

/* right-side copy list (REWARDS LIST) */

.rewards-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 0;
}

    .rewards-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.6rem 0;
    }

    .rewards-list i {
        font-size: 1.4rem;
        color: #2563eb;
        margin-top: 0.15rem;
    }

    .rewards-list strong {
        font-weight: 600;
    }

    .rewards-list p {
        margin: 0.1rem 0 0;
        font-size: 0.9rem;
        color: #6b7280;
    }

/* mobile tweaks for partner panel (if used) */
@media (max-width: 991.98px) {
    .partner-panel {
        grid-template-columns: repeat(3, 1fr);
        max-width: 360px;
        padding: 1.5rem 1.25rem;
    }

    .partner-circle {
        width: 100px;
        height: 100px;
    }
}

/* ===========================
   FOOTER
   =========================== */

.landing-footer {
    padding: 2.5rem 0 2rem;
    background: #020617;
    color: #9ca3af;
    font-size: 0.85rem;
}

    .landing-footer a {
        color: #e5e7eb;
    }

        .landing-footer a:hover {
            color: #ffffff;
        }

/* ===========================
   REVEAL ANIMATIONS
   =========================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    /* when element becomes visible */
    [data-reveal].reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* optional directions */
[data-reveal="fade-right"] {
    transform: translateX(-24px);
}

[data-reveal="fade-left"] {
    transform: translateX(24px);
}

/* timing helpers */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===========================
   RESPONSIVE TWEAKS (PHONES & SMALL TABLETS)
   =========================== */

/* General phone styles (<= 767.98px) */
@media (max-width: 767.98px) {
    .landing-section {
        padding: 2.5rem 0;
    }

    .landing-hero {
        padding: 2.5rem 0 2rem;
    }

    .landing-pill {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }

    .landing-hero-title {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .landing-hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .landing-hero-metrics {
        gap: 1rem;
    }

    .metric-item .metric-value {
        font-size: 1.05rem;
    }

    .metric-item .metric-label {
        font-size: 0.8rem;
    }

    /* Stack email + button in hero card */
    .landing-hero-login {
        flex-direction: column;
        align-items: stretch;
    }

        .landing-hero-login .form-control,
        .landing-hero-login button {
            width: 100%;
        }

        .landing-hero-login button {
            justify-content: center;
        }

    /* Section headers more compact on mobile */
    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* Info cards & step cards spacing */
    .info-card,
    .step-card {
        margin-bottom: 0.75rem;
        padding: 1.2rem 1.2rem 1.1rem;
    }

    /* Rewards list spacing */
    .rewards-list li {
        padding: 0.5rem 0;
    }

    /* HERO CTAs – stack, centered, NOT full-width */
    .landing-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }

        .landing-hero-actions .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            white-space: normal;
            border-radius: 999px;
            padding: 0.7rem 1.5rem;
            min-width: 150px;
            width: auto;
            max-width: 260px; /* nice width on phones */
        }
}

/* Very small phones (<= 575.98px) */
@media (max-width: 575.98px) {
    .landing-hero-title {
        font-size: 1.6rem;
    }

    .landing-hero-actions .btn {
        max-width: 240px;
        font-size: 0.9rem;
    }
}

/* ===========================
   GLOBAL: prevent horizontal scroll
   =========================== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.landing-page {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===========================
   HEADER ACTION BUTTONS
   =========================== */

.public-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    /* base style for both header buttons */
    .public-actions .btn {
        border-radius: 999px !important;
        padding: 0.35rem 1.4rem;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 110px;
        box-shadow: none;
    }

    /* outline / "Login" button */
    .public-actions .btn-outline-primary {
        background-color: transparent;
        color: #2563eb;
        border-color: #2563eb;
    }

        .public-actions .btn-outline-primary:hover,
        .public-actions .btn-outline-primary:focus {
            background-color: rgba(37, 99, 235, 0.06);
            color: #1d4ed8;
            border-color: #1d4ed8;
        }

    /* filled / "Register" button */
    .public-actions .btn-primary {
        background: linear-gradient(135deg, #2563eb, #0ea5e9);
        border-color: #2563eb;
        color: #ffffff;
    }

        .public-actions .btn-primary:hover,
        .public-actions .btn-primary:focus {
            background: linear-gradient(135deg, #1d4ed8, #0284c7);
            border-color: #1d4ed8;
            color: #ffffff;
        }

/* small screens: slightly smaller header buttons */
@media (max-width: 575.98px) {
    .public-actions .btn {
        min-width: 96px;
        padding: 0.3rem 1.1rem;
        font-size: 0.85rem;
    }
}
