:root {
	--header-height: 70px;
	--bg-color: #f9f9f9;
	--bg-color-light: #ffffff;
	--bg-dark: #dcdcdc;
	--accent-color: #7b2cbf;

	--text-color: #2e2e2e;

	--faq-bg: #eae6f7;
	--faq-text: #5e548e;
	--faq-accent: #9d4edd;
	--faq-border: #c1b3e0;
	--faq-radius: 1rem;
	--faq-shadow: rgba(123, 44, 191, 0.15);

	--bg-gradient-dark: linear-gradient(135deg, #f9f9f9 0%, #ffffff 50%, #dcdcdc 100%);

	--color-primary: #9d4edd;
	--color-accent: #ff6b6b;
	--color-light: #ffe066;
	--color-text: #3c3c3c;

	--border-radius: 1rem;
	--shadow: 0 15px 30px rgba(255, 184, 0, 0.25);

	/* Анимации */
	--transition: all 0.3s ease-in-out;

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

/* 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; /* чтобы контент не ушел под фиксированный header */
}

/* main занимает всё свободное пространство */
.main {
	flex: 1 0 auto; /* растягиваем main, чтобы footer ушел вниз */
}

.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(--bg-color);
	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: 900px;
	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(--text-color);
	font-weight: 500;
	position: relative;
	transition: var(--transition);
	display: block;
	padding: 5px;
	border-radius: 5px;
}

.nav-link:hover {
	background: var(--color-light);
}
.nav-link.active {
	background: var(--bg-color);
	color: var(--color-accent);
}
/* Бургер меню */
.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(--text-color);
	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(--bg-color);
		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 {
	background: var(--bg-color);
	color: var(--text-color);
	padding: 3rem 2rem;
	min-height: 100vh;
	font-weight: 400;
}

.faq .container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem;
}

.faq-title {
	font-size: 2.75rem;
	font-weight: 700;
	margin-bottom: 2.5rem;
	text-align: center;
	color: var(--color-primary);
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	user-select: none;
}

.faq details {
	background: var(--faq-bg);
	border: 1.5px solid var(--faq-border);
	border-radius: var(--faq-radius);
	box-shadow: 0 5px 15px var(--faq-shadow);
	margin-bottom: 1.5rem;
	padding: 1.25rem 2rem;
	transition: background 0.35s ease, box-shadow 0.35s ease;
	cursor: pointer;
}

.faq details[open] {
	background: var(--bg-color-light);
	box-shadow: 0 8px 25px var(--faq-shadow);
}

.faq summary {
	list-style: none;
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--faq-accent);
	outline: none;
	display: flex;
	align-items: center;
	user-select: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::before {
	content: '+';
	color: var(--color-accent);
	font-weight: 700;
	font-size: 1.5rem;
	display: inline-block;
	margin-right: 1rem;
	transition: transform 0.35s ease;
}

.faq details[open] summary::before {
	content: '−';
	transform: rotate(180deg);
}

.faq__answer {
	margin-top: 1rem;
	color: var(--faq-text);
	font-size: 1.05rem;
	line-height: 1.6;
	user-select: text;
}

.faq p {
	margin-top: 2.5rem;
	font-size: 1rem;
	color: var(--color-light);
	line-height: 1.7;
	font-style: italic;
	text-align: center;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	user-select: none;
}

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

	.faq summary {
		font-size: 1.1rem;
	}

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

.site-nav {
	text-align: center;
	padding: 20px 30px;
	background-color: #e6ebf8;
	color: #3a3a3a;
	border-radius: 30px;
	max-width: 540px;
	margin: 1.5rem auto;
	box-shadow: 0 8px 24px rgba(58, 58, 58, 0.1);
	font-weight: 600;
	letter-spacing: 0.1em;
	font-size: 18px;
	border: 1px solid #b0c4f9;
}

.nav-list-faq {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.site-nav .nav-list-faq a {
	color: #536dfe;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 14px;
	transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
	font-size: 16px;
	font-weight: 700;
	box-shadow: inset 0 0 0 2px #536dfe;
}

.site-nav .nav-list-faq a:hover,
.site-nav .nav-list-faq a:focus {
	background-color: #536dfe;
	color: #fff;
	outline: none;
	box-shadow: 0 4px 15px rgba(83, 109, 254, 0.7);
}

.flex-end {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	font-size: 16px;
	margin: 24px 0;
	color: #536dfecc;
	font-weight: 700;
	font-style: italic;
}

@media (max-width: 768px) {
	.site-nav {
		padding: 16px 22px;
		font-size: 16px;
		max-width: 100%;
		border-radius: 22px;
	}
	.flex-end {
		font-size: 14px;
		justify-content: center;
		margin: 18px 0;
	}
	.nav-list-faq {
		justify-content: center;
		gap: 22px;
	}
	.faq-title {
		font-size: 1.4rem;
	}
}

/* PRIVaCY */
.privacy {
	color: #222;
	padding: 3rem 2rem;
	background: linear-gradient(135deg, #1e3c50, #39687e);
	border-radius: 16px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.privacy__header {
	background: #ffffffdd;
	padding: 1.5rem 1.2rem;
	text-align: center;
	border-radius: 14px;
	margin-bottom: 2.5rem;
	box-shadow: 0 4px 10px rgba(57, 104, 126, 0.25);
	backdrop-filter: blur(8px);
}

.privacy__title {
	font-size: 2rem;
	font-weight: 700;
	color: #2a475e;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.privacy__intro {
	font-size: 1.3rem;
	color: #4a6f8c;
	margin-top: 0.5rem;
	font-weight: 500;
	line-height: 1.5;
}

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

.privacy__sidebar {
	flex: 1 1 280px;
	background: #fefefe;
	border: 1px solid #b0c7db;
	padding: 1.5rem 1.25rem;
	border-radius: 14px;
	position: sticky;
	top: 80px;
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	box-shadow: 0 4px 12px rgba(57, 104, 126, 0.15);
}

section[id] {
	scroll-margin-top: 90px;
}

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

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

.privacy__nav a {
	color: #2a475e;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease, transform 0.2s ease;
	border-bottom: 2px solid transparent;
	padding-bottom: 2px;
	display: inline-block;
}

.privacy__nav a:hover,
.privacy__nav a:focus {
	color: #1b2f43;
	border-color: #39687e;
	transform: translateX(4px);
	outline: none;
}

.privacy__content {
	flex: 3 1 640px;
	background: #fff;
	padding: 2rem 2.5rem;
	border-radius: 18px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

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

.privacy__content h2 {
	font-size: 1.8rem;
	margin-bottom: 1.25rem;
	color: #2a475e;
	font-weight: 700;
	border-left: 4px solid #39687e;
	padding-left: 1rem;
}

.privacy__content h3 {
	font-size: 1.3rem;
	margin-top: 1.5rem;
	color: #4a6f8c;
	font-weight: 600;
}

.privacy__content ul {
	margin-left: 2rem;
	padding-left: 0;
	list-style-type: disc;
	color: #555;
	line-height: 1.6;
}

.privacy__content address {
	font-style: normal;
	color: #666;
	margin: 1.5rem 0 0 0;
	font-weight: 500;
}

@media (max-width: 768px) {
	.privacy {
		padding: 2rem 1rem;
		border-radius: 12px;
	}

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

	.privacy__title {
		font-size: 1.5rem;
	}

	.privacy__intro {
		font-size: 1.1rem;
	}

	.privacy__container {
		flex-direction: column;
		gap: 1.5rem;
	}

	.privacy__sidebar {
		position: static;
		max-height: none;
		box-shadow: none;
		padding: 1rem;
		border-radius: 12px;
	}

	.privacy__content {
		padding: 1.5rem 1.5rem;
		border-radius: 12px;
	}

	.privacy__content h2 {
		font-size: 1.4rem;
		padding-left: 0.8rem;
	}

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

/* Enhanced Contacts Section =====================================================*/

.contact-section {
  padding: 5rem 2rem;
  background-color: #f8fafc;
  min-height: 70vh;
  display: grid;
  place-items: center;
  color: #1e293b;
}

.contact-section__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  width: 100%;
}

.contact-section__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.contact-section__card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.contact-section__image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.contact-section__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.contact-section__image:hover {
  transform: scale(1.05);
}

.contact-section__heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.contact-section__description {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.contact-section__subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #334155;
}

.contact-section__block {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

.contact-section__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-section__socials a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #e2e8f0;
  color: #1e293b;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-section__socials a:hover {
  background-color: #cbd5e1;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-section__card {
    padding: 1.5rem;
  }

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

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

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

.link-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.link-page {
	background-color: var(--bg-dark);
	border-radius: 12px;
	padding: 15px;
	display: inline-block;
	color: var(--text-color);
	transition: var(--transition);
}
.link-page:hover {
	color: var(--faq-text);
	transition: var(--transition);
}

/* ================================================================================= SECTIONS */

.coinmarketcap {
  padding: 40px 20px;
}

.coinmarketcap__container {
  max-width: 960px;
  margin: 0 auto;
}

.coinmarketcap__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #22d3ee;
}

.coinmarketcap__image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.coinmarketcap__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coinmarketcap__subtitle {
  font-size: 24px;
  margin-top: 32px;
  color: #22d3ee;
}

.coinmarketcap__text {
  color: #94a3b8;
}

.coinapp {
  padding: 40px 20px;
  background-color: #0f172a;
}

.coinapp__container {
  max-width: 960px;
  margin: 0 auto;
}

.coinapp__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #22d3ee;
}

.coinapp__image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.coinapp__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coinapp__subtitle {
  font-size: 24px;
  margin-top: 32px;
  color: #22d3ee;
}

.coinapp__text {
  color: #94a3b8;
}