/* ═══════════════════════════════════════════════
   InspectProf — Landing Page Styles
   Design system: Navy + Electric Blue + Emerald
═══════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────── */
:root {
    --ip-navy:      #0F172A;
    --ip-navy-mid:  #1E293B;
    --ip-slate:     #475569;
    --ip-slate-light: #94A3B8;
    --ip-blue:      #2563EB;
    --ip-blue-dark: #1D4ED8;
    --ip-green:     #10B981;
    --ip-green-dark:#059669;
    --ip-bg:        #FFFFFF;
    --ip-bg-light:  #F8FAFC;
    --ip-border:    #E2E8F0;
    --ip-radius:    10px;
    --ip-radius-lg: 16px;
    --ip-shadow:    0 1px 3px rgba(15,23,42,.08), 0 4px 16px rgba(15,23,42,.06);
    --ip-shadow-md: 0 4px 24px rgba(15,23,42,.12);
}

/* ── Base ────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ip-navy);
    background: var(--ip-bg);
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ─────────────────────────────────────── */
.ip-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ip-border);
}

.ip-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--ip-navy);
    text-decoration: none;
    letter-spacing: -.3px;
}

.ip-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--ip-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 7px;
    letter-spacing: 0;
    flex-shrink: 0;
}

.ip-logo-footer { color: var(--ip-slate-light); }
.ip-logo-footer .ip-logo-mark { background: var(--ip-navy-mid); }

.ip-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ip-slate);
    text-decoration: none;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.ip-nav-link:hover {
    color: var(--ip-navy);
    border-bottom-color: var(--ip-blue);
}

/* ── Buttons ─────────────────────────────────── */
.ip-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border-radius: var(--ip-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
    border: 1.5px solid transparent;
    line-height: 1.4;
    white-space: nowrap;
}

.ip-btn-primary {
    background: var(--ip-blue);
    color: #fff;
    border-color: var(--ip-blue);
}
.ip-btn-primary:hover {
    background: var(--ip-blue-dark);
    border-color: var(--ip-blue-dark);
    color: #fff;
}

.ip-btn-ghost {
    background: transparent;
    color: var(--ip-slate);
    border-color: transparent;
}
.ip-btn-ghost:hover {
    background: var(--ip-bg-light);
    color: var(--ip-navy);
}

.ip-btn-outline {
    background: transparent;
    color: var(--ip-navy);
    border-color: var(--ip-border);
}
.ip-btn-outline:hover {
    background: var(--ip-bg-light);
    border-color: var(--ip-slate-light);
    color: var(--ip-navy);
}

.ip-btn-white {
    background: #fff;
    color: var(--ip-blue);
    border-color: #fff;
}
.ip-btn-white:hover {
    background: var(--ip-bg-light);
    color: var(--ip-blue-dark);
}

.ip-btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.ip-btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,.08);
    color: #fff;
}

.ip-btn-lg {
    padding: 13px 28px;
    font-size: 15px;
    border-radius: 11px;
}

/* ── Section scaffolding ─────────────────────── */
.ip-section {
    padding: 96px 0;
}

.ip-section-light {
    background: var(--ip-bg-light);
}

.ip-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ip-blue);
    margin-bottom: 14px;
}

.ip-section-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.5px;
    color: var(--ip-navy);
    margin-bottom: 16px;
}

.ip-section-sub {
    font-size: 16px;
    color: var(--ip-slate);
    max-width: 520px;
    margin: 0 auto;
}

/* ── Hero ────────────────────────────────────── */
.ip-hero {
    padding: 80px 0 96px;
    background: var(--ip-bg);
    overflow: hidden;
}

.ip-headline {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.8px;
    color: var(--ip-navy);
    margin-bottom: 20px;
}

.ip-headline-accent { color: var(--ip-blue); }

.ip-subheadline {
    font-size: 17px;
    color: var(--ip-slate);
    max-width: 480px;
    line-height: 1.7;
}

.ip-hero-note {
    font-size: 12px;
    color: var(--ip-slate-light);
    margin: 0;
}

/* ── Mockup ──────────────────────────────────── */
.ip-mockup-frame {
    background: #fff;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius-lg);
    box-shadow: var(--ip-shadow-md);
    overflow: hidden;
}

.ip-mockup-bar {
    background: var(--ip-bg-light);
    border-bottom: 1px solid var(--ip-border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.ip-dot-red    { background: #FF5F57; }
.ip-dot-yellow { background: #FFBD2E; }
.ip-dot-green  { background: #28C840; }

.ip-mockup-url {
    font-size: 11px;
    color: var(--ip-slate-light);
    margin-left: 6px;
    font-family: monospace;
}

.ip-mockup-body { padding: 20px; }

.ip-mock-header {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ip-border);
}

.ip-mock-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(37,99,235,.1);
    color: var(--ip-blue);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ip-mock-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ip-navy);
    margin-bottom: 4px;
}

.ip-mock-meta {
    font-size: 11px;
    color: var(--ip-slate-light);
}

.ip-mock-section {
    margin-bottom: 16px;
}

.ip-mock-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ip-slate);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.ip-mock-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ip-mock-chip {
    padding: 5px 12px;
    border: 1px solid var(--ip-border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ip-slate);
    cursor: pointer;
}

.ip-chip-pass {
    background: rgba(16,185,129,.1);
    border-color: rgba(16,185,129,.3);
    color: var(--ip-green-dark);
}

.ip-mock-photos {
    display: flex;
    gap: 8px;
}

.ip-mock-photo {
    width: 56px;
    height: 56px;
    border: 1px solid var(--ip-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ip-slate-light);
    background: var(--ip-bg-light);
    font-size: 18px;
}

.ip-photo-add {
    border-style: dashed;
    cursor: pointer;
}

.ip-mock-sig {
    border: 1px solid var(--ip-border);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--ip-bg-light);
    height: 64px;
    display: flex;
    align-items: center;
}

.ip-sig-svg {
    width: 100%;
    height: 48px;
}

.ip-mock-footer { margin-top: 16px; }

.ip-mock-progress {
    height: 6px;
    background: var(--ip-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.ip-mock-progress-bar {
    height: 100%;
    background: var(--ip-blue);
    border-radius: 3px;
}

.ip-mock-progress-label {
    font-size: 11px;
    color: var(--ip-slate-light);
}

/* ── Trust bar ───────────────────────────────── */
.ip-trust-bar {
    padding: 28px 0;
    border-top: 1px solid var(--ip-border);
    border-bottom: 1px solid var(--ip-border);
    background: var(--ip-bg);
}

.ip-trust-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ip-slate-light);
    margin-bottom: 14px;
}

.ip-trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ip-slate);
}

/* ── Problem cards ───────────────────────────── */
.ip-problem-card {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 28px;
    height: 100%;
}

.ip-problem-icon {
    width: 42px;
    height: 42px;
    background: var(--ip-bg-light);
    border: 1px solid var(--ip-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--ip-slate);
    margin-bottom: 14px;
}

.ip-problem-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ip-navy);
}

.ip-problem-card p {
    font-size: 14px;
    color: var(--ip-slate);
    margin: 0;
}

/* ── Workflow rail ────────────────────────────── */
.ip-workflow {
    position: relative;
    padding-top: 8px;
}

.ip-workflow-step {
    padding: 0 16px;
    position: relative;
}

.ip-workflow-node {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    border: 3px solid #fff;
    box-shadow: var(--ip-shadow);
}

.ip-node-blue {
    background: var(--ip-blue);
    color: #fff;
}

.ip-node-green {
    background: var(--ip-green);
    color: #fff;
}

.ip-workflow-step h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ip-navy);
    margin-bottom: 8px;
}

.ip-workflow-step p {
    font-size: 13px;
    color: var(--ip-slate);
    margin: 0;
}

/* Horizontal connector line (desktop) */
.ip-workflow .row {
    position: relative;
}

.ip-workflow .row::before {
    content: '';
    position: absolute;
    top: 26px; /* half node height */
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--ip-blue) 50%, var(--ip-green) 100%);
    z-index: 1;
}

@media (max-width: 767px) {
    .ip-workflow .row::before { display: none; }
}

/* ── Feature cards ───────────────────────────── */
.ip-feature-card {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 28px;
    height: 100%;
    transition: box-shadow .2s, border-color .2s;
}

.ip-feature-card:hover {
    box-shadow: var(--ip-shadow-md);
    border-color: #C7D2E8;
}

.ip-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(37,99,235,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--ip-blue);
    margin-bottom: 16px;
}

.ip-feature-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ip-navy);
    margin-bottom: 8px;
}

.ip-feature-card p {
    font-size: 14px;
    color: var(--ip-slate);
    margin: 0;
}

/* ── Benefits ─────────────────────────────────── */
.ip-benefit {
    padding: 24px;
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    background: var(--ip-bg-light);
    height: 100%;
}

.ip-benefit-stat {
    font-size: 36px;
    font-weight: 800;
    color: var(--ip-blue);
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.ip-benefit-check {
    font-size: 32px;
    color: var(--ip-green);
}

.ip-benefit-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ip-navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ip-benefit p {
    font-size: 13px;
    color: var(--ip-slate);
    margin: 0;
}

/* ── Testimonials ────────────────────────────── */
.ip-testimonial {
    background: var(--ip-bg);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    padding: 28px;
    height: 100%;
}

.ip-testimonial-stars {
    color: #F59E0B;
    font-size: 13px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.ip-testimonial p {
    font-size: 14px;
    color: var(--ip-slate);
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.7;
}

.ip-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-testimonial-avatar {
    width: 36px;
    height: 36px;
    background: var(--ip-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ip-testimonial-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ip-navy);
}

.ip-testimonial-role {
    font-size: 12px;
    color: var(--ip-slate-light);
}

/* ── CTA section ─────────────────────────────── */
.ip-cta-section {
    background: var(--ip-navy);
    padding: 96px 0;
}

.ip-cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.ip-cta-sub {
    font-size: 16px;
    color: var(--ip-slate-light);
    margin-bottom: 0;
}

.ip-cta-note {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    margin: 0;
}

/* ── Footer ──────────────────────────────────── */
.ip-footer {
    background: var(--ip-navy-mid);
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

.ip-footer-link {
    font-size: 13px;
    color: var(--ip-slate-light);
    text-decoration: none;
    transition: color .15s;
}
.ip-footer-link:hover { color: #fff; }

.ip-footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,.25);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991px) {
    .ip-hero { padding: 56px 0 64px; }
    .ip-section { padding: 64px 0; }
    .ip-cta-section { padding: 64px 0; }
}

@media (max-width: 767px) {
    .ip-mockup-frame { margin-top: 8px; }
    .ip-section-sub { max-width: 100%; }
    .ip-hero { text-align: center; }
    .ip-subheadline { margin: 0 auto; }
    .ip-hero .d-flex { justify-content: center; }
    .ip-hero-note { text-align: center; }
    .ip-workflow-step { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}