:root {
	--qfd-bg: #071018;
	--qfd-bg-soft: #0b1722;
	--qfd-panel: rgba(13, 28, 40, 0.78);
	--qfd-panel-strong: #102333;
	--qfd-line: rgba(155, 208, 228, 0.15);
	--qfd-text: #f4f8fa;
	--qfd-muted: #9fb2bf;
	--qfd-cyan: #65d6e8;
	--qfd-mint: #77e2bc;
	--qfd-violet: #a58cff;
	--qfd-radius: 1.25rem;
	--qfd-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

html {
	background: var(--qfd-bg);
	scroll-behavior: smooth;
}

body,
input,
select,
textarea {
	color: var(--qfd-text);
	font-family: Inter, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
}

body {
	background:
		radial-gradient(circle at 82% 4%, rgba(101, 214, 232, 0.12), transparent 28rem),
		radial-gradient(circle at 12% 38%, rgba(165, 140, 255, 0.09), transparent 30rem),
		var(--qfd-bg);
}

body:before {
	background: none;
}

a {
	color: var(--qfd-cyan);
}

a:hover {
	color: #b9f5ff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--qfd-text);
	font-weight: 650;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.45rem, 5vw, 5.3rem);
	line-height: 1.02;
}

h2 {
	font-size: clamp(1.75rem, 3vw, 2.8rem);
}

h3 {
	font-size: 1.08rem;
}

p,
li {
	color: var(--qfd-muted);
	line-height: 1.8;
}

.wrapper > .inner {
	width: min(100%, 82rem);
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.4rem, 6vw, 6rem);
}

.wrapper.style1,
.wrapper.style2,
.wrapper.style3,
.wrapper.style1-alt,
.wrapper.style2-alt,
.wrapper.style3-alt,
.wrapper.alt {
	background: transparent;
}

.wrapper.style2 {
	background: rgba(10, 23, 34, 0.52);
	border-block: 1px solid var(--qfd-line);
}

.wrapper.style3 {
	background:
		linear-gradient(140deg, rgba(101, 214, 232, 0.05), transparent 40%),
		rgba(7, 16, 24, 0.55);
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	border: 1px solid rgba(155, 208, 228, 0.28) !important;
	border-radius: 999px;
	box-shadow: none;
	color: var(--qfd-text) !important;
	font-size: 0.72rem;
	height: auto;
	letter-spacing: 0.12em;
	line-height: 1;
	padding: 1rem 1.45rem;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

input[type="submit"]:after,
input[type="reset"]:after,
input[type="button"]:after,
button:after,
.button:after {
	display: none;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
	background: rgba(101, 214, 232, 0.1);
	border-color: rgba(101, 214, 232, 0.65) !important;
	transform: translateY(-2px);
}

.button.primary {
	background: linear-gradient(115deg, var(--qfd-cyan), var(--qfd-mint));
	border-color: transparent !important;
	color: #06131a !important;
}

#lang-toggle {
	top: 1rem;
	right: 1rem;
	transform: none;
	background: rgba(8, 20, 29, 0.82);
	border: 1px solid var(--qfd-line);
	border-radius: 999px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
	padding: 0.2rem;
	backdrop-filter: blur(16px);
}

#lang-toggle button {
	border: 0 !important;
	border-radius: 999px;
	color: rgba(233, 245, 249, 0.48) !important;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	padding: 0.58rem 0.72rem;
	transform: none;
}

#lang-toggle button:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: none;
}

#lang-toggle button.active {
	background: var(--qfd-text);
	color: #071018 !important;
}

#lang-toggle .lang-divider {
	display: none;
}

#sidebar {
	background: rgba(6, 15, 23, 0.9);
	border-right: 1px solid var(--qfd-line);
	padding: 2rem;
	text-align: left;
	width: 19rem;
	backdrop-filter: blur(18px);
}

#sidebar + #wrapper,
#sidebar + #wrapper + #footer {
	margin-left: 19rem;
}

#sidebar nav > ul > li {
	margin-top: 0.4rem;
}

#sidebar nav a {
	border-radius: 0.75rem;
	color: rgba(229, 241, 246, 0.48);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	padding: 0.72rem 0.85rem;
	text-align: left;
}

#sidebar nav a:before,
#sidebar nav a:after {
	display: none;
}

#sidebar nav a:hover,
#sidebar nav a.active {
	background: rgba(101, 214, 232, 0.08);
	color: var(--qfd-text);
}

.sidebar-submenu {
	border-left: 1px solid var(--qfd-line);
	margin: 0.35rem 0 0.55rem 1rem;
	padding: 0 0 0 0.6rem;
}

.sidebar-submenu a {
	border-radius: 0.5rem !important;
	color: rgba(215, 231, 237, 0.38) !important;
	font-size: 0.59rem !important;
	letter-spacing: 0.07em !important;
	padding: 0.38rem 0.55rem !important;
}

#intro {
	background:
		linear-gradient(90deg, rgba(7, 16, 24, 0.96) 0%, rgba(7, 16, 24, 0.72) 55%, rgba(7, 16, 24, 0.18) 100%),
		url("../../images/unsplash/photo-1451187580459-43490279c0fa.webp") center/cover;
	min-height: 100vh;
}

#intro:after {
	background-image:
		linear-gradient(rgba(101, 214, 232, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(101, 214, 232, 0.04) 1px, transparent 1px);
	background-size: 52px 52px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

#intro > .inner {
	position: relative;
	z-index: 1;
}

#intro h1 {
	max-width: 11ch;
}

#intro p {
	color: #b8c8d1;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	max-width: 48rem;
}

.qfd-initial {
	color: var(--qfd-cyan);
	font-size: 1em;
	font-weight: inherit;
}

.news-section-header {
	border-top: 1px solid var(--qfd-line);
	margin-top: clamp(3rem, 8vw, 6.5rem);
	padding-top: 1.6rem;
}

.news-section-header h2 {
	color: var(--qfd-cyan);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
}

.news-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-tile {
	background: rgba(8, 21, 31, 0.82);
	border: 1px solid var(--qfd-line);
	border-radius: var(--qfd-radius);
	box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
	display: grid;
	grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1.2fr);
	min-height: 12rem;
	overflow: hidden;
}

.news-tile:hover {
	border-color: rgba(101, 214, 232, 0.4);
	box-shadow: var(--qfd-shadow);
	transform: translateY(-4px);
}

.news-tile picture,
.news-tile .news-img {
	height: 100%;
	width: 100%;
}

.news-tile .news-img {
	aspect-ratio: auto;
	object-fit: cover;
}

.news-tile .news-body {
	padding: 1.35rem;
}

.news-tile .news-date {
	color: var(--qfd-cyan);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
}

.news-tile h3 {
	color: var(--qfd-text);
	font-size: 1rem !important;
	letter-spacing: -0.01em;
}

.news-tile p {
	color: var(--qfd-muted);
	font-size: 0.78rem !important;
	line-height: 1.65;
}

.btn-more,
.service-read-more {
	border: 0;
	color: var(--qfd-cyan);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
}

.spotlights {
	padding: clamp(1rem, 3vw, 2.5rem);
}

.spotlights > section {
	background: var(--qfd-panel) !important;
	border: 1px solid var(--qfd-line);
	border-radius: calc(var(--qfd-radius) + 0.25rem);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.18);
	margin: 0 auto 1rem;
	max-width: 86rem;
	min-height: 27rem;
	overflow: hidden;
}

.spotlights > section:nth-child(even) {
	flex-direction: row-reverse;
}

.spotlights > section > .image {
	width: 44%;
}

.spotlights > section > .image:before {
	background: rgba(7, 16, 24, 0.42);
}

.spotlights > section > .content {
	padding: clamp(2.5rem, 6vw, 5rem);
}

.spotlights > section > .content p {
	max-width: 45rem;
}

.features {
	background: transparent;
	border: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.features section,
.features section:nth-child(2n),
.features section:nth-child(-n + 2) {
	background: var(--qfd-panel);
	border: 1px solid var(--qfd-line);
	border-radius: var(--qfd-radius);
	min-height: 20rem;
	padding: 2rem;
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
	width: auto;
}

#two .features section[data-service-href]:hover {
	background: rgba(17, 38, 53, 0.94);
	border-color: rgba(101, 214, 232, 0.38);
	transform: translateY(-5px);
}

.features section .icon {
	background: rgba(101, 214, 232, 0.08);
	border: 1px solid rgba(101, 214, 232, 0.22);
	color: var(--qfd-cyan);
	left: auto;
	margin-bottom: 1.5rem;
	position: relative;
	top: auto;
}

.features section h3 {
	max-width: 28rem;
}

.features section p {
	font-size: 0.92rem;
}

.split.style1 {
	align-items: stretch;
	gap: 1rem;
}

.split.style1 > section {
	background: var(--qfd-panel);
	border: 1px solid var(--qfd-line);
	border-radius: var(--qfd-radius);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
	background: rgba(4, 13, 20, 0.7);
	border: 1px solid var(--qfd-line);
	border-radius: 0.75rem;
	color: var(--qfd-text);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	border-color: var(--qfd-cyan);
	box-shadow: 0 0 0 1px var(--qfd-cyan);
}

#header {
	align-items: center;
	background: rgba(6, 15, 23, 0.88);
	border-bottom: 1px solid var(--qfd-line);
	padding: 1.05rem clamp(1.25rem, 4vw, 3rem);
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(18px);
}

#header > .title {
	font-size: 1rem;
	letter-spacing: -0.01em;
}

#header > nav > ul > li a {
	color: rgba(229, 241, 246, 0.5);
	font-size: 0.65rem;
	letter-spacing: 0.12em;
}

#header > nav > ul > li a:hover,
#header > nav > ul > li a.active {
	color: var(--qfd-cyan);
}

#header + #wrapper {
	background: transparent;
}

#main.wrapper > .inner {
	max-width: 74rem;
}

h1.major {
	font-size: clamp(2.2rem, 5vw, 4.6rem);
	margin-bottom: 2.5rem;
	max-width: 18ch;
}

h1.major:after {
	background: linear-gradient(90deg, var(--qfd-cyan), var(--qfd-violet));
	border-radius: 99px;
	height: 3px;
	width: 5rem;
}

.page-banner {
	border: 1px solid var(--qfd-line);
	border-radius: calc(var(--qfd-radius) + 0.25rem);
	box-shadow: var(--qfd-shadow);
	height: clamp(13rem, 28vw, 20rem);
}

.page-banner:after {
	background:
		linear-gradient(120deg, rgba(101, 214, 232, 0.08), transparent 45%),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: auto, 36px 36px, 36px 36px;
	content: "";
	inset: 0;
	position: absolute;
}

.page-banner .banner-icon {
	position: relative;
	z-index: 1;
}

.page-banner .banner-icon {
	color: white;
	font-size: clamp(3.5rem, 8vw, 6rem);
	opacity: 0.72;
}

.page-banner .banner-label {
	bottom: 1.25rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.65rem;
	position: absolute;
	right: 1.5rem;
	z-index: 1;
}

.key-offerings {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	padding: 0;
}

.key-offerings li {
	background: rgba(12, 27, 39, 0.72);
	border: 1px solid var(--qfd-line);
	border-radius: 0.9rem;
	margin: 0;
	padding: 1rem 1.1rem 1rem 2.8rem;
	position: relative;
}

.key-offerings li:before {
	color: var(--qfd-mint);
	content: "\2713";
	font-weight: 700;
	left: 1.1rem;
	position: absolute;
}

.news-meta .tag,
.region-card,
.cert-badge,
.rev-card,
.revenue-split,
.pricing-card,
.pricing-note {
	border-color: var(--qfd-line) !important;
	border-radius: var(--qfd-radius) !important;
}

.news-image {
	border: 1px solid var(--qfd-line);
	border-radius: var(--qfd-radius) !important;
	box-shadow: var(--qfd-shadow);
}

blockquote {
	background: rgba(12, 27, 39, 0.72);
	border-left-color: var(--qfd-cyan) !important;
	border-radius: 0 var(--qfd-radius) var(--qfd-radius) 0;
	padding: 1.5rem 1.75rem !important;
}

#footer {
	background: #050c12;
	border-top: 1px solid var(--qfd-line);
}

#footer > .inner .menu {
	color: rgba(213, 229, 235, 0.4);
	font-size: 0.72rem;
}

@media screen and (max-width: 1280px) {
	#sidebar {
		height: 4rem;
		line-height: 4rem;
		width: 100%;
	}

	#sidebar + #wrapper {
		margin-left: 0;
		padding-top: 4rem;
	}

	#sidebar + #wrapper + #footer {
		margin-left: 0;
	}

	#sidebar nav > ul > li {
		margin: 0 0 0 1rem;
	}

	#sidebar nav a {
		border-radius: 0;
		padding: 0;
	}

	#sidebar .sidebar-submenu {
		display: none;
	}
}

@media screen and (max-width: 980px) {
	.news-grid,
	.features,
	.key-offerings {
		grid-template-columns: 1fr;
	}

	.spotlights > section,
	.spotlights > section:nth-child(even) {
		display: block;
	}

	.spotlights > section > .image {
		height: 22rem;
		width: 100%;
	}

	.features section,
	.features section:nth-child(2n),
	.features section:nth-child(-n + 2) {
		min-height: 0;
		width: 100%;
	}
}

@media screen and (max-width: 736px) {
	#sidebar {
		border-right: 0;
		border-top: 1px solid var(--qfd-line);
		bottom: 0;
		display: block;
		height: 4.25rem;
		left: 0;
		line-height: normal;
		padding: 0 0.35rem;
		top: auto;
		width: 100%;
	}

	#sidebar > .inner,
	#sidebar nav,
	#sidebar nav > ul {
		height: 100%;
		width: 100%;
	}

	#sidebar nav > ul {
		align-items: stretch;
		display: flex;
		justify-content: stretch;
	}

	#sidebar nav > ul > li {
		flex: 1;
		height: 100%;
		margin: 0;
	}

	#sidebar nav a {
		align-items: center;
		display: flex;
		font-size: 0.52rem;
		height: 100%;
		justify-content: center;
		letter-spacing: 0.08em;
		line-height: 1.25;
		padding: 0.4rem 0.2rem;
		text-align: center;
	}

	#sidebar .sidebar-submenu {
		display: none;
	}

	#sidebar + #wrapper {
		padding-bottom: 4.25rem;
		padding-top: 0;
	}

	#sidebar + #wrapper + #footer {
		padding-bottom: 4.25rem;
	}

	#lang-toggle {
		top: 0.65rem;
	}

	#intro {
		min-height: auto;
	}

	#intro > .inner {
		padding-top: 6rem;
	}

	.news-tile {
		display: block;
	}

	.news-tile picture,
	.news-tile .news-img {
		height: 12rem;
	}

	.spotlights {
		padding: 0.75rem;
	}

	.spotlights > section > .image {
		height: 16rem;
		min-height: 0;
	}

	.split.style1 > section {
		margin: 0;
	}

	#header {
		padding-right: 6rem;
	}
}

@media screen and (max-width: 480px) {
	#header {
		display: flex;
		padding: 0.8rem 5.6rem 0.8rem 1rem;
	}

	#header .title {
		font-size: 0.78rem;
		padding: 0;
	}

	#header > nav {
		display: none;
	}

	.wrapper > .inner {
		padding-inline: 1.15rem;
	}

	.features section,
	.features section:nth-child(2n),
	.features section:nth-child(-n + 2) {
		padding: 1.4rem;
	}

	.features section .icon {
		left: auto;
		top: auto;
	}

	ul.actions {
		display: grid;
		gap: 0.6rem;
	}

	ul.actions li,
	ul.actions li .button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*:before,
	*:after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
