@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600&display=swap');

:root {
	--faq-cyan: #00f3ff;
	--faq-hover-color: #00f3ff;
	--faq-hover-bg: transparent;
	--faq-active-color: #00f3ff;
	--faq-active-bg: transparent;
}

.cyber-faq-wrapper {
	--current-cyan: var(--faq-cyan, #00f3ff);
	--current-hover: var(--faq-hover-color, #00f3ff);
	--current-hover-bg: var(--faq-hover-bg, transparent);
	--current-active: var(--faq-active-color, #00f3ff);
	--current-active-bg: var(--faq-active-bg, transparent);
	background-color: #0c0d10;
	position: relative;
	overflow: hidden;
	padding: 120px 24px;
	max-width: 1100px;
	margin: 0 auto;
	font-family: 'Inter', sans-serif;
}

.cyber-faq-halo {
	position: absolute;
	top: -200px;
	right: -150px;
	width: 500px;
	height: 500px;
	background: var(--current-cyan);
	opacity: 0.06;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}

.cyber-faq-header {
	margin-bottom: 60px;
	position: relative;
	z-index: 2;
	animation: headerFadeIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes headerFadeIn {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

.cyber-faq-eyebrow {
	display: inline-flex;
	align-items: center;
	background: rgba(0, 243, 255, 0.12);
	color: var(--current-cyan);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(0, 243, 255, 0.25);
	margin-bottom: 24px;
}

.cyber-faq-eyebrow::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--current-cyan);
	margin-right: 10px;
	animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.5); opacity: 0.5; }
	100% { transform: scale(1); opacity: 1; }
}

.cyber-faq-title {
	font-family: 'Archivo Black', sans-serif;
	font-size: clamp(36px, 6vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #f5f6f3;
	margin: 0 0 24px 0;
}

.cyber-faq-title .highlight-cyan {
	color: var(--current-cyan);
}

.cyber-faq-subtitle {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.6;
	max-width: 560px;
	margin: 0;
}

.cyber-faq-items {
	position: relative;
	z-index: 2;
}

.faq-item {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	opacity: 0;
	transform: translateY(20px);
	animation: itemFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
	animation-delay: var(--anim-delay, 0s);
}

.faq-item:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes itemFadeIn {
	to { opacity: 1; transform: translateY(0); }
}

.faq-q {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 28px 4px;
	cursor: pointer;
	background: transparent;
	border: none;
	text-align: left;
	transition: padding-left 0.3s ease, background-color 0.3s ease;
}

.faq-q:hover {
	padding-left: 12px;
	background-color: var(--current-hover-bg);
}

.faq-item.open .faq-q {
	background-color: var(--current-active-bg);
}

.faq-q-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.faq-num {
	font-family: 'Archivo Black', sans-serif;
	font-size: 14px;
	color: var(--current-hover);
	opacity: 0.6;
	transition: opacity 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-num {
	opacity: 1;
	color: var(--current-active);
}

.faq-item:hover .faq-num {
	opacity: 1;
}

.faq-q-text {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: #fff;
	transition: color 0.3s ease;
}

.faq-item:hover .faq-q-text {
	color: var(--current-hover);
}

.faq-item.open .faq-q-text {
	color: var(--current-active);
}

.faq-toggle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
	flex-shrink: 0;
	transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item:hover .faq-toggle {
	border-color: rgba(255, 255, 255, 0.18);
}

.faq-toggle::before,
.faq-toggle::after {
	content: '';
	position: absolute;
	background: #fff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: background 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-toggle::before {
	width: 14px;
	height: 2px;
}

.faq-toggle::after {
	width: 2px;
	height: 14px;
}

.faq-item.open .faq-toggle {
	background: var(--current-active);
	border-color: var(--current-active);
	transform: rotate(135deg);
}

.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
	background: #0c0d10;
}

.faq-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-body-inner {
	padding: 0 4px 28px 64px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 16px;
	line-height: 1.7;
	max-width: 640px;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-item.open .faq-body-inner {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.05s;
}

@media (max-width: 640px) {
	.cyber-faq-wrapper {
		padding: 80px 20px;
	}
	
	.faq-body-inner {
		padding-left: 24px;
	}
	
	.faq-q-left {
		gap: 12px;
	}
	
	.faq-q-text {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}