/* ============================================================
   CMR Digitaal - Homepage (publieke pagina, dark theme)
   ============================================================ */

:root {
    --hp-bg-dark: #1e1e3f;
    --hp-bg-darker: #14142e;
    --hp-bg-card: rgba(255,255,255,0.06);
    --hp-border: rgba(255,255,255,0.1);
    --hp-text: #c8c8d8;
    --hp-text-white: #ffffff;
    --hp-accent: #e63946;
    --hp-accent-blue: #4a7cff;
    --hp-primary: #1a4a8a;
}

/* ── Reset & Base ─────────────────────────────────────────── */
body.homepage {
    background: var(--hp-bg-dark);
    color: var(--hp-text);
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

body.homepage *,
body.homepage *::before,
body.homepage *::after {
    box-sizing: border-box;
}

body.homepage a { color: var(--hp-accent-blue); text-decoration: none; }
body.homepage a:hover { text-decoration: underline; }

/* ── Navigation ───────────────────────────────────────────── */
.hp-nav {
    background: var(--hp-bg-darker);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--hp-border);
}

.hp-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.hp-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hp-nav-brand img {
    height: 48px;
    width: auto;
}

.hp-nav-brand span {
    color: var(--hp-text-white);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hp-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-nav-menu a {
    color: var(--hp-text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.hp-nav-menu a:hover,
.hp-nav-menu a.active {
    color: var(--hp-text-white);
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}

.hp-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hp-lang-select {
    background: rgba(255,255,255,0.1);
    color: var(--hp-text-white);
    border: 1px solid var(--hp-border);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
}

.hp-lang-select option {
    background: var(--hp-bg-darker);
    color: var(--hp-text-white);
}

.hp-btn-login {
    display: inline-block;
    background: var(--hp-accent);
    color: #fff;
    padding: 9px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}

.hp-btn-login:hover {
    background: #c62d38;
    text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hp-hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.hp-hero h1 {
    font-size: 44px;
    color: var(--hp-text-white);
    margin: 0 0 16px;
    line-height: 1.2;
}

.hp-hero p {
    font-size: 18px;
    color: var(--hp-text);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hp-hero-cta {
    display: inline-block;
    background: var(--hp-accent);
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.hp-hero-cta:hover {
    background: #c62d38;
    transform: translateY(-1px);
    text-decoration: none;
}

/* ── Features ─────────────────────────────────────────────── */
.hp-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.hp-section-title {
    text-align: center;
    color: var(--hp-text-white);
    font-size: 30px;
    margin: 0 0 12px;
}

.hp-section-subtitle {
    text-align: center;
    color: var(--hp-text);
    font-size: 16px;
    margin: 0 0 40px;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.hp-feature-card {
    background: var(--hp-bg-card);
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 28px 24px;
    transition: border-color 0.2s, background 0.2s;
}

.hp-feature-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
}

.hp-feature-icon {
    font-size: 32px;
    margin-bottom: 14px;
    display: block;
}

.hp-feature-card h3 {
    color: var(--hp-text-white);
    font-size: 18px;
    margin: 0 0 8px;
}

.hp-feature-card p {
    color: var(--hp-text);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ── Screenreader only ────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Pricing ──────────────────────────────────────────────── */
.hp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hp-pricing-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
}

.hp-price-card {
    background: var(--hp-bg-card);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: border-color 0.2s;
}

.hp-price-card.featured {
    border-color: var(--hp-accent);
    background: rgba(230,57,70,0.06);
}

.hp-price-card .hp-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hp-accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hp-price-card h3 {
    color: var(--hp-text-white);
    font-size: 22px;
    margin: 0 0 8px;
}

.hp-price-amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--hp-text-white);
    margin: 16px 0 4px;
}

.hp-price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--hp-text);
}

.hp-price-period {
    color: var(--hp-text);
    font-size: 14px;
    margin: 0 0 20px;
}

.hp-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.hp-price-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--hp-text);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hp-price-features li::before {
    content: "\2713 ";
    color: #4ade80;
    font-weight: 700;
    margin-right: 6px;
}

.hp-price-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}

.hp-price-btn.primary {
    background: var(--hp-accent);
    color: #fff;
}

.hp-price-btn.primary:hover {
    background: #c62d38;
    text-decoration: none;
}

.hp-price-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: var(--hp-text-white);
    border: 1px solid var(--hp-border);
}

.hp-price-btn.secondary:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

.hp-price-period {
    color: var(--hp-text);
    font-size: 14px;
    margin: 0 0 20px;
}

/* Layout service banner */
.hp-layout-service {
    max-width: 700px;
    margin: 32px auto 0;
}

.hp-layout-service-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--hp-bg-card);
    border: 1px solid var(--hp-border);
    border-radius: 10px;
    padding: 24px 28px;
}

.hp-layout-service h3 {
    color: var(--hp-text-white);
    font-size: 16px;
    margin: 0 0 6px;
}

.hp-layout-service p {
    color: var(--hp-text);
    font-size: 14px;
    margin: 0;
}

/* ── Screenshots ──────────────────────────────────────────── */
.hp-screenshots {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.hp-screenshot {
    max-width: 480px;
    border-radius: 8px;
    border: 1px solid var(--hp-border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.hp-screenshot-placeholder {
    background: var(--hp-bg-card);
    border: 2px dashed var(--hp-border);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    max-width: 480px;
    width: 100%;
}

/* ── Footer ───────────────────────────────────────────────── */
.hp-footer {
    background: var(--hp-bg-darker);
    border-top: 1px solid var(--hp-border);
    padding: 48px 24px 32px;
    margin-top: 60px;
}

.hp-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.hp-footer-logo img {
    height: 60px;
    margin-bottom: 12px;
}

.hp-footer-logo p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 8px 0 0;
}

.hp-footer h4 {
    color: var(--hp-text-white);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.hp-footer p,
.hp-footer a {
    font-size: 13px;
    color: var(--hp-text);
    line-height: 1.8;
}

.hp-footer a:hover {
    color: var(--hp-text-white);
}

.hp-footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--hp-border);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hp-hero { padding: 50px 20px 40px; }
    .hp-hero h1 { font-size: 30px; }
    .hp-hero p { font-size: 16px; }

    .hp-section { padding: 40px 16px; }
    .hp-section-title { font-size: 24px; }

    .hp-features-grid { grid-template-columns: 1fr; }
    .hp-pricing-grid,
    .hp-pricing-2col { grid-template-columns: 1fr; max-width: 360px; }
    .hp-layout-service-inner { flex-direction: column; text-align: center; }

    .hp-footer-inner { grid-template-columns: 1fr; gap: 28px; }

    .hp-nav-inner { padding: 10px 16px; }
    .hp-nav-brand span { font-size: 18px; }
}

@media (max-width: 480px) {
    .hp-hero h1 { font-size: 26px; }
    .hp-nav-brand span { display: none; }
}
