@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
	--bs-primary: #2563eb;
	--bs-primary-rgb: 37, 99, 235;
	--bs-link-color: #2563eb;
	--bs-link-hover-color: #1d4ed8;
	--bs-link-color-rgb: 37, 99, 235;
	--bs-link-hover-color-rgb: 29, 78, 216;
	--bs-body-bg: #fafbfc;
	--bs-body-color: #1f2937;
	--bs-body-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--bs-border-color: #e5e7eb;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1, h2, h3, h4, h5, h6, .display-4 {
	letter-spacing: -0.015em;
}

.display-4 {
	font-weight: 700;
}

a {
	transition: color 0.15s ease;
}

/* Sticky, glassy header */
body > .container > header {
	position: sticky;
	top: 0;
	z-index: 1020;
	background-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	margin-left: -0.75rem;
	margin-right: -0.75rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	border-bottom: 1px solid var(--bs-border-color) !important;
}

body > .container > header img {
	transition: transform 0.2s ease;
}

body > .container > header a:hover img {
	transform: rotate(-6deg);
}

/* Reduce top whitespace */
.pricing-header {
	padding-top: 1.5rem !important;
	padding-bottom: 1rem !important;
}

main > .container > .row:first-child h1,
main > .container:first-child > .row:first-child h1 {
	margin-top: 0.5rem;
}

/* Cards */
.card {
	border: 1px solid var(--bs-border-color);
	border-radius: 1rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}

.card.shadow-sm {
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.18) !important;
	border-color: #d1d5db;
}

.card-header {
	background-color: #f9fafb;
	border-bottom: 1px solid var(--bs-border-color);
	padding: 1rem 1rem;
}

.card-header h4 {
	font-weight: 600;
	color: #374151;
}

.pricing-card-title {
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Buttons */
.btn {
	border-radius: 0.625rem;
	font-weight: 500;
	padding: 0.5rem 1.25rem;
	transition: transform 0.1s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-lg {
	padding: 0.65rem 1.4rem;
}

.btn-primary {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
}

.btn-primary:hover, .btn-primary:focus {
	background-color: var(--bs-link-hover-color);
	border-color: var(--bs-link-hover-color);
	box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.5);
}

.btn-outline-primary {
	color: var(--bs-primary);
	border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
	background-color: var(--bs-primary);
	border-color: var(--bs-primary);
	box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.4);
}

.btn:active {
	transform: translateY(1px);
}

/* Alert (PDF banner) */
.alert-primary {
	background-color: #eff6ff;
	border-color: #bfdbfe;
	color: #1e3a8a;
	border-radius: 0.75rem;
}

.alert-link {
	color: #1e40af;
	font-weight: 500;
}

/* Pricing header */
.pricing-header .lead {
	color: #6b7280;
	max-width: 700px;
	margin-inline: auto;
}

/* Comparison table */
.table {
	--bs-table-hover-bg: #f9fafb;
}

.table > :not(caption) > * > * {
	padding: 0.85rem 0.75rem;
}

.table thead th {
	font-weight: 600;
	color: #6b7280;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--bs-border-color);
}

.table caption {
	color: #6b7280;
	caption-side: bottom;
	padding-top: 1.5rem;
}

/* Carousel polish */
.carousel {
	border-radius: 1rem;
	overflow: hidden;
}

.carousel-caption {
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.5rem 2rem 1.5rem;
}

/* Footer fallback */
footer.border-top {
	border-color: var(--bs-border-color) !important;
}

/* Page headings */
main h1 {
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

main h3 {
	font-weight: 600;
	color: #374151;
}

/* Tooltip helper icon */
[data-bs-toggle="tooltip"] {
	cursor: help;
}

/* Images */
main img.img-fluid {
	border-radius: 0.75rem;
}

/* Feature comparison icons */
.feature-yes,
.feature-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	font-size: 1.05rem;
	line-height: 1;
}

.feature-yes {
	background-color: #d1fae5;
	color: #059669;
	box-shadow: 0 0 0 1px #a7f3d0 inset;
}

.feature-no {
	background-color: #f3f4f6;
	color: #9ca3af;
	box-shadow: 0 0 0 1px #e5e7eb inset;
}

/* Site footer */
.site-footer {
	margin-top: 3.5rem;
	padding-top: 2rem;
}

.site-footer h6 {
	font-weight: 600;
	letter-spacing: 0.05em;
}

.site-footer .link-secondary {
	color: #6b7280 !important;
	transition: color 0.15s ease;
}

.site-footer .link-secondary:hover {
	color: var(--bs-primary) !important;
}

/* Contact cards */
.contact-card {
	border: 1px solid var(--bs-border-color);
	border-radius: 0.875rem;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.contact-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.18);
	border-color: #c7d2fe;
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	font-size: 1.4rem;
	margin-right: 1rem;
	flex: 0 0 auto;
}
