/* CrawlReady AI — marketing & tool pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --cr-brand: #2563eb;
    --cr-brand-dark: #1d4ed8;
    --cr-ink: #0f172a;
    --cr-muted: #64748b;
    --cr-border: #e2e8f0;
    --cr-surface: #f8fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Header CTA */
.cr-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.cr-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: #fff;
}

/* Hero */
.cr-hero {
    position: relative;
    overflow: hidden;
}

.cr-hero-light {
    background: linear-gradient(165deg, #eff6ff 0%, #ffffff 45%, #eef2ff 100%);
}

.cr-hero-dark {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
    color: #fff;
}

.cr-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.cr-hero-glow-a { width: 420px; height: 420px; background: #93c5fd; top: -120px; right: -80px; }
.cr-hero-glow-b { width: 320px; height: 320px; background: #a5b4fc; bottom: -100px; left: -60px; }

.cr-hero-inner {
    position: relative;
    z-index: 1;
}

.cr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cr-hero-light .cr-eyebrow {
    background: #dbeafe;
    color: #1d4ed8;
}

.cr-hero-dark .cr-eyebrow {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.25);
}

.cr-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.cr-hero-lead {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    max-width: 36rem;
}

.cr-hero-light .cr-hero-lead { color: #475569; }
.cr-hero-dark .cr-hero-lead { color: #cbd5e1; }

.cr-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
}

.cr-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cr-hero-light .cr-trust-pill {
    background: #fff;
    color: #334155;
    border: 1px solid var(--cr-border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.cr-hero-dark .cr-trust-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cr-trust-pill svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* Scan card */
.cr-scan-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 0.5rem;
    box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.2), 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.cr-scan-card-label {
    padding: 0.75rem 1rem 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cr-muted);
    text-align: left;
}

.cr-scan-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    border: 0;
    border-radius: 0.875rem;
    background: #f8fafc;
    color: var(--cr-ink);
}

.cr-scan-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: #fff;
}

.cr-scan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.cr-scan-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.cr-scan-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Report preview mock */
.cr-preview-mock {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.cr-preview-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cr-preview-score {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.cr-preview-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cr-preview-row:last-child { border-bottom: 0; }

.cr-preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cr-preview-dot.pass { background: #10b981; }
.cr-preview-dot.warn { background: #f59e0b; }
.cr-preview-dot.fail { background: #ef4444; }

/* Section headers */
.cr-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.cr-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--cr-ink);
    letter-spacing: -0.02em;
}

.cr-section-lead {
    font-size: 1.125rem;
    color: var(--cr-muted);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

/* Bot strip */
.cr-bot-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.cr-bot-chip {
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--cr-border);
    color: #334155;
}

/* Steps */
.cr-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cr-steps { grid-template-columns: repeat(3, 1fr); }
}

.cr-step {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--cr-border);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.cr-step:hover {
    border-color: #bfdbfe;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
}

.cr-step-num {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9375rem;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
}

.cr-step h3 {
    font-weight: 700;
    color: var(--cr-ink);
    margin-bottom: 0.35rem;
}

.cr-step p {
    font-size: 0.875rem;
    color: var(--cr-muted);
    line-height: 1.5;
}

/* Feature cards */
.cr-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) { .cr-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cr-feature-grid { grid-template-columns: repeat(3, 1fr); } }

.cr-feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--cr-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cr-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border-color: #c7d2fe;
}

.cr-feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cr-feature-card h3 {
    font-weight: 700;
    color: var(--cr-ink);
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.cr-feature-card p {
    font-size: 0.875rem;
    color: var(--cr-muted);
    line-height: 1.55;
}

/* Compare visual */
.cr-compare-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cr-compare-box { grid-template-columns: 1fr 1fr; }
}

.cr-compare-panel {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--cr-border);
}

.cr-compare-panel h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.cr-compare-panel.you { background: #fef2f2; border-color: #fecaca; }
.cr-compare-panel.you h4 { color: #b91c1c; }
.cr-compare-panel.us { background: #eff6ff; border-color: #bfdbfe; }
.cr-compare-panel.us h4 { color: #1d4ed8; }

.cr-compare-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #475569;
}

.cr-compare-panel li {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.cr-compare-panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}
