/* Home hero section */
.v2ray-hero {
	position: relative;
	min-height: 100vh;
	background: transparent;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	gap: 60px;
	padding: 10px 5% 40px;
	overflow: hidden;
	direction: rtl;
	box-sizing: border-box;
}

.hero-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(198, 164, 59, 0.08) 0%, transparent 70%);
	pointer-events: none;
	animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
	0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
	50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-particles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.hero-particles span {
	position: absolute;
	width: 3px;
	height: 3px;
	background: #C6A43B;
	border-radius: 50%;
	opacity: 0;
	animation: particleFloat 8s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles span:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 9s; }
.hero-particles span:nth-child(3) { left: 35%; animation-delay: 2s; animation-duration: 6s; }
.hero-particles span:nth-child(4) { left: 50%; animation-delay: 0.5s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 10s; }
.hero-particles span:nth-child(6) { left: 75%; animation-delay: 1.5s; animation-duration: 7s; }
.hero-particles span:nth-child(7) { left: 85%; animation-delay: 2.5s; animation-duration: 9s; }
.hero-particles span:nth-child(8) { left: 40%; animation-delay: 4s; animation-duration: 6s; }
.hero-particles span:nth-child(9) { left: 55%; animation-delay: 0.8s; animation-duration: 11s; }
.hero-particles span:nth-child(10) { left: 90%; animation-delay: 3.5s; animation-duration: 8s; }

@keyframes particleFloat {
	0% { transform: translateY(100vh) scale(0); opacity: 0; }
	10%, 90% { opacity: 0.6; }
	100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.v2ray-hero .hero-content {
	position: relative;
	z-index: 2;
	flex: 1;
	min-width: 320px;
	max-width: 680px;
	text-align: right;
	margin-top: 110px;
}

.hero-title {
	color: #FFFFFF;
	font-size: 40px;
	font-weight: 900;
	line-height: 1.3;
	margin: 0 0 24px;
	letter-spacing: -0.5px;
}

.gold-gradient {
	background: linear-gradient(135deg, #C6A43B 0%, #896B0D 50%, #C6A43B 100%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
	0% { background-position: 0% center; }
	100% { background-position: 200% center; }
}

.gold-text { color: #C6A43B; }

.v2ray-hero .hero-subtitle {
	max-width: 620px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.9;
}

.v2ray-hero .hero-subtitle strong {
	color: #FFFFFF;
	font-weight: 800;
}

.hero-seo-text {
	max-width: 650px;
	margin: 0 0 35px;
	padding: 18px 22px;
	border: 1px solid rgba(198, 164, 59, 0.16);
	border-right: 3px solid #C6A43B;
	border-radius: 4px 14px 14px 4px;
	background: linear-gradient(90deg, rgba(198, 164, 59, 0.06), rgba(255, 255, 255, 0.025));
	color: rgba(255, 255, 255, 0.68);
	font-size: 15px;
	font-weight: 400;
	line-height: 2;
}

.hero-seo-text .gold-text {
	color: #E1C45D;
	font-weight: 700;
}

.hero-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 40px;
}

.feature-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 14px;
	padding: 20px 12px;
	transition: all 0.3s ease;
	text-align: center;
}

.feature-item:hover {
	background: rgba(198, 164, 59, 0.08);
	border-color: rgba(198, 164, 59, 0.2);
	transform: translateY(-2px);
}

.feature-icon {
	font-size: 22px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(198, 164, 59, 0.1);
	border-radius: 10px;
	flex-shrink: 0;
}

.feature-text {
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 500;
}

.hero-stats-bar {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 28px 40px;
	margin-top: 0;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 18px;
	backdrop-filter: blur(10px);
	flex-wrap: wrap;
	z-index: 2;
	position: relative;
}

.stat-item {
	text-align: center;
	flex: 1;
}

.stat-number {
	color: #C6A43B;
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 4px;
	background: linear-gradient(135deg, #C6A43B, #896B0D);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.stat-label {
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
	font-weight: 400;
}

.stat-divider {
	width: 1px;
	height: 40px;
	background: rgba(198, 164, 59, 0.2);
}

.v2ray-hero .hero-visual {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	margin-top: 110px;
	min-height: 0;
	display: block;
}

.visual-container {
	position: relative;
	width: 420px;
	height: 420px;
}

.visual-container .orbit {
	position: absolute;
	border-radius: 50%;
	border: 1px dashed rgba(198, 164, 59, 0.12);
	top: 50%;
	left: 50%;
	inset: auto;
	transform: translate(-50%, -50%);
}

.orbit-1 { width: 100%; height: 100%; animation: orbitSpin 30s linear infinite; }
.orbit-2 { width: 72%; height: 72%; border-color: rgba(198, 164, 59, 0.18); animation: orbitSpin 22s linear infinite reverse; }
.orbit-3 { width: 44%; height: 44%; border-color: rgba(198, 164, 59, 0.25); border-style: solid; border-width: 1.5px; animation: orbitSpin 15s linear infinite; }

@keyframes orbitSpin {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-dot {
	position: absolute;
	width: 6px;
	height: 6px;
	background: #C6A43B;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(198, 164, 59, 0.6);
}

.orbit-1 .orbit-dot:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit-1 .orbit-dot:nth-child(2) { bottom: 15%; right: 0; transform: translate(50%, 50%); }
.orbit-1 .orbit-dot:nth-child(3) { bottom: 0; left: 35%; transform: translate(-50%, 50%); }
.orbit-2 .orbit-dot:nth-child(1) { top: 5%; right: 10%; }
.orbit-2 .orbit-dot:nth-child(2) { bottom: 10%; left: 5%; }
.orbit-3 .orbit-dot:nth-child(1) { top: 0; left: 50%; transform: translate(-50%, -50%); }

.connection-lines { position: absolute; inset: 0; }
.line { position: absolute; background: linear-gradient(to bottom, transparent, rgba(198, 164, 59, 0.3), transparent); width: 1px; transform-origin: center; }
.line-1 { height: 120px; top: 8%; left: 50%; transform: rotate(0deg); animation: linePulse 3s ease-in-out infinite; }
.line-2 { height: 100px; top: 20%; right: 12%; transform: rotate(45deg); animation: linePulse 3s ease-in-out 0.5s infinite; }
.line-3 { height: 100px; bottom: 18%; right: 15%; transform: rotate(-30deg); animation: linePulse 3s ease-in-out 1s infinite; }
.line-4 { height: 110px; bottom: 15%; left: 18%; transform: rotate(25deg); animation: linePulse 3s ease-in-out 1.5s infinite; }

@keyframes linePulse {
	0%, 100% { opacity: 0.3; }
	50% { opacity: 1; }
}

.server-node {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	background: rgba(36, 37, 57, 0.9);
	border: 1px solid rgba(198, 164, 59, 0.3);
	border-radius: 12px;
	padding: 10px 12px;
	backdrop-filter: blur(8px);
	animation: nodeFloat 4s ease-in-out infinite;
	z-index: 3;
}

.server-node span { font-size: 22px; line-height: 1; }
.server-node small { color: rgba(255, 255, 255, 0.6); font-size: 10px; font-weight: 600; letter-spacing: 1px; }
.server-node:hover { border-color: #C6A43B; box-shadow: 0 0 20px rgba(198, 164, 59, 0.3); transform: scale(1.1); }
.node-1 { top: 2%; left: 50%; transform: translateX(-50%); animation-delay: 0s; animation-name: nodeFloat1; }
.node-2 { top: 22%; right: 0; animation-delay: 0.5s; }
.node-3 { bottom: 18%; right: 5%; animation-delay: 1s; }
.node-4 { bottom: 10%; left: 5%; animation-delay: 1.5s; }
.node-5 { top: 25%; left: 0; animation-delay: 2s; }

@keyframes nodeFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes nodeFloat1 {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(-8px); }
}

.center-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; }
.hub-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 164, 59, 0.15) 0%, transparent 70%); animation: hubPulseAnim 2.5s ease-in-out infinite; }

@keyframes hubPulseAnim {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
	50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

.hub-core { position: relative; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; background: rgba(198, 164, 59, 0.08); border-radius: 50%; border: 2px solid rgba(198, 164, 59, 0.4); box-shadow: 0 0 40px rgba(198, 164, 59, 0.2), inset 0 0 25px rgba(198, 164, 59, 0.05); }

.speed-badge { position: absolute; bottom: 32%; left: -8%; display: flex; align-items: center; gap: 10px; background: rgba(36, 37, 57, 0.92); border: 1px solid rgba(198, 164, 59, 0.25); border-radius: 14px; padding: 12px 16px; backdrop-filter: blur(10px); z-index: 5; animation: badgeSlideIn 0.8s ease-out, nodeFloat 5s ease-in-out 0.8s infinite; }
.speed-icon { font-size: 20px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(198, 164, 59, 0.15); border-radius: 10px; }
.speed-value { color: #C6A43B; font-size: 16px; font-weight: 800; }
.speed-label { color: rgba(255, 255, 255, 0.5); font-size: 11px; }

@keyframes badgeSlideIn {
	from { opacity: 0; transform: translateX(-20px); }
	to { opacity: 1; transform: translateX(0); }
}

.ping-badge { position: absolute; top: 12%; right: -5%; display: flex; align-items: center; gap: 8px; background: rgba(36, 37, 57, 0.92); border: 1px solid rgba(46, 204, 113, 0.3); border-radius: 20px; padding: 8px 16px; backdrop-filter: blur(10px); z-index: 5; animation: nodeFloat 4s ease-in-out 1s infinite; }
.ping-dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 8px rgba(46, 204, 113, 0.6); animation: pingBlink 1.5s ease-in-out infinite; }

@keyframes pingBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.ping-badge span { color: rgba(255, 255, 255, 0.7); font-size: 12px; font-weight: 500; font-family: monospace; }
.protocol-tag { position: absolute; background: rgba(198, 164, 59, 0.1); border: 1px solid rgba(198, 164, 59, 0.2); color: #C6A43B; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px; font-family: monospace; letter-spacing: 1px; z-index: 5; }
.tag-1 { bottom: 5%; left: 25%; animation: nodeFloat 4s ease-in-out 0.3s infinite; }
.tag-2 { bottom: 0; right: 25%; animation: nodeFloat 4s ease-in-out 0.8s infinite; }
.tag-3 { top: 5%; left: 12%; animation: nodeFloat 4s ease-in-out 1.3s infinite; }

@media (min-width: 993px) {
	.v2ray-hero.hide-hero-visual-desktop .hero-visual { display: none; }
	.v2ray-hero.hide-hero-stats-desktop .hero-stats-bar { display: none; }
}

@media (max-width: 992px) {
	.v2ray-hero { flex-direction: column-reverse; align-items: center; text-align: center; min-height: auto; padding: 42px 24px 28px; gap: 28px; }
	.v2ray-hero .hero-content { width: 100%; max-width: 760px; flex: 0 1 auto; text-align: center; margin: 0 auto; }
	.v2ray-hero .hero-seo-text { text-align: center; margin-left: auto; margin-right: auto; }
	.hero-title { font-size: 38px; }
	.hero-features { grid-template-columns: repeat(4, 1fr); margin-left: auto; margin-right: auto; }
	.v2ray-hero .hero-visual { margin-top: 0; }
	.hero-stats-bar { gap: 20px; padding: 20px; }
	.visual-container { width: 320px; height: 320px; }
	.speed-badge { left: 0; bottom: 28%; }
	.ping-badge { right: 0; }
	.hero-particles { display: none; }
}

@media (min-width: 577px) and (max-width: 992px) {
	.v2ray-hero.hide-hero-visual-tablet .hero-visual { display: none; }
	.v2ray-hero.hide-hero-stats-tablet .hero-stats-bar { display: none; }
	.v2ray-hero.hide-hero-visual-tablet.hide-hero-stats-tablet { padding-top: 42px; padding-bottom: 16px; gap: 0; }
	.v2ray-hero.hide-hero-visual-tablet.hide-hero-stats-tablet + .plans { margin-top: 0; }
}

@media (max-width: 576px) {
	.v2ray-hero.hide-hero-visual-mobile .hero-visual { display: none; }
	.v2ray-hero.hide-hero-stats-mobile .hero-stats-bar { display: none; }
	.v2ray-hero.hide-hero-visual-mobile.hide-hero-stats-mobile { padding-top: 34px; }
	.hero-title { font-size: 30px; }
	.v2ray-hero .hero-subtitle { font-size: 15px; }
	.hero-features { grid-template-columns: repeat(2, 1fr); }
	.hero-stats-bar { flex-direction: column; gap: 16px; }
	.stat-divider { width: 60px; height: 1px; }
	.visual-container { width: 280px; height: 280px; }
	.server-node { padding: 7px 9px; }
	.server-node span { font-size: 18px; }
	.speed-badge { display: none; }
	.hub-core { width: 80px; height: 80px; }
	.hub-core svg { width: 36px; height: 36px; }
}
