@import url("/assets/vendor/fonts/fonts.css");

:root {
	/* Colors */
	--bg-base: #020617;
	--bg-surface: #0f172a;
	--bg-glass: rgba(15, 23, 42, 0.6);
	--border-color: rgba(255, 255, 255, 0.1);

	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;

	--accent-blue: #3b82f6;
	--accent-blue-hover: #2563eb;
	--accent-teal: #14b8a6;
	--accent-purple: #8b5cf6;

	--gradient-primary: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	--gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4));

	/* Typography */
	--font-heading: "Outfit", sans-serif;
	--font-body: "Inter", sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	/* Effects */
	--shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.2);
	--shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
	--radius-sm: 0.5rem;
	--radius-md: 1rem;
	--radius-lg: 1.5rem;
	--radius-full: 9999px;

	/* Layout */
	--container-width: 1200px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: var(--font-body);
	background-color: var(--bg-base);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}

body {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh;
	background: radial-gradient(ellipse at 20% 30%, rgba(30, 58, 138, 1) 0%, rgba(9, 14, 23, 1) 55%, rgba(20, 40, 80, 1) 100%);
	background-size: 300% 300%;
	height: auto !important;
	animation: gradientBG 12s ease infinite;
}

/* Abstract Background Glows */
body::before,
body::after {
	content: "";
	position: fixed;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	filter: blur(150px);
	z-index: -1;
	opacity: 0.4;
	animation: drift 20s infinite alternate ease-in-out;
	pointer-events: none;
}

body::before {
	top: -100px;
	left: -100px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
}

body::after {
	bottom: -100px;
	right: -100px;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
}

@keyframes drift {
	0% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(50px, 50px) scale(1.1);
	}
	100% {
		transform: translate(-50px, 100px) scale(0.9);
	}
}

a {
	color: var(--accent-blue);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--accent-teal);
}

/* Input placeholder color for dark backgrounds */
::placeholder {
	color: rgba(148, 163, 184, 0.6);
}
::-webkit-input-placeholder {
	color: rgba(148, 163, 184, 0.6);
}
::-moz-placeholder {
	color: rgba(148, 163, 184, 0.6);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.text-gradient {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* Glassmorphism Classes */
.glass-panel {
	background: var(--bg-glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
}

/* Header & Nav */
header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: var(--transition);
	border-bottom: 1px solid transparent;
}

header.scrolled {
	background: var(--bg-glass);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--border-color);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--text-primary);
}

.logo span {
	color: var(--accent-teal);
}

.nav-links {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.nav-links a.nav-item {
	color: var(--text-secondary);
	font-weight: 500;
	position: relative;
	padding: 0.5rem 0;
}

.nav-links a.nav-item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-primary);
	transition: var(--transition);
}

.nav-links a.nav-item:hover::after,
.nav-links a.nav-item.active::after {
	width: 100%;
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
	color: var(--text-primary);
}

.nav-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-family: var(--font-body);
	cursor: pointer;
	transition: var(--transition);
	border: none;
	text-align: center;
}

.btn-primary {
	background: var(--gradient-primary);
	color: #fff;
	box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border-color);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

/* Animations Tools */
.fade-in-up {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.6s ease-out,
		transform 0.6s ease-out;
}

.fade-in-up.visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes enterAnim {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.animate-enter {
	animation: enterAnim 0.6s ease-out forwards;
}

/* Footer structure */
footer {
	background: var(--bg-surface);
	border-top: 1px solid var(--border-color);
	padding: 4rem 0 2rem;
	margin-top: 5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-brand p {
	color: var(--text-secondary);
	margin-top: 1rem;
}

.footer-links h4 {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

.footer-links ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-links a {
	color: var(--text-secondary);
}

.footer-links a:hover {
	color: var(--accent-teal);
	padding-left: 5px;
}

.footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
	text-align: center;
	color: var(--text-muted);
}

/* Menu Toggle for Mobile */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 1.5rem;
	cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
	.nav-links,
	.nav-actions {
		display: none;
	}

	.mobile-menu-btn {
		display: block;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 576px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile nav menu open state */
header.nav-open .nav-links {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	background: var(--bg-surface);
	border-bottom: 1px solid var(--border-color);
	padding: 1.5rem;
	gap: 0.5rem;
	z-index: 999;
	animation: slideDown 0.25s ease;
}
header.nav-open .nav-actions {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--bg-surface);
	border-top: 1px solid var(--border-color);
	padding: 1rem 1.5rem;
	gap: 1rem;
	z-index: 999;
	justify-content: center;
}
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hero Setup */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 60px;
	overflow: hidden;
	background: #050810;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(30, 58, 138, 0.7) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20, 184, 166, 0.3) 0%, transparent 65%), radial-gradient(ellipse 70% 55% at 50% 80%, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
	background-size: 200% 200%;
	background-position: 0% 0%;
	animation: heroGradientShift 18s linear infinite;
	animation-delay: 0s;
	pointer-events: none;
}

@keyframes heroGradientShift {
	0% {
		background-position: 0% 0%;
	}

	25% {
		background-position: 100% 0%;
	}

	50% {
		background-position: 100% 100%;
	}

	75% {
		background-position: 0% 100%;
	}

	100% {
		background-position: 0% 0%;
	}
}

#heroPlanetCanvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

.hero .container {
	z-index: 3;
	position: relative;
}

/* Darker Text Background to avoid blending with glowing Earth */
.hero-text-wrapper {
	background: radial-gradient(circle at 0% 50%, rgba(5, 8, 16, 0.95) 0%, rgba(5, 8, 16, 0.7) 60%, transparent 100%);
	padding: 3rem 0;
	border-radius: var(--radius-lg);
	margin-left: -2rem;
	padding-left: 2rem;
}

/* Fix hero input placeholder visibility on dark bg */
.hero input::placeholder {
	color: rgba(148, 163, 184, 0.7) !important;
}

.hero input::-webkit-input-placeholder {
	color: rgba(148, 163, 184, 0.7) !important;
}

.hero input::-moz-placeholder {
	color: rgba(148, 163, 184, 0.7) !important;
}

/* Trusted By */
.trusted-by {
	padding: 3rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	background: rgba(0, 0, 0, 0.3);
}

.trusted-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4rem;
	flex-wrap: wrap;
	opacity: 0.6;
}

.trusted-logos i {
	font-size: 2.5rem;
	transition: var(--transition);
}

.trusted-logos i:hover {
	opacity: 1;
	color: var(--accent-blue);
	transform: scale(1.1);
}

/* Sections common */
.section-dark {
	background: var(--bg-base);
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.section-gradient {
	background: radial-gradient(circle at right center, rgba(30, 58, 138, 0.1) 0%, rgba(10, 15, 24, 1) 100%);
	padding: 100px 0;
	position: relative;
}

.section-title {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title h2 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.section-title p {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* UI Elements */
.glass-card {
	background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(15, 23, 42, 0.8) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	padding: 2rem;
	transition: var(--transition);
	height: 100%;
}

.glass-card:hover {
	border-color: rgba(59, 130, 246, 0.5);
	box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.35);
	transform: translateY(-6px);
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(20, 184, 166, 0.15) 50%, rgba(15, 23, 42, 0.85) 100%);
}

/* Hero Text Carousel: smooth crossfade */
#heroTextSlider .carousel-item {
	transition: opacity 0.9s ease !important;
}

#heroTextSlider.carousel-fade .carousel-item {
	opacity: 0;
}

#heroTextSlider.carousel-fade .carousel-item.active {
	opacity: 1;
}

/* Testimonials Carousel */
.testimonials-carousel {
	position: relative;
	padding: 0 70px;
}

.testimonials-carousel .carousel-item .row {
	align-items: stretch;
}

.testimonials-carousel .carousel-item .glass-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.testimonials-carousel .carousel-item .glass-card p {
	flex-grow: 1;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
	width: 52px;
	height: 52px;
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	background: rgba(59, 130, 246, 0.12);
	border: 1px solid rgba(59, 130, 246, 0.35);
	border-radius: 50%;
	opacity: 1;
	transition:
		background 0.25s,
		transform 0.25s;
}

.testimonials-carousel .carousel-control-prev {
	left: 0;
}

.testimonials-carousel .carousel-control-next {
	right: 0;
}

.testimonials-carousel .carousel-control-prev:hover,
.testimonials-carousel .carousel-control-next:hover {
	background: rgba(59, 130, 246, 0.35);
	transform: translateY(-50%) scale(1.05);
}

.testimonials-carousel .carousel-control-prev-icon,
.testimonials-carousel .carousel-control-next-icon {
	width: 18px;
	height: 18px;
}

.testimonials-carousel .carousel-indicators {
	bottom: -52px;
}

.testimonials-carousel .carousel-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: none;
}

.testimonials-carousel .carousel-indicators .active {
	background: var(--accent-blue);
}

.icon-box {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.icon-box.teal {
	background: rgba(20, 184, 166, 0.1);
	color: var(--accent-teal);
}

.icon-box.purple {
	background: rgba(139, 92, 246, 0.1);
	color: var(--accent-purple);
}

.icon-box.warning {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

/* Quick Start Tabs */
.code-tabs .nav-link {
	color: var(--text-secondary);
	border-radius: 0;
	border-bottom: 2px solid transparent;
	padding: 1rem 1.5rem;
}

.code-tabs .nav-link.active {
	color: var(--accent-blue);
	background: transparent;
	border-bottom-color: var(--accent-blue);
}

.code-window {
	background: #0d1117;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.code-header {
	background: #161b22;
	padding: 0.75rem 1rem;
	display: flex;
	gap: 0.5rem;
	border-bottom: 1px solid var(--border-color);
}

.mac-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.mac-dot.red {
	background: #ff5f56;
}

.mac-dot.yellow {
	background: #ffbd2e;
}

.mac-dot.green {
	background: #27c93f;
}

/* Scroll Reveal Animation */
.scroll-reveal {
	opacity: 0;
	transform: translateY(40px) scale(0.98);
	transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* Accordion */
.accordion-item {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.05);
	margin-bottom: 1rem;
	border-radius: var(--radius-md) !important;
	overflow: hidden;
}

.accordion-button {
	background: rgba(255, 255, 255, 0.02);
	color: var(--text-primary);
	font-weight: 600;
	box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent-blue);
}

.accordion-button::after {
	filter: invert(1);
}

.accordion-body {
	background: rgba(0, 0, 0, 0.2);
	color: var(--text-secondary);
}

/* Big Metrics */
.big-metric {
	font-size: 3.5rem;
	font-family: var(--font-heading);
	font-weight: 800;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
	/* Hero: fix negative margin causing overflow on mobile */
	.hero-text-wrapper {
		margin-left: 0;
		padding-left: 0;
		background: none;
	}

	.hero {
		padding: 100px 0 40px;
		min-height: auto;
	}

	/* Section text not too narrow */
	.section-title p.w-50,
	.section-title p.w-75 {
		width: 100% !important;
	}

	/* Trusted logos: smaller gap on tablet */
	.trusted-logos {
		gap: 2rem;
	}

	/* Sections: less padding on tablet */
	.section-dark,
	.section-gradient {
		padding: 60px 0;
	}

	/* Testimonials: reduce side padding */
	.testimonials-carousel {
		padding: 0 50px;
	}
}

@media (max-width: 767px) {
	/* Hero title: responsive font size */
	.hero-title {
		font-size: 2.2rem !important;
	}

	.hero-subtitle {
		font-size: 1rem !important;
	}

	/* Hero buttons: stack on mobile */
	.hero-buttons {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	.hero-buttons .btn {
		width: 100%;
		text-align: center;
	}

	/* Trusted logos: smaller gap on mobile */
	.trusted-logos {
		gap: 1.5rem;
	}

	.trusted-logos i {
		font-size: 2rem;
	}

	/* Section titles: responsive fonts */
	.section-title h2 {
		font-size: 1.8rem;
	}

	.section-title p {
		width: 100% !important;
	}

	/* Sections: compact on mobile */
	.section-dark,
	.section-gradient {
		padding: 50px 0;
	}

	/* Metrics: 2 per row */
	.big-metric {
		font-size: 2.5rem;
	}

	/* Testimonials: only 1 card per slide on mobile - hide col-md-4 extras */
	.testimonials-carousel {
		padding: 0 44px;
	}

	.testimonials-carousel .carousel-item .row .col-md-4:not(:first-child) {
		display: none !important;
	}

	.testimonials-carousel .carousel-item .row .col-md-4:first-child {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}

	/* Cyber security floating badge: reposition to avoid overflow */
	.glass-card.position-absolute {
		position: relative !important;
		transform: none !important;
		top: auto !important;
		bottom: auto !important;
		left: auto !important;
		width: 100% !important;
		margin-top: 1rem !important;
	}

	/* Security image: remove 3D tilt on mobile */
	img[style*="perspective"] {
		transform: none !important;
	}

	/* Code header tabs: allow wrap */
	.code-header {
		flex-wrap: wrap;
		gap: 0.5rem;
	}
}

.error-code {
	font-size: 8rem;
	font-family: var(--font-heading);
	font-weight: 800;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1;
	margin-bottom: 0;
}

.status-card {
	text-align: center;
	z-index: 10;
	padding: 2rem;
}

/* Background decor */
@keyframes gradientBG {
	0% {
		background-position: 0% 0%;
	}
	50% {
		background-position: 100% 100%;
	}
	100% {
		background-position: 0% 0%;
	}
}

.decor-blob {
	position: fixed;
	filter: blur(120px);
	border-radius: 50%;
	z-index: 0;
	opacity: 0.2;
	pointer-events: none;
	animation: floatBlob 6s infinite alternate ease-in-out;
}
.blob-1 {
	top: 15%;
	left: 15%;
	width: 500px;
	height: 500px;
	background: var(--accent-blue);
}
.blob-2 {
	bottom: 5%;
	right: 10%;
	width: 400px;
	height: 400px;
	background: var(--accent-teal);
	animation-delay: -3s;
}

@keyframes floatBlob {
	0% {
		transform: translate(0, 0) scale(1);
	}
	100% {
		transform: translate(80px, 40px) scale(1.15);
	}
}
@media (max-width: 575px) {
	.auth-card {
		padding: 1.5rem !important;
	}
}

.page-header {
	padding: 160px 0 80px;
	background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 0.3) 100%);
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 4rem;
}
.page-header.isWithoutMargin {
	margin-bottom: 0;
}

.page-header h1 {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 3rem;
}

@media (max-width: 767px) {
	.page-header h1 {
		font-size: 1.5rem;
	}
}

.breadcrumb {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0;
	font-size: 0.9rem;
}

.breadcrumb-item a {
	color: var(--accent-blue);
	text-decoration: none;
}

.breadcrumb-item.active {
	color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
	content: "/";
	color: var(--text-muted);
	padding: 0 0.5rem;
}

.text-content {
	background: var(--bg-surface);
	padding: 3rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-color);
	margin-bottom: 5rem;
	font-size: 1.05rem;
	color: var(--text-secondary);
}

.text-content h2 {
	color: var(--text-primary);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.docs-container {
	padding: 40px 0;
}

/* Sidebar Navigation */
.docs-sidebar {
	position: sticky;
	top: 100px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding-right: 1.5rem;
}

.docs-nav-group {
	margin-bottom: 2rem;
}

.docs-nav-title {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-muted);
	font-weight: 700;
	margin-bottom: 1rem;
	display: block;
}

.docs-nav-item {
	display: block;
	color: var(--text-secondary);
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	margin-bottom: 0.25rem;
	transition: var(--transition);
	font-size: 0.95rem;
}

.docs-nav-item:hover,
.docs-nav-item.active {
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent-blue);
	text-decoration: none;
}

/* Custom Scrollbar for Sidebar */
.docs-sidebar::-webkit-scrollbar {
	width: 4px;
}
.docs-sidebar::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

/* Main Content Styling */
.docs-content {
	background: var(--bg-glass);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	padding-top: 1.5rem;
	padding-left: 1.5rem;
}

.docs-section {
	margin-bottom: 5rem;
	padding-top: 2rem; /* Offset for anchor scroll */
	margin-top: -2rem;
}

.docs-section h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.5rem;
}

.docs-section h3 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.docs-section p {
	color: var(--text-secondary);
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

/* Code Example Blocks */
.code-block-wrapper {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
	margin: 2rem 0;
	box-shadow: var(--shadow-soft);
}

.code-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	background: rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid var(--border-color);
}

.nav-tabs {
	border-bottom: none;
	margin: 0;
	padding: 0 1rem;
}

.nav-tabs .nav-link {
	border: none;
	color: var(--text-secondary);
	padding: 1rem 1.5rem;
	font-size: 0.9rem;
	font-family: var(--font-mono);
	border-bottom: 2px solid transparent;
	cursor: pointer;
	background: transparent;
}

.nav-tabs .nav-link:hover {
	color: var(--text-primary);
	border-color: transparent;
}

.nav-tabs .nav-link.active {
	color: var(--accent-teal);
	background: transparent;
	border-color: transparent;
	border-bottom-color: var(--accent-teal);
	font-weight: 600;
}

.btn-copy {
	background: transparent;
	border: none;
	color: var(--text-muted);
	padding: 0.5rem 1rem;
	transition: var(--transition);
	font-size: 0.9rem;
}

.btn-copy:hover {
	color: var(--text-primary);
}

.tab-content pre {
	margin: 0 !important;
	padding: 1.5rem !important;
	background: transparent !important;
	border-radius: 0;
	max-height: 500px;
}

/* Tables */
.table {
	color: var(--text-primary);
	border-color: var(--border-color);
	margin-bottom: 2rem;
	background: var(--bg-surface);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.table th {
	font-weight: 600;
	background: rgba(0, 0, 0, 0.2);
	border-bottom-color: var(--border-color);
	color: var(--text-secondary);
}

.table td {
	vertical-align: middle;
	border-bottom-color: var(--border-color);
	padding: 1rem;
}

.type-badge {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	background: rgba(139, 92, 246, 0.1);
	color: var(--accent-purple);
}

.endpoint-url {
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent-blue);
	padding: 1rem 1.5rem;
	border-radius: var(--radius-md);
	font-family: var(--font-mono);
	font-size: 1.1rem;
	margin: 1.5rem 0;
	border: 1px solid rgba(59, 130, 246, 0.2);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.method-badge {
	background: var(--accent-teal);
	color: #000;
	padding: 0.25rem 0.75rem;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.85rem;
}

@media (max-width: 768px) {
	.docs-sidebar {
		position: static;
		border-bottom: 1px solid var(--border-color);
		margin-bottom: 2rem;
		padding-bottom: 1rem;
		max-height: none;
		display: none; /* hidden on mobile — use drawer instead */
	}
	.docs-content {
		padding-left: 0;
	}
	.nav-tabs .nav-link {
		padding: 0.6rem 0.75rem;
		font-size: 0.82rem;
	}
	/* Endpoint URL: allow wrap on mobile */
	.endpoint-url {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		font-size: 0.9rem;
		word-break: break-all;
	}
	/* Tables: always scrollable on mobile */
	.table-responsive {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	/* Docs container: less top margin on mobile */
	.docs-container {
		padding: 20px 1rem;
	}
	/* Docs section headings */
	.docs-section h2 {
		font-size: 1.5rem;
	}
	/* Extra padding for docs content area */
	.docs-content {
		padding: 0 0.25rem;
	}
}

/* Docs table row dividers */
.docs-section .table tbody tr {
	border-bottom: 1px solid var(--border-color);
}
.docs-section .table thead tr {
	border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}
.docs-section .table tbody tr:last-child {
	border-bottom: none;
}

/* ===== MOBILE DOCS DRAWER ===== */
/* FAB toggle button */
#docsNavFab {
	display: none; /* shown only on mobile */
	position: fixed;
	bottom: 1.5rem;
	left: 1.5rem;
	z-index: 2000;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gradient-primary);
	border: none;
	color: #fff;
	font-size: 1.2rem;
	box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
#docsNavFab:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 24px rgba(59, 130, 246, 0.65);
}

/* Overlay */
#docsDrawerOverlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1500;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	animation: fadeInOverlay 0.2s ease;
}
@keyframes fadeInOverlay {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Drawer panel */
#docsDrawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 280px;
	max-width: 80vw;
	background: var(--bg-surface);
	border-right: 1px solid var(--border-color);
	z-index: 1600;
	padding: 1.5rem 1rem 2rem;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}
#docsDrawer.open {
	transform: translateX(0);
}
.drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border-color);
}
.drawer-header .logo {
	font-size: 1.2rem;
}
#docsDrawerClose {
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 1.3rem;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	transition: color 0.2s;
}
#docsDrawerClose:hover {
	color: var(--text-primary);
}

/* Only show FAB on mobile */
@media (min-width: 769px) {
	#docsNavFab {
		display: none !important;
	}
	#docsDrawer,
	#docsDrawerOverlay {
		display: none !important;
	}
}
@media (max-width: 768px) {
	#docsNavFab {
		display: flex !important;
	}
	/* Hide the inline col-md-3 sidebar */
	.col-md-3:has(#docsNav) {
		display: none;
	}
	.col-md-9.docs-content {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.page-header-support {
	padding: 140px 0 60px;
	text-align: center;
}

.contact-card {
	background: var(--bg-surface);
	padding: 3rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-soft);
}
@media (max-width: 767px) {
	.contact-card {
		padding: 1rem;
	}
}

.form-control {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	padding: 0.8rem 1rem;
}

.form-control::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #6c757d;
}

.form-control::-moz-placeholder {
	/* Firefox 19+ */
	color: #6c757d;
}

.form-control:-ms-input-placeholder {
	/* Internet Explorer 10+ */
	color: #6c757d;
}

.form-control::placeholder {
	color: #6c757d;
	opacity: 1;
}

.form-control:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--accent-blue);
	box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
	color: var(--text-primary);
}

.contact-info-item {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.contact-info-icon {
	width: 50px;
	height: 50px;
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.decor-blob {
	position: absolute;
	filter: blur(100px);
	border-radius: 50%;
	z-index: 0;
	opacity: 0.15;
	pointer-events: none;
}
.blob-1 {
	top: 20%;
	left: 20%;
	width: 400px;
	height: 400px;
	background: var(--accent-blue);
}
.blob-2 {
	bottom: 10%;
	right: 20%;
	width: 300px;
	height: 300px;
	background: var(--accent-teal);
}

.status-card-block {
	background: var(--bg-glass);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 3rem;
	width: 100%;
	max-width: 450px;
	text-align: center;
}
.icon-circle {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2.5rem;
}
.success-icon {
	background: rgba(20, 184, 166, 0.1);
	color: var(--accent-teal);
	border: 2px solid var(--accent-teal);
}

.status-hero {
	background: var(--bg-surface);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: -40px;
	position: relative;
	z-index: 10;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.status-pulse {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

/* Uptime Bars */
.server-card {
	background: var(--bg-glass);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	transition: var(--transition);
}
.server-card:hover {
	border-color: rgba(255, 255, 255, 0.2);
}
.uptime-grid {
	display: flex;
	gap: 4px;
	height: 40px;
	margin-top: 1rem;
}
.uptime-bar {
	flex: 1;
	background: #10b981;
	border-radius: 2px;
	transition: opacity 0.2s;
	position: relative;
	cursor: pointer;
}
.uptime-bar:hover {
	opacity: 0.7;
}
.uptime-bar.incident {
	background: #f59e0b;
}
.uptime-bar.outage {
	background: #ef4444;
}

/* Metric Cards */
.metric-card {
	background: rgba(0, 0, 0, 0.3);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	text-align: center;
	border: 1px solid var(--border-color);
}
.metric-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--accent-blue);
	font-family: var(--font-heading);
}

/* Responsive Fixes */
@media (max-width: 768px) {
	.page-header {
		padding: 120px 0 60px;
	}
	.page-header h1 {
		font-size: 2rem;
	}
	.status-hero {
		padding: 1.5rem;
		margin-top: -30px;
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
	.status-hero h3 {
		justify-content: center;
		font-size: 1.2rem;
	}
	.metric-value {
		font-size: 1.7rem;
	}
}
@media (max-width: 400px) {
	.page-header h1 {
		font-size: 1.5rem;
	}
	.page-header p {
		font-size: 1rem !important;
	}
	.status-hero {
		padding: 1rem;
		margin-top: -20px;
	}
	.status-hero h3 {
		font-size: 1rem;
		gap: 0.5rem !important;
		display: flex;
		flex-wrap: wrap;
	}
	.server-card {
		padding: 1rem;
	}
	.server-card h5 {
		font-size: 1rem;
	}
	.badge {
		font-size: 0.7rem;
	}
}

.auth-card {
	background: var(--bg-glass);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 3rem;
	width: 100%;
	max-width: 450px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.btn-auth {
	padding: 0.8rem;
	font-weight: 600;
}

/* Network Background */
#networkCanvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	opacity: 0.5;
	pointer-events: none;
}
.pricing-hero {
	padding: 160px 0 80px;
	text-align: center;
}
/* Removed original pseudo element for .pricing-hero */
@keyframes pricingHeroPulse {
	0% {
		background-position: 50% 50%;
		opacity: 0.7;
	}
	25% {
		background-position: 55% 45%;
		opacity: 1;
	}
	50% {
		background-position: 50% 55%;
		opacity: 0.8;
	}
	75% {
		background-position: 45% 50%;
		opacity: 1;
	}
	100% {
		background-position: 50% 50%;
		opacity: 0.7;
	}
}

.pricing-hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
}

.pricing-hero p {
	color: var(--text-secondary);
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto;
}

/* Toggle Switch */
.plan-toggle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin: 3rem 0;
}

.plan-label {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-secondary);
	cursor: pointer;
	transition: var(--transition);
}

.plan-label.active {
	color: var(--text-primary);
}

.plan-label.active.premium-label {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.switch {
	position: relative;
	display: inline-block;
	width: 70px;
	height: 38px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--border-color);
	transition: 0.4s;
	border-radius: 38px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 30px;
	width: 30px;
	left: 3px;
	bottom: 3px;
	background-color: var(--accent-blue);
	transition: 0.4s;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

input:checked + .slider {
	background-color: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.4);
}

input:checked + .slider:before {
	transform: translateX(32px);
	background-color: var(--accent-purple);
	box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Pricing Cards */
.pricing-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 3rem 2rem;
	transition: var(--transition);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.pricing-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-glow);
	border-color: var(--accent-blue);
}

.pricing-card.premium-card:hover {
	border-color: var(--accent-purple);
	box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.popular-badge {
	position: absolute;
	top: 20px;
	right: -35px;
	background: var(--gradient-primary);
	color: #fff;
	padding: 0.25rem 3rem;
	transform: rotate(45deg);
	font-size: 0.8rem;
	font-weight: 700;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-header-plan {
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 2rem;
}

.plan-name {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	font-family: var(--font-heading);
}

.plan-price {
	font-size: 3rem;
	font-weight: 800;
	color: var(--text-primary);
	line-height: 1;
}

.plan-price span {
	font-size: 1rem;
	color: var(--text-secondary);
	font-weight: 500;
}

.plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

.plan-features li {
	margin-bottom: 1rem;
	color: var(--text-secondary);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.plan-features li i {
	color: var(--accent-teal);
}

.plan-features li i.fa-xmark {
	color: #ef4444;
	opacity: 0.5;
}

.premium-highlight {
	color: var(--accent-purple) !important;
	font-weight: 600;
}

/* Plan Groups transition */
#regular-plans,
#premium-plans {
	transition: opacity 0.4s ease;
}

/* FAQ Section */
.faq {
	padding: 80px 0 100px;
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.faq-question {
	padding: 1.5rem;
	background: var(--bg-surface);
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-weight: 600;
	font-size: 1.1rem;
	user-select: none;
}

.faq-question i {
	transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 1.5rem;
	max-height: 0;
	overflow: hidden;
	transition:
		max-height 0.3s ease,
		padding 0.3s ease;
	background: rgba(255, 255, 255, 0.02);
	color: var(--text-secondary);
}

.faq-item.active .faq-answer {
	padding: 1.5rem;
	max-height: 500px;
}

.glass-panel {
	background: var(--bg-glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-soft);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 767px) {
	/* Hero: responsive heading */
	.pricing-hero {
		padding: 110px 0 40px;
	}
	.pricing-hero h1 {
		font-size: 2rem;
	}
	.pricing-hero p {
		font-size: 1rem;
	}

	/* Toggle: wrap on small screens */
	.plan-toggle-container {
		gap: 1rem;
		margin: 2rem 0;
		flex-wrap: wrap;
		justify-content: center;
	}
	.plan-label {
		font-size: 1rem;
	}

	/* Pricing cards: full width on mobile */
	.pricing-card {
		padding: 2rem 1.5rem;
	}

	/* FAQ section */
	.faq {
		padding: 40px 0 60px;
	}

	/* Ensure col-md-6 cards don't squish too much */
	.col-md-6.fade-in-up {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
}

@media (max-width: 575px) {
	.col-lg-4.col-md-6 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
}

.payment-container {
	background: var(--bg-glass);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	width: 100%;
	max-width: 900px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	z-index: 10;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.payment-container {
		flex-direction: row;
	}
}

.order-summary {
	background: rgba(0, 0, 0, 0.4);
	padding: 3rem 2rem;
	flex: 1;
	border-right: 1px solid var(--border-color);
}

.payment-methods {
	padding: 3rem 2rem;
	flex: 1.5;
}

.form-control,
.form-select {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid var(--border-color) !important;
	color: #fff !important;
	padding: 0.8rem 1rem;
}
.form-control:focus {
	box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25) !important;
	border-color: var(--accent-blue) !important;
}

.nav-pills .nav-link {
	color: var(--text-secondary);
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	padding: 0.75rem 1rem;
}
.nav-pills .nav-link.active {
	background: rgba(59, 130, 246, 0.1);
	color: var(--accent-blue);
	border-color: var(--accent-blue);
}
.nav-pills .nav-link:hover:not(.active) {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
}
