/*
Theme Name: Binajeh
Theme URI: https://binajeh.com/
Author: Binajeh LLC
Author URI: https://binajeh.com/
Description: Block theme for Binajeh LLC — authorized commerce partner for brands across Amazon, our online store, and other marketplaces. Built for the WordPress Site Editor, no page builder required.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binajeh
Tags: block-patterns, full-site-editing, business, one-column, custom-colors, editor-style
*/

/* ==========================================================================
   Binajeh design system — extras beyond theme.json
   ========================================================================== */

:root {
	--bj-radius: 18px;
	--bj-shadow-sm: 0 1px 2px rgba(11, 27, 43, .04), 0 4px 14px rgba(11, 27, 43, .05);
	--bj-shadow-md: 0 2px 6px rgba(11, 27, 43, .05), 0 18px 40px rgba(11, 27, 43, .09);
}

/* Header ------------------------------------------------------------------ */
.bj-header {
	background: rgba(255, 255, 255, .86) !important;
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
}
@media (min-width: 782px) {
	.bj-header { position: sticky; top: 0; z-index: 50; }
	body.admin-bar .bj-header { top: 32px; }
}
.bj-header .wp-block-navigation a:hover { color: var(--wp--preset--color--primary); }

/* Dark gradient surfaces ------------------------------------------------ */
.bj-hero,
.bj-page-hero,
.bj-band-dark {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--wp--preset--color--contrast);
	background-image:
		radial-gradient(60% 80% at 85% 10%, rgba(20, 80, 126, .75) 0%, rgba(20, 80, 126, 0) 60%),
		radial-gradient(40% 60% at 0% 100%, rgba(242, 169, 59, .16) 0%, rgba(242, 169, 59, 0) 60%),
		linear-gradient(180deg, #0B1B2B 0%, #0F2E4C 100%);
}
.bj-hero::after,
.bj-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 85%);
	-webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 30%, transparent 85%);
	pointer-events: none;
}
.bj-band-dark { background-image: linear-gradient(135deg, #0B1B2B 0%, #0F2E4C 100%); }

/* Eyebrow --------------------------------------------------------------- */
.bj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bj-eyebrow::before {
	content: "";
	width: 1.6rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	opacity: .8;
}

/* Cards ----------------------------------------------------------------- */
.bj-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bj-radius);
	box-shadow: var(--bj-shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bj-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--bj-shadow-md);
	border-color: #C9D5E1;
}
.bj-card-flat { box-shadow: none; }
.bj-card-flat:hover { transform: none; box-shadow: none; }
.bj-card-dark {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--bj-radius);
}

/* Icons (tile drawn before the card or heading) ------------------------- */
[class*="bj-ic-"]::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.1rem;
	border-radius: 14px;
	background-color: var(--wp--preset--color--accent-soft);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.5rem;
}
.bj-card-dark[class*="bj-ic-"]::before { background-color: rgba(242, 169, 59, .16); }
.bj-ic-shield::before{background-image:url(assets/icons/shield.svg)}
.bj-ic-tag::before{background-image:url(assets/icons/tag.svg)}
.bj-ic-users::before{background-image:url(assets/icons/users.svg)}
.bj-ic-layers::before{background-image:url(assets/icons/layers.svg)}
.bj-ic-box::before{background-image:url(assets/icons/box.svg)}
.bj-ic-truck::before{background-image:url(assets/icons/truck.svg)}
.bj-ic-chart::before{background-image:url(assets/icons/chart.svg)}
.bj-ic-search::before{background-image:url(assets/icons/search.svg)}
.bj-ic-megaphone::before{background-image:url(assets/icons/megaphone.svg)}
.bj-ic-doc::before{background-image:url(assets/icons/doc.svg)}
.bj-ic-handshake::before{background-image:url(assets/icons/handshake.svg)}
.bj-ic-store::before{background-image:url(assets/icons/store.svg)}
.bj-ic-cart::before{background-image:url(assets/icons/cart.svg)}
.bj-ic-globe::before{background-image:url(assets/icons/globe.svg)}
.bj-ic-refresh::before{background-image:url(assets/icons/refresh.svg)}
.bj-ic-spark::before{background-image:url(assets/icons/spark.svg)}
.bj-ic-check::before{background-image:url(assets/icons/check.svg)}
.bj-ic-pulse::before{background-image:url(assets/icons/pulse.svg)}


/* Status chips ----------------------------------------------------------- */
.bj-chip {
	display: inline-flex !important;
	align-items: center;
	gap: .5rem;
	padding: .3rem .75rem;
	border-radius: 999px;
	font-size: .75rem !important;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
}
.bj-chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: currentColor; }
.bj-chip-active { background: #E3F6EE; color: #1F8A5B; }
.bj-chip-soon { background: var(--wp--preset--color--accent-soft); color: #A9670C; }
.bj-chip-roadmap { background: #E6EFF8; color: var(--wp--preset--color--primary); }
.bj-hero .bj-chip { background: rgba(255, 255, 255, .08); color: #DCE6EF; }

/* Commitment numbers ----------------------------------------------------- */
.bj-stat {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: clamp(2.4rem, 4vw, 3.25rem);
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--wp--preset--color--accent);
}
.bj-stat-col { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 1.5rem; }

/* Flow (source -> fulfill -> sell) -------------------------------------- */
.bj-flow { position: relative; }
@media (min-width: 782px) {
	.bj-flow > .wp-block-column:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 2.6rem;
		right: -1.6rem;
		width: 1.2rem;
		height: 1.2rem;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A93B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	}
	.bj-flow > .wp-block-column { position: relative; }
}

/* Timeline steps --------------------------------------------------------- */
.bj-step-number {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--accent) !important;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	position: relative;
	z-index: 1;
}
@media (min-width: 782px) {
	.bj-timeline { position: relative; }
	.bj-timeline::before {
		content: "";
		position: absolute;
		left: 1.4rem;
		right: 1.4rem;
		top: 1.375rem;
		height: 2px;
		background: repeating-linear-gradient(90deg, var(--wp--preset--color--line) 0 8px, transparent 8px 14px);
	}
}

/* Lists ------------------------------------------------------------------ */
.bj-check-list { list-style: none; padding-left: 0; }
.bj-check-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; }
.bj-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .25em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230B1B2B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.bj-x-list { list-style: none; padding-left: 0; }
.bj-x-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--wp--preset--color--muted); }
.bj-x-list li::before {
	content: "";
	position: absolute; left: 0; top: .25em; width: 1.2rem; height: 1.2rem; border-radius: 999px;
	background: #E9EEF3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23526273' stroke-width='2' stroke-linecap='round' d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.bj-plain-list { list-style: none; padding-left: 0; line-height: 2; }

.bj-trust-item { display: flex; align-items: center; gap: .6rem; }
.bj-trust-item::before {
	content: ""; width: 1.15rem; height: 1.15rem; flex: none; border-radius: 999px;
	background: var(--wp--preset--color--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230B1B2B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Comparison table ------------------------------------------------------- */
.bj-compare table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--bj-radius);
	overflow: hidden;
	box-shadow: var(--bj-shadow-sm);
	font-size: .975rem;
}
.bj-compare th, .bj-compare td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 1rem 1.25rem;
	text-align: left;
	vertical-align: top;
}
.bj-compare tr:last-child td { border-bottom: 0; }
.bj-compare thead th {
	background: var(--wp--preset--color--surface);
	font-size: .8rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.bj-compare thead th:last-child { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--accent); }
.bj-compare td:first-child { font-weight: 600; width: 26%; }
.bj-compare td:last-child { background: #FFF9EF; font-weight: 600; }
.bj-compare td:nth-child(2) { color: var(--wp--preset--color--muted); }
.bj-compare thead { border-bottom: 0; }

/* Facts table ------------------------------------------------------------- */
.bj-facts table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.bj-facts td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: .8rem 0; }
.bj-facts td:first-child { color: var(--wp--preset--color--muted); width: 42%; }

/* FAQ --------------------------------------------------------------------- */
.bj-faq details {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	padding: 1.1rem 1.4rem;
	margin-top: .75rem !important;
}
.bj-faq details[open] { box-shadow: var(--bj-shadow-sm); }
.bj-faq summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: var(--wp--preset--color--contrast);
}
.bj-faq summary::-webkit-details-marker { display: none; }
.bj-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--wp--preset--color--primary); }
.bj-faq details[open] summary::after { content: "–"; }
.bj-faq details > :not(summary) { margin-top: .75rem; color: var(--wp--preset--color--muted); }

/* Hero graphic ------------------------------------------------------------ */
.bj-hero-graphic img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }

/* Offer card -------------------------------------------------------------- */
.bj-offer {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--bj-shadow-md);
}

/* Footer ------------------------------------------------------------------ */
footer .wp-block-group a { text-decoration: none; }
footer .wp-block-group a:hover { text-decoration: underline; }
.has-contrast-background-color .wp-block-separator,
.bj-band-dark .wp-block-separator { border-color: rgba(255, 255, 255, .12); background-color: rgba(255, 255, 255, .12); }

/* Small screens ----------------------------------------------------------- */
@media (max-width: 781px) {
	.bj-stat-col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.25rem; }
	.bj-compare { overflow-x: auto; }
	.bj-compare table { min-width: 640px; }
	.bj-header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bj-card, .bj-card:hover { transition: none; transform: none; }
}
