/* Shared font/reset/variables/body/.container/.btn family/@keyframes/
   input/nav a/hero-content h1/h2/p moved to base.css (loaded before
   this file) - see that file. The entire "plan card" pricing system
   (introduction, plan cards, custom dropdown, plans footer) is
   shared with business_solutions.css/development.css/gaming.css
   and lives in plan_cards.css (loaded after this file). a's color is
   overridden to "inherit" here (base.css defaults to var(--blue)). */
a { text-decoration: none; color: inherit; }

/* Hero banner */
.hero-banner {
	background: url("img/hero-background.png") no-repeat center center;
	background-size: cover;
	min-height: calc(60vh - 80px);
	display: flex;
	align-items: center;
}

/* ---------- Section title icon/heading (this page only) ---------- */

.trading-title img {
	width: 34px;
	height: 34px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
}

.trading-title h2 {
	display: inline-block;
	color: var(--navy);
	font-size: 28px;
	font-weight: 700;
	vertical-align: middle;
}

/* -------------------------------------------------------
Engineered for position traders
--------------------------------------------------------- */

.trading-hero {
	position: relative;
	background: url("../images/fx_trading/fx-trading-hero.png") no-repeat center center;
	background-size: cover;
}

.trading-hero-overlay {
	background: linear-gradient(
	to top right,
	rgba(2, 103, 181, 0.8),
	rgba(8, 34, 74, 0.9)
	);

	padding: 80px 0;
}

.trading-hero-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;

	& .eyebrow{
		color: var(--blue);
		font-size: 24px;
		font-weight: 600;
		margin-bottom: 16px;
	}

	& h2 {
		color: #ffffff;
		font-size: 34px;
		font-weight: 700;
		max-width: 800px;
		margin-bottom: 48px;
	}
}

/* Horizontal feature row instead of vertical stack */
.trading-features-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin-bottom: 48px;

	@media (max-width: 900px) {
		grid-template-columns: repeat(2, 1fr);
	}

	@media (max-width: 600px) {
		grid-template-columns: 1fr;
	}
}

.trading-feature {
	border-top: 1px solid var(--blue);
	padding-top: 20px;

	& img {
		width: 36px;
		height: 36px;
		margin-bottom: 16px;
	}

	& h3 {
		color: #ffffff;
		font-size: 18px;
		font-weight: 700;
		margin-bottom: 10px;
	}

	& p {
		color: var(--blue-light);
		font-size: 16px;
		font-weight: 300;
		line-height: 1.6;
		margin: 0;
	}
}

/* CTA bar */
.trading-cta-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	padding: 10px 10px;
	margin-top: 30px;

	@media (max-width: 900px) {
		flex-direction: column;
		align-items: flex-start;
	}
}

.trading-cta-list {
	display: flex;
	gap: 100px;
	list-style: none;
	margin: 0;

	& li {
		color: var(--blue-light);
		font-size: 20px;
		font-weight: 400;
		position: relative;
		padding-left: 18px;
	}
}

/* -------------------------------------------------------
FX Trading Workflow
--------------------------------------------------------- */

.trading-workflow {
	padding: 90px 24px;
	background: #f7f9fc;
}

.workflow-header {
	max-width: 850px;
	margin: 0 auto 60px;
	text-align: center;

	& h2 {
		margin: 0 0 18px;
		font-size: 38px;
		line-height: 1.2;
		color: var(--navy);

		@media (max-width: 650px) {
			font-size: 30px;
		}
	}

	& p {
		margin: 0 auto;
		max-width: 700px;
		font-size: 17px;
		line-height: 1.7;
		color: var(--navy-dark);

		@media (max-width: 650px) {
			font-size: 15px;
		}
	}
}

.workflow-label {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: var(--blue);
}

/* ---------- Steps ---------- */

.workflow-steps {
	width: 95%;
	max-width: 1450px;
	margin: 0 auto;

	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 18px;

	@media (max-width: 1100px) {
		flex-wrap: wrap;
	}

	@media (max-width: 650px) {
		width: 100%;
		flex-direction: column;
		gap: 14px;
	}
}

.workflow-step {
	flex: 1;
	min-width: 0;

	background: #ffffff;
	border: 1px solid var(--gray-bg);
	border-radius: 10px;

	padding: 28px 24px;

	box-shadow: 0 8px 24px rgba(20, 50, 80, 0.06);

	@media (max-width: 1100px) {
		flex: 0 0 calc(50% - 30px);
	}

	@media (max-width: 650px) {
		flex: none;
		width: 100%;
		box-sizing: border-box;
	}
}

.step-number {
	margin-bottom: 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--blue);
}

.step-content h3 {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.3;
	color: var(--navy);
}

.step-content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--navy-dark);
}

/* ---------- Arrows ---------- */

.workflow-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	font-size: 24px;
	font-weight: 600;
	color: var(--blue);

	@media (max-width: 1100px) {
		display: none;
	}
}

/* -------------------------------------------------------
Mobile
--------------------------------------------------------- */

@media (max-width: 650px) {

	.trading-workflow {
		padding: 70px 20px;
	}

}
