
/* === Brand palette (blue + green to match logo) === */
:root {
    --nr-blue: #458AF1;
    --nr-green: #1BB228;
    --nr-ink: #0E1420;
    --nr-text: #0f1b2d;
    --nr-white: #ffffff;
}

html, body {
    font-size: 14px;
    height: 100%; /* Ensure html and body take full height of the viewport */
    margin: 0; /* Remove default browser margin */
    padding: 66 0 0 0; /* Remove default browser padding */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
/* Investors page tweaks to match hero/glass aesthetic */
.inv-hero .glass-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(69,138,241,.22);
    border-radius: 16px;
    color: #0f1b2d;
}

.inv-disclaimer {
    max-width: 940px;
    margin: 0 auto;
}

.btn-ghost {
    background: transparent;
    color: #0f1b2d;
    border-radius: 10px;
}
.inv-hero .glass-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(69,138,241,.22);
    border-radius: 16px;
    color: #0f1b2d;
}

.inv-disclaimer {
    max-width: 940px;
    margin: 0 auto;
}

.thankyouinv {
    max-width: 720px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(69,138,241,.25);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.thankyou {
    max-width: 900px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(69,138,241,.25);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    color: #0f1b2d;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

main {
    margin: 0;
    padding: 0;
}

.hero.full-bleed {
    min-height: 100svh; /* better on mobile than 100vh */
    width: 100%;
    display: flex;
    top: 0;
    /*align-items: start; /* center vertically */
    justify-content: center; /* center horizontally */
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/nring.png");
    background-size: 120%; /* cover instead of 120% */
    background-color: rgba(255,255,255,0.6);
    background-blend-mode: lighten;
    top: 0;
    /*padding: 2rem 0; /* breathing room */
}

.hero .hero-content {
    width: 100%;
    max-width: 1120px; /* keeps it tidy */
    margin: 0 auto; /* ensure centered */
    background: linear-gradient(to bottom, rgba(12, 187, 85, 0.35), rgba(30, 17, 125, 0));
    border-radius: 0.5rem;
}

.center {
    text-align: center;
}

/* Remove the 100vw that was breaking centering */
.wide {
    width: 100%;
}

.glass-card {
    background: rgba(70, 95, 236, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 3px solid rgba(69, 138, 241, 1);
    color: #ffffff;
}

    .glass-card .card-text {
        color: #000000;
    }

    .glass-card .fw-bold {
        color: #1bb228;
    }

/* Make the logo behave */
.logo-img {
    display: block;
    max-width: 570px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 1rem;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 25px;
}
/* === Modern glassy navbar === */
.nr-nav {
    background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.50));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(69,138,241,.18);
    box-shadow: 0 2px 10px rgba(14,20,32,.06);
}

.navbar-light .navbar-toggler {
    border: 0;
}

.navbar-light .navbar-toggler-icon {
    filter: contrast(0.3);
}

/* Gradient text brand */
.fw-800 {
    font-weight: 800;
}

.brand-gradient {
    background-image: linear-gradient(90deg, var(--nr-green), var(--nr-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .2px;
}

/* Links with subtle animated underline matching brand colors */
.nav-underline .nav-link {
    position: relative;
    color: var(--nr-ink);
    opacity: .85;
    padding: .7rem .9rem;
    transition: color .2s ease, opacity .2s ease;
    text-decoration: none;
}

    .nav-underline .nav-link:hover,
    .nav-underline .nav-link:focus {
        color: var(--nr-ink);
        opacity: 1;
    }

    .nav-underline .nav-link::after {
        content: "";
        position: absolute;
        left: .9rem;
        right: .9rem;
        bottom: .35rem;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--nr-green), var(--nr-blue));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .22s ease;
    }

    .nav-underline .nav-link:hover::after,
    .nav-underline .nav-link:focus::after,
    .nav-underline .nav-link.active::after {
        transform: scaleX(1);
    }

/* Investor pill */
.bg-investor-pill {
    background: linear-gradient(90deg, rgba(27,178,40,.2), rgba(69,138,241,.2));
    color: var(--nr-ink);
    border: 1px solid rgba(69,138,241,.35);
    border-radius: 999px;
    font-weight: 600;
    padding: .25rem .6rem;
}

/* CTA button with brand gradient */
.btn-cta {
    background: linear-gradient(90deg, var(--nr-green), var(--nr-blue));
    color: #06141f;
    border: 1px solid rgba(6,20,31,.04);
    border-radius: 10px;
    font-weight: 700;
}

    .btn-cta:hover {
        filter: brightness(1.06);
        color: #06141f;
    }

/* Optional: dark text in your glass-card body copy remains readable */
.navbar-brand, .nav-link {
    text-shadow: none;
}

/* Round the whole bar to echo the pill vibe */
.nr-nav {
    border-radius: 14px;
    margin: 0px 12px;
    padding: 4px;
}

/* Pill links to match the Register gradient style */
.link-pill {
    border-radius: 999px !important;
    padding: .45rem .9rem;
    font-weight: 600;
    color: var(--nr-ink);
    background: transparent;
    border: 1px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

    /* Hover: subtle glass with brand border */
    .link-pill:hover,
    .link-pill:focus {
        background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.45));
        border-color: rgba(69,138,241,.35);
        box-shadow: 0 1px 8px rgba(14,20,32,.06);
        text-decoration: none;
    }

    /* Active/current page: soft brand gradient (lighter than .btn-cta) */
    .link-pill.active,
    .nav-pills .nav-link.active {
        color: #06141f;
        background: linear-gradient(90deg, rgba(27,178,40,.28), rgba(69,138,241,.28));
        border-color: rgba(69,138,241,.45);
        box-shadow: inset 0 0 0 1px rgba(6,20,31,.04);
    }

/* Investor badge pill already set, just round it a touch more */
.bg-investor-pill {
    border-radius: 999px;
}

/* Toggler button rounded */
.navbar-toggler {
    border-radius: 12px;
    padding: .35rem .6rem;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(69,138,241,.25);
}

/* Optional: compact on large screens so pills feel tight */
@media (min-width: 992px) {
    .nr-nav .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}
