@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* BASE */
html, body {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    margin: 0;
    color: #0f172a;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.highlight-blue {
    color: #2563eb;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* BUTTON DEFAULTS */
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

/* LAYOUT */
.container {
    max-width: 1150px;
    margin: auto;
    padding: 0 20px;
}

.section {
    padding: 100px 20px;
}

    .section.alt {
        background: #f1f5f9;
    }

.center {
    text-align: center;
}

/* HERO */
.hero {
    padding: 120px 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

    .hero h1 span {
        color: #2563eb;
    }

.hero p {
    margin-top: 20px;
    font-size: 18px;
    color: #475569;
}

.hero-actions {
    margin-top: 30px;
}

/* SPLIT */
.split {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* give image more space */
    gap: 60px;
    align-items: center;
}

/* PROBLEM */
.problem-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* HOVER EFFECTS */
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

    .hover-lift:hover {
        transform: translateY(-6px) scale(1.02);
    }

.image:hover img,
.hero-grid .hover-lift:hover img {
    box-shadow: 0 35px 90px rgba(0,0,0,0.28);
}

.problem-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .problem-card:hover {
        transform: translateY(-6px);
        border-color: #2563eb;
        box-shadow: 0 18px 45px rgba(15,23,42,0.12);
    }

/* Buttons */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

    .btn.primary:hover {
        background: #1d4ed8;
        box-shadow: 0 16px 35px rgba(37,99,235,0.38);
    }

    .btn.secondary:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
        box-shadow: 0 10px 25px rgba(15,23,42,0.08);
    }

/* Modal image hover, optional but nice */
.modal img {
    animation: modalZoom 0.2s ease forwards;
}

@keyframes modalZoom {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* TEXT */
.label {
    color: #2563eb;
    font-weight: 700;
    font-size: 12px;
}

h2 {
    font-size: 34px;
    margin: 10px 0;
}

p {
    color: #475569;
}

/* IMAGE */
.image img,
.hero img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
    cursor: pointer;
}

.image {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image img {
        width: 110%;
        max-width: none;
        border-radius: 16px;
        box-shadow: 0 25px 70px rgba(0,0,0,0.25);
    }

/* BUTTONS */
.btn {
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
}

    .btn.primary {
        background: #2563eb;
        color: white;
        box-shadow: 0 10px 25px rgba(37,99,235,0.3);
    }

    .btn.secondary {
        margin-left: 10px;
        border: 1px solid #e2e8f0;
        background: white;
    }

    .btn.large {
        padding: 16px 32px;
    }

/* HOVER EFFECTS */
.hover-lift:hover {
    transform: translateY(-4px) scale(1.02);
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* CTA */
.cta {
    padding: 120px 20px;
    text-align: center;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 16px;
    }

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.split.reverse {
    grid-template-columns: 1.2fr 1fr;
}

    .split.reverse .text {
        order: 2;
    }

    .split.reverse .image {
        order: 1;
    }

/* EXISTING BLAZOR STUFF */
.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    transition: all 0.2s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}


@media (max-width: 768px) {

    /* HERO STACK */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* SPLIT SECTIONS STACK */
    .split,
    .split.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

        .split.reverse .text,
        .split.reverse .image {
            order: unset;
        }

    /* PROBLEM GRID STACK */
    .problem-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {

    .hero {
        padding: 60px 20px;
    }

        .hero h1 {
            font-size: 32px;
            line-height: 1.2;
        }

    h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 20px;
    }
}


@media (max-width: 768px) {

    .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 768px) {

    .image img {
        width: 100%;
    }

    .hero img {
        width: 100%;
    }
}


@media (max-width: 768px) {
    .hero-actions p {
        text-align: center;
    }
}


.statement {
    max-width: 700px;
    margin: 70px auto;
    padding: 25px;
    text-align: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid #e2e8f0;
}

.statement-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.statement-main {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}


/* PAIN STATEMENT */
.pain-point {
    max-width: 650px;
    margin: 60px auto;
    padding: 22px 24px;
    text-align: center;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
}

    .pain-point strong {
        color: #0f172a;
        font-weight: 600;
    }


/* TESTIMONIAL */
.testimonial {
    max-width: 600px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15,23,42,0.05);
}

.testimonial-quote {
    font-size: 16px;
    color: #334155;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 8px;
    font-size: 13px;
    color: #94a3b8;
}


/* SUCCESS MODAL CARD */
.signup-success-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

    .signup-success-card h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .signup-success-card p {
        color: #475569;
        margin-bottom: 10px;
    }

.email-instruction {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
}

.small-note {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 15px;
}


/* NAVBAR */
/* NAVBAR STRUCTURE */

.navbar {
    width: 100%;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    width: 100%;
    padding: 18px 14px; /* tighter */
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* LEFT SIDE */
.navbar-left {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* LOGO */
.navbar-logo {
    height: 80px;
    width: auto;
}

/* RIGHT SIDE */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

    /* LINKS */
    .navbar-right a {
        text-decoration: none;
        color: #475569;
        font-size: 15px;
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .navbar-right a:hover {
            color: #2563eb;
        }

/* LOGIN BUTTON */
.navbar-login {
    padding: 10px 18px;
    border-radius: 10px;
    background: #2563eb;
    color: white !important;
    font-weight: 600;
}


@media (max-width: 768px) {

    .navbar-inner {
        padding: 14px 16px;
    }

    .navbar-title {
        font-size: 16px;
    }

    .navbar-logo {
        height: 50px;
    }

    .navbar-links {
        gap: 14px;
    }

    .navbar-login {
        padding: 8px 12px;
        font-size: 14px;
    }
}



.about-container {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    min-height: 100vh;
}

.about-content {
    max-width: 800px;
    margin: auto;
}

    .about-content h1 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 20px;
    }

.about-lead {
    font-size: 20px;
    color: #475569;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}

.about-section {
    margin-top: 40px;
    padding: 25px;
    border-radius: 14px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15,23,42,0.05);
}

    .about-section h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .about-section ul {
        padding-left: 18px;
        color: #475569;
    }

    .about-section li {
        margin-bottom: 8px;
    }


.help-container {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    min-height: 100vh;
}

.help-content {
    max-width: 700px;
    margin: auto;
    text-align: center;
}

    .help-content h1 {
        font-size: 40px;
        font-weight: 800;
        margin-bottom: 15px;
    }

.help-lead {
    font-size: 18px;
    color: #475569;
    margin-bottom: 30px;
}

.help-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
    margin-bottom: 25px;
}

.help-email {
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: 0.2s ease;
}

    .help-email:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

.help-note {
    font-size: 14px;
    color: #64748b;
}



