
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #14213d;
    --blue: #3157d5;
    --blue-light: #edf1ff;
    --text: #293449;
    --muted: #69758a;
    --background: #f8faff;
    --white: #ffffff;
    --border: #e5eaf3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.navbar {
    min-height: 82px;
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 29px;
    font-weight: 800;
    color: var(--navy);
}

.logo span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-button,
.primary-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 9px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.nav-button:hover,
.primary-button:hover {
    background: #2445b5;
    transform: translateY(-1px);
}

.hero {
    padding: 100px 20px 105px;
    text-align: center;
    background:
        radial-gradient(ellipse at top, #e8edff 0%, transparent 65%),
        var(--background);
}

.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 22px 0;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1.15;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-text {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.secondary-button {
    display: inline-block;
    padding: 11px 22px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
}

.trust-note {
    margin-top: 26px;
    color: var(--muted);
    font-size: 13px;
}

.section {
    max-width: 1120px;
    margin: auto;
    padding: 80px 24px;
    text-align: center;
}

.section h2,
.report-banner h2 {
    margin-top: 10px;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(27px, 4vw, 38px);
    letter-spacing: -1px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
    text-align: left;
}

.feature-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(20, 33, 61, 0.035);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    font-weight: 800;
}

.feature-card h3 {
    margin-top: 20px;
    color: var(--navy);
    font-size: 19px;
}

.feature-card p,
.section-description {
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
}

.items-section {
    padding-top: 55px;
}

.empty-state {
    margin-top: 32px;
    padding: 45px 20px;
    border: 1px dashed #c9d3e5;
    border-radius: 16px;
    background: var(--white);
}

.empty-icon {
    color: var(--blue);
    font-size: 46px;
}

.empty-state h3 {
    color: var(--navy);
}

.empty-state p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.report-banner {
    max-width: 1072px;
    margin: 10px auto 80px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--blue-light);
    border-radius: 18px;
}

.report-banner p:not(.eyebrow) {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

footer {
    padding: 35px 20px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--muted);
    font-size: 13px;
}

.copyright {
    margin-top: 10px;
}

@media (max-width: 760px) {
    .navbar {
        flex-wrap: wrap;
        padding: 18px 5%;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-button {
        padding: 10px 12px;
    }

    .hero {
        padding: 70px 18px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .report-banner {
        margin: 10px 18px 55px;
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* FindIt report and search features */

.stats {
    max-width: 1000px;
    margin: -35px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
}

.stat-card {
    padding: 24px;
    background: white;
    border: 1px solid #e5eaf3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(20, 33, 61, 0.05);
    text-align: center;
}

.stat-card span {
    display: block;
    color: #69758a;
    font-size: 13px;
}

.stat-card strong {
    display: block;
    color: #14213d;
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
    padding: 18px;
    background: white;
    border: 1px solid #e5eaf3;
    border-radius: 14px;
}

.search-form input,
.search-form select,
.report-form input,
.report-form select,
.report-form textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    color: #293449;
    background: white;
    border: 1px solid #dce3ef;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
}

.search-form input {
    flex: 2 1 220px;
}

.search-form select {
    flex: 1 1 150px;
}

.search-form button {
    border: 0;
    cursor: pointer;
}

.clear-link {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: #3157d5;
    font-size: 14px;
    font-weight: 600;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
    text-align: left;
}

.item-card {
    overflow: hidden;
    background: white;
    border: 1px solid #e5eaf3;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(20, 33, 61, 0.04);
}

.item-image,
.item-placeholder {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.item-placeholder {
    display: grid;
    place-items: center;
    background: #edf1ff;
    color: #3157d5;
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.item-card-content {
    padding: 20px;
}

.item-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.item-badge.lost {
    color: #9c3b2e;
    background: #fff0ed;
}

.item-badge.found {
    color: #18764b;
    background: #e7f8ef;
}

.item-card h3 {
    margin-bottom: 10px;
    color: #14213d;
    font-size: 19px;
}

.item-card-content > p {
    margin-top: 7px;
    color: #69758a;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.item-description {
    padding-top: 10px;
    border-top: 1px solid #e5eaf3;
}

.privacy-note,
.field-help {
    color: #69758a;
    font-size: 12px;
}

.messages {
    margin: 22px 0;
}

.message {
    padding: 13px 16px;
    margin-bottom: 10px;
    border-radius: 9px;
    font-size: 14px;
}

.message.success {
    color: #17633e;
    background: #e7f8ef;
}

.message.error {
    color: #923b30;
    background: #fff0ed;
}

.empty-state .primary-button {
    margin-top: 20px;
}

.form-page {
    max-width: 760px;
    margin: auto;
    padding: 65px 22px 85px;
}

.form-heading {
    margin-bottom: 30px;
    text-align: center;
}

.form-heading h1 {
    margin: 12px 0;
    color: #14213d;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
}

.form-heading h1 span {
    color: #3157d5;
}

.form-heading > p:last-child {
    color: #69758a;
    font-size: 14px;
}

.report-form {
    padding: 30px;
    background: white;
    border: 1px solid #e5eaf3;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(20, 33, 61, 0.05);
}

.report-form label {
    display: block;
    margin: 20px 0 8px;
    color: #293449;
    font-size: 14px;
    font-weight: 700;
}

.report-form label:first-child {
    margin-top: 0;
}

.report-form textarea {
    resize: vertical;
}

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus,
.search-form input:focus,
.search-form select:focus {
    outline: 2px solid #cbd6ff;
    border-color: #3157d5;
}

.field-help {
    display: block;
    margin-top: 7px;
    line-height: 1.6;
}

.submit-button {
    width: 100%;
    margin-top: 28px;
    border: 0;
    cursor: pointer;
}

.back-link {
    display: block;
    margin-top: 18px;
    color: #3157d5;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 760px) {
    .stats {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .item-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .report-form {
        padding: 20px;
    }
}

/* Item details page */

.details-button {
    display: inline-block;
    margin-top: 14px;
    color: #3157d5;
    font-size: 14px;
    font-weight: 700;
}

.details-button:hover {
    text-decoration: underline;
}

.detail-card {
    margin-top: 24px;
}

.detail-card h1 {
    margin: 12px 0;
    color: #14213d;
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
}

.detail-card h3 {
    margin-top: 24px;
    margin-bottom: 8px;
    color: #14213d;
}

.detail-card > p {
    margin: 12px 0;
    overflow-wrap: anywhere;
}

.detail-image {
    display: block;
    width: 100%;
    max-height: 380px;
    margin-bottom: 22px;
    object-fit: contain;
    background: #f8faff;
    border-radius: 12px;
}

.detail-card .primary-button {
    margin-top: 24px;
}
