@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=Roboto:wght@400;500;700;900&display=swap');

:root {
	--primary: #176dff;
	--primary-dark: #1e3faa;
	--cta: #f26522;
	--cta-hover: #d4551a;
	--cta-gradient: linear-gradient(180deg, #ff7809 0%, #f66010 61%);
	--cta-border: #ff7809;
	--hero-bg: linear-gradient(180deg, #4a7aff 0%, #2f5be7 100%);
	--footer-bg: #176dff;
	--accordion-panel-bg: #e8eaf0;
	--text-dark: #1a1a2e;
	--text-light: #ffffff;
	--text-muted: #555555;
	--bg-page: #d8dee8;
	--bg-white: #ffffff;
	--border-color: #d8dee8;
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	--header-height: 120px;
}

/* ── Reset & Base ── */

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--bg-page);
	color: var(--text-dark);
	font-family: 'Inter', 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex: 1;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.3s;
}

a:hover {
	color: var(--primary-dark);
}

/* ── Container ── */

.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── Header ── */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--bg-white);
	box-shadow: var(--shadow);
}

.header-inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: var(--header-height);
}

.header-logo {
	display: flex;
	align-items: flex-start;
}

.header-logo img {
	height: 80px;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.header-nav .nav {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
	height: 100%;
	align-items: center;
}

.header-nav .nav-item {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.header-nav .nav-link {
	color: var(--primary);
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	text-transform: uppercase;
	padding: 8px 12px;
	transition: color 0.3s;
	text-decoration: none;
}

.header-nav .nav-link:hover {
	color: var(--primary-dark);
}

.header-nav .nav-item.active .nav-link {
	font-weight: 700;
}

.header-nav .nav-item.active::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	height: 10px;
	background: var(--primary);
}

.header-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--cta-gradient);
	border: 2px solid var(--cta-border);
	color: var(--text-light) !important;
	padding: 14px 24px;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	white-space: nowrap;
	transition: opacity 0.3s;
	text-decoration: none;
}

.header-cta:hover {
	opacity: 0.9;
	color: var(--text-light);
}

.header-cta img,
.header-cta svg {
	width: 24px;
	height: 24px;
}

/* Hamburger */

.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text-dark);
	margin: 5px 0;
	transition: 0.3s;
}

/* ── Hero ── */

.hero-section {
	background: var(--hero-bg);
	padding: 80px 0 170px;
	text-align: center;
	color: var(--text-light);
	position: relative;
}

.hero-section h1 {
	font-size: 58px;
	font-weight: 700;
	margin: 0 0 16px;
}

.hero-section p {
	font-size: 18px;
	font-weight: 400;
	margin: 0 auto 40px;
	max-width: 667px;
	opacity: 0.9;
}

#website-widget-container {
	max-width: 860px;
	margin: 0 auto;
	height: 380px;
	border-radius: 16px;
	overflow: hidden;
}

/* ── Banner ── */

.banner-wrapper {
	text-align: center;
	padding: 40px 20px;
	max-width: 100%;
}

.hero-section .banner-wrapper {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	padding-block: 0;
	padding-inline: 20px;
	z-index: 1;
}

/* ── Features ── */

.features-section {
	padding: 80px 0;
}

.features-section h2 {
	font-size: 42px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 80px;
}

.accordion-list {
	max-width: 923px;
	margin: 0 auto;
}

.accordion-item {
	border-bottom: 1px solid var(--border-color);
	background: var(--bg-white);
}

.accordion-header {
	display: flex;
	align-items: center;
	padding: 20px 24px;
	cursor: pointer;
	gap: 16px;
	user-select: none;
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	font-family: inherit;
}

.accordion-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}

.accordion-icon svg {
	width: 32px;
	height: 32px;
	fill: var(--primary);
}

.accordion-title {
	flex: 1;
	font-size: 26px;
	font-weight: 700;
	color: var(--primary);
	margin: 0;
}

.accordion-chevron {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s;
}

.accordion-chevron svg {
	width: 16px;
	height: 16px;
	fill: var(--text-light);
	margin-top: 2px;
}

.accordion-item.active .accordion-chevron {
	transform: rotate(180deg);
}

.accordion-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.accordion-panel-inner {
	background: var(--accordion-panel-bg);
	padding: 30px;
}

.accordion-panel-inner p {
	font-size: 16px;
	color: var(--text-muted);
	margin: 0 0 20px;
}

.accordion-panel-inner img {
	max-width: 100%;
	border-radius: 8px;
}

/* ── How It Works ── */

.how-it-works-section {
	padding: 80px 0;
}

.how-it-works-section h2 {
	font-size: 42px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 80px;
}

.hiw-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 135px;
	max-width: 1027px;
}

.hiw-card {
	max-width: 446px;
}

.hiw-card img {
	width: 100%;
	border-radius: 28px;
	margin-bottom: 40px;
	aspect-ratio: 446 / 386;
	object-fit: cover;
}

.hiw-card h3 {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 8px;
	color: var(--primary);
}

.hiw-card p {
	font-size: 18px;
	color: #585858;
	margin: 0;
	line-height: 1.5;
}

/* ── Getting Started ── */

.getting-started-section {
	padding: 80px 0;
}

.getting-started-section h2 {
	font-size: 42px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 80px;
}

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

.gs-step {
	background: var(--bg-white);
	border-radius: 8px;
	text-align: center;
	padding: 21px 12px 40px;
}

.gs-step-img {
	border-radius: 8px;
	overflow: hidden;
	height: 180px;
	margin-bottom: 29px;
}

.gs-step-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gs-step h3 {
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 12px;
	color: var(--primary);
	line-height: 38px;
}

.gs-step p {
	font-size: 18px;
	color: #746a5c;
	margin: 0;
	line-height: 25px;
}

/* ── Footer ── */

.site-footer {
	background: var(--footer-bg);
	padding: 117px 0 30px;
	text-align: center;
	color: var(--text-light);
	position: relative;
}

.footer-logo {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.footer-logo img {
	height: 93px;
}

.site-footer .nav {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	gap: 8px;
	flex-wrap: wrap;
}

.site-footer .nav-link {
	color: var(--text-light);
	font-size: 14px;
	font-weight: 500;
	padding: 4px 12px;
	transition: opacity 0.3s;
	text-decoration: none;
}

.site-footer .nav-link:hover {
	color: rgba(241, 173, 27, 1);
	opacity: 1;
}

.site-footer .nav-item.active .nav-link {
	color: var(--cta);
}

.footer-copyright {
	font-size: 13px;
	opacity: 0.7;
	margin: 0;
}

/* ── Welcome Hero (Thank You Page) ── */

.welcome-hero {
	display: flex;
	background: var(--hero-bg);
	padding: 252px 0 170px;
	color: var(--text-light);
	position: relative;
	overflow: hidden;
	aspect-ratio: 1440 / 813;
}

.welcome-hero-bg-image {
	position: absolute;
	top: 50px;
	left: 0;
	width: calc(100% - 100px);
	bottom: 90px;
	object-fit: cover;
	object-position: center top;
	pointer-events: none;
	z-index: 0;
}

.welcome-hero .container {
	position: relative;
	z-index: 1;
}

.welcome-hero-text {
	max-width: 440px;
}

.welcome-hero-text h1 {
	font-size: 58px;
	font-weight: 700;
	margin: 0 0 20px;
	line-height: normal;
}

.welcome-hero-text p {
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 48px;
	line-height: normal;
}

.welcome-hero .banner-wrapper {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	padding-block: 0;
	padding-inline: 20px;
	z-index: 1;
}

/* ── Responsive ── */

@media (max-width: 1199px) {
	.hero-section h1 {
		font-size: 46px;
	}
}

@media (max-width: 991px) {
	.hiw-grid {
		gap: 30px 60px;
	}

	.gs-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.welcome-hero-text {
		max-width: 340px;
	}
}

@media (max-width: 1030px) {
	:root {
		--header-height: 80px;
	}

	.header-logo img {
		height: 60px;
	}

	.hamburger {
		display: block;
	}

	.header-nav {
		display: none;
		position: absolute;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: var(--bg-white);
		box-shadow: var(--shadow);
		padding: 20px;
		flex-direction: column;
		gap: 0;
	}

	.header-nav.open {
		display: flex;
	}

	.header-nav .nav {
		flex-direction: column;
		gap: 0;
	}

	.header-nav .nav-link {
		padding: 12px 0;
	}

	.header-cta {
		margin-top: 12px;
		text-align: center;
	}

	.hero-section {
		padding: 60px 0 30px;
	}

	.hero-section h1 {
		font-size: 28px;
	}

	.hero-section p {
		font-size: 16px;
	}

	.welcome-hero {
		padding: 80px 0 30px;
	}

	.welcome-hero-text {
		max-width: 280px;
	}

	.welcome-hero-text h1 {
		font-size: 36px;
	}

	.hiw-grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.gs-grid {
		grid-template-columns: 1fr;
	}

	.hero-section .banner-wrapper {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		padding-block: 0;
		padding-inline: 20px;
	}

	#website-widget-container {
		margin-bottom: 110px;
	}

	.features-section,
	.how-it-works-section,
	.getting-started-section {
		padding: 50px 0;
	}

	.features-section h2,
	.how-it-works-section h2,
	.getting-started-section h2 {
		margin-bottom: 40px;
	}
}

@media (max-width: 768px) {
	.banner-wrapper {
		display: none;
	}
}
