/* Shared font/html/input/h1/h2/nav-a/root/reset/ul/img/.btn family/
   @keyframes moved to base.css (loaded before this file) - see that
   file. body/a/.container below intentionally override base.css's
   defaults for this page specifically (different text color, and a
   padding-based responsive .container instead of the plain
   90%-width one). .button is kept as-is, not duplicated elsewhere. */
body {
	font-family: "IBM Plex Sans";
	font-weight: 400;
	font-size: 1.6em;
	color: #045FA4;
	line-height: 1.5;
	background: #fff;
}

.button {
	font-weight: 600;
}

a { text-decoration: none; color: inherit; }

.container {
	width: 90%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

@media (max-width: 480px) {
	.container {
		width: 100%;
		padding: 0 16px;
	}
}

/* -------------------------------------------------------
	hero banner
--------------------------------------------------------- */
.hero-banner {
	background: url("img/hero-background.png") no-repeat center center;
	background-size: cover;
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
}

.hero-content h1 {
	color: #FFF;
	font-size: clamp(2.8rem, 6vw, 5.2rem);
	margin-bottom: 10px;
	animation: fadeUp 0.8s ease forwards;
}

.hero-content h2 {
	font-weight: 400;
	color: #FFF;
	font-size: clamp(1.6rem, 3vw, 2rem);
	margin-bottom: 50px;
	animation: fadeUp 0.8s ease forwards;
}

.hero-content p {
	font-weight: 300;
	color: #FFF;
	font-size: 1.5rem;
	line-height: 1.7;
	margin-bottom: 40px;
	animation: fadeUp 0.8s ease forwards;
}

#header.border:after {
	bottom: -4px;
}

.btn.btn-outline-light {
	display: inline-block;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 0.8s ease forwards;
	animation-delay: 0.2s;
}

@media (max-width: 768px) {
	.hero-banner {
		min-height: calc(100vh - 60px);
		text-align: center;
	}
	.hero-content h2 {
		margin-bottom: 30px;
	}
	.hero-content p {
		font-size: 1.4rem;
		margin-bottom: 28px;
	}
}

/* Plans */
.plans {
	text-align: center;
	padding: 72px 24px;
}
.plans h2 { font-size: 28px; margin-bottom: 30px; }
.plans .plans-title { color: var(--navy); margin-bottom: 60px; }

.plans-title p {
	font-size: 16px;
	color: var(--navy-dark);
	font-weight: 300;
}

.plans-grid {
	align-items: stretch;
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}

.plan-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--blue);
	border-radius: var(--radius);
	padding: 40px 20px;
	text-align: left;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.356);
	transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.plan-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 6px;
}

.plan-header img {
	width: 33px;
	height: 33px;
	flex-shrink: 0;
	transform: translateY(-40px);
}

.plan-header .fx-trading-icon {
	transform: translate(28px, -40px);
}

/* NOTE: was ".gamming-icon" (typo), which meant this rule never
	 matched the HTML's class="gaming-icon". Fixed the spelling. */
.plan-header .gaming-icon {
	width: 28px;
	height: 28px;
}

.plan-card h3 {
	line-height: 1.3;
	min-height: 2.6em;
	font-size: 20px;
	color: var(--navy);
	margin-bottom: 60px;
	text-align: center;
}

.plan-card p {
	font-size: 16px;
	color: var(--navy-dark);
	margin-bottom: 60px;
}

.line-gap {
	display: block;
	margin-top: 30px;
}

.plan-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	align-items: center;
}

.plan-content .btn {
	margin-top: auto;
	gap: 12px;
}

.plans-footer {
	display: flex;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.plans-footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.plans-footer-message img {
	width: 20px;
	height: auto;
	margin-top: 5px;
	margin-right: -90px;
}

.plans-footer-message {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
}

.plans-footer-content .quick-compare {
	color: var(--blue);
	text-decoration: underline;
}

.plans-footer-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 25px;
	margin-bottom: 60px;
	width: 100%;
}

.plans-footer-message h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--navy-dark);
}

@media (max-width: 1100px) {
	.plans-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.plans-grid {
		grid-template-columns: 1fr;
	}
	.plan-card h3,
	.plan-card p {
		margin-bottom: 30px;
	}
}

/* NOTE: the -90px negative margin on .plans-footer-message img is a
	 fixed value tuned for wide layouts. On narrow screens it can push
	 the icon off/overlapping other content, so it's neutralized here. */
@media (max-width: 480px) {
	.plans-footer-message {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.plans-footer-message img {
		margin-right: 0;
	}
}

/* Enterprise infrastructure */
.specifications {
	position: relative;
	overflow: hidden;
	min-height: 560px;
	display: flex;
	align-items: center;
	border-top: 1px solid var(--blue);
	border-bottom: 1px solid var(--blue);
	background: url("img/curved_background.png") center center / cover no-repeat;
	padding: 60px 0;
}

.specifications-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 80px;
}

/* Left Heading */
.specifications .section-title {
	max-width: 520px;
}

.specifications .section-title h2 {
	text-align: left;
	color: #fff;
	font-size: clamp(2.4rem, 4vw, 3.5rem);
	font-weight: 800;
	line-height: 1.3;
}

/* Outer Border */
.enterprise-frame {
	margin-right: 0;
	border: 1px solid #2E7CF7;
	border-radius: 10px;
	padding: 10px;
	background: transparent;
	flex-shrink: 0;
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
	transition: transform .2s ease, box-shadow .2s ease;
}

.enterprise-frame:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

/* White Card */
.enterprise-card {
	width: 600px;
	max-width: 100%;
	min-height: 420px;
	background: #fff;
	border: 1px solid #2E7CF7;
	border-radius: 8px;
	padding: 42px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

/* Text */
.spec-item {
	margin-bottom: 30px;
}

.spec-heading {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.step-number {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--blue);
	flex-shrink: 0;
}

.spec-item h4 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--navy);
}

.spec-item p {
	font-weight: 300;
	margin: 8px 0 0 36px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--navy-dark);
}

.enterprise-card .btn {
	margin-top: auto;
	align-self: flex-end;
}

@media (max-width: 900px) {
	.specifications {
		padding: 80px 0;
	}
	.specifications-content {
		flex-direction: column;
		gap: 50px;
		text-align: center;
	}
	.specifications .section-title {
		max-width: 100%;
	}
	.specifications .section-title h2 {
		text-align: center;
	}
	.enterprise-frame {
		width: 100%;
		max-width: 560px;
		margin-right: 0;
	}
	.enterprise-card {
		width: 100%;
	}
	.enterprise-card .btn {
		align-self: center;
	}
	.spec-item p {
		margin-left: 0;
	}
}

@media (max-width: 480px) {
	.enterprise-card {
		padding: 28px 20px;
	}
}

/* FEATURES SECTION */
.features {
	position: relative;
	padding: 100px 0;
	overflow: hidden;
}

/* Japan background image */
.features::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: url("img/geo-country.png") center center no-repeat;
	pointer-events: none;
}

/* Keep content above background */
.features .container {
	position: relative;
	z-index: 1;
}

.features .section-title {
	text-align: center;
	margin-bottom: 60px;
}

.features .section-title h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: var(--navy);
	margin: 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}

.feature-card {
	background: #fff;
	border: 1px solid var(--blue);
	border-radius: 10px;
	min-height: 270px;
	padding: 38px 28px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	box-shadow: 0 8px 18px rgba(0,0,0,.18);
	transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.feature-card img {
	width: 58px;
	height: 58px;
	object-fit: contain;
	margin-bottom: 26px;
}

.feature-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 18px;
}

.feature-card p {
	margin: 0;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.6;
}

.feature-card strong {
	font-weight: 400;
}

.learn-more {
	display: flex;
	justify-content: flex-end;
	margin: 40px 30px 0 15px;
}

.learn-more a {
	font-size: 20px;
	color: var(--blue);
}

@media (max-width: 1000px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.features {
		padding: 70px 0;
	}
	.features-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.feature-card {
		min-height: auto;
	}
	.features::before {
		background-size: 300px;
	}
	.features .section-title {
		margin-bottom: 40px;
	}
	.learn-more {
		justify-content: center;
		margin: 30px 0 0;
	}
}

/* WHY WINSERVER SECTION */
.why-winserver {
	background: var(--gray-bg);
	padding: 90px 0;
}

.why-winserver .section-title {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 50px;
}

.why-winserver .section-title h2 {
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 14px;
}

.why-winserver-intro {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

.why-winserver-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.why-winserver-item {
	text-align: center;
}

.why-winserver-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--blue-light);
	color: var(--blue);
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 16px;
}

.why-winserver-item h3 {
	font-size: 19px;
	font-weight: 700;
	color: var(--navy);
	margin: 0 0 10px;
}

.why-winserver-item p {
	margin: 0;
	color: var(--text-muted);
	font-size: 15px;
	line-height: 1.6;
}

@media (max-width: 900px) {
	.why-winserver {
		padding: 60px 0;
	}
	.why-winserver-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}
}

/* PRICING BANNER */
.pricing-banner {
	width: 100%;
	background: url("img/blue_background.png") center center no-repeat;
	background-size: cover;
	padding: 70px 0;
	scroll-margin-top: var(--header-height, 93px);
}

.pricing-banner .container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.pricing-banner h2 {
	color: white;
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 700;
	margin-bottom: 20px;
}

.pricing-banner p {
	color: white;
	font-size: 20px;
	line-height: 1.6;
}

@media (max-width: 480px) {
	.pricing-banner p {
		font-size: 16px;
	}
}

/* TUTORIAL SECTION */
.tutorial-section {
	padding: 80px 0;
	background: #f8fafc;
	border-bottom: 1px solid #0189FF;
}

.tutorial-section .section-title {
	color: #0267B5;
	text-align: center;
	margin-bottom: 45px;
}

.tutorial-section .section-title h2 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 600;
	margin-bottom: 15px;
}

.tutorial-section .section-title p {
	font-size: 18px;
	color: var(--navy-dark);
}

.tutorial-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.tutorial-card {
	display: block;
	margin: 20px 10px 40px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease;
	border: 1px solid #0189FF;
}

.tutorial-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.tutorial-card img {
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.tutorial-content {
	padding: 22px;
}

.tutorial-content h3 {
	text-align: center;
	color: var(--navy-dark);
	font-size: 20px;
	margin-bottom: 20px;
}

.tutorial-content ul {
	padding-left: 20px;
	text-align: left;
}

.tutorial-content li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 12px;
}

.tutorial-content li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: #0189FF;
}

.tutorial-content a {
	text-decoration: underline;
	font-size: 15px;
	line-height: 1.6;
	color: var(--blue);
}

.tutorial-content a:hover {
	opacity: 0.7;
}

.tutorial-button {
	text-align: center;
	margin-top: 40px;
}

@media (max-width: 1100px) {
	.tutorial-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.tutorial-grid {
		grid-template-columns: 1fr;
	}
	.tutorial-card {
		margin: 10px 0 20px;
	}
}

/* Final CTA */
.final-cta {
	padding: 150px 0;
}

.final-cta .container {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 150px;
}

.final-cta img {
	width: 45%;
	max-width: 500px;
	height: auto;
}

.final-cta .title {
	text-align: start;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.final-cta h2 {
	font-size: clamp(2rem, 4vw, 2.625rem);
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 20px;
}

.final-cta p {
	font-weight: 300;
	font-size: 18px;
	line-height: 1.6;
	color: var(--navy-dark);
	margin-bottom: 30px;
}

.cta-button .btn-primary {
	display: inline-flex;
}

@media (max-width: 900px) {
	.final-cta {
		padding: 90px 0;
	}
	.final-cta .container {
		flex-direction: column-reverse;
		gap: 40px;
		text-align: center;
	}
	.final-cta img {
		width: 70%;
		max-width: 340px;
		margin: 0 auto;
	}
	.final-cta .title {
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.final-cta img {
		width: 90%;
	}
}