/*
Theme Name: TradeFlow Elementor
Theme URI: https://example.test/tradeflow-elementor
Author: Morsli
Author URI: 
Description: Elementor-ready classic WordPress theme for a trading and market-intelligence website. Includes full-width templates, clean contrast, real photo sections, and smooth motion.
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tradeflow-elementor
*/

*, *::before, *::after {
	box-sizing: border-box;
}

:root {
	--tf-text: #1c2f36;
	--tf-muted: #64747b;
	--tf-teal: #0a7f93;
	--tf-teal-dark: #0a6374;
	--tf-teal-deep: #064f5e;
	--tf-mint: #dff4f6;
	--tf-line: #d7e3e6;
	--tf-soft: #f4fafb;
	--tf-white: #ffffff;
	--tf-shadow: 0 18px 46px rgba(6, 79, 94, 0.13);
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--tf-white);
	color: var(--tf-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
	text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid #b8dbe2;
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tradeflow-site-header {
	background: var(--tf-teal);
	color: var(--tf-white);
	position: sticky;
	top: 0;
	z-index: 20;
	box-shadow: 0 1px 0 rgba(255,255,255,0.18);
}

.tradeflow-utility {
	background: var(--tf-teal-dark);
	color: #e7f7f8;
	font-size: 12px;
	min-height: 34px;
}

.tradeflow-header-inner,
.tradeflow-utility-inner,
.tradeflow-section-inner {
	width: min(1440px, calc(100% - clamp(40px, 10vw, 144px)));
	margin-inline: auto;
}

.tradeflow-utility-inner,
.tradeflow-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.tradeflow-header-inner {
	min-height: 84px;
}

.tradeflow-brand {
	display: flex;
	align-items: baseline;
	gap: 12px;
	color: var(--tf-white);
	text-decoration: none;
}

.tradeflow-brand-name {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

.tradeflow-brand-tagline {
	font-size: 12px;
	opacity: 0.86;
}

.tradeflow-nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2vw, 30px);
	font-size: 14px;
	font-weight: 700;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tradeflow-nav a {
	color: var(--tf-white);
	text-decoration: none;
}

.tradeflow-nav .tradeflow-nav-cta {
	border: 1px solid rgba(255,255,255,0.82);
	padding: 11px 16px;
}

.tradeflow-main {
	min-height: 60vh;
}

.tradeflow-main.elementor-ready {
	padding: 0;
}

.tradeflow-content {
	width: min(960px, calc(100% - 40px));
	margin: 64px auto;
}

.tradeflow-hero {
	background: linear-gradient(104deg, #0a7182 0%, #0d8598 46%, #f4fafb 46%, #ffffff 100%);
	overflow: hidden;
}

.tradeflow-hero-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	min-height: 620px;
}

.tradeflow-hero-copy {
	align-self: center;
	color: var(--tf-white);
	padding: clamp(68px, 7vw, 96px) clamp(24px, 3vw, 44px) clamp(68px, 7vw, 96px) 0;
}

.tradeflow-eyebrow {
	color: #eaf7f8;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2px;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.tradeflow-hero h1 {
	color: var(--tf-white);
	font-size: clamp(42px, 5vw, 68px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 22px;
	max-width: 620px;
}

.tradeflow-hero p {
	color: #eaf7f8;
	font-size: 19px;
	line-height: 1.55;
	margin: 0;
	max-width: 540px;
}

.tradeflow-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.tradeflow-button {
	background: var(--tf-white);
	border: 1px solid var(--tf-white);
	color: var(--tf-teal-deep);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	padding: 14px 20px;
	text-decoration: none;
	transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.tradeflow-button:hover {
	transform: translateY(-2px);
}

.tradeflow-button.secondary {
	background: transparent;
	border-color: #b8dbe2;
	color: var(--tf-white);
}

.tradeflow-hero-media {
	align-self: center;
	padding: 56px 0 56px 56px;
}

.tradeflow-photo-frame {
	background-image: linear-gradient(rgba(5, 48, 57, 0.1), rgba(5, 48, 57, 0.28)), url("https://images.unsplash.com/photo-1748439435495-722cc1728b7e?auto=format&fit=crop&q=80&w=1600");
	background-position: center;
	background-size: cover;
	border: 1px solid rgba(255,255,255,0.72);
	box-shadow: 0 24px 70px rgba(3, 42, 50, 0.22);
	min-height: 460px;
	padding: 34px;
	display: flex;
	align-items: end;
	overflow: hidden;
}

.tradeflow-market-card {
	background: rgba(255,255,255,0.94);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(215,227,230,0.88);
	box-shadow: var(--tf-shadow);
	color: var(--tf-text);
	width: min(100%, 620px);
}

.tradeflow-market-header,
.tradeflow-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.tradeflow-market-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 24px;
}

.tradeflow-market-header h2 {
	font-size: 20px;
	line-height: 1.2;
	margin: 0;
}

.tradeflow-live {
	color: var(--tf-teal);
	font-size: 12px;
	font-weight: 800;
}

.tradeflow-live::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 7px;
	border-radius: 50%;
	background: #16a085;
	animation: tradeflow-pulse 1.8s ease-out infinite;
}

.tradeflow-chart {
	background: linear-gradient(#ffffff, #f5fbfc);
	border-block: 1px solid #e1e7e9;
	min-height: 220px;
	padding: 24px;
}

.tradeflow-chart svg {
	width: 100%;
	height: 190px;
}

.tradeflow-chart-line {
	stroke-dasharray: 720;
	stroke-dashoffset: 720;
	animation: tradeflow-chart-draw 1.6s ease-out 420ms forwards;
}

.tradeflow-chart-fill {
	opacity: 0;
	animation: tradeflow-fade-in 900ms ease 1s forwards;
}

.tradeflow-stat {
	border-right: 1px solid #e1e7e9;
	padding: 18px 22px;
}

.tradeflow-stat:last-child {
	border-right: 0;
}

.tradeflow-stat small {
	color: #5a6870;
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.tradeflow-stat strong {
	display: block;
	font-size: 21px;
	line-height: 1.2;
	margin-top: 6px;
}

.tradeflow-section {
	padding-block: clamp(56px, 6vw, 90px);
}

.tradeflow-section.alt {
	background: var(--tf-soft);
}

.tradeflow-section h2 {
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.08;
	margin: 0 0 12px;
}

.tradeflow-lede {
	color: var(--tf-muted);
	font-size: 18px;
	margin: 0 0 38px;
}

.tradeflow-card-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, 1fr);
}

.tradeflow-card {
	background: var(--tf-white);
	border: 1px solid var(--tf-line);
	color: var(--tf-text);
	min-height: 230px;
	overflow: hidden;
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.tradeflow-card:hover {
	border-color: #a8c4ca;
	box-shadow: var(--tf-shadow);
	transform: translateY(-3px);
}

.tradeflow-card-photo {
	aspect-ratio: 16 / 9;
	background-position: center;
	background-size: cover;
	transition: filter 900ms ease, transform 900ms ease;
}

.tradeflow-card:hover .tradeflow-card-photo {
	filter: saturate(1.08) contrast(1.03);
	transform: scale(1.05);
}

.tradeflow-card-body {
	padding: 24px;
}

.tradeflow-card h3 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.tradeflow-card p {
	color: var(--tf-muted);
	margin: 0;
}

.tradeflow-site-footer {
	background: var(--tf-teal-deep);
	color: #c6e0e5;
	padding: 44px 0;
}

.tradeflow-site-footer a {
	color: var(--tf-white);
	text-decoration: none;
}

.tradeflow-site-footer a:hover {
	text-decoration: underline;
}

.tradeflow-hero-copy > *,
.tradeflow-card,
.tradeflow-market-card {
	animation: tradeflow-fade-up 640ms ease both;
}

.tradeflow-card:nth-child(2) {
	animation-delay: 100ms;
}

.tradeflow-card:nth-child(3) {
	animation-delay: 200ms;
}

@keyframes tradeflow-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes tradeflow-fade-in {
	to {
		opacity: 1;
	}
}

@keyframes tradeflow-chart-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes tradeflow-pulse {
	70% {
		box-shadow: 0 0 0 8px rgba(22, 160, 133, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(22, 160, 133, 0);
	}
}

@media (max-width: 900px) {
	.tradeflow-header-inner,
	.tradeflow-utility-inner,
	.tradeflow-section-inner {
		width: min(100% - 40px, 760px);
	}

	.tradeflow-nav,
	.tradeflow-utility {
		display: none;
	}

	.tradeflow-header-inner {
		min-height: 70px;
	}

	.tradeflow-brand-name {
		font-size: 25px;
	}

	.tradeflow-hero {
		background: var(--tf-teal);
	}

	.tradeflow-hero-grid,
	.tradeflow-card-grid {
		grid-template-columns: 1fr;
	}

	.tradeflow-hero-copy {
		padding: 56px 0;
	}

	.tradeflow-hero-media {
		background: var(--tf-soft);
		padding: 24px 0 42px;
	}

	.tradeflow-photo-frame {
		min-height: 420px;
		padding: 20px;
	}

	.tradeflow-stats {
		grid-template-columns: 1fr;
	}

	.tradeflow-stat {
		border-right: 0;
		border-bottom: 1px solid #e1e7e9;
	}

	.tradeflow-stat:last-child {
		border-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
