/* DMS Lite Landing Page - Modern Styles */
:root {
	--primary: #4f46e5;
	--primary-dark: #4338ca;
	--primary-light: #6366f1;
	--bg: #ffffff;
	--bg-alt: #f8fafc;
	--text: #0f172a;
	--text-muted: #475569;
	--text-light: #64748b;
	--card: #ffffff;
	--accent: #22c55e;
	--accent-light: #10b981;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--border: #e2e8f0;
	--border-light: #f1f5f9;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	/* Roboto with Vietnamese support - clean, professional, excellent readability */
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Better text rendering for Vietnamese characters */
	text-rendering: optimizeLegibility;
}

/* Alternative font options (uncomment to use):
	Plus Jakarta Sans: font-family: 'Plus Jakarta Sans', sans-serif;
	Be Vietnam Pro: font-family: 'Be Vietnam Pro', sans-serif;
	Nunito Sans: font-family: 'Nunito Sans', sans-serif;
*/

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

img {
	max-width: 100%;
	display: block;
	height: auto;
}

.container {
	width: min(1200px, 92vw);
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-light);
	transition: all 0.3s ease;
}

header.scrolled {
	box-shadow: var(--shadow);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 500; /* Roboto 500 for brand - cleaner look */
	font-size: 18px;
	color: var(--primary);
	letter-spacing: -0.01em;
}

/* Mobile: Larger brand logo */
@media (max-width: 768px) {
	.brand {
		font-size: 20px;
	}
}

.brand svg {
	flex-shrink: 0;
}

.brand strong {
	display: block;
	line-height: 1.2;
}

.brand span {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-muted);
}

/* Mobile: Larger brand subtitle */
@media (max-width: 768px) {
	.brand span {
		font-size: 14px;
	}
}

.nav-links {
	display: flex;
	gap: 24px;
	align-items: center;
}

.nav-links a {
	font-weight: 500;
	font-size: 15px;
	color: var(--text);
	position: relative;
}

.nav-links a:not(.btn):hover {
	color: var(--primary);
}

.nav-links a:not(.btn)::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
	width: 100%;
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text);
	padding: 8px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 10px;
	font-weight: 500; /* Roboto 500 for buttons - better Vietnamese display */
	font-size: 15px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.btn-large {
	padding: 14px 28px;
	font-size: 16px;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-ghost {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--border);
}

.btn-ghost:hover {
	background: var(--bg-alt);
	border-color: var(--primary);
}

/* Hero Section */
.hero {
	padding: 100px 0 80px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.hero-content {
	max-width: 600px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
	color: var(--primary);
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 24px;
}

.badge-icon {
	font-size: 18px;
}

.hero-title {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 700; /* Roboto 700 for better Vietnamese display */
	line-height: 1.2;
	margin-bottom: 20px;
	color: var(--text);
	letter-spacing: -0.02em; /* Tighter spacing for Vietnamese */
}

/* Mobile: Better typography for hero title */
@media (max-width: 768px) {
	.hero-title {
		font-size: clamp(28px, 6vw, 48px);
		line-height: 1.3;
	}
}

.gradient-text {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-description {
	color: var(--text-muted);
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 32px;
}

.hero-cta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

.hero-stats {
	display: flex;
	gap: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--border-light);
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 32px;
	font-weight: 700; /* Roboto 700 for stats */
	color: var(--primary);
	line-height: 1;
	margin-bottom: 4px;
	letter-spacing: -0.02em;
}

/* Mobile: Smaller stat numbers */
@media (max-width: 768px) {
	.stat-number {
		font-size: 24px;
	}
}

.stat-label {
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 500;
}

.hero-visual {
	position: relative;
}

.hero-card {
	position: sticky;
	top: 100px;
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
}

/* Sections */
.section {
	padding: 100px 0;
}

.section-alt {
	background: var(--bg-alt);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: clamp(32px, 4vw, 42px);
	font-weight: 700; /* Roboto 700 for better Vietnamese display */
	margin-bottom: 16px;
	color: var(--text);
	letter-spacing: -0.01em;
}

/* Mobile: Better typography for section titles */
@media (max-width: 768px) {
	.section-header h2 {
		font-size: clamp(24px, 5vw, 36px);
		line-height: 1.3;
	}
}

.section-subtitle {
	color: var(--text-muted);
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto;
}

/* Mobile: Smaller section subtitle */
@media (max-width: 768px) {
	.section-subtitle {
		font-size: 16px;
		line-height: 1.6;
	}
}

/* Cards */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.card {
	background: var(--card);
	border-radius: 16px;
	padding: 28px;
	box-shadow: var(--shadow);
	border: 1px solid var(--border-light);
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
}

.card.fade-in {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-hover:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.card-header {
	margin-bottom: 20px;
}

.card h3 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 500; /* Roboto 500 for card titles - better Vietnamese readability */
	color: var(--text);
	letter-spacing: -0.01em;
}

/* Mobile: Larger card titles */
@media (max-width: 768px) {
	.card h3 {
		font-size: 22px;
		line-height: 1.4;
	}
}

.card p {
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 16px;
}

/* Mobile: Larger card text */
@media (max-width: 768px) {
	.card p {
		font-size: 16px;
	}
}

.card-icon {
	font-size: 40px;
	margin-bottom: 16px;
	display: block;
}

.card-icon-large {
	font-size: 48px;
	margin-bottom: 20px;
	display: block;
}

/* Tags */
.tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 12px;
	margin-bottom: 12px;
}

.tag-primary {
	background: #eef2ff;
	color: var(--primary);
}

.tag-success {
	background: #d1fae5;
	color: #065f46;
}

.tag-info {
	background: #dbeafe;
	color: #1e40af;
}

/* Feature Lists */
.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.feature-list.compact {
	gap: 8px;
}

.feature-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.6;
}

.feature-icon {
	width: 24px;
	height: 24px;
	border-radius: 8px;
	background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
	color: var(--primary);
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 14px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Grids */
.grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 28px;
}

.card-feature {
	position: relative;
	overflow: hidden;
}

.card-feature::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

.stack-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.stack-item {
	background: var(--card);
	padding: 24px;
	border-radius: 12px;
	border: 1px solid var(--border-light);
	text-align: center;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
}

.stack-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.stack-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 12px;
}

.stack-item strong {
	display: block;
	margin-top: 8px;
	margin-bottom: 6px;
	color: var(--text);
	font-size: 16px;
}

.stack-item small {
	display: block;
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.5;
}

.roadmap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.card-roadmap {
	border-left: 4px solid var(--primary);
	position: relative;
}

.benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.card-benefit {
	text-align: center;
}

/* CTA Section */
.cta-section {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	color: white;
	padding: 80px 0;
}

/* Mobile: Reduced CTA section padding */
@media (max-width: 768px) {
	.cta-section {
		padding: 60px 0;
	}
}

.cta-card {
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

.cta-card h2 {
	font-size: clamp(32px, 4vw, 42px);
	font-weight: 700; /* Roboto 700 for better Vietnamese display */
	margin-bottom: 16px;
	color: white;
	letter-spacing: -0.01em;
}

.cta-card p {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 32px;
}

.cta-card .btn-primary {
	background: white;
	color: var(--primary);
}

.cta-card .btn-primary:hover {
	background: var(--bg-alt);
	transform: translateY(-2px);
}

/* Mobile: Full-width CTA button */
@media (max-width: 768px) {
	.cta-card .hero-cta {
		flex-direction: column;
		gap: 12px;
	}

	.cta-card .hero-cta .btn,
	.cta-card .btn-primary {
		width: 100%;
		justify-content: center;
		font-size: 18px;
		padding: 16px 24px;
	}
}

/* Footer */
.footer {
	background: #0f172a;
	color: #e2e8f0;
	padding: 40px 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-brand strong {
	display: block;
	color: white;
	font-size: 16px;
}

.footer-brand span {
	display: block;
	font-size: 13px;
	color: #94a3b8;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #94a3b8;
	font-size: 14px;
}

.footer-links a {
	color: #cbd5e1;
}

.footer-links a:hover {
	color: white;
}

/* Responsive */
@media (max-width: 968px) {
	.hero .container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero-visual {
		order: -1;
	}

	.hero-card {
		position: static;
	}
}

@media (max-width: 768px) {
	.nav-links {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		background: white;
		flex-direction: column;
		padding: 20px;
		box-shadow: var(--shadow-lg);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	.nav-links.mobile-open {
		transform: translateX(0);
	}

	.nav-links a {
		padding: 16px 0;
		width: 100%;
		text-align: center;
		border-bottom: 1px solid var(--border-light);
		min-height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.nav-links a:last-child {
		border-bottom: none;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.hero {
		padding: 40px 0 32px;
	}

	.hero-stats {
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}

	/* Hero CTA: Full-width buttons on mobile */
	.hero-cta {
		flex-direction: column;
		gap: 12px;
	}

	.hero-cta .btn {
		width: 100%;
		justify-content: center;
		font-size: 18px;
		padding: 16px 24px;
	}

	/* Hero card: Reduced padding on mobile */
	.hero-card {
		padding: 20px !important;
	}

	.section {
		padding: 48px 0;
	}

	.section-header {
		margin-bottom: 40px;
	}

	/* Cards: Reduced padding and gap on mobile */
	.card {
		padding: 20px;
	}

	.grid-2,
	.cards,
	.roadmap,
	.benefits {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 16px;
	}
}

/* Print Styles */
@media print {
	header,
	.footer,
	.hero-cta,
	.mobile-menu-toggle {
		display: none;
	}
}
