/* Language Selector */
.lang-selector {
  display: inline-flex;
  font-size: 1rem;
  vertical-align: middle;
}
.lang-selector .lang {
	color: var(--color-text, #222);
	text-decoration: none;
	padding: 0.1em 1.1em;
	transition: color 0.2s, background 0.2s, border 0.2s;
	border: 1.5px solid #e0e4ea;
	background: #fff;
	border-radius: 0;
	margin: 0;
	position: relative;
	z-index: 1;
	width: 50%;
	text-align: center;
	font-size:0.8em;
}
.lang-selector .lang:after{
	content:unset;
}
.lang-selector .lang:first-child {
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
}
.lang-selector .lang:last-child {
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
}
.lang-selector .lang + .lang {
	margin-left: -1.5px;
	/* overlap borders */
}
.lang-selector .lang--active {
	background: var(--color-primary, #3b82f6);
	color: #fff;
	border-radius: 0;
	text-decoration: none;
	cursor: default;
	box-shadow: 0 1px 4px 0 rgba(59,130,246,0.08);
	border: 1.5px solid var(--color-primary, #3b82f6);
	z-index: 2;
	font-weight: 400;
}
.lang-selector .lang--active:first-child {
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
}
.lang-selector .lang--active:last-child {
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
}
.lang-selector .lang:hover {
	color: var(--color-primary, #3b82f6);
	background: #f5f8ff;
}
.lang-selector .lang--active:hover {
	color: #fff;
	background: var(--color-primary, #3b82f6);
}
/* Modal alert styles */
.modal-alert {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.35);
	align-items: center;
	justify-content: center;
}
.modal-alert__content {
	background: #fff;
	color: #222;
	border-radius: 12px;
	box-shadow: 0 4px 32px rgba(0,0,0,0.12);
	padding: 2rem 2.5rem 1.5rem 2.5rem;
	min-width: 260px;
	max-width: 90vw;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.modal-alert__content button {
	margin: 0 auto;
	min-width: 100px;
}
/* CTA subtext spacing */
.cta-sub {
	margin-bottom: 10px;
}
/* Response time stats */
.response-times {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	justify-content: center;
	margin: 0.5rem 0 1.5rem 0;
}
.response-time {
	padding: 0.4em 1em;
	border-radius: 1.2em;
	font-weight: 600;
	font-size: 1.05em;
	display: inline-block;
}
.response-time--gray {
	background: #f1f3f6;
	color: #222;
	border: 1px solid #e0e0e0;
}
.response-time--green {
	background: #e6f9ed;
	color: #1a7f3c;
	border: 1px solid #b6e7c9;
}
.response-time-vs {
	font-weight: 700;
	color: #666;
	font-size: 1.3em;
	margin:0 1rem;
}
:root {
	--primary: #0078d4;
	--primary-light: #e7f1fb;
	--dark: #1e1e1e;
	--light: #fafafa;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Nunito Sans', Arial, sans-serif;
	background-color: var(--light);
	color: var(--dark);
	line-height: 1.6;
	background-image: radial-gradient(rgba(0,120,212,0.10) 1.2px, transparent 1.2px);
	background-size: 20px 20px;
}

a {
	text-decoration: none;
	color: inherit;
}

h2 {
	text-align: center;
	color: var(--primary);
	margin-bottom: 2rem;
}

img {
	max-width: 100%;
	display: block;
}

/* navigation */
header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

nav {
	max-width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .8rem 1.25rem;
	font-weight: 600;
}

.logo {
	color: var(--primary);
	font-size: 1.4rem;
	line-height: 64px;
}

.logo img {
	float: left;
	margin-right: .5rem;
	height: 64px;
}

.nav-links {
	display: flex;
	gap: 1.5rem;
}

.nav-links a {
	position: relative;
	padding: .15rem 0;
	line-height: 34px;
}

.nav-links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 3px;
	background: var(--primary);
	transition: .3s;
}

.nav-links a:hover::after {
	width: 100%;
}

.burger {
	display: none;
	font-size: 1.6rem;
	color: var(--primary);
	cursor: pointer;
}

@media(max-width:768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		gap: 1rem;
		background: #fff;
		position: absolute;
		top: 60px;
		right: 1.25rem;
		border-radius: 8px;
		box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
		padding: 1rem;
	}

	.nav-links.show {
		display: flex;
	}

	.burger {
		display: block;
	}
}

/* utilities */
section {
	padding: 4rem 1.5rem;
}

.wrapper {
	max-width: 1200px;
	margin: auto;
}

.btn {
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: .9rem 2rem;
	font-size: 1.05rem;
	cursor: pointer;
	transition: .3s;
	text-align: center;
	text-decoration: none;
}

.btn:hover {
	background: #005fa8;
}

/* hero */
.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.5rem;
	background: linear-gradient(45deg, #48459f, #00e4ce);
	height: 100vh;
}

.hero h1 {
	font-size: 2.75rem;
	color: #fff;
}

.hero-pains {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
	color: rgba(255, 255, 255, 0.95);
	font-weight: 600;
}

.subhero {
	max-width: 820px;
	margin: 0 auto 0.6rem auto;
	font-size: 1.18rem;
	color: #ffffff;
	font-weight: 700;
}

.subhero--demo {
	max-width: 720px;
	margin: 3rem auto 0.6rem auto;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 400;
	opacity: 0.95;
}

.hero-label {
	font-size: 0.75rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.5px;
	margin-bottom: 0.5rem;
	opacity: 0.85;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-direction: column;
	align-items: center;
}

.hero-actions form {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	align-items: center;
}

.hero-actions input[type="text"] {
	padding: .95rem 1.25rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(4px);
	min-width: 360px;
	max-width: 720px;
	width: min(72vw, 720px);
	font-size: 1.05rem;
	color: #fff;
	transition: all ease 0.2s;
}

/* subtle placeholder color */
.hero-actions input[type="text"]::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.hero-actions input[type="text"]:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(0, 120, 212, 0.08);
	transform: translateY(-1px);
	background-color: #fff;
	color: #005fa8;
}

.demo-actions {
	width: 100%;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center;
	align-items: center;
	gap: .45rem;
}

.demo-actions .btn {
	margin-top: .25rem;
	min-width: 220px;
}

.demo-info {
	margin-top: .45rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: .88rem;
	text-align: center;
}

.hero-actions input::placeholder {
	color: rgba(255, 255, 255, 0.9);
}

@media(max-width:768px) {
	section#home{
		padding: 2rem 1.5rem;
	}

	.wrapper {
		height:100%;
	}

	.hero h1 {
		line-height: 50px;
	}

	.sub-hero {
		line-height: 25px;
	}

	.hero-actions form {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions input[type="text"] {
		width: 100%;
		min-width: auto;
		max-width: none;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.subhero--demo {
		margin-top: 0.6rem;
		font-size: 0.95rem;
	}
}

.secondary-cta {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	padding: .7rem 1rem;
	border-radius: 50px;
	font-weight: 700;
}

.hero-trust {
	margin-top: .8rem;
	color: rgba(255, 255, 255, 0.95);
	display: flex;
	flex-direction: column;
	gap: .35rem;
	font-size: .9rem;
}

/* Ensure testimonial/trust blocks do not appear inside the hero section */
.hero .hero-trust {
	display: none !important;
}

.hero-trust .microcopy {
	opacity: 0.9;
	font-size: .85rem;
}

.hero p {
	margin: auto;
	font-size: 1.15rem;
	color: #fff;
}

/* Stronger, scoped hero subhero rules to avoid being overridden */
.hero .subhero {
	font-size: 1.18rem;
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 60px;
}

.hero .subhero--demo {
	font-size: 0.92rem !important;
	color: rgba(255, 255, 255, 0.65) !important;
	font-weight: 400;
	opacity: 0.95;
	margin-bottom: 20px;
}

/* grids & cards */
.grid {
	display: grid;
	gap: 2rem;
	margin-top: 2.5rem;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
	flex: 1;
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.card small{
	color: #888;
	display: block;
	margin-top: 10px;
}

.card h3 {
	margin-bottom: .8rem;
	color: var(--primary);
}

.card p {
	color: #555;
	font-size: .95rem;
}

.demo-box {
	background: #fff;
	border: 2px dashed var(--primary);
	border-radius: 12px;
	padding: 3rem;
	text-align: center;
	font-style: italic;
	color: #666;
}

/* pricing cards */
#pricing {
	background: linear-gradient(45deg, #423f9c 31%, #862359 69%);
}

#pricing h2 {
	color: #fff;
}

.pricing {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2rem;
	margin-top: 2.5rem;
}

.pricing-card {
	flex: 1;
	border: 2px solid var(--primary-light);
	border-radius: 12px;
	padding: 2rem;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pricing-card h4 {
	font-size: 1.4rem;
	margin-bottom: .5rem;
}

.price {
	font-size: 2rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.pricing-card ul {
	list-style: none;
	font-size: .95rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	text-align: left;
	padding-left: 0;
}

.pricing-card ul li::before {
	content: "✔";
	color: var(--primary);
	margin-right: .5rem;
}

.pricing-card .btn {
	margin-top: auto;
	width: 100%;
}

.pricing-card .feature {
	color: var(--primary);
}

/* comparison table */
.compare-table {
	overflow-x: auto;
	margin-top: 2rem;
}

table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

th,
td {
	padding: 1rem;
	text-align: center;
	border-bottom: 1px solid #eee;
}

th {
	background: var(--primary);
	color: #fff;
	font-size: .9rem;
	font-weight: 600;
}

td:first-child {
	font-weight: 600;
}

.yes {
	color: #2ecc71;
	font-weight: bold;
}

.no {
	color: #e74c3c;
	font-weight: bold;
}

tr:last-child td {
	border-bottom: none;
}

@media(max-width:768px) {

	table,
	thead,
	tbody,
	tr,
	th,
	td {
		display: block;
	}

	thead {
		display: none;
	}

	tr {
		margin: 1rem 0;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
	}

	td {
		display: flex;
		justify-content: space-between;
		padding: .75rem 1rem;
		border: none;
		border-bottom: 1px solid #eee;
	}

	td::before {
		content: attr(data-label);
		font-weight: 600;
		color: #555;
	}

	tr:last-child td {
		border-bottom: none;
	}
}

/* testimonials */
.testimonial {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
	display: flex;
	gap: 1rem;
	align-items: center;
}

.testimonial img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial p {
	font-size: .95rem;
	color: #555;
}

.testimonial span {
	display: block;
	font-weight: 600;
	margin-top: .5rem;
	color: var(--primary);
}

/* faq */
.faq-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
	margin-bottom: 1rem;
	overflow: hidden;
}

.faq-question {
	padding: 1.2rem 1.5rem;
	cursor: pointer;
	font-weight: 600;
	color: var(--primary);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 1.5rem;
	color: #555;
	border-top: 1px solid #eee;
	transition: max-height .35s ease;
}

.faq-item.active .faq-answer {
	max-height: 200px;
	padding: 1rem 1.5rem;
}

#usecases .btn {
	display: inline-block;
	margin-top: 2rem;
	padding: .45rem 1.3rem;
}

/* CTA banner */
.cta-banner {
	background: var(--primary);
	color: #fff;
	text-align: center;
	padding: 3rem 1.5rem;
}

.cta-banner h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #fff;
}

.cta-banner .btn {
	background: #fff;
	color: var(--primary);
}

.cta-banner .btn:hover {
	background: var(--primary-light);
}

/* footer */
footer {
	background: #0d5ea8;
	color: #fff;
	text-align: center;
	padding: 2rem 1rem;
}

footer a {
	color: #fff;
	text-decoration: underline;
}

/* how it works section */
#how .grid {
	margin-top: 3rem;
}

#how .card {
	text-align: center;
}

#how .card h3 {
	color: var(--primary);
}

.setup-done {
	text-align: center;
	margin-top: 3rem;
}

.setup-done h3 {
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.setup-done p:last-child {
	margin-top: 0.5rem;
	color: #555;
}

/* benefits section */
#benefits {
	background: var(--primary-light);
}

.benefits-stats {
	text-align: center;
	margin-bottom: 3rem;
}

.benefits-stats p {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.benefits-heading {
	margin-bottom: 2rem;
}

/* hero shopify notice */
.hero .shopify-notice {
	opacity: 0.9;
	font-size: 0.95em;
}

/* navigation login button */
.nav-links .btn {
	padding: 0.45rem 1.3rem;
	font-size: 0.9rem;
}

/* use cases section */
#usecases .grid:last-child {
	margin-top: 2rem;
}

.card.coming-soon {
	opacity: 0.7;
	position: relative;
}

.coming-soon-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--primary);
	color: white;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
}

/* testimonials section */
.testimonials-section {
	background: var(--primary-light);
}