/* =========================================================
   FIELDPROOF - GLOBAL STYLES
========================================================= */

:root {
    --p: #1769ff;
    --pd: #0b47c5;
    --ink: #0b1220;
    --muted: #64748b;
    --soft: #f7faff;
    --border: #e5eaf2;
    --dark: #07111f;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    min-height: 76px;
}

.navbar-brand {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.navbar-brand > span:last-child > span {
    color: var(--p);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--p);
    color: #fff;
}

.nav-link {
    color: #475569;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--p);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
    background: var(--p);
    border-color: var(--p);
}

.btn-primary:hover {
    background: var(--pd);
    border-color: var(--pd);
}


/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {
    padding: 145px 0 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(23, 105, 255, 0.14),
            transparent 34%
        ),
        linear-gradient(
            #f7faff,
            #ffffff
        );
}

.eyebrow {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--p);
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.lead {
    color: var(--muted);
    line-height: 1.8;
}


/* =========================================================
   HERO VISUAL
   Transparent wrapper only.
   No old blue mockup background.
========================================================= */

.hero-visual {
    position: relative;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;
    box-shadow: none;

    overflow: visible;
}


/* =========================================================
   HERO APP IMAGE
   Desktop: 420 × 560
========================================================= */

.app-screenshot-wrapper {
    width: 420px;
    height: 560px;

    max-width: 100%;

    margin: 0 auto;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.14);
}

.app-screenshot-wrapper .app-screenshot {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 28px;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   ICON BOX
========================================================= */

.icon-box {
    width: 52px;
    height: 52px;

    border-radius: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #eaf1ff;
    color: var(--p);

    font-size: 1.35rem;

    flex-shrink: 0;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 100px 0;
}

.section-soft {
    background: var(--soft);
}

.section-title {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.05em;
}

.section-title p,
.feature-card p,
.industry-card p {
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   FEATURE / INDUSTRY CARDS
========================================================= */

.feature-card,
.industry-card {
    height: 100%;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: #fff;

    padding: 28px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover,
.industry-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 50px rgba(20, 45, 80, 0.1);
}


/* =========================================================
   STATS BAND
========================================================= */

.stats-band {
    background: var(--dark);
    color: #fff;
}

.stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
}

.stat p {
    color: #91a1b7;
}


/* =========================================================
   WORKFLOW
========================================================= */

.workflow-step {
    position: relative;
    padding-left: 68px;
}

.workflow-number {
    position: absolute;

    left: 0;
    top: 0;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: var(--p);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}


/* =========================================================
   CHECK LIST
========================================================= */

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 14px;
    color: #475569;
}

.check-list i {
    color: var(--p);
    margin-right: 8px;
}


/* =========================================================
   CASE STUDY
========================================================= */

.case-study {
    border-radius: 28px;

    background: #eef5ff;

    border: 1px solid #dbe8ff;
}


/* =========================================================
   INNER PAGE HERO
========================================================= */

.page-hero {
    padding: 145px 0 80px;
    background: var(--soft);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    letter-spacing: -0.06em;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 750px;
}


/* =========================================================
   INDUSTRY HERO
========================================================= */

.industry-hero {
    padding: 140px 0 80px;

    background:
        linear-gradient(
            135deg,
            #07111f,
            #12376b
        );

    color: #fff;
}

.industry-hero p {
    color: #bdc9d9;
    max-width: 760px;
    line-height: 1.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {
    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 32px;

    background: #fff;

    box-shadow:
        0 15px 45px rgba(20, 40, 70, 0.07);
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    border-color: #dce3ed;
}


/* =========================================================
   CTA
========================================================= */

.cta-box {
    border-radius: 30px;

    background:
        linear-gradient(
            120deg,
            #0756dc,
            #193a83
        );
}


/* =========================================================
   FOOTER
========================================================= */

.footer-section {
    background: #07111f;
    color: #fff;
}

.footer-section h6 {
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-section a:not(.navbar-brand) {
    display: block;
    color: #aab7c9;
    margin-bottom: 9px;
}

.footer-section a:hover {
    color: #fff;
}

.mw-500 {
    max-width: 500px;
    line-height: 1.8;
}


/* =========================================================
   PRODUCT PHONE SHOWCASE
   Used for individual mobile app screenshots.
========================================================= */

.product-phone-showcase {
    width: 300px;
    height: 520px;

    max-width: 100%;

    margin: 0 auto;
    padding: 8px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 30px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12);

    overflow: hidden;
}

.product-phone-showcase img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 24px;
}


/* =========================================================
   PRODUCT IMAGE CARDS
   Projects / Evidence / Gallery
========================================================= */

.product-image-card {
    width: 100%;
    max-width: 320px;

    height: 520px;

    margin: 0 auto;
    padding: 10px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 28px;

    box-shadow:
        0 15px 45px rgba(20, 40, 70, 0.08);

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Screenshot */

.product-image-card > img {
    display: block;

    width: 100%;
    height: 420px;

    flex-shrink: 0;

    object-fit: cover;
    object-position: top center;

    border-radius: 20px;
}


/* Optional text below screenshot */

.product-image-card > .p-3 {
    flex: 1;
    padding: 14px 6px 6px !important;
}

.product-image-card h3 {
    margin-bottom: 5px;
}

.product-image-card p {
    line-height: 1.5;
}


/* Hover */

.product-image-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 60px rgba(20, 40, 70, 0.13);
}


/* =========================================================
   DASHBOARD SCREENSHOT
========================================================= */

.product-dashboard-card {
    width: 100%;
    max-width: 420px;

    height: 560px;

    margin: 0 auto;
    padding: 10px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(20, 40, 70, 0.1);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-dashboard-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    border-radius: 20px;
}

.product-dashboard-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 60px rgba(20, 40, 70, 0.13);
}


/* =========================================================
   GENERAL APP SCREENSHOT
========================================================= */

.app-screenshot {
    display: block;
    max-width: 100%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .hero {
        padding-top: 125px;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .section {
        padding: 75px 0;
    }

    .app-screenshot-wrapper {
        width: 400px;
        height: 540px;
    }

    .product-phone-showcase {
        width: 290px;
        height: 500px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .hero {
        padding: 120px 0 60px;
    }

    .app-screenshot-wrapper {
        width: 100%;
        max-width: 360px;
        height: 520px;

        border-radius: 24px;
    }

    .app-screenshot-wrapper .app-screenshot {
        border-radius: 24px;
    }

    .product-phone-showcase {
        width: 270px;
        height: 470px;
    }

    .product-image-card {
        max-width: 300px;
        height: 500px;
    }

    .product-image-card > img {
        height: 405px;
    }

    .product-dashboard-card {
        max-width: 360px;
        height: 520px;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .app-screenshot-wrapper {
        max-width: 330px;
        height: 500px;
    }

    .product-phone-showcase {
        width: 250px;
        height: 440px;
    }

    .product-image-card {
        max-width: 280px;
        height: 470px;
    }

    .product-image-card > img {
        height: 380px;
    }

}