/* =========================
   ROOT
========================= */

:root {
	--bg: #f8f7fb;
	--card: #ffffff;
	--text: #BD6FEE;
	--muted: #70707d;
	--primary: #ED6FDD;
	--primary-dark: #5235c7;
	--accent: #f0ebff;
	--border: #e7e4ed;
	--success: #247a52;
	--shadow: 0 10px 30px rgba(35, 25, 70, 0.08);
}


/* =========================
   RESET
========================= */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: Inter, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.5;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}


/* =========================
   FAQ PAGE
========================= */

.faq-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 70px 24px 90px;
}


/* =========================
   HERO
========================= */

.faq-hero {
	text-align: center;
	max-width: 750px;
	margin: 0 auto 70px;
}

.faq-badge {
	display: inline-block;
	background: var(--accent);
	color: var(--primary-dark);
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.faq-hero h1 {
	font-size: clamp(2.7rem, 7vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
	color: var(--text);
	margin-bottom: 22px;
}

.faq-hero h1 span {
	color: var(--primary);
}

.faq-hero p {
	max-width: 620px;
	margin: 0 auto;
	color: var(--muted);
	font-size: 1.1rem;
	line-height: 1.7;
}


/* =========================
   FAQ CONTAINER
========================= */

.faq-container {
	max-width: 850px;
	margin: 0 auto;
}


/* =========================
   CATEGORY
========================= */

.faq-category {
	margin-bottom: 55px;
}

.faq-category h2 {
	font-size: 1.5rem;
	color: var(--text);
	margin-bottom: 18px;
	letter-spacing: -0.02em;
}


/* =========================
   FAQ LIST
========================= */

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}


/* =========================
   FAQ ITEM
========================= */

.faq-item {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 5px 18px rgba(35, 25, 70, 0.04);
	overflow: hidden;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.faq-item:hover {
	border-color: #d8b8ed;
	box-shadow: var(--shadow);
	transform: translateY(-1px);
}


/* =========================
   QUESTION
========================= */

.faq-item summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	padding: 22px 24px;

	cursor: pointer;

	font-size: 1rem;
	font-weight: 700;
	color: var(--text);

	user-select: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}


/* =========================
   PLUS ICON
========================= */

.faq-icon {
	flex: 0 0 auto;

	width: 32px;
	height: 32px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: var(--accent);
	color: var(--primary-dark);

	font-size: 1.3rem;
	font-weight: 400;

	transition:
		transform 0.25s ease,
		background 0.25s ease;
}


/* Rotate plus when open */

.faq-item[open] .faq-icon {
	transform: rotate(45deg);
	background: var(--primary);
	color: white;
}


/* =========================
   ANSWER
========================= */

.faq-answer {
	padding: 0 24px 23px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

.faq-answer p {
	margin: 0;
}

.faq-answer strong {
	color: var(--primary-dark);
}


/* =========================
   CONTACT CARD
========================= */

.faq-contact {
	margin-top: 70px;
	background: linear-gradient(
		135deg,
		#f0ebff 0%,
		#ffe8f8 100%
	);

	border-radius: 28px;
	padding: 55px 35px;

	text-align: center;

	border: 1px solid rgba(189, 111, 238, 0.15);
	box-shadow: var(--shadow);
}

.faq-contact-content {
	max-width: 600px;
	margin: 0 auto;
}

.faq-contact-badge {
	display: inline-block;

	background: white;
	color: var(--primary-dark);

	padding: 7px 14px;

	border-radius: 50px;

	font-size: 0.8rem;
	font-weight: 700;

	margin-bottom: 16px;
}

.faq-contact h2 {
	color: var(--text);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
	margin-bottom: 15px;
}

.faq-contact p {
	color: var(--muted);
	max-width: 500px;
	margin: 0 auto 25px;
	line-height: 1.6;
}


/* =========================
   CONTACT BUTTON
========================= */

.faq-contact-button {
	display: inline-block;

	background: var(--primary);
	color: white;

	padding: 14px 25px;

	border-radius: 13px;

	font-weight: 700;
	text-decoration: none;

	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.faq-contact-button:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(82, 53, 199, 0.18);
}


/* =========================
   FOCUS ACCESSIBILITY
========================= */

.faq-item summary:focus-visible,
.faq-contact-button:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 3px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

	.faq-page {
		padding: 55px 20px 70px;
	}

	.faq-hero {
		margin-bottom: 55px;
	}

	.faq-container {
		max-width: 700px;
	}

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

	.faq-page {
		padding: 40px 16px 60px;
	}

	.faq-hero {
		margin-bottom: 45px;
	}

	.faq-hero h1 {
		font-size: 2.8rem;
	}

	.faq-hero p {
		font-size: 1rem;
	}

	.faq-category {
		margin-bottom: 40px;
	}

	.faq-category h2 {
		font-size: 1.3rem;
	}

	.faq-item {
		border-radius: 14px;
	}

	.faq-item summary {
		padding: 18px;
		font-size: 0.95rem;
	}

	.faq-icon {
		width: 29px;
		height: 29px;
		font-size: 1.15rem;
	}

	.faq-answer {
		padding: 0 18px 19px;
		font-size: 0.9rem;
	}

	.faq-contact {
		margin-top: 50px;
		padding: 40px 22px;
		border-radius: 22px;
	}

	.faq-contact h2 {
		font-size: 2rem;
	}

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {

	.faq-page {
		padding-left: 14px;
		padding-right: 14px;
	}

	.faq-hero h1 {
		font-size: 2.45rem;
	}

	.faq-item summary {
		padding: 16px;
		gap: 12px;
	}

	.faq-answer {
		padding-left: 16px;
		padding-right: 16px;
	}

}