/* ============================================================
   Incomesify Trend Finder — Premium Glassmorphic UI
   ============================================================ */

.itf-shell {
	--itf-bg: #07070f;
	--itf-surface: rgba(255, 255, 255, 0.04);
	--itf-border: rgba(255, 255, 255, 0.08);
	--itf-border-hover: rgba(255, 255, 255, 0.16);
	--itf-text: #f4f4f8;
	--itf-muted: #9ca3af;
	--itf-accent: #8b5cf6;
	--itf-accent-2: #06b6d4;
	--itf-up: #34d399;
	--itf-down: #f87171;
	--itf-radius: 20px;
	--itf-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	position: relative;
	isolation: isolate;
	font-family: var(--itf-font);
	color: var(--itf-text);
	background: var(--itf-bg);
	border-radius: 28px;
	padding: 36px 28px 32px;
	overflow: hidden;
	margin: 24px 0;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.05),
		0 25px 80px -20px rgba(0, 0, 0, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Ambient glow orbs */
.itf-bg-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.55;
}
.itf-bg-glow-1 {
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
	top: -160px;
	right: -80px;
}
.itf-bg-glow-2 {
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, #0891b2 0%, transparent 70%);
	bottom: -120px;
	left: -60px;
	opacity: 0.35;
}

.itf-shell > *:not(.itf-bg-glow) {
	position: relative;
	z-index: 1;
}

/* ---------- Hero ---------- */
.itf-hero {
	text-align: center;
	margin-bottom: 36px;
	padding: 0 8px;
}

.itf-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--itf-accent-2);
	background: rgba(6, 182, 212, 0.1);
	border: 1px solid rgba(6, 182, 212, 0.25);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.itf-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22d3ee;
	box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
	animation: itf-pulse 2s infinite;
}

@keyframes itf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
	70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.itf-hero-title {
	margin: 0 0 12px;
	font-size: clamp(26px, 4vw, 38px);
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 1.15;
	background: linear-gradient(135deg, #fff 0%, #c4b5fd 45%, #67e8f9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.itf-hero-sub {
	margin: 0 auto 28px;
	max-width: 520px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--itf-muted);
}

.itf-hero-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.itf-stat-pill {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 12px 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--itf-border);
	border-radius: 14px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	min-width: 110px;
}

.itf-stat-label {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--itf-muted);
}

.itf-stat-value {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--itf-text);
}

.itf-stat-niche {
	max-width: 220px;
}
.itf-stat-niche .itf-stat-value {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 180px;
}

/* ---------- Grid ---------- */
.itf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

/* ---------- Card ---------- */
.itf-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 22px 20px 18px;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid var(--itf-border);
	border-radius: var(--itf-radius);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
	animation: itf-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--itf-delay, 0s);
	overflow: hidden;
}

@keyframes itf-card-in {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.itf-card:hover {
	transform: translateY(-6px);
	border-color: var(--itf-border-hover);
	box-shadow:
		0 20px 50px -12px rgba(139, 92, 246, 0.25),
		0 8px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.itf-card-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, 0.12), transparent 40%);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}
.itf-card:hover .itf-card-glow {
	opacity: 1;
}

.itf-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.itf-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid transparent;
	white-space: nowrap;
}

.itf-badge-icon {
	font-size: 12px;
	line-height: 1;
}

.itf-badge-breakthrough {
	background: rgba(251, 146, 60, 0.15);
	color: #fdba74;
	border-color: rgba(251, 146, 60, 0.3);
}
.itf-badge-rising {
	background: rgba(52, 211, 153, 0.12);
	color: #6ee7b7;
	border-color: rgba(52, 211, 153, 0.28);
}
.itf-badge-steady {
	background: rgba(148, 163, 184, 0.12);
	color: #cbd5e1;
	border-color: rgba(148, 163, 184, 0.25);
}
.itf-badge-cooling {
	background: rgba(248, 113, 113, 0.1);
	color: #fca5a5;
	border-color: rgba(248, 113, 113, 0.25);
}

.itf-spark-wrap {
	width: 88px;
	height: 32px;
	flex-shrink: 0;
	opacity: 0.9;
}
.itf-spark {
	width: 100%;
	height: 100%;
	display: block;
}

.itf-card-title {
	margin: 0 0 16px;
	font-size: 17px;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: #fff;
}

.itf-metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.itf-metric-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.itf-metric-label {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--itf-muted);
}

.itf-metric-value {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
}
.itf-metric-value small {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.55;
	margin-left: 1px;
}

.itf-up { color: var(--itf-up) !important; }
.itf-down { color: var(--itf-down) !important; }

/* Interest progress bar */
.itf-interest-bar {
	height: 4px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 99px;
	overflow: hidden;
	margin-bottom: 18px;
}
.itf-interest-fill {
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, #7c3aed, #22d3ee);
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
	transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Actions */
.itf-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
}

.itf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 16px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: transform 0.2s, background 0.2s, box-shadow 0.25s, border-color 0.2s;
	font-family: inherit;
	line-height: 1.2;
}

.itf-btn-primary {
	background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
	color: #fff;
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}
.itf-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(124, 58, 237, 0.55);
	color: #fff;
}

.itf-btn-ghost {
	background: rgba(255, 255, 255, 0.04);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.itf-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

/* Research result */
.itf-research-result {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13px;
	color: #cbd5e1;
	line-height: 1.5;
}
.itf-research-result a {
	display: block;
	color: #a5b4fc;
	font-weight: 600;
	margin-bottom: 4px;
	text-decoration: none;
}
.itf-research-result a:hover {
	color: #c7d2fe;
}
.itf-research-result p {
	margin: 0 0 10px;
	opacity: 0.85;
}

/* Empty state */
.itf-empty-state {
	text-align: center;
	padding: 60px 24px;
	color: var(--itf-muted);
}
.itf-empty-icon {
	font-size: 32px;
	opacity: 0.4;
	margin-bottom: 12px;
}
.itf-empty-state p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}
.itf-empty-state span {
	font-size: 13px;
	opacity: 0.7;
}

/* Footer */
.itf-footer-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
	font-size: 12px;
	color: var(--itf-muted);
	letter-spacing: 0.01em;
}
.itf-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--itf-up);
	box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

/* ---------- Admin / control panel (kept functional) ---------- */
.itf-locked {
	padding: 40px;
	text-align: center;
	color: #9ca3af;
	border: 1px dashed rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	background: rgba(0, 0, 0, 0.3);
}
.itf-panel {
	max-width: 640px;
	margin: 0 0 24px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(12px);
	color: #e5e7eb;
}
.itf-panel h2 {
	margin-top: 0;
	font-size: 18px;
	color: #fff;
}
.itf-panel label {
	display: block;
	margin: 14px 0 6px;
	font-weight: 600;
	font-size: 13px;
	color: #d1d5db;
}
.itf-panel input[type="text"],
.itf-panel select,
.itf-panel textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	font-size: 14px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.35);
	color: #f3f4f6;
}
.itf-panel textarea {
	min-height: 180px;
	font-family: ui-monospace, monospace;
}
.itf-hint {
	font-weight: 400;
	color: #9ca3af;
	font-size: 12px;
}
.itf-notice {
	padding: 12px 16px;
	background: rgba(52, 211, 153, 0.12);
	border: 1px solid rgba(52, 211, 153, 0.3);
	border-radius: 10px;
	margin-bottom: 16px;
	color: #6ee7b7;
}
.itf-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	color: #d1d5db;
}
.itf-table th,
.itf-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.itf-table th {
	font-weight: 600;
	background: rgba(255, 255, 255, 0.03);
	color: #9ca3af;
}

/* Responsive */
@media (max-width: 640px) {
	.itf-shell {
		padding: 24px 16px 20px;
		border-radius: 20px;
	}
	.itf-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.itf-hero-stats {
		flex-direction: column;
		align-items: stretch;
	}
	.itf-stat-pill {
		align-items: center;
		text-align: center;
	}
}

/* Multi-signal pills (Wikipedia + GDELT) */
.itf-signals {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 14px;
}
.itf-signal {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--itf-muted);
}
.itf-signal-wiki {
	border-color: rgba(96, 165, 250, 0.25);
	background: rgba(96, 165, 250, 0.08);
}
.itf-signal-gdelt {
	border-color: rgba(251, 191, 36, 0.25);
	background: rgba(251, 191, 36, 0.08);
}
.itf-signal-label {
	opacity: 0.85;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 10px;
}
.itf-signal-val {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--itf-text);
}
.itf-signal-val.itf-up { color: var(--itf-up); }
.itf-signal-val.itf-down { color: var(--itf-down); }

/* ============================================================
   Incomesify Trends — premium page layer
   ============================================================ */

.itf-shell-premium {
	padding: 40px 28px 36px;
}

.itf-bg-glow-3 {
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
	bottom: 20%;
	left: -60px;
	opacity: 0.25;
}

/* Brand hero — restrained, editorial */
.itf-brand-hero {
	position: relative;
	z-index: 1;
	text-align: left;
	margin-bottom: 32px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.itf-brand-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}
.itf-brand-name {
	font-size: 12px;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #e2e8f0;
}
.itf-brand-sep {
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, 0.2);
}
.itf-brand-cadence {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: #94a3b8;
}
.itf-brand-title {
	font-size: clamp(26px, 4.2vw, 36px);
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -0.025em;
	margin: 0 0 14px;
	max-width: 22ch;
	color: #f8fafc;
}
.itf-brand-sub {
	max-width: 540px;
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	color: #94a3b8;
}
.itf-brand-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Snapshot dashboard */
.itf-snapshot {
	position: relative;
	z-index: 1;
	margin: 0 0 30px;
	padding: 22px 22px 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
}
.itf-snapshot-head {
	margin-bottom: 18px;
}
.itf-snapshot-head h2 {
	margin: 4px 0 0;
	font-size: 18px;
	font-weight: 700;
	color: #f8fafc;
}
.itf-snapshot-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 18px;
}
.itf-snapshot-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.itf-snapshot-stat-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--itf-muted);
}
.itf-snapshot-stat-value {
	font-size: 22px;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: var(--itf-text);
}
.itf-snapshot-stat-small {
	font-size: 15px;
	font-weight: 600;
}
.itf-snapshot-bar {
	display: flex;
	width: 100%;
	height: 10px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	margin-bottom: 12px;
}
.itf-snapshot-seg {
	height: 100%;
	transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.itf-snapshot-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.itf-snapshot-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--itf-muted);
}
.itf-snapshot-legend-item strong {
	color: var(--itf-text);
	font-weight: 700;
}
.itf-snapshot-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* Value strip */
.itf-value-strip {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 0 0 36px;
}
.itf-value-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
}
.itf-value-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: rgba(139, 92, 246, 0.15);
	color: #c4b5fd;
	font-size: 14px;
}
.itf-value-item strong {
	display: block;
	font-size: 13px;
	color: #f1f5f9;
	margin-bottom: 2px;
}
.itf-value-item span {
	font-size: 12px;
	color: var(--itf-muted);
	line-height: 1.4;
}

/* Meaning guide */
.itf-guide {
	position: relative;
	z-index: 1;
	margin-bottom: 40px;
	padding: 24px;
	border-radius: 20px;
	background: linear-gradient(160deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.itf-guide-head {
	margin-bottom: 18px;
}
.itf-guide-head h2 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: #f8fafc;
}
.itf-guide-head p {
	margin: 0;
	font-size: 13px;
	color: var(--itf-muted);
}
.itf-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.itf-guide-card {
	padding: 14px 14px 16px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.itf-guide-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 6px;
	margin-bottom: 8px;
}
.itf-guide-rising { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.itf-guide-growth { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.itf-guide-curiosity { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
.itf-guide-heat { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.itf-guide-interest { background: rgba(34, 211, 238, 0.15); color: #22d3ee; }
.itf-guide-badge { background: rgba(255, 255, 255, 0.08); color: #e2e8f0; }
.itf-guide-card p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #cbd5e1;
}

/* Chart */
.itf-chart-section {
	position: relative;
	z-index: 1;
	margin-bottom: 44px;
}
.itf-chart-wrap {
	padding: 20px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	overflow: hidden;
}
.itf-chart-wrap canvas {
	width: 100% !important;
	max-width: 100%;
	display: block;
}

/* Section heads */
.itf-section {
	position: relative;
	z-index: 1;
	margin-bottom: 48px;
}
.itf-section-head {
	margin-bottom: 20px;
}
.itf-section-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a78bfa;
	margin-bottom: 6px;
}
.itf-section-head h2 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: #f8fafc;
}
.itf-section-head p {
	margin: 0;
	max-width: 560px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--itf-muted);
}

.itf-section-products {
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.itf-section-topics {
	padding: 28px 20px 8px;
	margin-left: -12px;
	margin-right: -12px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(6, 182, 212, 0.06), transparent 40%);
	border: 1px solid rgba(34, 211, 238, 0.1);
}
.itf-section-topics .itf-section-eyebrow {
	color: #22d3ee;
}

/* How to use */
.itf-howto {
	position: relative;
	z-index: 1;
	margin-bottom: 44px;
}
.itf-howto-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 16px;
}
.itf-howto-step {
	padding: 18px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
}
.itf-howto-num {
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #8b5cf6;
	margin-bottom: 10px;
}
.itf-howto-step h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #f1f5f9;
}
.itf-howto-step p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--itf-muted);
}
.itf-howto-note {
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.45;
	color: #cbd5e1;
	background: rgba(139, 92, 246, 0.08);
	border: 1px solid rgba(139, 92, 246, 0.18);
}
.itf-howto-note strong {
	color: #e9d5ff;
}

/* FAQ */
.itf-faq {
	position: relative;
	z-index: 1;
	margin-bottom: 36px;
}
.itf-faq-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.itf-faq-item {
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	overflow: hidden;
}
.itf-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.itf-faq-item summary::-webkit-details-marker { display: none; }
.itf-faq-item summary::after {
	content: '+';
	font-size: 18px;
	font-weight: 400;
	color: #a78bfa;
	flex-shrink: 0;
}
.itf-faq-item[open] summary::after { content: '−'; }
.itf-faq-item p {
	margin: 0;
	padding: 0 18px 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--itf-muted);
}

/* Footer CTA */
.itf-footer-cta {
	position: relative;
	z-index: 1;
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.itf-footer-cta-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: center;
	text-align: left;
}
.itf-footer-cta strong {
	display: block;
	font-size: 14px;
	color: #f1f5f9;
}
.itf-footer-cta span {
	font-size: 12px;
	color: var(--itf-muted);
}

@media (max-width: 900px) {
	.itf-value-strip,
	.itf-guide-grid,
	.itf-howto-grid {
		grid-template-columns: 1fr;
	}
	.itf-snapshot-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.itf-shell-premium { padding: 28px 16px 24px; }
	.itf-section-topics {
		margin-left: -4px;
		margin-right: -4px;
		padding: 20px 12px 4px;
	}
	.itf-brand-title { font-size: 26px; }
}

/* Guest gate — blurred cards + unlock banner */
.itf-card-locked {
	position: relative;
	pointer-events: none;
	user-select: none;
}
.itf-card-locked > *:not(.itf-card-glow) {
	filter: blur(7px);
	opacity: 0.55;
}
.itf-card-locked::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(7, 7, 15, 0.15), rgba(7, 7, 15, 0.55));
	z-index: 2;
}
.itf-gate {
	position: relative;
	z-index: 3;
	margin-top: -28px;
	margin-bottom: 8px;
	display: flex;
	justify-content: center;
	pointer-events: auto;
}
.itf-gate-inner {
	max-width: 420px;
	width: 100%;
	text-align: center;
	padding: 22px 24px 24px;
	border-radius: 16px;
	background: rgba(12, 12, 22, 0.92);
	border: 1px solid rgba(167, 139, 250, 0.35);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(12px);
}
.itf-gate-kicker {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #a78bfa;
}
.itf-gate-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #f8fafc;
	letter-spacing: -0.02em;
}
.itf-gate-copy {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #94a3b8;
}
.itf-gate-btn {
	display: inline-flex !important;
	justify-content: center;
	min-width: 200px;
}

/* ============================================================
   Pinterest Goldmine — visually its own vault, not another
   glass card grid. Gold is reserved for this section only, so
   it still reads as a signal, not decoration.
   ============================================================ */
.itf-section-pinterest{
	--itf-gold: #f2b93d;
	--itf-gold-soft: #ffd873;
	--itf-gold-dim: rgba(242, 185, 61, .16);
	margin-top: 72px;
	padding: 40px 0 10px;
	border-top: 1px solid rgba(242, 185, 61, .18);
	position: relative;
}
.itf-section-pinterest:before{
	content:"";
	position:absolute; left:0; right:0; top:-1px; height:1px;
	background:linear-gradient(90deg,transparent,rgba(242,185,61,.55),transparent);
}
.itf-section-pinterest .itf-section-eyebrow{
	color: var(--itf-gold-soft);
	display:inline-flex; align-items:center; gap:7px;
}
.itf-pinterest-pin{
	display:inline-flex; width:7px; height:7px; border-radius:50%;
	background: var(--itf-gold);
	box-shadow: 0 0 0 0 rgba(242,185,61,.55);
	animation: itf-pulse-gold 2.2s infinite;
}
@keyframes itf-pulse-gold{
	0%{ box-shadow:0 0 0 0 rgba(242,185,61,.5); }
	70%{ box-shadow:0 0 0 9px rgba(242,185,61,0); }
	100%{ box-shadow:0 0 0 0 rgba(242,185,61,0); }
}
.itf-section-pinterest .itf-section-head{
	padding: 26px 26px 22px;
	border: 1px solid rgba(242,185,61,.22);
	border-bottom: 0;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(180deg, rgba(242,185,61,.07), rgba(242,185,61,.015) 70%);
}
.itf-section-pinterest .itf-pinterest-grid{
	padding: 24px;
	border: 1px solid rgba(242,185,61,.22);
	border-top: 0;
	border-radius: 0 0 20px 20px;
	background: rgba(242,185,61,.025);
	position: relative;
}
.itf-pinterest-updated{
	margin-top:12px; display:inline-flex; align-items:center; gap:6px;
	font-size:12px; color: rgba(255,216,115,.75);
}

/* Card: same shell as the rest of the tool, gold accent on top + hover only */
.itf-pinterest-card{
	position:relative; overflow:hidden;
	border-color: rgba(242,185,61,.16);
}
.itf-pinterest-card:before{
	content:"";
	position:absolute; top:0; left:0; right:0; height:2px;
	background: linear-gradient(90deg, transparent, var(--itf-gold), transparent);
	opacity:.55;
}
.itf-pinterest-card:hover{
	border-color: rgba(242,185,61,.4);
	box-shadow:
		0 20px 50px -12px rgba(242,185,61,.22),
		0 8px 24px rgba(0,0,0,.35),
		inset 0 1px 0 rgba(255,255,255,.1);
}
.itf-pinterest-card .itf-card-glow{
	background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(242,185,61,.14), transparent 40%);
}
.itf-pinterest-card-top1{
	border-color: rgba(242,185,61,.5);
}
.itf-pinterest-rank{
	position:absolute; top:14px; right:14px;
	display:inline-flex; align-items:center; gap:4px;
	font-size:10px; font-weight:750; letter-spacing:.06em; text-transform:uppercase;
	color:#1a1406; background:linear-gradient(135deg, var(--itf-gold-soft), var(--itf-gold));
	padding:4px 9px; border-radius:999px;
}
.itf-pinterest-category{
	display:inline-flex; align-items:center;
	border:1px solid rgba(242,185,61,.3);
	background: rgba(242,185,61,.08);
	padding:5px 9px; border-radius:999px;
	font-size:11px; font-weight:700; letter-spacing:.02em;
	color: var(--itf-gold-soft);
}
.itf-pinterest-summary{
	margin:-4px 0 14px;
	color:var(--itf-muted,#9ca3af);
	font-size:.92rem; line-height:1.55;
}
.itf-pinterest-growth{
	display:flex; align-items:end; justify-content:space-between;
	margin-top:18px; padding-bottom:14px;
	border-bottom:1px solid rgba(242,185,61,.14);
}
.itf-pinterest-growth span{
	font-size:11px; text-transform:uppercase; letter-spacing:.08em;
	color:rgba(244,244,248,.48);
}
.itf-pinterest-growth strong{ font-size:25px; line-height:1; }
.itf-pinterest-signal-text{ letter-spacing:.01em; }

/* The "nugget" — this is the actual payoff of the section, so it
   gets the strongest gold treatment, not just a plain box. */
.itf-pinterest-opportunity{
	margin-top:14px; padding:13px 14px;
	border-radius:12px;
	background: linear-gradient(155deg, rgba(242,185,61,.14), rgba(242,185,61,.04));
	border:1px solid rgba(242,185,61,.28);
}
.itf-pinterest-opportunity-label{
	display:flex; align-items:center; gap:5px;
	font-size:10px; text-transform:uppercase; letter-spacing:.08em;
	color: rgba(255,216,115,.75);
	margin-bottom:5px;
}
.itf-pinterest-opportunity strong{
	display:block; font-size:13px; line-height:1.45; color:#fff;
}

@media (max-width: 640px){
	.itf-pinterest-rank{ top:10px; right:10px; }
}
