/* ==========================================================================
   MCT Iran — Design tokens & base system
   Loaded first; every other stylesheet consumes these custom properties.
   ========================================================================== */

:root {
	--mct-primary: #009FE3;
	--mct-primary-dark: #0077AC;
	--mct-dark: #071221;
	--mct-dark-blue: #0D1B2E;
	--mct-light-blue: #66E0FF;
	--mct-white: #FFFFFF;
	--mct-text: #DCE7F5;
	--mct-text-muted: #93A6BF;
	--mct-ink: #0B1626;

	--mct-glass-bg: rgba(255, 255, 255, 0.06);
	--mct-glass-border: rgba(255, 255, 255, 0.14);
	--mct-glass-bg-light: rgba(13, 27, 46, 0.04);
	--mct-glass-border-light: rgba(13, 27, 46, 0.10);

	--mct-gradient-primary: linear-gradient(135deg, var(--mct-primary) 0%, #0D6FB8 55%, var(--mct-dark-blue) 100%);
	--mct-gradient-dark: radial-gradient(120% 120% at 15% 0%, #102A46 0%, var(--mct-dark-blue) 45%, var(--mct-dark) 100%);

	--mct-font: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;

	--mct-radius-sm: 10px;
	--mct-radius-md: 18px;
	--mct-radius-lg: 28px;
	--mct-radius-pill: 999px;

	--mct-shadow-sm: 0 6px 18px rgba(7, 18, 33, 0.08);
	--mct-shadow-md: 0 16px 40px rgba(7, 18, 33, 0.12);
	--mct-shadow-glow: 0 20px 60px rgba(0, 159, 227, 0.25);

	--mct-container: 1240px;
	--mct-space-section: clamp(64px, 9vw, 128px);

	--mct-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--mct-transition: 0.35s var(--mct-ease);
}

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

.mct-body {
	font-family: var(--mct-font);
	color: var(--mct-ink);
	background: var(--mct-white);
	direction: rtl;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

.mct-body a {
	text-decoration: none;
	color: inherit;
}

.mct-body ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * Bare element selectors (specificity 0,0,1) — deliberately lower than any
 * single component class (0,1,0) — so that ".mct-hero__desc", ".mct-page-
 * banner__desc" etc. can always override color/margin without a fight.
 * (Previously ".mct-body h1"/".mct-body p" at 0,1,1 silently beat those
 * component classes and several fixes had to work around it one at a time.)
 */
h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 700;
	line-height: 1.3;
	color: var(--mct-ink);
}

p {
	margin: 0;
	line-height: 1.9;
	color: #3C4A5E;
}

.mct-skip-link {
	position: absolute;
	right: 12px;
	top: -60px;
	background: var(--mct-primary);
	color: var(--mct-white);
	padding: 10px 18px;
	border-radius: var(--mct-radius-sm);
	z-index: 9999;
	transition: top var(--mct-transition);
}

.mct-skip-link:focus {
	top: 12px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

/* ---------- Layout helpers ---------- */
.mct-container {
	width: 100%;
	max-width: var(--mct-container);
	margin: 0 auto;
	padding: 0 24px;
}

.mct-section-head {
	max-width: 680px;
	margin: 0 0 56px;
}

.mct-section-head--center,
.mct-eyebrow--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.mct-why .mct-section-head,
.mct-device .mct-section-head,
.mct-benefits .mct-section-head,
.mct-applications .mct-section-head {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.mct-section-head h2 {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-top: 12px;
}

.mct-section-head__desc {
	margin-top: 14px;
	font-size: 17px;
}

.mct-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--mct-primary);
	margin: 0;
}

.mct-eyebrow span {
	width: 30px;
	height: 2px;
	background: var(--mct-primary);
	border-radius: 2px;
}

/* ---------- Buttons ---------- */
.mct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 32px;
	border-radius: var(--mct-radius-pill);
	font-weight: 700;
	font-size: 15px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform var(--mct-transition), box-shadow var(--mct-transition), background var(--mct-transition), color var(--mct-transition), border-color var(--mct-transition);
	white-space: nowrap;
}

.mct-btn--primary {
	background: var(--mct-gradient-primary);
	color: var(--mct-white);
	box-shadow: var(--mct-shadow-glow);
}

.mct-btn--primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 24px 50px rgba(0, 159, 227, 0.35);
}

.mct-btn--outline {
	background: transparent;
	color: var(--mct-white);
	border-color: rgba(255, 255, 255, 0.4);
}

.mct-btn--outline:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--mct-white);
	transform: translateY(-3px);
}

.mct-btn--light {
	background: var(--mct-white);
	color: var(--mct-primary-dark);
}

.mct-btn--light:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(7, 18, 33, 0.25);
}

/* ---------- Glass card base (reused by Why-MCT + others) ---------- */
.mct-glass-card {
	background: var(--mct-glass-bg-light);
	border: 1px solid var(--mct-glass-border-light);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: var(--mct-radius-lg);
	padding: 34px 28px;
	transition: transform var(--mct-transition), box-shadow var(--mct-transition), border-color var(--mct-transition);
}

.mct-glass-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--mct-shadow-md);
	border-color: rgba(0, 159, 227, 0.35);
}

.mct-glass-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--mct-gradient-primary);
	color: var(--mct-white);
	margin-bottom: 20px;
}

.mct-glass-card h3 {
	font-size: 19px;
	margin-bottom: 8px;
}

.mct-glass-card p {
	font-size: 15px;
}

/* ---------- Stat tiles (About section) ---------- */
.mct-stat {
	text-align: center;
	padding: 26px 16px;
}

.mct-stat__value {
	display: block;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 900;
	color: var(--mct-primary);
	direction: ltr;
}

.mct-stat__label {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	color: var(--mct-text-muted);
}

/* ---------- Forms ---------- */
.mct-form__row {
	margin-bottom: 18px;
}

.mct-form__row label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--mct-ink);
}

.mct-form__row label span {
	color: var(--mct-primary);
}

.mct-form__row input,
.mct-form__row select,
.mct-form__row textarea {
	width: 100%;
	padding: 13px 16px;
	border-radius: var(--mct-radius-sm);
	border: 1.5px solid #E1E8F0;
	font-family: var(--mct-font);
	font-size: 15px;
	background: var(--mct-white);
	color: var(--mct-ink);
	transition: border-color var(--mct-transition), box-shadow var(--mct-transition);
}

.mct-form__row input:focus,
.mct-form__row select:focus,
.mct-form__row textarea:focus {
	outline: none;
	border-color: var(--mct-primary);
	box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.14);
}

.mct-form__submit {
	width: 100%;
	margin-top: 6px;
}

.mct-form-notice {
	padding: 14px 18px;
	border-radius: var(--mct-radius-sm);
	font-size: 14px;
	margin-bottom: 20px;
}

.mct-form-notice--success {
	background: rgba(29, 179, 116, 0.12);
	color: #14804F;
}

.mct-form-notice--error {
	background: rgba(224, 63, 63, 0.1);
	color: #B4232B;
}
