:root {
	--primary-color: #18609C;
	--secondary-color: #1E88E5;
	--tertiary-color: #64B5F6;
	--accent-color: #FFA726;
	--bg-light: #F5F9FC;
	--bg-light-2: #EDF2F7;
	--text-dark: #2D3748;
	--text-light: #4A5568;
	--border-color: #E2E8F0;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: var(--bg-light);
	color: var(--text-dark);
	line-height: 1.6;
}

/* Hero Section */
.hero-section {
	background-color: var(--primary-color);
	background-image: 
		radial-gradient(circle at 10% 20%, var(--secondary-color) 0%, transparent 20%),
		radial-gradient(circle at 90% 80%, var(--tertiary-color) 0%, transparent 20%),
		linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 8rem 0 6rem;
	position: relative;
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
	margin-bottom: 4rem;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%) -50px 0,
		linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%) -50px 0;
	background-size: 100px 100px;
	opacity: 0.1;
}

/* Section Title */
.section-title {
	position: relative;
	color: var(--primary-color);
	font-weight: 700;
	margin-bottom: 2.5rem;
	display: inline-block;
}

.section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 50px;
	height: 4px;
	background: var(--accent-color);
	border-radius: 2px;
}

/* Cards and Features */
.feature-card {
	border: 1px solid var(--border-color);
	border-radius: 1rem;
	background: white;
	box-shadow: 0 4px 6px -1px rgba(24, 96, 156, 0.1);
	transition: all 0.3s ease;
	height: 100%;
	overflow: hidden;
	padding: 2rem;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px -5px rgba(24, 96, 156, 0.15);
	border-color: var(--primary-color);
}

.feature-icon {
	width: 56px;
	height: 56px;
	background: var(--bg-light);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-color);
	font-size: 1.75rem;
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
	background: var(--primary-color);
	color: white;
	transform: scale(1.1);
}

/* Upload Area */
.upload-zone {
	border: 2px dashed var(--border-color);
	border-radius: 1rem;
	padding: 4rem 3rem;
	text-align: center;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	margin-bottom: 2rem;
}

.upload-zone::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--bg-light);
	z-index: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.upload-zone:hover {
	border-color: var(--primary-color);
}

.upload-zone:hover::before {
	opacity: 1;
}

.upload-zone * {
	position: relative;
	z-index: 1;
}

/* Buttons */
.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	padding: 0.75rem 2rem;
	font-weight: 500;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
	background: white;
	border-radius: 1.5rem;
	box-shadow: 0 4px 20px -5px rgba(24, 96, 156, 0.15);
	overflow: hidden;
	margin: 4rem 0;
}

.faq-header {
	background: var(--primary-color);
	padding: 2rem;
	color: white;
	position: relative;
	overflow: hidden;
}

.faq-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: var(--secondary-color);
	border-radius: 50%;
	opacity: 0.1;
}

.faq-container {
	padding: 2rem;
}

.faq-item {
	background: white;
	border-radius: 1rem;
	margin-bottom: 1rem;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: var(--primary-color);
	box-shadow: 0 4px 12px -2px rgba(24, 96, 156, 0.1);
}

.faq-question {
	padding: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	user-select: none;
}

.faq-question i {
	transition: transform 0.3s ease;
	color: var(--primary-color);
	font-size: 1.25rem;
}

.faq-answer {
	color: var(--text-light);
	padding: 0 1.5rem;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
	line-height: 1.6;
}

.faq-item.active {
	background: var(--bg-light);
	border-color: var(--primary-color);
}

.faq-item.active .faq-question {
	color: var(--primary-color);
}

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

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

.faq-category {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	background: rgba(24, 96, 156, 0.1);
	color: var(--primary-color);
	font-size: 0.875rem;
	margin-right: 0.5rem;
}

/* Result Area */
.result-area {
	background: white;
	border-radius: 1rem;
	box-shadow: 0 4px 6px -1px rgba(24, 96, 156, 0.1);
	padding: 1.5rem;
	margin-bottom: 2rem;
}

#resultText {
	border: 1px solid var(--border-color);
	border-radius: 0.5rem;
	min-height: 200px;
	padding: 1rem;
	width: 100%;
	resize: vertical;
	font-family: inherit;
	line-height: 1.6;
}

/* Progress Bar */
.progress {
	height: 1.5rem;
	background-color: var(--bg-light-2);
	border-radius: 1rem;
	overflow: hidden;
}

.progress-bar {
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	transition: width 0.3s ease;
}

/* Footer */
.footer {
	background: var(--text-dark);
	color: white;
	padding: 1rem 0;
	margin-top: 4rem;
}

.footer a {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s ease;
}

.footer a:hover {
	color: white;
}