/* WorkmAItePro public marketing one-pager
   Restyled to match the workmaite.com corporate brand:
   - Dark theme (#212529 dark bg, white headings, muted-light body)
   - Primary cyan-blue (#4a8eff), secondary slate (#2a3f5f), accent amber (#ff9d00) for CTAs
   - System font stack (system-ui) matching workmaite.com
   - Subtle checker SVG hero overlay
   Self-contained standalone stylesheet for the anonymous marketing surface
   (Marketing one-pager, /schedule-a-call, /reschedule/{guid}). */

:root {
    --wp-primary: #4a8eff;
    --wp-primary-dark: #2f6fd9;
    --wp-secondary: #2a3f5f;
    --wp-accent: #ff9d00;
    --wp-accent-dark: #e08e00;
    --wp-ink: #f8f9fa;            /* near-white text on dark */
    --wp-ink-muted: #adb5bd;      /* muted light body text */
    --wp-ink-strong: #ffffff;     /* pure white headings */
    --wp-bg: #212529;             /* dark base */
    --wp-bg-soft: #2a3036;        /* one tier lighter for alternating sections */
    --wp-bg-card: rgba(255, 255, 255, 0.05);
    --wp-bg-card-hover: rgba(255, 255, 255, 0.08);
    --wp-border: rgba(255, 255, 255, 0.1);
    --wp-border-strong: rgba(255, 255, 255, 0.18);
    --wp-radius: 8px;
    --wp-radius-lg: 12px;
    --wp-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    --wp-shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.35);
}

body.wp-public {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--wp-ink-muted);
    background: var(--wp-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wp-public h1, .wp-public h2, .wp-public h3, .wp-public h4, .wp-public h5, .wp-public h6 {
    color: var(--wp-ink-strong);
}

.wp-public a { color: var(--wp-primary); text-decoration: none; }
.wp-public a:hover { color: var(--wp-accent); }

/* ===== Header ===== */
.wp-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #000;
    border-bottom: 1px solid var(--wp-border);
}
.wp-brand-logo { height: 36px; width: auto; }
.wp-nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color .15s;
}
.wp-nav-link:hover { color: var(--wp-accent) !important; }

/* Header sign-in padlock — always-visible auth shortcut, mobile + desktop.
   `.wp-public` is scoped to body so we need it on the selector to outweigh
   the generic `.wp-public a` rule that otherwise paints the icon primary-blue. */
.wp-public .wp-header-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--wp-radius);
    color: var(--wp-ink-muted);
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    transition: color .15s, background-color .15s;
}
.wp-public .wp-header-signin:hover,
.wp-public .wp-header-signin:focus {
    color: var(--wp-accent);
    background: rgba(255, 157, 0, 0.08);
    text-decoration: none;
}

/* ===== Buttons =====
   Primary CTAs across the marketing surface use the workmaite.com amber accent
   colour. We're overriding Bootstrap's btn-primary inside .wp-public scope so
   every existing `.btn btn-primary` markup pops in the brand orange without
   changing any cshtml. */
.wp-public .btn-primary,
.btn-primary.wp-cta-btn {
    background: var(--wp-accent) !important;
    border-color: var(--wp-accent) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--wp-radius);
    padding: 0.65rem 1.5rem;
    box-shadow: 0 6px 18px rgba(255, 157, 0, 0.30);
    transition: all .2s;
}
.wp-public .btn-primary:hover,
.btn-primary.wp-cta-btn:hover {
    background: var(--wp-accent-dark) !important;
    border-color: var(--wp-accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(224, 142, 0, 0.40);
    color: #fff !important;
}
.btn-lg.wp-cta-btn { padding: 0.85rem 2rem; font-size: 1.05rem; }

/* Secondary "btn-light" inside the gradient/CTA sections — outlined-on-dark style */
.wp-public .btn-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--wp-radius);
    padding: 0.65rem 1.5rem;
    transition: all .2s;
}
.wp-public .btn-light:hover {
    background: #fff;
    color: var(--wp-bg) !important;
    transform: translateY(-1px);
}

.wp-link-quiet {
    color: var(--wp-ink-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.wp-link-quiet:hover { color: var(--wp-accent); }

/* ===== Hero =====
   Dark hero with a subtle 50/50 checker overlay — the workmaite.com hero
   signature. Pattern is the same SVG, inlined here, at low opacity. */
.wp-hero {
    background-color: var(--wp-bg);
    padding: 8rem 0 7rem;
    position: relative;
    overflow: hidden;
}
.wp-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="%23ffffff" fill-opacity="0.05" x="0" y="0" width="50" height="50"/><rect fill="%23ffffff" fill-opacity="0.05" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}
.wp-hero > .container { position: relative; z-index: 1; }

.wp-eyebrow {
    display: inline-block;
    background: rgba(255, 157, 0, 0.15);
    color: var(--wp-accent);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 157, 0, 0.30);
}
.wp-hero-headline {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--wp-ink-strong);
    margin-bottom: 1.25rem;
}
.wp-hero-sub {
    font-size: 1.15rem;
    color: var(--wp-ink-muted);
    max-width: 36rem;
}

.wp-hero-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--wp-radius-lg);
    box-shadow: var(--wp-shadow-lg);
    padding: 1.75rem;
    border: 1px solid var(--wp-border);
    backdrop-filter: blur(8px);
}
.wp-hero-compare { display: flex; flex-direction: column; gap: 0.75rem; }
.wp-compare-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-radius: var(--wp-radius);
}
.wp-compare-them {
    background: rgba(255, 255, 255, 0.04);
    color: var(--wp-ink-muted);
    border: 1px solid var(--wp-border);
}
.wp-compare-us {
    background: rgba(255, 157, 0, 0.12);
    color: var(--wp-ink-strong);
    border: 2px solid var(--wp-accent);
}
.wp-compare-tag { font-weight: 600; }
.wp-compare-time { font-weight: 700; font-size: 1.1rem; }
.wp-compare-us .wp-compare-time { color: var(--wp-accent); }
.wp-hero-card-foot {
    display: flex;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--wp-border);
    color: var(--wp-ink-muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.wp-hero-card-foot i { color: var(--wp-accent); }

/* ===== Sections ===== */
.wp-section { padding: 5rem 0; position: relative; }
.wp-section-light { background: var(--wp-bg); }       /* dark — keeping the class name for cshtml compat */
.wp-section-soft { background: var(--wp-bg-soft); }
.wp-section-gradient {
    background: var(--wp-bg);
    color: #fff;
    position: relative;
}
.wp-section-gradient::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    pointer-events: none;
}
.wp-section-gradient > .container { position: relative; z-index: 1; }
.wp-section-gradient .wp-section-h,
.wp-section-gradient .wp-section-sub { color: #fff; }

.wp-section-h {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--wp-ink-strong);
    margin-bottom: 1rem;
}
.wp-section-sub {
    font-size: 1.1rem;
    color: var(--wp-ink-muted);
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Soft cards (Problem section) ===== */
.wp-card-soft {
    background: var(--wp-bg-card);
    border-radius: var(--wp-radius-lg);
    padding: 2rem;
    border: 1px solid var(--wp-border);
    transition: transform .2s, box-shadow .2s, background-color .2s;
    height: 100%;
}
.wp-card-soft:hover {
    transform: translateY(-6px);
    background: var(--wp-bg-card-hover);
    box-shadow: var(--wp-shadow);
}
.wp-card-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: rgba(74, 142, 255, 0.15);
    color: var(--wp-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(74, 142, 255, 0.30);
}
.wp-card-h { font-size: 1.25rem; font-weight: 600; color: var(--wp-ink-strong); margin-bottom: 0.5rem; }
.wp-card-body { color: var(--wp-ink-muted); font-size: 0.97rem; }

/* ===== Checklist (Solution section, white text on dark) ===== */
.wp-checklist { list-style: none; padding: 0; margin: 0; }
.wp-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.7rem 0;
    color: var(--wp-ink-strong);
    font-weight: 500;
}
.wp-checklist li i {
    font-size: 1.4rem;
    color: var(--wp-accent);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* ===== Service cards ===== */
.wp-service-card {
    background: var(--wp-bg-card);
    border-radius: var(--wp-radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--wp-border);
    transition: all .2s;
    height: 100%;
}
.wp-service-card:hover {
    transform: translateY(-6px);
    background: var(--wp-bg-card-hover);
    border-color: var(--wp-primary);
    box-shadow: var(--wp-shadow);
}
.wp-service-icon {
    width: 48px; height: 48px; border-radius: 10px;
    background: rgba(74, 142, 255, 0.15);
    color: var(--wp-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(74, 142, 255, 0.30);
}
.wp-service-h { font-size: 1.15rem; font-weight: 600; color: var(--wp-ink-strong); margin-bottom: 0.5rem; }
.wp-service-body { color: var(--wp-ink-muted); font-size: 0.95rem; }

/* ===== Steps (Process section) ===== */
.wp-step-card {
    background: var(--wp-bg-card);
    border-radius: var(--wp-radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--wp-border);
    height: 100%;
    transition: transform .3s ease;
}
.wp-step-card:hover { transform: translateY(-10px); }
.wp-step-num {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 50px; height: 50px;
    border-radius: 999px;
    background: var(--wp-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}
.wp-step-h { font-size: 1.2rem; font-weight: 600; color: var(--wp-ink-strong); margin-bottom: 0.5rem; }
.wp-step-body { color: var(--wp-ink-muted); }

/* ===== Compare table ===== */
.wp-compare-table-wrap {
    background: var(--wp-bg-card);
    border-radius: var(--wp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--wp-border);
}
/* Override Bootstrap's --bs-table-bg + --bs-table-color so the compare table
   inherits the dark surround instead of flashing white in tbody td cells. */
.wp-compare-table {
    margin: 0;
    color: var(--wp-ink-muted);
    --bs-table-bg: transparent;
    --bs-table-color: var(--wp-ink-muted);
    --bs-table-border-color: var(--wp-border);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-striped-color: var(--wp-ink);
    --bs-table-hover-bg: rgba(255, 157, 0, 0.06);
    --bs-table-hover-color: var(--wp-ink-strong);
    background: transparent;
}
.wp-compare-table thead th {
    background: rgba(74, 142, 255, 0.15);
    color: var(--wp-ink-strong);
    font-weight: 600;
    border-bottom: 1px solid var(--wp-border);
    padding: 1rem 1.25rem;
}
.wp-compare-table tbody th {
    font-weight: 600;
    color: var(--wp-ink-strong);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.25rem;
    width: 25%;
    border-color: var(--wp-border);
}
.wp-compare-table tbody td {
    padding: 1rem 1.25rem;
    color: var(--wp-ink-muted);
    background: transparent;
    border-color: var(--wp-border);
}
.wp-compare-table tbody tr td:last-child {
    color: var(--wp-ink-strong);
    font-weight: 500;
}
.wp-compare-table .text-primary { color: var(--wp-accent) !important; }

/* ===== Testimonials ===== */
.wp-testimonial {
    background: var(--wp-bg-card);
    border-radius: var(--wp-radius-lg);
    padding: 2rem;
    border: 1px solid var(--wp-border);
    position: relative;
    height: 100%;
}
.wp-testimonial-quote {
    color: var(--wp-accent);
    font-size: 2rem;
    opacity: 0.75;
    margin-bottom: 0.5rem;
}
.wp-testimonial-body { color: var(--wp-ink); font-style: italic; margin-bottom: 1.25rem; }
.wp-testimonial-foot strong { display: block; color: var(--wp-ink-strong); font-weight: 600; }
.wp-testimonial-foot span { color: var(--wp-ink-muted); font-size: 0.9rem; }

/* ===== Final CTA (uses the workmaite.com secondary slate as a band) ===== */
.wp-section-cta {
    background: var(--wp-secondary);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.wp-section-cta::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="%23ffffff" fill-opacity="0.05" x="0" y="0" width="50" height="50"/><rect fill="%23ffffff" fill-opacity="0.05" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.25;
    pointer-events: none;
}
.wp-section-cta > .container { position: relative; z-index: 1; }
.wp-cta-h { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; color: #fff; }
.wp-cta-body { font-size: 1.1rem; opacity: 0.95; max-width: 36rem; margin: 0 auto; color: rgba(255, 255, 255, 0.9); }

/* Override the generic btn-light treatment inside CTA/gradient sections to a
   solid amber accent button — the headline CTA in workmaite.com's style */
.wp-section-cta .btn-light,
.wp-section-gradient .btn-light {
    background: var(--wp-accent);
    border: 1px solid var(--wp-accent);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--wp-radius);
    padding: 0.85rem 2rem;
    box-shadow: 0 6px 18px rgba(255, 157, 0, 0.30);
    transition: all .2s;
}
.wp-section-cta .btn-light:hover,
.wp-section-gradient .btn-light:hover {
    background: var(--wp-accent-dark);
    border-color: var(--wp-accent-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(224, 142, 0, 0.40);
}

/* ===== Footer ===== */
.wp-footer {
    background: #000;
    color: rgba(255, 255, 255, 0.85);
    border-top: 1px solid var(--wp-border);
}
.wp-footer-logo { height: 32px; }
.wp-footer-tag { color: rgba(255, 255, 255, 0.7); max-width: 28rem; }
.wp-footer-h { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.wp-footer-links li { margin-bottom: 0.5rem; }
.wp-footer-links a { color: rgba(255, 255, 255, 0.7); }
.wp-footer-links a:hover { color: var(--wp-accent); }
.wp-footer-rule { border-color: rgba(255, 255, 255, 0.1); margin: 2rem 0 1.5rem; }
.wp-footer-copy { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; }

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .wp-section { padding: 3rem 0; }
    .wp-hero { padding: 4rem 0 4rem; }
    .wp-hero-card { margin-top: 1.5rem; }
    .wp-nav { display: none; }
}

/* ===== Booking form (reused on /schedule-a-call and /reschedule/{guid}) ===== */
.wp-booking-shell {
    max-width: 720px;
    margin: 0 auto;
    background: var(--wp-bg-card);
    border-radius: var(--wp-radius-lg);
    box-shadow: var(--wp-shadow-lg);
    padding: 2.5rem;
    border: 1px solid var(--wp-border);
    color: var(--wp-ink-muted);
}
.wp-booking-shell h3,
.wp-booking-shell h4 { color: var(--wp-ink-strong); }
.wp-booking-shell .text-muted { color: var(--wp-ink-muted) !important; }
.wp-booking-shell .alert-info {
    background: rgba(74, 142, 255, 0.10);
    border: 1px solid rgba(74, 142, 255, 0.30);
    color: var(--wp-ink-strong);
}
.wp-booking-shell .alert-danger {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #ffb3bb;
}
.wp-booking-shell .alert-warning {
    background: rgba(255, 157, 0, 0.12);
    border: 1px solid rgba(255, 157, 0, 0.35);
    color: var(--wp-accent);
}
.wp-booking-shell .text-primary {
    color: var(--wp-accent) !important;
}
.wp-booking-shell .text-danger {
    color: #ff7a85 !important;
}
.wp-booking-step { display: none; }
.wp-booking-step.is-active { display: block; }
.wp-slot-grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.wp-slot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--wp-border);
    border-radius: var(--wp-radius);
    padding: 0.6rem 0.4rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wp-ink);
    transition: all .15s;
}
.wp-slot:hover {
    border-color: var(--wp-accent);
    color: var(--wp-accent);
    background: rgba(255, 157, 0, 0.08);
}
.wp-slot.is-selected {
    background: var(--wp-accent);
    border-color: var(--wp-accent);
    color: #fff;
}
.wp-slot.is-disabled { opacity: 0.4; cursor: not-allowed; }
/* Day-filter chips above the slot grid. Defaults to "From tomorrow"; "Include today"
   shows on the right when today still has open slots — clicking it brings today back
   into the grid without leaving the page. */
.wp-day-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.wp-day-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--wp-border-strong);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    color: var(--wp-ink-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.wp-day-chip:hover {
    border-color: var(--wp-accent);
    color: var(--wp-accent);
}
.wp-day-chip.is-active {
    background: var(--wp-accent);
    border-color: var(--wp-accent);
    color: #fff;
}
.wp-day-heading {
    grid-column: 1 / -1;
    font-weight: 600;
    color: var(--wp-ink-strong);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--wp-border);
}
.wp-form-row { margin-bottom: 1rem; }
.wp-form-row label {
    font-weight: 600;
    color: var(--wp-ink-strong);
    margin-bottom: 0.35rem;
    display: block;
}
.wp-form-row .form-control,
.wp-form-row .form-select {
    border-radius: var(--wp-radius);
    border-color: var(--wp-border-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--wp-ink);
    padding: 0.6rem 0.85rem;
}
.wp-form-row .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.wp-form-row .form-control:focus,
.wp-form-row .form-select:focus {
    border-color: var(--wp-accent);
    background: rgba(255, 255, 255, 0.07);
    color: var(--wp-ink-strong);
    box-shadow: 0 0 0 0.2rem rgba(255, 157, 0, 0.20);
}
/* Select dropdown options need dark background for readability on Windows/Chrome */
.wp-form-row .form-select option {
    background: var(--wp-bg);
    color: var(--wp-ink);
}
.wp-form-help { font-size: 0.85rem; color: var(--wp-ink-muted); margin-top: 0.25rem; }

/* Salesperson admin slot grid (admin booking surface — kept on dark theme for consistency) */
.wp-slot-admin {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    gap: 1px;
    background: var(--wp-border);
    border: 1px solid var(--wp-border);
    border-radius: var(--wp-radius);
    overflow: hidden;
    margin-top: 1rem;
}
.wp-slot-admin-cell {
    background: var(--wp-bg-soft);
    color: var(--wp-ink);
    padding: 0.5rem;
    font-size: 0.78rem;
    cursor: pointer;
    text-align: center;
    transition: background .1s;
    min-height: 32px;
}
.wp-slot-admin-cell.wp-th {
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
    cursor: default;
    color: var(--wp-ink-strong);
}
.wp-slot-admin-cell.wp-bookable {
    background: #2d8c4f;
    color: #fff;
}
.wp-slot-admin-cell.wp-booked {
    background: #c45264;
    color: #fff;
    cursor: not-allowed;
}
.wp-slot-admin-cell.wp-past {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}
.wp-slot-admin-cell:not(.wp-th):not(.wp-past):hover {
    background: rgba(255, 157, 0, 0.15);
}
