/* Shared industry vertical pages — matches main site (index.html) theme & typography */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --success: #10b981;
    --warning: #0ea5e9;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
    --soft-panel-bg: rgba(59, 130, 246, 0.08);
    --soft-panel-border: rgba(59, 130, 246, 0.35);
}
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #eef2f7;
    --bg-card: #ffffff;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: #dbe3ef;
    --success: #059669;
    --warning: #0284c7;
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    --soft-panel-bg: rgba(59, 130, 246, 0.08);
    --soft-panel-border: rgba(59, 130, 246, 0.35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }
a { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(10, 15, 26, 0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}
nav .container {
    display: flex; justify-content: flex-start; align-items: center;
    gap: 32px;
    height: 64px;
}
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; text-decoration: none; color: var(--text-primary); }
.logo span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 28px; }
nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; }
nav a:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--accent); color: white !important; padding: 8px 18px;
    border-radius: 6px; font-weight: 600; font-size: 14px;
}
.nav-cta:hover { background: var(--accent-hover); }
span.nav-cta-here,
.nav-cta-here {
    background: var(--accent-hover);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    border: 1px solid var(--accent-hover);
    cursor: default;
    pointer-events: none;
}
.auth-btn,
a.auth-btn {
    text-decoration: none;
    background: transparent;
    color: var(--text-primary) !important;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    transition: border-color 0.15s, background 0.15s;
}
.auth-btn:hover {
    border-color: var(--text-muted);
    background: rgba(148, 163, 184, 0.08);
}
.auth-btn-ghost,
a.auth-btn-ghost {
    border-color: rgba(59, 130, 246, 0.45);
    color: var(--accent) !important;
    background: transparent;
}
.auth-btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}
[data-theme="light"] .auth-btn-ghost:hover {
    background: rgba(37, 99, 235, 0.08);
}
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Older cached HTML: hide Sign up in nav (App Login + Contact Sales stay). */
.header-actions a[href*="sign-up" i],
.header-actions a[href*="signup" i] {
    display: none !important;
}
.theme-toggle {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 44px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0; font-size: 16px; font-weight: 600; cursor: pointer;
}
.theme-toggle:hover { color: var(--text-primary); border-color: var(--text-muted); }
.menu-toggle {
    display: none; background: none; border: 0; color: var(--text-primary);
    font-size: 22px; cursor: pointer; padding: 4px 8px;
}

.breadcrumb {
    padding: 88px 0 0 0; font-size: 13px; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-secondary); }

.hero {
    padding: 24px 0 64px; text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.10) 0%, transparent 60%);
}
.hero-eyebrow {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3);
    color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: 44px; font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.hero h1 .gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p.lede { font-size: 19px; color: var(--text-secondary); max-width: 760px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons aligned with main homepage */
.btn-primary {
    background: var(--accent); color: white; padding: 14px 32px;
    border-radius: 6px; font-weight: 600; font-size: 16px;
    text-decoration: none; display: inline-block;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.btn-secondary {
    background: transparent; color: var(--text-primary); padding: 14px 32px;
    border-radius: 6px; font-weight: 600; font-size: 16px;
    text-decoration: none; display: inline-block;
    border: 1px solid var(--border);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.btn-secondary:hover {
    border-color: var(--text-muted);
    background: rgba(148, 163, 184, 0.08);
    transform: translateY(-1px);
}

section { padding: 72px 0; }
section h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
section .eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: var(--accent); letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 12px;
}
section .section-sub { font-size: 17px; color: var(--text-secondary); max-width: 760px; margin-bottom: 40px; }

.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 6px; padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .pain-card {
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.pain-card p { font-size: 15px; color: var(--text-secondary); }
.pain-card strong { color: var(--text-primary); }

.table-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; overflow-x: auto;
}
table.feature-table { width: 100%; border-collapse: collapse; }
.feature-table th {
    text-align: left; padding: 14px 18px;
    color: var(--text-muted); font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}
[data-theme="light"] .feature-table th {
    background: rgba(15, 23, 42, 0.04);
}
.feature-table td {
    padding: 14px 18px; font-size: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.feature-table tr:last-child td { border-bottom: 0; }
.feature-table td.wf-id { color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-weight: 600; white-space: nowrap; }
.feature-table td.wf-name { color: var(--text-primary); font-weight: 500; }
.feature-table td.saves { color: var(--success); white-space: nowrap; font-variant-numeric: tabular-nums; }
.feature-table tr:hover td { background: rgba(59,130,246,0.04); }

.roi-table th, .roi-table td { text-align: left; }
.roi-table td.col-manual { color: var(--text-secondary); }
.roi-table td.col-gdc { color: var(--success); font-weight: 600; }

.feature-highlight {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 16px; padding: 40px;
}
.feature-highlight h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.feature-highlight p { font-size: 16px; color: var(--text-secondary); }

.cta-card {
    background: var(--bg-card); border: 1px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    border-radius: 16px; padding: 40px; text-align: center;
}
.cta-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-card p { color: var(--text-secondary); margin-bottom: 24px; }
.cta-card ul {
    list-style: none; max-width: 480px; margin: 0 auto 28px;
    text-align: left; font-size: 15px; color: var(--text-secondary);
}
.cta-card li { padding: 6px 0; }
.cta-card li::before { content: "✓ "; color: var(--success); font-weight: 700; }

.industry-diagram {
    background: linear-gradient(180deg, rgba(59,130,246,0.08), rgba(59,130,246,0.03));
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 14px;
    padding: 18px;
    margin: 0 0 42px;
}
.industry-diagram svg { width: 100%; height: auto; display: block; }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 6px; padding: 20px; text-decoration: none;
    color: var(--text-primary); display: flex; gap: 12px; align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.related-card:hover {
    border-color: rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}
.related-card .icon {
    font-size: 20px;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.24);
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.08);
}
.related-card .name { font-size: 14px; font-weight: 600; }

footer {
    border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 48px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text-muted); }
.footer-grid a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: var(--text-primary); }
.footer-industry-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 14px;
    margin-top: 10px;
}
.footer-industry-links a { font-size: 13px; padding: 3px 0; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 13px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 34px; }
    .pain-grid, .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav ul {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column;
        padding: 16px 24px; border-bottom: 1px solid var(--border);
    }
    nav ul.open { display: flex; }
    nav ul li { padding: 8px 0; }
    [data-theme="light"] nav ul {
        background: rgba(255, 255, 255, 0.98);
    }
    :root:not([data-theme="light"]) nav ul {
        background: rgba(10, 15, 26, 0.97);
    }
    .menu-toggle { display: inline-block; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas a { width: 100%; text-align: center; }
    .container { padding: 0 16px; }
    .header-actions .nav-cta { display: none; }
}
