/* Landing Page Styles - CUSS2 Sandbox */
/* Extends login.css base styles */

/* Override body overflow from login.css */
body {
	overflow: auto;
	min-height: 100vh;
	height: auto;
}

/* Main container override for landing page */
.landing-main {
	min-width: 40rem;
	max-width: 48rem;
	margin: 2rem 0;
	padding: 3rem 4rem;
}

.landing-article {
	width: 100%;
}

.rich-divider {
	border: 0;
	height: 1px;
	margin: 20px auto;
	width: 80%;
	/* Creates a fade from transparent -> bright blue -> transparent */
	background-image: linear-gradient(to right,
			rgba(0, 230, 255, 0) 0%,
			rgba(0, 230, 255, 0.5) 50%,
			rgba(0, 230, 255, 0) 100%);
	/* Adds a subtle 3D glow beneath the line */
	box-shadow: 0 0 10px rgba(0, 230, 255, 0.2);
}

/* Hero Section */
.hero-section {
	text-align: center;
	margin-bottom: 2.5rem;
}

.hero-section h1 {
	font-family: "Overpass Bold", sans-serif;
	font-size: 2.5rem;
	color: #fff;
	margin: 0;
	padding-bottom: 0.75rem;
	text-shadow: 0 2px 15px rgba(0, 191, 255, 0.3);

	animation: slideUpFade 1s ease-out forwards;
	opacity: 0;
	transform: translateY(20px);
}

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

.hero-subtitle {
	font-family: "Overpass Regular", sans-serif;
	font-size: 1.25rem;
	color: #00bfff;
	margin: 0 0 1.25rem 0;
	letter-spacing: 0.5px;
}

.hero-description {
	font-family: "Overpass Regular", sans-serif;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.85);
	text-align: left;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 36rem;
}

/* Features Section */
.features-section {
	margin-bottom: 2.5rem;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.feature-card {
	background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), rgba(0, 191, 255, 0.1));
	border: 1px solid rgba(0, 191, 255, 0.2);
	border-radius: 0.75rem;
	padding: 1.25rem;
	text-align: center;
	transition: all 0.3s ease;

	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.6),
		0 10px 10px -5px rgba(0, 0, 0, 0.5);

		/* The 3D top-edge highlight */
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.feature-card:hover {
	transform: translateY(-10px);
	
	box-shadow:
		0 30px 40px -5px rgba(0, 0, 0, 0.7),
		/* Shadow gets deeper/blurrier */
		0 0 20px rgba(0, 230, 255, 0.4);
	/* The Cyan Glow */

	/* The Border Highlight */
	border-color: rgba(0, 230, 255, 0.5);
	border-top-color: rgba(0, 230, 255, 0.5);
}

.feature-icon {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem auto;
	background: linear-gradient(135deg, #00bfff, #0099cc);
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
}

/* Icon pseudo-elements */
.icon-device::before {
	content: '';
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	background: #0D0D0D;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z'/%3E%3Crect x='8' y='4' width='8' height='16' rx='1' fill='none' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M4 6h16v2H4zm0 5h16v2H4zm0 5h16v2H4z'/%3E%3Crect x='8' y='4' width='8' height='16' rx='1' fill='none' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.icon-api::before {
	content: '';
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	background: #0D0D0D;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.icon-security::before {
	content: '';
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	background: #0D0D0D;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.feature-card h3 {
	font-family: "Overpass Bold", sans-serif;
	font-size: 0.9375rem;
	color: #00bfff;
	margin: 0 0 0.5rem 0;
}

.feature-card p {
	font-family: "Overpass Regular", sans-serif;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
	margin: 0;
}

/* About Section */
.about-section {
	background: linear-gradient(135deg, rgba(10, 14, 39, 0.5), rgba(10, 14, 39, 0.7));
	border: 1px solid rgba(0, 191, 255, 0.15);
	border-radius: 0.75rem;
	padding: 1.5rem;
	margin-bottom: 2rem;
	text-align: center;

	box-shadow:
		0 20px 25px -5px rgba(0, 0, 0, 0.6),
		0 10px 10px -5px rgba(0, 0, 0, 0.5);
	
	/* Optional: Adds a subtle top highlight to enhance the 3D 'edge' */
	border-top: 1px solid rgba(255, 255, 255, 0.1);

	/* Ensure it doesn't touch the edges if it's currently full-width */
	border-radius: 12px;
	z-index: 10;
	position: relative;
}

.about-section h2 {
	font-family: "Overpass Bold", sans-serif;
	font-size: 1.25rem;
	color: #fff;
	margin: 0 0 1rem 0;
}

.about-section p {
	font-family: "Overpass Regular", sans-serif;
	font-size: 0.875rem;
	text-align: left;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	margin: 0 0 0.75rem 0;
}

.about-section p:last-child {
	margin-bottom: 0;
}

/* CTA Section */
.cta-section {
	text-align: center;
	padding-top: 0.5rem;
}

.login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #00bfff, #0099cc);
	border: none;
	border-radius: 0.75rem;
	color: #0D0D0D;
	font-family: "Overpass Regular", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	height: 3.25rem;
	padding: 0 2.5rem;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 20px rgba(0, 191, 255, 0.35);
	transition: all 0.3s ease;
	cursor: pointer;
	animation: softPulse 3s infinite;
}

@keyframes softPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
	}
}

.login-btn:hover {
	background: linear-gradient(135deg, #0099cc, #0077aa);
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(0, 191, 255, 0.45);
}

.login-btn:active {
	transform: translateY(0);
}

.discord-cta {
	background-color: #5865F2;
	/* Official Discord Blurple */
	font-family: "Overpass Regular", sans-serif;
	color: white;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
	margin-top: 15px;
}

.discord-cta:hover {
	background-color: #4752c4;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}



.cta-note {
	font-family: "Overpass Regular", sans-serif;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.6);
	margin: 1rem 0 0 0;
}

.cta-note a {
	color: #00bfff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cta-note a:hover {
	color: #0099cc;
	text-decoration: underline;
}

/* Footer */
.landing-footer {
	margin-top: 2rem;
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 191, 255, 0.1);
}

.landing-footer span {
	font-family: "Overpass Regular", sans-serif;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.landing-main {
		min-width: unset;
		max-width: 100%;
		width: calc(100% - 3rem);
		padding: 2.5rem 2rem;
		margin: 1.5rem;
	}

	.feature-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.feature-card {
		padding: 1rem;
	}

	.hero-section h1 {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1.125rem;
	}

	.hero-description {
		font-size: 0.875rem;
	}
}

@media (max-width: 768px) {
	.landing-main {
		padding: 2rem 1.5rem;
		margin: 1rem;
		width: calc(100% - 2rem);
	}

	.hero-section h1 {
		font-size: 1.75rem;
	}

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

	.about-section {
		padding: 1.25rem;
	}

	.about-section h2 {
		font-size: 1.125rem;
	}

	.login-btn {
		width: 100%;
		max-width: 20rem;
	}
}

@media (max-width: 425px) {
	.landing-main {
		padding: 1.5rem 1rem;
		margin: 0.5rem;
		width: calc(100% - 1rem);
		min-height: calc(100vh - 1rem);
	}

	.hero-section h1 {
		font-size: 1.5rem;
	}

	.hero-subtitle {
		font-size: 0.9375rem;
	}

	.feature-icon {
		width: 2.5rem;
		height: 2.5rem;
	}

	.icon-device::before,
	.icon-api::before,
	.icon-security::before {
		width: 1.25rem;
		height: 1.25rem;
	}
}
