/* ==========================================================================
   Browse All Integrations — styles
   ========================================================================== */

:root {
	--bt-primary: #ff7a1a;       /* orange */
	--bt-primary-dark: #e2630a;  /* deeper orange, for hovers */
	--bt-ink: #1a1408;           /* near-black */
	--bt-text: #2b2014;          /* black-brown for body copy */
	--bt-muted: #7a6a55;
	--bt-border: #ffd9b3;        /* light orange */
	--bt-bg-soft: #fff1e2;       /* light orange */
	--bt-white: #ffffff;
	--bt-radius: 14px;
	--bt-radius-sm: 9px;
	--bt-shadow: 0 4px 18px rgba(26, 20, 8, 0.08);
	--bt-shadow-hover: 0 10px 30px rgba(26, 20, 8, 0.14);
	--bt-container: 1180px;
}

.bt-integrations-page {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--bt-text);
	overflow-x: hidden;
}

.bt-integrations-page *,
.bt-integrations-page *::before,
.bt-integrations-page *::after {
	box-sizing: border-box;
}

.bt-container {
	width: 100%;
	max-width: var(--bt-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* Buttons --------------------------------------------------------------- */

.bt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.bt-btn--primary {
	background: var(--bt-primary);
	color: #fff;
	box-shadow: 0 8px 20px rgba(32, 86, 227, .25);
}
.bt-btn--primary:hover {
	background: var(--bt-primary-dark);
	transform: translateY(-1px);
}
.bt-btn--ghost {
	background: transparent;
	color: var(--bt-ink);
	border-color: var(--bt-border);
}
.bt-btn--ghost:hover {
	border-color: var(--bt-primary);
	color: var(--bt-primary);
}

/* Hero -------------------------------------------------------------------*/

.bt-int-hero {
	padding: 88px 0 56px;
	text-align: center;
	background: radial-gradient(120% 120% at 50% 0%, #fff1e2 0%, #ffffff 60%);
}
.bt-int-hero__title {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.1;
	font-weight: 800;
	color: var(--bt-ink);
	margin: 0 0 22px;
	letter-spacing: -0.02em;
}
.bt-int-hero__desc {
	max-width: 760px;
	margin: 0 auto 14px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--bt-text);
}
.bt-int-hero__sub {
	max-width: 720px;
	margin: 0 auto 32px;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--bt-muted);
}
.bt-int-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

/* Filters ------------------------------------------------------------------*/

.bt-int-filters {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--bt-border);
	padding: 18px 0;
}
.bt-int-tabs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.bt-int-tabs::-webkit-scrollbar { height: 6px; }
.bt-int-tabs::-webkit-scrollbar-thumb { background: var(--bt-border); border-radius: 10px; }

.bt-int-tab {
	flex: 0 0 auto;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1.5px solid var(--bt-border);
	background: #fff;
	color: var(--bt-text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: all .15s ease;
}
.bt-int-tab:hover { border-color: var(--bt-primary); color: var(--bt-primary); }
.bt-int-tab.is-active {
	background: var(--bt-primary);
	border-color: var(--bt-primary);
	color: #fff;
}

.bt-int-search { margin-top: 14px; }
.bt-int-search input {
	width: 100%;
	max-width: 420px;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1.5px solid var(--bt-border);
	font-size: 14.5px;
	background: var(--bt-bg-soft);
	outline: none;
	transition: border-color .15s ease, background .15s ease;
}
.bt-int-search input:focus {
	border-color: var(--bt-primary);
	background: #fff;
}

/* Section headings --------------------------------------------------------*/

.bt-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bt-primary);
	margin-bottom: 10px;
}
.bt-section-title {
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 800;
	color: var(--bt-ink);
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}
.bt-section-sub {
	color: var(--bt-muted);
	font-size: 15.5px;
	margin: 0 0 32px;
}

/* Popular ------------------------------------------------------------------*/

.bt-int-popular { padding: 56px 0 16px; }
.bt-int-popular__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}
.bt-int-logo-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	padding: 22px 12px;
	background: #fff;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	text-decoration: none;
	color: var(--bt-ink);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.bt-int-logo-card:hover {
	box-shadow: var(--bt-shadow-hover);
	transform: translateY(-3px);
	border-color: transparent;
}
.bt-int-logo-card__img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
}
.bt-int-logo-card__img img {
	max-height: 44px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
}
.bt-int-logo-card__name {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--bt-text);
}
.bt-int-logo-card__placeholder {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bt-bg-soft);
	color: var(--bt-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
}

/* All integrations grid -----------------------------------------------------*/

.bt-int-all { padding: 64px 0 20px; }
.bt-int-category { margin-bottom: 52px; }
.bt-int-category__title {
	font-size: 19px;
	font-weight: 700;
	color: var(--bt-ink);
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bt-border);
}

.bt-int-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.bt-int-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius);
	padding: 24px 22px 60px;
	box-shadow: var(--bt-shadow);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.bt-int-card:hover {
	box-shadow: var(--bt-shadow-hover);
	transform: translateY(-3px);
	border-color: transparent;
}
.bt-int-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--bt-bg-soft);
	margin-bottom: 16px;
	overflow: hidden;
}
.bt-int-card__logo img {
	max-width: 70%;
	max-height: 70%;
	object-fit: contain;
}
.bt-int-card__title {
	font-size: 16.5px;
	font-weight: 700;
	color: var(--bt-ink);
	margin: 0 0 8px;
}
.bt-int-card__desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--bt-muted);
	margin: 0 0 14px;
}
.bt-int-card__badge {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--bt-primary);
	background: #ffe4c2;
	padding: 5px 11px;
	border-radius: 999px;
}
.bt-int-card__link {
	position: absolute;
	left: 22px;
	bottom: 22px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bt-primary);
	text-decoration: none;
}
.bt-int-card__link:hover { text-decoration: underline; }

.bt-int-empty {
	text-align: center;
	padding: 60px 20px;
	background: var(--bt-bg-soft);
	border-radius: var(--bt-radius);
}
.bt-int-empty h4 { margin: 0 0 8px; font-size: 19px; color: var(--bt-ink); }
.bt-int-empty p { margin: 0 0 22px; color: var(--bt-muted); }

/* Request / methods ----------------------------------------------------------*/

.bt-int-cta {
	padding: 70px 0 90px;
	background: var(--bt-bg-soft);
	text-align: center;
}
.bt-int-methods {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 32px 0 36px;
	text-align: left;
}
.bt-int-method {
	background: #fff;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius-sm);
	padding: 20px;
}
.bt-int-method h5 { margin: 0 0 6px; font-size: 15px; color: var(--bt-ink); }
.bt-int-method p { margin: 0; font-size: 13.5px; color: var(--bt-muted); }
.bt-int-cta__actions { display: flex; justify-content: center; }

/* Utility: filtering states -------------------------------------------------*/
.bt-int-card.is-hidden,
.bt-int-category.is-hidden,
.bt-int-logo-card.is-hidden { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.bt-int-popular__grid { grid-template-columns: repeat(4, 1fr); }
	.bt-int-grid { grid-template-columns: repeat(3, 1fr); }
	.bt-int-methods { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	.bt-int-hero { padding: 64px 0 40px; }
	.bt-int-popular { padding: 40px 0 8px; }
	.bt-int-all { padding: 44px 0 10px; }
	.bt-int-popular__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.bt-int-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.bt-int-card { padding: 20px 18px 56px; }
	.bt-section-title { margin-bottom: 6px; }
	.bt-section-sub { margin-bottom: 24px; }
	.bt-int-cta { padding: 50px 0 60px; }
}

@media (max-width: 480px) {
	.bt-container { padding: 0 18px; }
	.bt-int-popular__grid { grid-template-columns: repeat(2, 1fr); }
	.bt-int-grid { grid-template-columns: 1fr; }
	.bt-int-methods { grid-template-columns: 1fr; }
	.bt-int-hero__actions { flex-direction: column; }
	.bt-btn { width: 100%; }
	.bt-int-search input { max-width: 100%; }
	.bt-int-hero__title { font-size: 30px; }
}

/* Single integration page ---------------------------------------------------*/

.bt-integration-single {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--bt-text);
	padding: 56px 0 80px;
}
.bt-integration-single__logo {
	max-width: 96px;
	margin-bottom: 22px;
}
.bt-integration-single__logo img {
	width: 100%;
	height: auto;
	border-radius: var(--bt-radius-sm);
	border: 1px solid var(--bt-border);
}
.bt-integration-single__header {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
.bt-integration-single__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	color: var(--bt-ink);
	margin: 0;
	letter-spacing: -0.01em;
}
.bt-integration-single__content {
	font-size: 16px;
	line-height: 1.7;
}
.bt-integration-single__content a { color: var(--bt-primary); }
