
:root {
	--header-height: 70px;
	--color-bg: #f7f9fc;
	--color-text: #333;
	--color-title: #111;
	--color-accent: #007bff;

	--accent-color-faq: #c73f3f;
	--border-color: #333;
	--radius: 8px;

	--container-width: 1200px;
	--padding: 16px;

	--font-main: 'Montserrat', sans-serif;
	--font-second: 'Merriweather', sans-serif;

	--color-parchment: #f9f5e3;
	--color-ink: #3b2f2f;
	--color-golden: #c9a86a;
	--font-text: 'Cormorant Garamond', serif;

	--iran-green: #239f40;
	--iran-red: #d72631;
	--us-blue: #002868;
	--us-red: #bf0a30;
	--neutral-gray: #1c1c1c;
	--paper-bg: #f5f5f5;
	--military-sand: #e4dac2;
	--warning-yellow: #ffd700;
}

/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

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

/* Links */

a,
a:link,
a:visited {
	text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-size: inherit;
	font-weight: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-second);
}

ul,
ul li {
	list-style: none;
	font-family: var(--font-second);
}

img {
	vertical-align: top;
}

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

address {
	font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button,
input[type='submit'] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
	outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}

html,
body {
	height: 100%;
	font-family: Arial, sans-serif;
	background-color: var(--bg-color-light);
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-main);
}

.wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding-top: 70px;
}

.main {
	flex: 1 0 auto;
}

.container {
	max-width: 1280px;
	padding: 0 10px;
	margin: 0 auto;
	height: 100%;
}

/* HEADER */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: var(--color-bg);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.header__inner {
	display: flex;
	justify-content: center;
	flex-direction: row-reverse;
	align-items: center;
	height: 70px;
	width: 100%;
}

.nav {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

.nav-list {
	display: flex;
	justify-content: space-evenly;
	gap: 30px;
	list-style: none;
}

.nav-link {
	text-decoration: none;
	color: var(--color-text);
	font-weight: 500;
	position: relative;
	transition: var(--transition);
	display: block;
	padding: 5px;
	border-radius: 5px;
}
.nav-link.active {
	color: var(--accent-color);
}

/* Бургер меню */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--color-text);
	border-radius: 3px;
	transition: var(--transition);
}

/* Адаптивность */
@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.nav-list {
		position: absolute;
		top: var(--header-height);
		right: 0;
		background-color: var(--color-bg);
		flex-direction: column;
		width: 100%;
		padding: 20px;
		gap: 20px;
		transform: translateX(100%);
		opacity: 0;
		pointer-events: none;
		transition: var(--transition);
	}

	.nav-list.active {
		transform: translateX(0%);
		opacity: 1;
		pointer-events: all;
	}
}

/* Footer */

/* Футер */
.footer {
	background-color: #0a0f1a;
	color: #fff;
	flex-shrink: 0; /* не сжимается */
}

.footer .container {
	display: flex;
	justify-content: space-between;
	padding: 20px;
}

.footer-links ul {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #2454f1;
}

.footer-bottom {
	margin-top: 10px;
	font-size: 14px;
	color: #eec5c5;
	text-align: center;
}

@media (max-width: 768px) {
	.footer .container {
		display: flex;
		flex-direction: column;
	}
}

/* ==================================================== FAQ */
.faq-section {
	padding-top: 20px;
}

.faq-title {
	text-align: center;
	font-size: 2.4rem;
	margin-bottom: 40px;
	color: var(--primary-color);
}

.faq-item {
	background-color: white;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	margin-bottom: 20px;
	overflow: hidden;
	transition: var(--transition);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	border-color: var(--accent-color);
}

.faq-item summary {
	padding: 18px 24px;
	cursor: pointer;
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--primary-color);
	list-style: none;
	position: relative;
}

.faq-item summary::after {
	content: '+';
	position: absolute;
	right: 24px;
	font-size: 1.2rem;
	transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
}

.faq-item p {
	padding: 0 24px 18px;
	font-size: 1rem;
	line-height: 1.6;
	color: #555;
}

.faq-footer {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	color: #999;
}

.privacy-link {
	color: var(--accent-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.privacy-link:hover {
	color: var(--primary-color);
}

.faq-links {
	background-color: #fff;
	border-top: 1px solid #eee;
	padding: 20px 0;
}

.faq-links__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-nav .nav-list-faq {
	display: flex;
	justify-content: center;
	list-style: none;
	gap: 30px;
	padding: 0;
	margin: 0;
}

.site-nav .nav-list-faq a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
}

.site-nav .nav-list-faq a:hover {
	color: var(--accent-color);
}

/* Адаптивность */
@media (max-width: 768px) {
	.faq-title {
		font-size: 2rem;
	}

	.faq-item summary {
		font-size: 1rem;
	}

	.faq-item p {
		font-size: 0.95rem;
	}

	.site-nav .nav-list-faq {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.faq-title {
		font-size: 1.6rem;
	}

	.faq-item summary::after {
		right: 16px;
	}

	.faq-item summary,
	.faq-item p {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* PRIVaCY ==================================================================== */
.privacy {
	background: linear-gradient(to bottom right, #0f172a, #1e293b);
	color: #f1f5f9;
	padding: 4rem 2rem;
	box-shadow: 0 10px 40px rgba(14, 165, 233, 0.25);
	overflow: hidden;
}

.privacy__header {
	background: linear-gradient(135deg, #588f56 0%, #38bdf8 100%);
	padding: 1rem;
	text-align: center;
	border-radius: 20px;
	margin-bottom: 3rem;
	box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
	color: #ffffff;
	position: relative;
}

.privacy__header::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 20px;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
	pointer-events: none;
}

.privacy__title {
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.privacy__intro {
	font-size: 1.25rem;
	margin-top: 1rem;
	font-weight: 500;
	opacity: 0.9;
}

.privacy__container {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.privacy__sidebar {
	flex: 1 1 280px;
	background-color: #1e293b;
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 1.5rem;
	position: sticky;
	top: 100px;
	max-height: calc(100vh - 160px);
	overflow-y: auto;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

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

.privacy__nav li {
	margin-bottom: 1rem;
}

.privacy__nav a {
	color: #d2e5ff;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	padding-left: 12px;
	display: inline-block;
}

.privacy__nav a:hover,
.privacy__nav a:focus {
	color: #38bdf8;
	border-color: #38bdf8;
	transform: translateX(5px);
}

.privacy__content {
	flex: 3 1 640px;
	background-color: #0f172a;
	padding: 2.5rem;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
}

.privacy__content section {
	margin-bottom: 2.5rem;
}

.privacy__content h2 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	font-weight: 700;
	color: #38bdf8;
	border-left: 5px solid #0ea5e9;
	padding-left: 1rem;
}

.privacy__content h3 {
	font-size: 1.4rem;
	margin-top: 1.75rem;
	font-weight: 600;
	color: #f1f5f9;
}

.privacy__content ul {
	margin-left: 1.5rem;
	padding-left: 0.5rem;
	list-style-type: disc;
	line-height: 1.7;
	color: #cbd5e1;
}

.privacy__content address {
	font-style: normal;
	color: #94a3b8;
	font-weight: 500;
	margin-top: 2rem;
}

#contact-us a {
	color: var(--accent-color-faq);
}

/* Scroll adjustment for anchor links */
section[id] {
	scroll-margin-top: 100px;
}

/* Responsive */
@media (max-width: 768px) {
	.privacy {
		padding: 2.5rem 1rem;
		border-radius: 16px;
	}

	.privacy__header {
		padding: 1.5rem 1rem;
		margin-bottom: 2rem;
	}

	.privacy__title {
		font-size: 1.8rem;
	}

	.privacy__intro {
		font-size: 1.1rem;
	}

	.privacy__container {
		flex-direction: column;
	}

	.privacy__sidebar {
		position: static;
		max-height: none;
		box-shadow: none;
	}

	.privacy__content {
		padding: 2rem 1.25rem;
		border-radius: 16px;
	}

	.privacy__content h2 {
		font-size: 1.5rem;
	}

	.privacy__content h3 {
		font-size: 1.2rem;
	}
}

/* Enhanced Contacts Section =====================================================*/
.contact-section {
	padding: 6rem 4rem;
	background: linear-gradient(135deg, #024931, #0d1d2b 85%);
	min-height: 75vh;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 4rem;
	color: #d0e7ff;
	align-items: center;
	position: relative;
	overflow: hidden;
	transition: background 0.6s ease;
}

.contact-section__container {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	gap: 2.5rem;
	position: relative;
	z-index: 1;
}

.contact-section__card {
	background: rgba(0, 35, 75, 0.75);
	border-radius: 25px;
	padding: 3rem 2.5rem;
	box-shadow: 0 0 20px 3px rgba(0, 140, 255, 0.6), 0 10px 40px rgba(0, 110, 255, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 520px;
	margin: 0 auto;
	transition: box-shadow 0.5s ease, transform 0.4s ease;
	backdrop-filter: saturate(180%) blur(15px);
}

.contact-section__card:hover {
	box-shadow: 0 0 38px 6px rgba(0, 190, 255, 0.85), 0 15px 50px rgba(0, 140, 255, 0.8);
	transform: translateY(-12px) scale(1.05);
}

.contact-section__image-wrapper {
	width: 100%;
	overflow: hidden;
	border-radius: 18px;
	max-width: 460px;
	margin: 0 auto 2rem;
	transition: box-shadow 0.4s ease;
}

.contact-section__image-wrapper:hover {
	box-shadow: 0 0 26px 3px rgba(0, 230, 255, 0.7), inset 0 0 38px 4px rgba(255, 255, 255, 0.2);
}

.contact-section__image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: 18px;
	transition: transform 0.6s ease, filter 0.6s ease;
	filter: brightness(0.75) saturate(1.1);
}

.contact-section__image:hover {
	transform: scale(0.912) rotate(1.2deg);
	filter: brightness(1) saturate(1.3);
}

.contact-section__heading {
	font-size: 1.7rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #63bb8b;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-wrap: balance;
}

.contact-section__description {
	font-size: 1.2rem;
	line-height: 1.8;
	color: #a6d9ff;
	text-align: center;
	margin-bottom: 1.25rem;
}

.contact-section__subtitle {
	font-size: 1.3rem;
	font-weight: 700;
	color: #6bd1ff;
	margin-bottom: 1rem;
	text-align: center;
	text-shadow: 0 0 6px #38bdf8aa;
}

.contact-section__block {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #9fcfff;
	text-align: center;
	max-width: 500px;
	margin: 0 auto 10px;
	user-select: text;
}

.contact-section__socials {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.8rem;
	margin-top: 2rem;
	z-index: 1;
}
.contact-section__block a {
	color: red;
}

.contact-section__socials a {
	display: inline-block;
	padding: 0.85rem 2rem;
	background: linear-gradient(135deg, #00b3ff, #0066cc);
	color: #e0f7ff;
	border-radius: 35px;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
	user-select: none;
}

.contact-section__socials a:hover {
	background: linear-gradient(135deg, #00eaff, #005bb5);
	color: #bff3ff;
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 12px 26px rgba(0, 230, 255, 0.8), inset 0 -3px 12px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
	.contact-section {
		padding: 3.5rem 2rem;
		grid-template-columns: 1fr;
		min-height: auto;
		border-radius: 24px;
	}

	.contact-section__card {
		max-width: 100%;
		padding: 2.5rem 1.8rem;
	}

	.contact-section__heading {
		font-size: 2rem;
	}

	.contact-section__description {
		font-size: 1.1rem;
	}

	.contact-section__subtitle {
		font-size: 1.15rem;
	}

	.contact-section__socials {
		justify-content: center;
	}
}
.link-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	z-index: 2;
	position: relative;
	margin: 10px 0;
}

.link-page {
	background: linear-gradient(90deg, #004d99, #007acc);
	border-radius: 16px;
	padding: 10px 20px;
	display: inline-block;
	color: #d0ecff;
	font-weight: 400;
	font-size: 1.1rem;
	text-transform: uppercase;
}

/* ================================================================================= SECTIONS */
.coinmarketcap-section {
	padding: 60px 20px;
	background: linear-gradient(to bottom, #f5f5f5 0%, #dddcdc 100%);
	border-top: 8px solid var(--us-red);
	border-bottom: 8px solid var(--iran-green);
	box-shadow: 0 0 20px rgba(100, 0, 0, 0.2);
}

/* Заголовок секции */
.section-title {
	font-size: 30px;
	text-align: center;
	margin-bottom: 30px;
	color: var(--us-blue);
	letter-spacing: 1px;
	line-height: 1.4;
	border-bottom: 3px dashed var(--iran-red);
	padding-bottom: 20px;
	font-weight: bold;
	text-transform: uppercase;
}

/* Изображение */
.section-image {
	display: block;
	max-width: 70%;
	height: auto;
	margin: 30px auto;
	border: 5px solid var(--iran-red);
	border-radius: 8px;
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}

/* Вступление */
.section-intro {
	font-size: 18px;
	font-style: italic;
	color: var(--neutral-gray);
	margin-bottom: 30px;
	padding: 0 10px;
	text-align: center;
	background: rgba(255, 255, 255, 0.7);
	border-left: 4px solid var(--warning-yellow);
}

/* Подзаголовки */
.section-subtitle {
	font-size: 22px;
	color: var(--iran-green);
	margin-top: 40px;
	margin-bottom: 20px;
	position: relative;
	padding-left: 16px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.section-subtitle::before {
	content: '';
	position: absolute;
	width: 6px;
	height: 100%;
	background-color: var(--us-red);
	left: 0;
	top: 0;
	border-radius: 2px;
}

/* Абзацы */
.research p {
	font-size: 16px;
	color: #111;
	margin-bottom: 20px;
	padding-left: 6px;
	padding-right: 6px;
	line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
	.section-title {
		font-size: 22px;
		text-wrap: balance;
	}

	.section-subtitle {
		font-size: 18px;
	}

	.section-intro {
		font-size: 16px;
	}

	p {
		font-size: 15px;
	}
}

/* Блок Research */
.research {
	padding: 3rem 1.5rem;
	background: var(--military-sand);
	border: 4px double var(--iran-green);
	border-radius: 12px;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
	margin: 2rem auto;
	max-width: 1200px;
}

/* Контейнер */
.research__container {
	max-width: 1000px;
	margin: 0 auto;
}

/* Заголовок Research */
.research__header {
	text-align: center;
	margin-bottom: 2rem;
}

.research__title {
	font-size: 2.3rem;
	color: var(--us-red);
	border-bottom: 2px dashed var(--iran-red);
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
}

/* Изображение */
.research__image {
	max-width: 60%;
	border: 3px solid var(--us-blue);
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Блоки текста */
.research__block {
	margin-bottom: 2rem;
}

.research__subtitle {
	font-size: 1.7rem;
	color: var(--iran-red);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.research__subsubtitle {
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	color: var(--us-blue);
	text-decoration: underline dashed var(--us-red);
}

.research__text {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	text-indent: 2em;
	color: #222;
	line-height: 1.6;
	background: rgba(255, 255, 255, 0.6);
	padding: 10px;
	border-left: 4px solid var(--warning-yellow);
}

/* Адаптивность */
@media (max-width: 768px) {
	.research {
		padding: 2rem 1rem;
	}

	.research__title {
		font-size: 1.9rem;
	}

	.research__subtitle {
		font-size: 1.4rem;
	}

	.research__subsubtitle {
		font-size: 1.15rem;
	}

	.research__text {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.research__title {
		font-size: 1.6rem;
	}

	.research__text {
		text-indent: 1em;
	}
}