/*
 *	marketing.css
 *
 *	Public site styling. Deliberately separate from the application's app.css,
 *	which carries dashboard chrome we do not want here. Shares Bootstrap and
 *	Boxicons with the app so the two feel like one product.
 */

:root {
	--p-ink:      #1e2a3a;
	--p-muted:    #64748b;
	--p-accent:   #0d6efd;
	--p-accent-2: #6610f2;
	--p-surface:  #f6f8fb;
	--p-border:   #e4e9f2;
}

body {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--p-ink);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.02em; }

/* ---------- nav ---------- */
.site-nav {
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--p-border);
	position: sticky; top: 0; z-index: 1030;
}
.site-nav .navbar-brand { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.site-nav .nav-link { color: var(--p-muted); font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--p-ink); }

/* ---------- hero ---------- */
.hero {
	padding: 5.5rem 0 4.5rem;
	background:
		radial-gradient(1100px 420px at 15% -10%, rgba(13,110,253,.10), transparent 60%),
		radial-gradient(900px 380px at 88% 0%, rgba(102,16,242,.09), transparent 55%);
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; }
.hero .lead { color: var(--p-muted); font-size: 1.16rem; max-width: 40rem; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	color: var(--p-accent); background: rgba(13,110,253,.08);
	padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.25rem;
}

/* ---------- the parse demo ---------- */
.parse-demo {
	border: 1px solid var(--p-border); border-radius: 14px; overflow: hidden;
	box-shadow: 0 18px 45px -22px rgba(30,42,58,.35);
	background: #fff;
}
.parse-demo .demo-head {
	background: var(--p-surface); border-bottom: 1px solid var(--p-border);
	padding: .6rem .95rem; font-size: .78rem; color: var(--p-muted);
	display: flex; align-items: center; gap: .5rem;
}
.parse-demo .demo-dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dee8; }
.parse-demo pre {
	margin: 0; padding: 1.05rem; font-size: .82rem; line-height: 1.65;
	background: #fff; color: #33415c; white-space: pre-wrap; word-break: break-word;
}
.parse-demo mark {
	background: rgba(13,110,253,.14); color: #0a58ca;
	padding: .05rem .2rem; border-radius: 3px; font-weight: 600;
}
.demo-arrow { color: var(--p-muted); font-size: 1.6rem; }

.result-table { font-size: .85rem; }
.result-table thead th {
	background: var(--p-surface); font-weight: 600; font-size: .74rem;
	text-transform: uppercase; letter-spacing: .04em; color: var(--p-muted);
	border-bottom: 1px solid var(--p-border);
}

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--p-surface); }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: .75rem; }
.section-sub { color: var(--p-muted); font-size: 1.05rem; max-width: 38rem; }

.feature-card {
	background: #fff; border: 1px solid var(--p-border); border-radius: 12px;
	padding: 1.6rem; height: 100%;
	transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -20px rgba(30,42,58,.4); }
.feature-icon {
	width: 44px; height: 44px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.35rem; margin-bottom: 1rem;
	background: rgba(13,110,253,.09); color: var(--p-accent);
}

.step-num {
	width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
	display: flex; align-items: center; justify-content: center;
	background: var(--p-accent); color: #fff; font-weight: 600; font-size: .92rem;
}

/* ---------- comparison ---------- */
.compare-table th, .compare-table td { padding: .9rem 1rem; vertical-align: top; }
.compare-table thead th { background: var(--p-surface); font-size: .85rem; }
.compare-table .yes { color: #157347; font-weight: 600; }
.compare-table .no  { color: #b02a37; }

/* ---------- cta ---------- */
.cta-band {
	background: linear-gradient(120deg, var(--p-accent), var(--p-accent-2));
	color: #fff; border-radius: 16px; padding: 3rem 2rem;
}
.cta-band .btn-light { font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--p-ink); color: #aab6c6; padding: 3rem 0 2rem; }
.site-footer a { color: #d3dbe6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h6 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 767.98px) {
	.hero { padding: 3.25rem 0 2.5rem; }
	.section { padding: 3rem 0; }
	.demo-arrow { transform: rotate(90deg); }
}

/* ---------- legal pages ---------- */
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.legal h2 {
	font-size: 1.18rem; margin-top: 2.6rem; margin-bottom: .9rem;
	padding-top: 1.4rem; border-top: 1px solid var(--p-border);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }
.legal p, .legal li { color: #3c4a5d; line-height: 1.75; }
.legal ul { padding-left: 1.15rem; }
.legal li { margin-bottom: .5rem; }
.legal .table { font-size: .92rem; }
.legal .table th { background: var(--p-surface); font-weight: 600; }
.legal .alert { border-radius: 10px; line-height: 1.7; }
.legal a { color: var(--p-accent); }
