/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--secondary: #8b5cf6;
	--accent: #ec4899;
	--dark: #0f172a;
	--dark-light: #1e293b;
	--gray: #64748b;
	--light: #f1f5f9;
	--white: #ffffff;
	--gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	--shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
	--radius: 12px;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: var(--dark);
	background: var(--light);
	overflow-x: hidden;
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	background: var(--white);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--dark);
	font-weight: 700;
	font-size: 1.5rem;
}

.logo svg {
	width: 40px;
	height: 40px;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 32px;
	align-items: center;
}

nav a {
	text-decoration: none;
	color: var(--gray);
	font-weight: 500;
	transition: color 0.3s;
}

nav a:hover {
	color: var(--primary);
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.mobile-menu-btn svg {
	width: 28px;
	height: 28px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.mobile-menu-btn {
		display: block;
	}

	nav ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 20px;
		gap: 16px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	}

	nav ul.active {
		display: flex;
	}
}

/* Hero Section */
.hero {
	padding: 120px 0 100px;
	background: var(--gradient);
	color: var(--white);
	text-align: center;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 24px;
}

.hero p {
	font-size: 1.25rem;
	opacity: 0.9;
	margin-bottom: 40px;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 32px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: var(--radius);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary {
	background: var(--white);
	color: var(--primary);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.3);
}

.cta-btn {
	background: var(--gradient);
	color: var(--white);
	padding: 16px 40px;
	font-size: 1.1rem;
	font-weight: 600;
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: var(--shadow);
}

.cta-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

.cta-floating {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999;
	padding: 18px 36px;
	border-radius: 50px;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.btn-large {
	padding: 18px 48px;
	font-size: 1.2rem;
}

/* Content Sections */
.content-section {
	padding: 100px 0;
}

.content-section.text-center {
	text-align: center;
}

.content-section.bg-white {
	background: var(--white);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--dark);
}

.section-header p {
	font-size: 1.125rem;
	color: var(--gray);
	max-width: 600px;
	margin: 0 auto;
}

/* Features Grid */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.feature-item {
	text-align: center;
	padding: 40px 30px;
	background: var(--light);
	border-radius: var(--radius);
	transition: transform 0.3s ease;
}

.feature-item:hover {
	transform: translateY(-5px);
}

.feature-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 24px;
	background: var(--gradient);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon svg {
	width: 40px;
	height: 40px;
	color: var(--white);
}

.feature-item h3 {
	font-size: 1.5rem;
	margin-bottom: 12px;
	color: var(--dark);
}

.feature-item p {
	color: var(--gray);
}

/* FAQ Section */
.faq-item {
	margin-bottom: 16px;
	background: var(--light);
	border-radius: var(--radius);
	overflow: hidden;
}

.faq-question {
	width: 100%;
	padding: 24px;
	background: none;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--dark);
	text-align: left;
}

.faq-question svg {
	width: 24px;
	height: 24px;
	color: var(--primary);
	transition: transform 0.3s ease;
}

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

.faq-answer {
	padding: 0 24px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-answer p {
	padding-bottom: 24px;
	color: var(--gray);
}

.faq-question.active + .faq-answer {
	max-height: 300px;
}

/* Blog Grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.blog-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-content {
	padding: 30px;
}

.blog-card h3 {
	font-size: 1.5rem;
	margin-bottom: 12px;
	color: var(--dark);
}

.blog-card p {
	color: var(--gray);
	margin-bottom: 20px;
}

.blog-card .read-more {
	color: var(--primary);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Page Header */
.page-header {
	background: var(--gradient);
	color: var(--white);
	padding: 100px 0;
	text-align: center;
}

.page-header h1 {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 16px;
}

.page-header p {
	font-size: 1.25rem;
	opacity: 0.9;
	max-width: 600px;
	margin: 0 auto;
}

/* Content Block */
.content-block {
	padding: 80px 0;
}

.content-block h2 {
	font-size: 2.5rem;
	margin-bottom: 24px;
	text-align: center;
}

.content-block p {
	font-size: 1.125rem;
	color: var(--gray);
	margin-bottom: 20px;
}

/* Footer */
footer {
	background: var(--dark);
	color: var(--white);
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3 {
	font-size: 1.25rem;
	margin-bottom: 20px;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 12px;
}

.footer-section a {
	color: var(--gray);
	text-decoration: none;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: var(--white);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--gray);
}

/* Utility classes for spacing */
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.my-30 { margin-top: 30px; margin-bottom: 30px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-block { display: block; }

/* Stat numbers in stats section */
.feature-item .stat-number {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Published date in blog articles */
.published-date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* Ensure h2 spacing in content sections (when not using section-header) */
.content-section > .container > h2 {
  margin-top: 40px;
}

/* Responsive floating CTA */
@media (max-width: 768px) {
  .cta-floating {
    padding: 12px 24px;
    font-size: 1rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Spacing utilities (existing) */
.mt-4 {
  margin-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--gray);
}

/* Spacing */
.section-padding {
	padding: 100px 0;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5rem;
	}

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

	.section-header h2 {
		font-size: 2rem;
	}

	.page-header h1 {
		font-size: 2.5rem;
	}
}
