:root {
	--primary: #3a86ff;
	--primary-dark: #2667cc;
	--secondary: #8338ec;
	--accent: #ff006e;
	--light: #f8f9fa;
	--dark: #212529;
	--ai-gradient: linear-gradient(135deg, #3a86ff, #8338ec);
	--ai-gradient-hover: linear-gradient(135deg, #2667cc, #6927c0);
	--success: #10b981;
}
html,
body {
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}
body {
	font-family: "Poppins", sans-serif;
	color: var(--dark);
	background-color: #f9fafb;
	overflow-y: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 600;
}

.error-message {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 5px;
	padding: 15px;
	margin-bottom: 20px;
}

.error-message .text-danger {
	color: #dc3545 !important;
}

.error-message h4 {
	font-size: 1.25rem;
	font-weight: bold;
}

.error-message p {
	margin-bottom: 0;
	font-size: 1rem;
}
/* Modern Buttons */
.btn-ai {
	background: var(--ai-gradient);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(58, 134, 255, 0.25);
}

.btn-ai:hover {
	background: var(--ai-gradient-hover);
	transform: translateY(-2px);
	color: white;
	box-shadow: 0 6px 20px rgba(58, 134, 255, 0.3);
}

.btn-ai-outline {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 10px 28px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-ai-outline:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
	background: linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.92) 0%,
			rgba(249, 250, 251, 0.92) 100%
		),
		url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1650&q=80");
	background-size: cover;
	background-position: center;
	padding: 120px 0 80px;
	position: relative;
}

.hero-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0icGF0dGVybiIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PGNpcmNsZSBmaWxsPSIjM2E4NmZmMTAiIGN4PSIxMCIgY3k9IjEwIiByPSIyIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiAvPjwvc3ZnPg==");
	opacity: 0.5;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	background: linear-gradient(to right, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.book-cover {
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	transform: perspective(1000px) rotateY(-15deg);
	transition: all 0.5s ease;
}

.book-cover:hover {
	transform: perspective(1000px) rotateY(0deg);
}

.book-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	background: var(--accent);
	color: white;
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: bold;
	transform: rotate(15deg);
	box-shadow: 0 4px 12px rgba(255, 0, 110, 0.25);
}

/* Timer */
.time-content {
	display: flex;
	gap: 15px;
	justify-content: center;
	background: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.time {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 80px;
}

.time .number {
	font-size: 2rem;
	font-weight: bold;
	color: var(--primary);
}

.time .text {
	font-size: 0.9rem;
	color: var(--dark);
}

/* Features Section */
.features-section {
	padding: 100px 0;
	background-color: white;
}

.feature-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	transition: all 0.3s ease;
	height: 100%;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(58, 134, 255, 0.1);
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: var(--ai-gradient);
	margin-bottom: 20px;
	color: white;
	font-size: 30px;
}

/* Testimonials */
.testimonial-section {
	padding: 100px 0;
	background-color: #f9fafb;
}

.testimonial-card {
	background: white;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(58, 134, 255, 0.1);
	margin: 15px;
}

.testimonial-avatar {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 20px;
	border: 3px solid var(--primary);
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
	position: relative;
	padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
	content: '"';
	font-size: 60px;
	position: absolute;
	opacity: 0.2;
	font-family: "Georgia", serif;
}

.testimonial-text::before {
	top: -20px;
	left: -10px;
}

.testimonial-text::after {
	bottom: -40px;
	right: -10px;
}

/* Benefits */
.benefits-section {
	padding: 100px 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.benefit-item {
	display: flex;
	margin-bottom: 25px;
	align-items: start;
}

.benefit-icon {
	color: var(--primary);
	font-size: 24px;
	margin-right: 15px;
	flex-shrink: 0;
}

.benefit-content {
	flex-grow: 1;
}

.benefit-title {
	font-weight: 600;
	margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
	padding: 100px 0;
	background: var(--ai-gradient);
	color: white;
	text-align: center;
}

/* Author Section */
.author-section {
	padding: 100px 0;
	background-color: white;
}

.author-img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	border: 4px solid var(--primary);
	margin-bottom: 30px;
}

/* Newsletter */
.newsletter-section {
	padding: 80px 0;
	background-color: var(--dark);
	color: white;
}

.newsletter-box {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 40px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
	margin-top: auto;
	background-color: var(--dark);
	color: white;
	padding: 30px 0;
}

/* Animations */
.animated-gradient {
	background-size: 200% 200%;
	animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* AI Themed Elements */
.ai-circle {
	position: absolute;
	border-radius: 50%;
	background: var(--ai-gradient);
	filter: blur(80px);
	opacity: 0.1;
	z-index: 0;
}

.ai-nodes {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	overflow: hidden;
}

/* Cookie Notice */
.cookies {
	position: fixed;
	bottom: 20px;
	left: 20px;
	max-width: 320px;
	background-color: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	font-size: 14px;
	display: none;
}

.cookies-accept {
	display: inline-block;
	padding: 8px 16px;
	background: var(--ai-gradient);
	color: white;
	border: none;
	border-radius: 5px;
	margin-top: 10px;
	cursor: pointer;
}

/* Message Alert */
.sticky-message {
	position: fixed;
	top: 20px;
	right: 20px;
	background-color: var(--success);
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.hidden {
	display: none;
}

/* Responsive */
@media (max-width: 992px) {
	.hero-title {
		font-size: 2.5rem;
	}
	.book-cover {
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 2rem;
	}
	.time-content {
		flex-wrap: wrap;
	}
	.time {
		min-width: 60px;
	}
}

/* Mobile Logo */
.mobile-nav {
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
	font-weight: 700;
	color: var(--primary);
	display: flex;
	align-items: center;
}

.logo i {
	font-size: 24px;
	margin-right: 10px;
}

/* Pricing Badge */
.price-badge {
	display: inline-block;
	background: var(--success);
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: 600;
	margin-left: 10px;
}

.original-price {
	text-decoration: line-through;
	opacity: 0.7;
	margin-right: 10px;
}
