/* HERO */
.hero {
	background: var(--white);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-light);
	margin: 2rem auto 3rem;
	padding: 3rem 1.2rem;
	max-width: var(--max-width);
	box-shadow: var(--shadow-soft);
}

.hero-inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 3rem;
	align-items: center;
}

.hero-tag {
	font-size: 0.78rem;
	color: var(--accent-primary);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	display: inline-block;
	font-family: "IBM Plex Mono", monospace;
}

h1 {
	font-size: clamp(2rem, 5vw, 2.55rem);
	line-height: 1.18;
	margin-bottom: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hero-sub {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	max-width: 90%;
}

.hero-points {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.hero-points li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.hero-points li + li {
	margin-top: 0.5rem;
}

.hero-points li::before {
	content: "•";
	color: var(--accent-primary);
	font-weight: bold;
	flex-shrink: 0;
}

.hero-code {
	background: #0A0A0A;
	color: var(--white);
	padding: 1.75rem;
	border-radius: var(--radius-md);
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.85rem;
	white-space: pre-wrap;
	overflow-x: auto;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
	line-height: 1.6;
	min-height: 200px;
}

.hero-code::-webkit-scrollbar,
.flow::-webkit-scrollbar {
	height: 6px;
}

.hero-code::-webkit-scrollbar-track,
.flow::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
}

.hero-code::-webkit-scrollbar-thumb,
.flow::-webkit-scrollbar-thumb {
	background: var(--accent-primary);
	border-radius: 3px;
}

/* SECTIONS */
.section {
	margin: 4rem auto;
	scroll-margin-top: 2rem;
}

.label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-family: "IBM Plex Mono", monospace;
}

.section-title {
	font-size: clamp(1.5rem, 4vw, 1.8rem);
	margin-bottom: 0.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.intro {
	color: var(--text-muted);
	max-width: 85%;
	margin-bottom: 2rem;
	font-size: 1.05rem;
}

.grid-3,
.grid-2 {
	display: grid;
	gap: 1.5rem;
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 1.75rem;
	border: 1px solid rgba(0, 0, 0, 0.07);
	transition: var(--transition);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	height: 100%;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
	border-color: var(--accent-primary);
}

.card h3 {
	margin-bottom: 0.75rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text-primary);
}

.card p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* MODEL */
.model-box {
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 2rem;
	border: 1px solid var(--border-light);
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 2rem;
	align-items: center;
	box-shadow: var(--shadow-soft);
}

.model-box h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
	color: var(--text-primary);
}

.model-box p {
	color: var(--text-muted);
	margin-bottom: 0;
}

.flow {
	background: #0A0A0A;
	color: var(--white);
	padding: 1.5rem;
	border-radius: var(--radius-sm);
	font-family: "IBM Plex Mono", monospace;
	white-space: pre;
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
	min-height: 180px;
}

/* CTA BANNER */
.cta-banner {
	max-width: var(--max-width);
	margin: 4rem auto;
	background: linear-gradient(135deg, #0C4A52 0%, #0A0A0A 100%);
	border-radius: var(--radius-md);
	padding: 3rem;
	color: var(--white);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	box-shadow: 0 20px 60px rgba(12, 74, 82, 0.2);
}

.cta-banner h2 {
	color: var(--white);
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.cta-banner p {
	opacity: 0.9;
	margin: 0;
	font-size: 1.05rem;
}

/* CONTACT */
.contact-section {
	padding-bottom: 3rem;
}

.email-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.75rem;
	background: var(--accent-primary);
	color: var(--white);
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
	margin: 1rem 0 2rem;
	box-shadow: 0 4px 15px rgba(12, 74, 82, 0.2);
	font-size: 1rem;
}

.email-link:hover,
.email-link:focus {
	background: var(--accent-secondary);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(12, 74, 82, 0.3);
}

.contact-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.contact-detail {
	background: var(--white);
	padding: 1.25rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-color);
	transition: var(--transition);
}

.contact-detail:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-detail strong {
	display: block;
	color: var(--accent-primary);
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.hero-sub {
		max-width: 100%;
	}

	.nav-links {
		order: 3;
		width: 100%;
		justify-content: center;
		margin-top: 1rem;
		display: none;
	}

	.nav-links.active {
		display: flex;
	}
}

@media (max-width: 850px) {
	.model-box {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.intro {
		max-width: 100%;
	}

	.cta-banner {
		text-align: center;
		justify-content: center;
		padding: 2.5rem;
		flex-direction: column;
	}

	.cta-banner h2 {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px) {
	.section {
		margin: 3rem auto;
	}

	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr;
	}

	.hero {
		padding: 2.5rem 1rem;
		margin: 1.5rem auto 2.5rem;
	}

	.footer-inner {
		gap: 1.5rem;
	}

	nav {
		flex-wrap: wrap;
	}

	.btn {
		order: 2;
		margin-left: auto;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 2rem 1rem;
	}

	.section {
		margin: 2.5rem auto;
	}

	.cta-banner {
		padding: 2rem 1.5rem;
		margin: 3rem auto;
	}

	.btn {
		padding: 0.75rem 1.5rem;
		font-size: 0.9rem;
	}

	.email-link {
		padding: 0.875rem 1.5rem;
		font-size: 0.95rem;
	}

	.card {
		padding: 1.5rem;
	}
}

@media (max-width: 900px) {
	.menu-toggle {
		display: flex;
	}

	.nav-links {
		display: none;
		width: 100%;
		flex-direction: column;
		gap: 0;
		background: var(--white);
		padding: 1rem;
		border-radius: var(--radius-sm);
		margin-top: 1rem;
		border: 1px solid var(--border-light);
	}

	.nav-links a {
		padding: 0.75rem;
		width: 100%;
		text-align: center;
	}

	.nav-links.active {
		display: flex;
	}
}

/* PRINT */
@media print {
	header,
	.cta-banner,
	.btn-primary,
	.footer-links,
	.email-link,
	.menu-toggle {
		display: none !important;
	}

	body {
		background: #fff !important;
		color: #000 !important;
		font-size: 12pt !important;
	}

	.hero,
	.card,
	.model-box {
		box-shadow: none !important;
		border: 1px solid #ddd !important;
		margin: 1rem auto !important;
		break-inside: avoid;
	}

	.hero-code,
	.flow {
		background: #fff !important;
		color: #000 !important;
		border: 1px solid #ddd !important;
	}

	.section {
		margin: 2rem auto !important;
	}

	.container {
		max-width: 100% !important;
		padding: 0 1rem !important;
	}

	.btn-primary {
		background: #fff !important;
		color: #000 !important;
		border: 1px solid #000 !important;
	}
}

/* Animation */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.hero, .section {
	animation: fadeIn 0.6s ease-out;
}
