:root {
	--primary: #00c998;
	--text: #212121;
	--subtext: #666;
	--footer-bg: #fafafa;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: Arial, sans-serif;
	color: var(--text);
	background: white;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background: #fff;
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--primary);
}

.lang-selector {
}

.select-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	border: 1px solid var(--subtext);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.lang-icon {
	margin: 0 0.5rem;
}

.select-wrapper select {
	border: none;
	padding: 0.5rem 1.5rem 0.5rem 0.25rem;
	font-size: 1rem;
	background: transparent;
	appearance: none;
	cursor: pointer;
	outline: none;
}

.select-wrapper .custom-arrow {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	width: 0.5rem;
	height: 0.5rem;
	pointer-events: none;
	border-left: 1.5px solid var(--subtext);
	border-bottom: 1.5px solid var(--subtext);
	transform: translateY(-75%) rotate(-45deg);
}

.main-image {
	display: block;
	margin: 1.5rem auto;
	object-fit: contain;
	width: 500px;
	height: 250px;
}

.content {
	flex: 1;
	margin: 0 auto;
	text-align: center;
	flex-direction: column;

	padding: 1rem;
	gap: 40px;
}

.text-content {
	gap: 6rem;
	min-width: 580px;
}

.content h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.content p {
	color: var(--subtext);
	margin-bottom: 2rem;
	line-height: 1.5;
}

#subtitle {
	white-space: pre-line;
}

button {
	cursor: pointer;
}

.btn-group {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.os-note {
	font-size: 0.85rem;
	color: var(--subtext);
	margin-top: 4px;
}

.buttons {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	border-radius: 999px;
	cursor: pointer;
	border: none;
	text-align: center;
	min-width: 13rem;
	transition:
		background 0.2s,
		opacity 0.2s,
		box-shadow 0.2s;
}

.mac-btn,
.windows-btn {
	display: flex;
	justify-content: center;
}

.mac-btn > span,
.windows-btn > span {
	text-align: center;
	width: 100%;
}

.windows-btn {
	background: transparent;
	border: 1px solid var(--text);
	color: var(--text);
}

.windows-btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.mac-btn {
	background: transparent;
	border: 1px solid var(--text);
	color: var(--text);
}

.mac-btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.icon {
	display: inline-block;
	vertical-align: middle;
}

.windows-btn.active {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.mac-btn.active {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.footer {
	background: var(--footer-bg);
	padding: 4px 0;
}

.footer-content {
	max-width: 1640px;
	margin: 0 auto;
	padding: 12px;
	flex-wrap: wrap;
}

.footer-contact {
	text-align: left;
}

.footer-contact p {
	padding: 0.5rem 0;
	font-weight: 550;
}

.footer-contact a {
	color: var(--text);
	text-decoration: none;
}

.footer-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 4px;
}

.footer-links {
	display: flex;
	gap: 16px;
	list-style: none;
}

@media screen and (max-width: 1000px) {
	.footer-links {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 4px 16px;
	}
}

.footer-links a {
	color: var(--subtext);
	text-decoration: underline;
	display: inline-block;
	line-height: 1.5;
}

.footer-links li {
	display: flex;
	align-items: center; /* 수직 가운데 정렬 */
}

.footer-company {
	text-align: right;
}

.footer-company p {
	color: var(--subtext);
}
