/* =========================================================
   Components — all page section styles
   ========================================================= */

/* ── Responsive image visibility ── */
@media (max-width: 575px) {
	img.wp-image-266 { display: none; }
}

/* ── Hero ── */
.wf-hero {
	background-color: #FCFBFA;
	background-repeat: repeat-y;
	background-position: center bottom;
	background-size: 100% auto;
	overflow: hidden;
	position: relative;
}

.wf-hero__wrapper {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
}

.wf-hero__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: nowrap;
}

.wf-hero__content {
	flex: 1 1 60%;
	min-width: 0;
	padding: 0;
}

.wf-hero__label {
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wf-secondary);
	opacity: 0.6;
	margin-bottom: 1rem;
}

.wf-hero__heading {
	font-family: 'Roboto', sans-serif;
	font-size: 64px;
	font-weight: 300;
	line-height: 70px;
	letter-spacing: -0.32px;
	margin: 0 0 1.5rem;
	background: var(--wf-gradient-head);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.wf-hero__heading strong,
.wf-hero__heading b { font-weight: 700; font-style: normal; }

.wf-hero__heading em,
.wf-hero__heading i { font-weight: 300; font-style: italic; }

.wf-hero__sub {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 31px;
	color: var(--wf-secondary);
	margin: 0;
	max-width: 100%;
}

.wf-hero__sub p {
	margin: 0 0 1rem;
}

.wf-hero__sub p:last-child {
	margin-bottom: 0;
}

.wf-hero__ctas {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.wf-hero__image {
	flex: 0 0 auto;
	width: 40%;
	max-width: 40%;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin: 0 auto;
}

.wf-hero__image img {
	width: 80%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* ── Investor Updates Form — slim strip ── */
.wf-investor-form {
	background-color: #F2F2F2;
	padding: 22px 0;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.wf-investor-form__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wf-lg);
	flex-wrap: wrap;
}

.wf-investor-form__heading {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
	color: var(--wf-secondary);
}

.wf-investor-form__form {
	flex: 1;
	min-width: 280px;
	max-width: 520px;
}

/* ── Brand Strips — dark section ── */
.wf-brands {
	background: #43505a url('/wp-content/uploads/2025/06/bg-line-dark-01.png') repeat-y center bottom / 100% auto;
	padding: var(--wf-xl) 0 var(--wf-2xl);
}

.wf-brands__strips {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wf-brands__tagline {
	font-family: 'Roboto', sans-serif;
	font-size: 62px;
	font-weight: 300;
	line-height: 40px;
	letter-spacing: -0.32px;
	color: #ffffff;
	margin: var(--wf-xl) 0 0;
}

/*
 * Strip layout — 3 columns:
 * [Identity 220px] [Center (desc + subtitle + stats) flex] [Button auto]
 */
.wf-brand-strip {
	background: #ffffff;
	border-radius: 16px;
	border: 1.5px solid #2a2f35;
	padding: 16px 30px;
	display: grid;
	grid-template-columns: 220px 1fr auto;
	align-items: center;
	gap: 1.75rem;
}

/* Per-brand background tints */
.wf-brand-strip--coinmama   { background: #ffffff; }
.wf-brand-strip--defi       { background: #fff5f5; }
.wf-brand-strip--tradewind  { background: #eff7f5; }

/* ── Identity: logo + tagline stacked ── */
.wf-brand-strip__identity {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.wf-brand-strip__logo {
	height: 40px;
	width: auto;
	object-fit: contain;
	align-self: flex-start;
}

.wf-brand-strip__name {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wf-secondary);
	line-height: 1.2;
}

.wf-brand-strip__tagline {
	font-size: 1rem;
	color: var(--wf-secondary);
	opacity: 0.7;
	line-height: 1.5;
}

/* ── Center column: desc + subtitle + stats ── */
.wf-brand-strip__center {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-align: center;
	align-items: center;
}

.wf-brand-strip__desc {
	font-size: 0.85rem;
	color: var(--wf-secondary);
	opacity: 0.75;
	line-height: 1.55;
}

.wf-brand-strip__subtitle {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--wf-secondary);
	line-height: 1.35;
	margin-top: 0.25rem;
}

/* ── Stats ── */
.wf-brand-strip__stats {
	display: flex;
	gap: 2.5rem;
	align-items: flex-end;
	margin-top: 0.5rem;
}

.wf-brand-strip__stat { text-align: center; }

.wf-brand-strip__stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wf-secondary);
	line-height: 1.1;
}

.wf-brand-strip__stat-label {
	font-size: 0.72rem;
	color: var(--wf-secondary);
	opacity: 0.55;
	margin-top: 0.2rem;
}

/* ── CTA button ── */
.wf-brand-strip__btn {
	white-space: nowrap;
	flex-shrink: 0;
	align-self: center;
}

/* ── Platforms / Technology ── */
.wf-platforms {
	background-color: var(--wf-secondary);
	padding: var(--wf-xl) 0 var(--wf-2xl);
}

.wf-platforms__header {
	text-align: center;
	margin-bottom: var(--wf-xl);
}

.wf-platforms__label {
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: #ffffff;
	letter-spacing: 0.04em;
	margin: 0 0 var(--wf-xs);
}

.wf-platforms__heading {
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 400;
	line-height: 1.15;
	margin: 0;
}

.wf-platforms__heading-pre {
	display: block;
	color: #b4c2c0;
}

.wf-platforms__heading-main {
	display: block;
	font-size: 48px;
	background: var(--wf-gradient-head);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.wf-platforms__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--wf-md);
	justify-items: center;
}

.wf-platforms__card {
	background: var(--wf-white);
	border-radius: 1rem;
	padding: var(--wf-lg) var(--wf-md);
	text-align: left;
	width: 100%;
	max-width: 300px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wf-platforms__card:hover {
	transform: translateY(6px);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.wf-platforms__icon {
	margin-bottom: var(--wf-sm);
}

.wf-platforms__icon img {
	max-width: 80px;
	height: auto;
}

.wf-platforms__card-text {
	color: var(--wf-secondary);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
	text-align: left;
}

.wf-platforms__cta {
	text-align: center;
	margin-top: var(--wf-xl);
}

.wf-platforms__link {
	color: var(--wf-white);
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	opacity: 0.75;
	transition: opacity var(--wf-transition);
}

.wf-platforms__link:hover {
	opacity: 1;
}

/* ── Our Story — white bg, text only ── */
.wf-story {
	background: var(--wf-white);
}

.wf-story__inner {
	max-width: 800px;
	margin: 0 auto;
}

.wf-story__heading {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	color: var(--wf-secondary);
	text-align: center;
	margin-bottom: var(--wf-xl);
}

.wf-story__text {
	color: var(--wf-secondary);
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 31px;
	max-width: 100%;
}

.wf-story__text p { margin-bottom: var(--wf-sm); }

.wf-story__text ul {
	padding-left: 1.25rem;
	margin-bottom: var(--wf-sm);
}

.wf-story__text li { margin-bottom: 0.5rem; }

.wf-story__text li::marker { color: var(--wf-primary); }

/* ── DeFi Banner — dark bg, centred icon + gradient heading ── */
.wf-defi-banner {
	background-color: var(--wf-secondary);
	text-align: center;
}

.wf-defi-banner__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

/* Gradient-border circle wrapper */
.wf-defi-banner__icon-wrap {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	padding: 2px;
	background: var(--wf-gradient);
	flex-shrink: 0;
}

.wf-defi-banner__icon-inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #2a2f35;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wf-defi-banner__icon-inner img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.wf-defi-banner__heading {
	font-size: clamp(1.6rem, 3.5vw, 2.6rem);
	font-weight: 500;
	max-width: 700px;
	margin: 0 auto;
	background: var(--wf-gradient-head);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.25;
}

.wf-defi-banner__text {
	color: rgba(255, 255, 255, 0.6);
	font-size: 1.05rem;
	max-width: 600px;
	margin: 0 auto;
}

/* ── DeFi Hero (sub-page, unchanged) ── */
.wf-defi-hero { background: var(--wf-secondary); text-align: center; }

.wf-defi-hero__heading {
	font-size: clamp(2rem, 4vw, 3.2rem);
	color: var(--wf-white);
	margin-bottom: var(--wf-md);
}

.wf-defi-hero__text {
	color: rgba(255,255,255,0.7);
	font-size: 1rem;
	max-width: 600px;
	margin: 0 auto;
}

/* ── DeFi Protocols (sub-page, unchanged) ── */
.wf-protocols { background: var(--wf-white); }

.wf-protocols__grid {
	display: flex;
	flex-direction: column;
	gap: var(--wf-2xl);
}

.wf-protocol-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wf-2xl);
	align-items: center;
}

.wf-protocol-item--reverse { direction: rtl; }
.wf-protocol-item--reverse > * { direction: ltr; }

.wf-protocol-item__badge {
	display: inline-block;
	background: rgba(255,96,76,0.1);
	color: var(--wf-primary);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 50px;
	padding: 0.25rem 0.8rem;
	margin-bottom: var(--wf-sm);
}

.wf-protocol-item__name { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--wf-sm); }

.wf-protocol-item__desc {
	font-size: 0.95rem;
	opacity: 0.7;
	line-height: 1.7;
	margin-bottom: var(--wf-lg);
}

.wf-protocol-item__tags {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--wf-lg);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.wf-protocol-item__tag {
	background: rgba(255,96,76,0.08);
	color: var(--wf-primary);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 50px;
}

.wf-protocol-item__image img {
	border-radius: 16px;
	width: 100%;
	object-fit: cover;
	box-shadow: 0 8px 40px rgba(0,0,0,.12);
}

/* ── Responsive — desktop only (≥ 992px) ── */
@media (min-width: 992px) {
	.wf-hero__inner { padding: 0 var(--wf-lg); }
}

/* ── Responsive — tablet (≤ 991px) ── */
@media (max-width: 991px) {
	.wf-hero__inner { flex-direction: column; }
	.wf-hero__content { padding: 2.5rem 1.5rem 0; }
	.wf-hero__image { flex: 0 0 auto; max-width: 100%; width: 80%; order: 1; }
	.wf-hero__image img { width: 50%; }
	.wf-hero__heading { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }

	.wf-brand-strip {
		grid-template-columns: 1fr;
		padding: 1.5rem;
	}
	.wf-brand-strip__btn { justify-self: center; }
	.wf-brand-strip__center { text-align: left; align-items: flex-start; }
	.wf-brand-strip__stat { text-align: left; }

	.wf-protocol-item { grid-template-columns: 1fr; }
	.wf-protocol-item--reverse { direction: ltr; }
}

/* ── Responsive — mobile (≤ 575px) ── */
@media (max-width: 575px) {
	.wf-hero__inner { flex-direction: column; }
	.wf-hero__content { padding: 2rem 1rem 0; }
	.wf-hero__image { flex: 0 0 auto; max-width: 100%; width: 100%; order: 1; }
	.wf-hero__image img { width: 50%; }
	.wf-hero__heading { font-size: 2.4rem; line-height: 1.15; }
	.wf-hero__sub { font-size: 16px; line-height: 24px; }

	.wf-investor-form__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
	.wf-investor-form__form { width: 100%; max-width: 100%; min-width: 0; }

	.wf-brand-strip {
		grid-template-columns: 1fr;
		gap: 0.75rem;
		padding: 1.25rem;
	}
	.wf-brand-strip__btn { justify-self: center; }
	.wf-brand-strip__stats { flex-wrap: wrap; gap: 1.5rem; }
	.wf-brands__tagline { font-size: 30px; text-align: center; }
}

/* --- Shortcode --- */
.wf-shortcode__heading { margin-bottom: 1.5rem; }
.wf-shortcode--bg-light-grey { background: var(--wf-light-bg); }
