/* Mobile‑first stylesheet */
body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #F8F9FA;
    color: #212529;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}
nav {
    background-color: #2D6A4F;
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    padding: 1rem;
    margin-bottom: 1rem;
}
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    vertical-align: middle;
}
.btn-primary {
    background-color: #2D6A4F;
    color: #fff;
}
.btn-danger {
    background-color: #dc3545;
    color: #fff;
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}
input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}
.text-muted { color: #6c757d; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.flex { display: flex; align-items: center; }
.gap-1 { gap: 0.5rem; }

/* Inspection form */
.inspection-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}
.item-header {
    margin-bottom: 0.25rem;
}
.item-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.photo-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
details summary {
    cursor: pointer;
    padding: 0.5rem 0;
    font-size: 1.05rem;
}
details[open] summary {
    margin-bottom: 0.5rem;
}

/* Review page */
.review-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
/* Landing page styles */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: #f5f5f5;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 1rem;
}
.feature-card {
    flex: 1 1 260px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}
.pricing {
    text-align: center;
    padding: 3rem 1rem;
    background: #fafafa;
}
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.pricing-card {
    flex: 1 1 260px;
    max-width: 300px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
}
.pricing-card.popular {
    border-color: #007bff;
}
.pricing-price {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}
.pricing-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}
.waitlist {
    text-align: center;
    padding: 2rem 1rem;
}
.waitlist-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}
/* ==== UI Polish Task P.1 ==== */
.hero {
    background: #2D6A4F;
    color: #fff;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    text-align: center;
}
.hero .btn.hero-btn {
    background: #fff;
    color: #2D6A4F;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    margin-top: 1rem;
}
.hero .btn.hero-btn:hover {
    background: #D8F3DC;
}

.how-it-works {
    padding: 2rem 1rem;
    text-align: center;
}
.how-it-works .steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.step {
    flex: 1 1 260px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #2D6A4F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card {
    border-top: 3px solid #2D6A4F;
    padding-top: 1rem;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.pricing-card.popular {
    border-color: #2D6A4F;
    background: #D8F3DC;
}
.pricing-tag {
    display: inline-block;
    background: #2D6A4F;
    color: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 3px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}
.pricing-features li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.trust-line {
    text-align: center;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: #555;
}

.footer {
    background: #1B4332;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}
/* ==== UI Polish Task P.2 ==== */
nav {
    justify-content: space-between;
}
.nav-brand {
    color: #fff;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
}
.nav-links a:hover {
    color: #fff;
}
.btn:hover {
    filter: brightness(0.9);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: #1B4332;
}
.btn-danger:hover {
    background-color: #a71d2a;
}
.card {
    transition: box-shadow 0.2s ease;
}
.card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* Inspection form polish */
.inspection-item:nth-child(even) {
    background: #fafafa;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}
details {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
details summary {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details summary::after {
    content: "+";
    font-weight: bold;
    font-size: 1.2rem;
    color: #2D6A4F;
}
details[open] summary::after {
    content: "-";
}
details[open] summary {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}
details > :not(summary) {
    padding: 0 1rem;
}
select option[value="goed"] { color: #2D6A4F; }
select option[value="redelijk"] { color: #F0AD4E; }
select option[value="slecht"] { color: #DC3545; }
select option[value="beschadigd"] { color: #721C24; }

/* Progress bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}
.progress-fill {
    height: 100%;
    background: #2D6A4F;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Review page polish */
.review-item {
    padding: 0.75rem 0;
}
.review-item:nth-child(even) {
    background: #fafafa;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}
.badge {
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
/* Demo page */
.demo-banner {
    background: #F0AD4E;
    color: #333;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}
.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.demo-card {
    flex: 1 1 250px;
    max-width: 280px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.demo-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.demo-card-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #2D6A4F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
}
