/* ===================================================================
   ShopGenie – Marketing Website Styles
   Premium cream & gold theme with dark mode support
   =================================================================== */

:root {
	--font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-heading: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	/* Premium Warm Marble & Bronze-Gold Theme */
	--bg: #faf8f5;
	--bg-alt: #f4f1eb;
	--bg-panel: rgba(255, 255, 255, 0.45);
	--bg-panel-solid: #ffffff;
	--border-color: rgba(26, 24, 21, 0.06);
	--border-color-glow: rgba(179, 143, 30, 0.15);

	--text: #1e1b18;
	--text-dim: #5c554e;
	--text-light: #8e847c;

	--accent: #b38f1e; /* Luxury Bronze Gold */
	--accent-hover: #947413;
	--accent-rgb: 179, 143, 30;
	--accent-alt: #a35260; /* Elegant Dusty Rose */

	--brand-gradient: linear-gradient(135deg,
			#b38f1e 0%,
			#d4af37 30%,
			#a35260 70%,
			#73419e 100%);

	--gradient-text: linear-gradient(135deg,
			#8c6d11 0%,
			#b38f1e 40%,
			#a35260 100%);

	--radius-sm: 8px;
	--radius: 22px;
	--radius-lg: 30px;
	--radius-full: 999px;

	--shadow-sm: 0 2px 8px -2px rgba(26, 24, 21, 0.04),
		0 1px 4px rgba(26, 24, 21, 0.02);
	--shadow: 0 16px 48px -16px rgba(26, 24, 21, 0.08),
		0 4px 20px -6px rgba(26, 24, 21, 0.03);
	--shadow-lg: 0 32px 72px -20px rgba(26, 24, 21, 0.12),
		0 8px 32px -10px rgba(26, 24, 21, 0.05);

	--focus: 0 0 0 3px rgba(179, 143, 30, 0.25),
		0 0 0 6px rgba(179, 143, 30, 0.08);

	--speed: 400ms;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);

	--section-gap: 5.5rem;
	--header-height: 72px;
}

/* Dark Mode */
[data-theme="dark"] {
	--bg: #090909;
	--bg-alt: #111111;
	--bg-panel: rgba(18, 18, 18, 0.55);
	--bg-panel-solid: #151515;
	--border-color: rgba(255, 255, 255, 0.06);
	--border-color-glow: rgba(230, 194, 101, 0.12);

	--text: #fdfaf5;
	--text-dim: #beb6ab;
	--text-light: #7c776f;

	--accent: #e6c265; /* Lighter Champagne Gold for Dark Mode */
	--accent-hover: #f3d079;
	--accent-rgb: 230, 194, 101;
	--accent-alt: #c57d87;

	--brand-gradient: linear-gradient(135deg,
			#e6c265 0%,
			#f3d079 30%,
			#c57d87 70%,
			#9c73c4 100%);

	--gradient-text: linear-gradient(135deg,
			#e6c265 0%,
			#f3d079 40%,
			#c57d87 100%);

	--shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5),
		0 1px 4px rgba(0, 0, 0, 0.3);
	--shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.7),
		0 4px 20px -6px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 32px 80px -20px rgba(0, 0, 0, 0.8),
		0 8px 32px -10px rgba(0, 0, 0, 0.6);
}

/* ===== Reset ===== */
* {
	box-sizing: border-box;
}

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

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
	transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}

/* Custom Selection */
::selection {
	background: rgba(179, 143, 30, 0.2);
	color: var(--text);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
	background: var(--border-color);
	border-radius: var(--radius-full);
	border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
	background: var(--text-light);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--text);
	letter-spacing: -0.03em;
}

p {
	margin: 0;
}

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

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ===== Skip to Content ===== */
.skip-to-content {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 9999;
	padding: 0.75rem 1.5rem;
	background: var(--accent);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 600;
	transition: top 0.2s;
}

.skip-to-content:focus {
	top: 1rem;
}

/* ===== Logo ===== */
.logo-img {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	object-fit: contain;
	background: #fdfbf7;
}

[data-theme="dark"] .logo-img {
	background: #2a2a2a;
}

/* ===== Background Effects ===== */
.noise-layer {
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	z-index: 1;
	opacity: 0.5;
}

.gradient-bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(circle at 15% 25%, rgba(179, 143, 30, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 85% 65%, rgba(163, 82, 96, 0.05) 0%, transparent 50%);
	filter: blur(60px);
	transition: background var(--speed) var(--ease);
}

[data-theme="dark"] .gradient-bg {
	background:
		radial-gradient(circle at 15% 25%, rgba(230, 194, 101, 0.06) 0%, transparent 50%),
		radial-gradient(circle at 85% 65%, rgba(197, 125, 135, 0.06) 0%, transparent 50%);
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
	animation: float 20s ease-in-out infinite;
	z-index: -1;
}

.orb-1 {
	top: -10%;
	left: -5%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(179, 143, 30, 0.15) 0%, transparent 70%);
	animation-duration: 25s;
}

[data-theme="dark"] .orb-1 {
	background: radial-gradient(circle, rgba(230, 194, 101, 0.1) 0%, transparent 70%);
}

.orb-2 {
	bottom: -10%;
	right: -5%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(163, 82, 96, 0.1) 0%, transparent 70%);
	animation-duration: 30s;
	animation-delay: -5s;
}

[data-theme="dark"] .orb-2 {
	background: radial-gradient(circle, rgba(197, 125, 135, 0.08) 0%, transparent 70%);
}

.orb-3 {
	top: 40%;
	left: 40%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(115, 65, 158, 0.08) 0%, transparent 70%);
	animation-duration: 20s;
	animation-delay: -10s;
}

[data-theme="dark"] .orb-3 {
	background: radial-gradient(circle, rgba(156, 115, 196, 0.06) 0%, transparent 70%);
}

@keyframes float {

	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}

	33% {
		transform: translate(30px, -50px) rotate(10deg);
	}

	66% {
		transform: translate(-20px, 20px) rotate(-5deg);
	}
}

/* ===== Header ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(24px) saturate(1.8);
	-webkit-backdrop-filter: blur(24px) saturate(1.8);
	border-bottom: 1px solid var(--border-color);
	background: rgba(250, 248, 245, 0.75);
	transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

[data-theme="dark"] .site-header {
	background: rgba(9, 9, 9, 0.7);
}

.site-header .inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: padding var(--speed) var(--ease);
}

/* Scroll Driven Animations for Header */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
	@keyframes header-scroll {
		to {
			background: rgba(250, 248, 245, 0.85);
			border-bottom-color: rgba(26, 24, 21, 0.1);
			box-shadow: var(--shadow-sm);
		}
	}
	
	.site-header {
		animation: header-scroll auto linear both;
		animation-timeline: scroll(block root);
		animation-range: 0px 80px;
	}

	[data-theme="dark"] .site-header {
		animation: header-scroll-dark auto linear both;
		animation-timeline: scroll(block root);
		animation-range: 0px 80px;
	}
	
	@keyframes header-scroll-dark {
		to {
			background: rgba(9, 9, 9, 0.8);
			border-bottom-color: rgba(255, 255, 255, 0.1);
			box-shadow: var(--shadow-sm);
		}
	}

	@keyframes header-inner-scroll {
		to {
			padding: 0.65rem 1.5rem;
		}
	}

	.site-header .inner {
		animation: header-inner-scroll auto linear both;
		animation-timeline: scroll(block root);
		animation-range: 0px 80px;
	}
}

/* Fallback for browsers without Scroll-driven animations */
@supports not ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
	.site-header.scrolled {
		background: rgba(250, 248, 245, 0.85);
		border-bottom-color: rgba(26, 24, 21, 0.1);
		box-shadow: var(--shadow-sm);
	}
	
	[data-theme="dark"] .site-header.scrolled {
		background: rgba(9, 9, 9, 0.85);
		border-bottom-color: rgba(255, 255, 255, 0.1);
	}
	
	.site-header.scrolled .inner {
		padding: 0.65rem 1.5rem;
	}
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--text);
}

.wordmark {
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.04em;
	background: var(--gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Desktop Nav */
.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-dim);
	transition: color 0.2s;
	position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
	color: var(--text);
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--accent);
	border-radius: 1px;
	transform: scaleX(0);
	transition: transform 0.2s ease;
}

.nav-links a:hover::after {
	transform: scaleX(1);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
	background: none;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--radius-full);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-dim);
	transition: all 0.2s;
	font-size: 1.1rem;
	padding: 0;
}

.theme-toggle:hover {
	border-color: var(--accent);
	color: var(--accent);
}

[data-theme="dark"] .theme-toggle {
	border-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	width: 38px;
	height: 38px;
	position: relative;
	z-index: 200;
	padding: 0;
}

.hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	margin: 5px auto;
	transition: all 0.3s ease;
	border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	height: 100dvh;
	background: rgba(253, 251, 247, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 150;
	padding: calc(var(--header-height) + 2rem) 2rem 2rem;
	overflow-y: auto;
	flex-direction: column;
	gap: 0.5rem;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open {
	display: flex;
	opacity: 1;
	transform: translateY(0);
}

.mobile-menu a {
	display: block;
	padding: 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .mobile-menu {
	background: rgba(15, 15, 15, 0.9);
}

[data-theme="dark"] .mobile-menu a {
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.mobile-menu .btn {
	margin-top: 1rem;
	text-align: center;
}

/* ===== Main Layout ===== */
.main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ===== Hero ===== */
.hero {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	padding: 5rem 0 var(--section-gap);
}

.headline {
	font-family: "Plus Jakarta Sans", var(--font-sans);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.08;
	margin-bottom: 1.5rem;
	letter-spacing: -0.04em;
}

.accent-gradient {
	background: var(--brand-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tagline {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: var(--text-dim);
	max-width: 640px;
	margin: 0 auto 2.5rem;
	font-weight: 400;
	line-height: 1.6;
}

.hero-ctas {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
}

.shopify-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* padding: 0.85rem 1.75rem; */
	border-radius: var(--radius-sm);
	/* border: 1px solid rgba(0, 0, 0, 0.12); */
	opacity: 0.85;
	transition: all 0.25s var(--ease);
	cursor: pointer;
}

.shopify-badge:hover {
	opacity: 1;
	border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .shopify-badge {
	border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .shopify-badge:hover {
	border-color: rgba(255, 255, 255, 0.2);
}

.shopify-badge img {
	height: 50px;
	max-height: 100%;
	width: auto;
	display: block;
}

.shopify-badge img.badge-light {
	display: none;
}

.shopify-badge img.badge-dark {
	display: block;
}

[data-theme="dark"] .shopify-badge img.badge-dark {
	display: none;
}

[data-theme="dark"] .shopify-badge img.badge-light {
	display: block;
}

/* Feature Highlight (Hero Card) */
.feature-highlight {
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 2.5rem;
	text-align: left;
	box-shadow: var(--shadow);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	margin: 0 auto 3rem;
	max-width: 800px;
	position: relative;
	overflow: hidden;
}

[data-theme="dark"] .feature-highlight {
	border-color: var(--border-color);
}

.feature-highlight::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--brand-gradient);
}

.fh-title {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--text);
}

.fh-text {
	color: var(--text-dim);
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	line-height: 1.6;
}

.fh-meta {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.fh-chip {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-full);
	background: rgba(179, 143, 30, 0.08);
	color: var(--accent);
	border: 1px solid rgba(179, 143, 30, 0.15);
	transition: all 0.2s var(--ease);
}

[data-theme="dark"] .fh-chip {
	background: rgba(230, 194, 101, 0.08);
	border-color: rgba(230, 194, 101, 0.15);
}

/* Feature Pills */
.feature-pills {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.feature-pills li {
	padding: 0.6rem 1.25rem;
	border-radius: var(--radius-full);
	background: var(--bg-panel);
	backdrop-filter: blur(12px);
	border: 1px solid var(--border-color);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-dim);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}

.feature-pills li:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	color: var(--accent);
	border-color: rgba(179, 143, 30, 0.3);
}

/* ===== Section Common ===== */
.section {
	padding: var(--section-gap) 0;
}

.section-label {
	text-transform: uppercase;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--accent);
	margin-bottom: 0.75rem;
	text-align: center;
}

.section-title {
	font-family: var(--font-heading);
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: -0.04em;
	text-align: center;
	margin-bottom: 1rem;
}

.section-subtitle {
	font-size: 1.15rem;
	color: var(--text-dim);
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3.5rem;
	line-height: 1.6;
}

/* ===== Testimonial ===== */
.testimonial-section {
	text-align: center;
	padding-top: 0;
	padding-bottom: var(--section-gap);
}

.testimonial-card {
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 3rem;
	box-shadow: var(--shadow);
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	text-align: left;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

[data-theme="dark"] .testimonial-card {
	border-color: var(--border-color);
}

.testimonial-short p {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 1.5rem;
	line-height: 1.5;
	font-style: italic;
}

.testimonial-full {
	display: none;
	margin-bottom: 1.5rem;
	animation: fadeIn 0.3s ease;
}

.testimonial-full p {
	font-size: 1.1rem;
	color: var(--text);
	line-height: 1.6;
	margin-bottom: 1rem;
	font-style: italic;
}

.testimonial-full p:last-child {
	margin-bottom: 0;
}

.testimonial-author {
	font-size: 1rem;
	color: var(--text-dim);
	font-weight: 600;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.testimonial-author::before {
	content: '';
	width: 20px;
	height: 2px;
	background: var(--accent);
	display: inline-block;
}

.testimonial-card.expanded .testimonial-full {
	display: block;
}

.testimonial-card.expanded .testimonial-short {
	display: none;
}

.testimonial-toggle .btn-text-close {
	display: none;
}

.testimonial-card.expanded .btn-text-read {
	display: none;
}

.testimonial-card.expanded .btn-text-close {
	display: inline;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== Feature Cards (Trio) ===== */
.trio {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.card {
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 2.25rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .card {
	border-color: var(--border-color);
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: var(--border-color-glow);
}

.card-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	transition: transform 0.3s var(--ease);
}

.card:hover .card-icon {
	transform: scale(1.08) rotate(3deg);
}

.card-icon--gold {
	background: rgba(179, 143, 30, 0.08);
	color: var(--accent);
	border: 1px solid rgba(179, 143, 30, 0.15);
}

.card-icon--rose {
	background: rgba(163, 82, 96, 0.08);
	color: var(--accent-alt);
	border: 1px solid rgba(163, 82, 96, 0.15);
}

.card-icon--purple {
	background: rgba(115, 65, 158, 0.08);
	color: #73419e;
	border: 1px solid rgba(115, 65, 158, 0.15);
}

.card-icon--blue {
	background: rgba(56, 128, 209, 0.08);
	color: #3880d1;
	border: 1px solid rgba(56, 128, 209, 0.15);
}

.card h3 {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	letter-spacing: -0.03em;
}

.card p {
	color: var(--text-dim);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ===== How It Works ===== */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.steps-grid::before {
	content: '';
	position: absolute;
	top: 36px;
	left: calc(16.66% + 20px);
	right: calc(16.66% + 20px);
	height: 2px;
	background: linear-gradient(to right, var(--accent), var(--accent-alt));
	opacity: 0.2;
}

.step {
	text-align: center;
	position: relative;
}

.step-number {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.5rem;
	position: relative;
	z-index: 1;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover .step-number {
	transform: scale(1.08) translateY(-2px);
	box-shadow: var(--shadow);
}

.step:nth-child(1) .step-number {
	background: rgba(179, 143, 30, 0.08);
	color: var(--accent);
	border: 2px solid rgba(179, 143, 30, 0.2);
}

.step:nth-child(2) .step-number {
	background: rgba(163, 82, 96, 0.08);
	color: var(--accent-alt);
	border: 2px solid rgba(163, 82, 96, 0.25);
}

.step:nth-child(3) .step-number {
	background: rgba(115, 65, 158, 0.08);
	color: #73419e;
	border: 2px solid rgba(115, 65, 158, 0.25);
}

.step h3 {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	letter-spacing: -0.03em;
}

.step p {
	color: var(--text-dim);
	font-size: 0.95rem;
	max-width: 260px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ===== Interactive Demo ===== */
.demo-section {
	max-width: 800px;
	margin: 0 auto;
}

.demo-container {
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.demo-header {
	padding: 1.1rem 1.75rem;
	background: rgba(26, 24, 21, 0.02);
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

[data-theme="dark"] .demo-header {
	background: rgba(255, 255, 255, 0.02);
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.dot.red {
	background: #ff5f56;
}

.dot.yellow {
	background: #ffbd2e;
}

.dot.green {
	background: #27c93f;
}

.demo-title {
	margin-left: 0.5rem;
	font-family: var(--font-sans);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-dim);
	opacity: 0.8;
}

.chat-interface {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-height: 280px;
}

.chat-message {
	max-width: 85%;
	padding: 0.95rem 1.35rem;
	border-radius: 18px;
	font-size: 0.95rem;
	line-height: 1.5;
	position: relative;
	opacity: 0;
	transform: scale(0.9) translateY(10px);
}

.demo-container.active .chat-message {
	animation: messagePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.chat-message.user {
	align-self: flex-end;
	background: var(--text);
	color: var(--bg);
	border-bottom-right-radius: 4px;
	box-shadow: var(--shadow-sm);
}

.demo-container.active .chat-message.user {
	animation-delay: 0.2s;
}

.chat-message.ai {
	align-self: flex-start;
	background: var(--bg-panel-solid);
	color: var(--text);
	border: 1px solid var(--border-color);
	border-bottom-left-radius: 4px;
	box-shadow: var(--shadow-sm);
}

.demo-container.active .chat-message.ai {
	animation-delay: 1.5s;
}

.typing-indicator {
	display: flex;
	gap: 4px;
	padding: 0.5rem 0;
	position: absolute;
	top: 50%;
	left: 1.25rem;
	transform: translateY(-50%);
	opacity: 0;
}

.demo-container.active .typing-indicator {
	opacity: 1;
	animation: fadeOut 0.3s forwards;
	animation-delay: 1.4s;
}

.typing-indicator span {
	width: 6px;
	height: 6px;
	background: var(--text-light);
	border-radius: 50%;
}

.demo-container.active .typing-indicator span {
	animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
	animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
	animation-delay: -0.16s;
}

.ai-content {
	opacity: 0;
}

.demo-container.active .ai-content {
	animation: fadeIn 0.5s forwards;
	animation-delay: 1.6s;
}

.product-suggestions {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}

.product-card-mini {
	flex: 0 0 130px;
	background: var(--bg-alt);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
	cursor: pointer;
}

.product-card-mini:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
	box-shadow: var(--shadow-sm);
}

.pc-img {
	height: 90px;
	width: 100%;
	overflow: hidden;
}

.pc-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pc-info {
	padding: 0.6rem 0.75rem;
}

.pc-title {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	margin-bottom: 0.2rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pc-price {
	font-size: 0.78rem;
	color: var(--text-dim);
}

.demo-input {
	padding: 1rem 1.75rem;
	border-top: 1px solid var(--border-color);
	background: rgba(26, 24, 21, 0.01);
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--text-light);
	font-size: 0.9rem;
}

[data-theme="dark"] .demo-input {
	background: rgba(255, 255, 255, 0.01);
}

.send-btn {
	color: var(--accent);
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s, transform 0.2s;
}

.send-btn:hover {
	opacity: 1;
	transform: scale(1.05);
}

/* ===== Differentiator ===== */
.diff-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	max-width: 800px;
	margin: 0 auto;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.diff-col {
	padding: 2.5rem;
}

.diff-col--old {
	background: rgba(26, 24, 21, 0.025);
}

.diff-col--new {
	background: var(--bg-panel);
}

[data-theme="dark"] .diff-col--old {
	background: rgba(255, 255, 255, 0.015);
}

.diff-col-title {
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid;
}

.diff-col--old .diff-col-title {
	color: var(--text-light);
	border-color: rgba(26, 24, 21, 0.08);
}

[data-theme="dark"] .diff-col--old .diff-col-title {
	border-color: rgba(255, 255, 255, 0.08);
}

.diff-col--new .diff-col-title {
	color: var(--accent);
	border-color: var(--accent);
}

.diff-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
	color: var(--text-dim);
	line-height: 1.5;
}

.diff-item:last-child {
	margin-bottom: 0;
}

.diff-icon {
	flex-shrink: 0;
	font-size: 1.1rem;
	margin-top: 1px;
}

.diff-col--old .diff-icon {
	color: #ef4444;
}

.diff-col--new .diff-icon {
	color: #10b981;
}

[data-theme="dark"] .diff-col--old .diff-icon {
	color: #f87171;
}

[data-theme="dark"] .diff-col--new .diff-icon {
	color: #34d399;
}

/* ===== Pricing Table ===== */
.pricing-table-container {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	overflow-x: auto;
	padding-top: 1.5rem;
	padding-bottom: 2rem;
	-webkit-overflow-scrolling: touch;
}

.pricing-table {
	width: 100%;
	min-width: 800px;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	text-align: center;
	box-shadow: var(--shadow);
	table-layout: fixed;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.pricing-table th:first-child {
	border-top-left-radius: var(--radius);
}

.pricing-table th:last-child {
	border-top-right-radius: var(--radius);
}

.pricing-table tr:last-child td:first-child {
	border-bottom-left-radius: var(--radius);
}

.pricing-table tr:last-child td:last-child {
	border-bottom-right-radius: var(--radius);
}

.pricing-table th,
.pricing-table td {
	padding: 1.25rem 1rem;
	border-bottom: 1px solid var(--border-color);
	vertical-align: middle;
}

.pricing-table th {
	padding-top: 2.25rem;
	padding-bottom: 2.25rem;
	position: relative;
	background: rgba(26, 24, 21, 0.02);
}

[data-theme="dark"] .pricing-table th {
	background: rgba(255, 255, 255, 0.02);
}

.pricing-table th:first-child {
	text-align: left;
	background: transparent;
	border-right: 1px solid var(--border-color);
}

.pricing-table th.col-pro {
	background: rgba(179, 143, 30, 0.06);
	border-left: 2px solid var(--accent);
	border-right: 2px solid var(--accent);
}

[data-theme="dark"] .pricing-table th.col-pro {
	background: rgba(230, 194, 101, 0.08);
}

.pricing-table td.col-pro {
	background: rgba(179, 143, 30, 0.02);
	border-left: 2px solid var(--accent);
	border-right: 2px solid var(--accent);
}

[data-theme="dark"] .pricing-table td.col-pro {
	background: rgba(230, 194, 101, 0.04);
}

/* Ensure the last row of col-pro has the bottom border connected */
.pricing-table tr:last-child td.col-pro {
	border-bottom: 2px solid var(--accent);
}

.pricing-table th.col-pro::before {
	content: '';
	position: absolute;
	top: 0;
	left: -2px;
	right: -2px;
	height: 2px;
	background: var(--accent);
}

.price-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand-gradient);
	color: #fff;
	padding: 0.35rem 1.15rem;
	border-radius: var(--radius-full);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(179, 143, 30, 0.3);
}

.price-name {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
	color: var(--text);
	letter-spacing: -0.02em;
}

.price-desc {
	font-size: 0.85rem;
	color: var(--text-dim);
	margin-bottom: 1rem;
	line-height: 1.4;
	min-height: 38px;
	max-width: 180px;
	margin-left: auto;
	margin-right: auto;
	font-weight: 400;
}

.price-amount {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	margin-bottom: 0.25rem;
	color: var(--text);
}

.price-period {
	font-size: 0.85rem;
	color: var(--text-dim);
	font-weight: 400;
}

.pricing-table .feature-row td:first-child {
	text-align: left;
	font-weight: 600;
	color: var(--text);
	border-right: 1px solid var(--border-color);
	background: rgba(26, 24, 21, 0.01);
}

[data-theme="dark"] .pricing-table .feature-row td:first-child {
	background: rgba(255, 255, 255, 0.01);
}

.pricing-table .feature-row td {
	color: var(--text-dim);
	font-size: 0.95rem;
}

.pricing-table .feature-row:hover td {
	background: rgba(26, 24, 21, 0.02);
}

[data-theme="dark"] .pricing-table .feature-row:hover td {
	background: rgba(255, 255, 255, 0.03);
}

.pricing-table .feature-row:hover td.col-pro {
	background: rgba(179, 143, 30, 0.08);
}

[data-theme="dark"] .pricing-table .feature-row:hover td.col-pro {
	background: rgba(230, 194, 101, 0.1);
}

.icon-check {
	color: #10b981;
	display: inline-block;
	vertical-align: middle;
}

[data-theme="dark"] .icon-check {
	color: #34d399;
}

.icon-cross {
	color: var(--text-light);
	opacity: 0.25;
	display: inline-block;
	vertical-align: middle;
}

.pricing-table .table-cta {
	margin-top: 1rem;
}

/* ===== FAQ ===== */
.faq-list {
	max-width: 700px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid var(--border-color);
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem 0;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text);
	text-align: left;
	transition: color 0.2s, padding 0.2s var(--ease);
	letter-spacing: -0.02em;
}

.faq-question:hover {
	color: var(--accent);
}

.faq-chevron {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
	color: var(--text-dim);
}

.faq-question:hover .faq-chevron {
	color: var(--accent);
}

.faq-item.open .faq-chevron {
	transform: rotate(180deg);
	color: var(--accent);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
	max-height: 300px;
}

.faq-answer p {
	padding-bottom: 1.5rem;
	color: var(--text-dim);
	font-size: 0.98rem;
	line-height: 1.7;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
	text-align: center;
	padding: 6.5rem 0;
}

.bottom-cta-title {
	font-family: var(--font-heading);
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	letter-spacing: -0.04em;
	margin-bottom: 1rem;
	line-height: 1.15;
}

.bottom-cta-text {
	font-size: 1.25rem;
	color: var(--text-dim);
	margin-bottom: 2.5rem;
}

/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.85rem;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s var(--ease);
	cursor: pointer;
	border: none;
	font-family: var(--font-sans);
}

.btn:focus-visible {
	box-shadow: var(--focus);
	outline: none;
}

.btn-primary {
	background: var(--text);
	color: var(--bg);
	box-shadow: 0 4px 12px -2px rgba(26, 24, 21, 0.12);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	background: var(--accent);
	color: #fff;
}

[data-theme="dark"] .btn-primary {
	background: var(--text);
	color: var(--bg);
	box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
	background: var(--accent);
	color: #090909;
}

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

.btn-ghost:hover {
	background: rgba(179, 143, 30, 0.05);
	border-color: rgba(179, 143, 30, 0.3);
	color: var(--accent);
	transform: translateY(-2px);
}

[data-theme="dark"] .btn-ghost {
	border-color: var(--border-color);
}

[data-theme="dark"] .btn-ghost:hover {
	background: rgba(230, 194, 101, 0.05);
	border-color: rgba(230, 194, 101, 0.3);
	color: var(--accent);
}

.btn-sm {
	padding: 0.6rem 1.25rem;
	font-size: 0.88rem;
	border-radius: 10px;
}

.btn-accent {
	background: var(--brand-gradient);
	color: #fff;
	box-shadow: 0 4px 12px -2px rgba(179, 143, 30, 0.2);
}

.btn-accent:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px -4px rgba(179, 143, 30, 0.4);
}

/* ===== Footer ===== */
.site-footer {
	border-top: 1px solid var(--border-color);
	padding: 5rem 0 3rem;
	color: var(--text-dim);
	font-size: 0.9rem;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3.5rem;
}

.footer-brand-text {
	color: var(--text-dim);
	font-size: 0.9rem;
	margin-top: 1.25rem;
	max-width: 280px;
	line-height: 1.6;
}

.footer-col-title {
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text);
	margin-bottom: 1.25rem;
}

.footer-col a {
	display: block;
	color: var(--text-dim);
	margin-bottom: 0.75rem;
	font-size: 0.9rem;
	transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col a:hover {
	color: var(--accent);
	transform: translateX(3px);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2.25rem;
	border-top: 1px solid var(--border-color);
	font-size: 0.85rem;
}

/* ===== Scroll Reveal ===== */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	will-change: transform, opacity;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: no-preference) {
	@supports ((animation-timeline: view()) and (animation-range: entry)) {
		@keyframes reveal-in {
			from {
				opacity: 0;
				transform: translateY(40px) scale(0.96);
			}
			to {
				opacity: 1;
				transform: translateY(0) scale(1);
			}
		}
		
		.reveal {
			opacity: 0;
			animation: reveal-in linear both;
			animation-timeline: view();
			animation-range: entry 5% entry 35%;
			transition: none !important;
		}
		
		.reveal-delay-1 { animation-range: entry 10% entry 40%; }
		.reveal-delay-2 { animation-range: entry 15% entry 45%; }
		.reveal-delay-3 { animation-range: entry 20% entry 50%; }
		.reveal-delay-4 { animation-range: entry 25% entry 55%; }
	}
}

/* ===== Animations ===== */
@keyframes messagePop {
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes bounce {

	0%,
	80%,
	100% {
		transform: scale(0);
	}

	40% {
		transform: scale(1);
	}
}

@keyframes fadeOut {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.pricing-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	:root {
		--section-gap: 3rem;
		--header-height: 64px;
	}

	/* Header */
	.nav-links,
	.nav-cta {
		display: none;
	}

	.brand {
		margin-right: auto;
	}

	.header-actions {
		margin-right: 0.75rem;
	}

	.hamburger {
		display: block;
	}

	/* Hero */
	.hero {
		padding: 3rem 0 var(--section-gap);
	}

	.headline {
		font-size: 2.25rem;
	}

	/* Steps */
	.steps-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		max-width: 360px;
	}

	.steps-grid::before {
		display: none;
	}

	/* Cards */
	.trio {
		grid-template-columns: 1fr;
	}

	/* Differentiator */
	.diff-grid {
		grid-template-columns: 1fr;
	}

	/* Pricing */
	.pricing-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	/* Footer */
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	/* Demo */
	.product-suggestions {
		gap: 0.5rem;
	}

	.product-card-mini {
		flex: 0 0 110px;
	}
}

@media (max-width: 768px) {
	.pricing-grid {
		max-width: 100%;
	}

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

	.hero-ctas {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-ctas .btn {
		text-align: center;
	}

	.shopify-badge {
		width: 100%;
		box-sizing: border-box;
		padding: 0;
	}

	.shopify-badge img {
		width: 100%;
		height: 54px;
		object-fit: cover;
		border-radius: var(--radius-sm);
	}
}

/* ===================================================================
   Policies Feature Highlights Section
   =================================================================== */

.policies-section {
	position: relative;
}

/* 2×2 grid on desktop, stacks on mobile */
.policies-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

/* Individual Policy Card */
.policy-card {
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 2.25rem;
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

[data-theme="dark"] .policy-card {
	border-color: var(--border-color);
}

.policy-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: var(--border-color-glow);
}

/* Subtle top accent bar per card (inherits from icon color via pseudo) */
.policy-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	opacity: 0;
	transition: opacity 0.3s ease;
	background: var(--brand-gradient);
	border-radius: var(--radius) var(--radius) 0 0;
}

.policy-card:hover::before {
	opacity: 1;
}

/* Icon */
.policy-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	flex-shrink: 0;
	transition: transform 0.3s var(--ease);
}

.policy-card:hover .policy-card__icon {
	transform: scale(1.08) rotate(3deg);
}

.policy-card__icon--blue {
	background: rgba(56, 128, 209, 0.08);
	color: #3880d1;
	border: 1px solid rgba(56, 128, 209, 0.15);
}

.policy-card__icon--gold {
	background: rgba(179, 143, 30, 0.08);
	color: var(--accent);
	border: 1px solid rgba(179, 143, 30, 0.15);
}

.policy-card__icon--rose {
	background: rgba(163, 82, 96, 0.08);
	color: var(--accent-alt);
	border: 1px solid rgba(163, 82, 96, 0.15);
}

.policy-card__icon--purple {
	background: rgba(115, 65, 158, 0.08);
	color: #73419e;
	border: 1px solid rgba(115, 65, 158, 0.15);
}

/* Title */
.policy-card__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 0.65rem;
	letter-spacing: -0.03em;
}

/* Body text */
.policy-card__text {
	font-size: 0.95rem;
	color: var(--text-dim);
	line-height: 1.65;
	margin-bottom: 1.25rem;
}

/* Bullet list */
.policy-card__list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.policy-card__list li {
	font-size: 0.88rem;
	color: var(--text-dim);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.policy-check {
	flex-shrink: 0;
	color: #10b981;
}

[data-theme="dark"] .policy-check {
	color: #34d399;
}

/* CTA link at bottom of card */
.policy-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	margin-top: auto;
	transition: gap 0.2s ease, opacity 0.2s;
	opacity: 0.85;
}

.policy-card__link:hover {
	gap: 0.65rem;
	opacity: 1;
}

/* ===== Trust Bar ===== */
.policies-trust-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	background: var(--bg-panel);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 1.25rem 2rem;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	box-shadow: var(--shadow-sm);
}

.trust-bar-item {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-dim);
	padding: 0.4rem 1.5rem;
	transition: color 0.2s;
}

.trust-bar-item:hover {
	color: var(--text);
}

.trust-bar-item svg {
	color: var(--accent);
	flex-shrink: 0;
}

.trust-bar-divider {
	width: 1px;
	height: 28px;
	background: var(--border-color);
	flex-shrink: 0;
}

/* ===== Responsive: Policies ===== */
@media (max-width: 768px) {
	.policies-grid {
		grid-template-columns: 1fr;
	}

	.policies-trust-bar {
		padding: 1rem;
		gap: 0.25rem;
	}

	.trust-bar-item {
		padding: 0.4rem 0.75rem;
		font-size: 0.82rem;
	}

	.trust-bar-divider {
		height: 20px;
	}
}

@media (max-width: 480px) {
	.policies-trust-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.trust-bar-divider {
		display: none;
	}

	.trust-bar-item {
		padding: 0.25rem 0;
	}
}

/* ===================================================================
   Demo Tab Switcher
   =================================================================== */

.demo-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
	background: var(--bg-panel);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: var(--radius-full);
	padding: 0.35rem;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .demo-tabs {
	border-color: rgba(255, 255, 255, 0.06);
}

.demo-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.25rem;
	border-radius: var(--radius-full);
	border: none;
	background: transparent;
	font-family: var(--font-sans);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-dim);
	cursor: pointer;
	transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
	white-space: nowrap;
}

.demo-tab:hover {
	color: var(--text);
}

.demo-tab.active {
	background: var(--bg-panel-solid);
	color: var(--text);
	box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .demo-tab.active {
	background: rgba(255, 255, 255, 0.08);
}

/* Demo panels: animated fade + slide */
.demo-panel {
	animation: demoPanelIn 0.38s var(--ease) both;
}

.demo-panel[hidden] {
	display: none;
}

@keyframes demoPanelIn {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.99);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* ===================================================================
   Policy Answer Block (inside demo chat)
   =================================================================== */

.policy-answer-block {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	background: rgba(212, 175, 55, 0.06);
	border: 1px solid rgba(212, 175, 55, 0.15);
	border-radius: var(--radius-sm);
	padding: 0.85rem 1rem;
	margin-top: 0.75rem;
}

[data-theme="dark"] .policy-answer-block {
	background: rgba(212, 175, 55, 0.08);
	border-color: rgba(212, 175, 55, 0.2);
}

.policy-answer-item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.88rem;
	color: var(--text-dim);
	line-height: 1.5;
}

.policy-answer-item svg {
	flex-shrink: 0;
	color: #22c55e;
	margin-top: 1px;
}

/* .policy-answer and .policy-typing visibility is driven by .demo-container.active CSS animations */

/* ===================================================================
   Card icon blue variant (reuse in feature cards)
   =================================================================== */

.card-icon--blue {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

[data-theme="dark"] .card-icon--blue {
	background: rgba(59, 130, 246, 0.15);
}

/* ===================================================================
   Pricing table: feature-row-badge (inline label)
   =================================================================== */

.feature-row-badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.55rem;
	border-radius: var(--radius-full);
	background: rgba(34, 197, 94, 0.1);
	color: #16a34a;
	border: 1px solid rgba(34, 197, 94, 0.2);
	margin-left: 0.5rem;
	vertical-align: middle;
	white-space: nowrap;
}

[data-theme="dark"] .feature-row-badge {
	background: rgba(74, 222, 128, 0.12);
	color: #4ade80;
	border-color: rgba(74, 222, 128, 0.2);
}
/* ===================================================================
   Order Tracking Card (inside demo chat)
   =================================================================== */

.order-tracking-card {
	background: var(--bg);
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: var(--radius-sm);
	padding: 0.85rem 1rem;
	margin-top: 0.75rem;
	box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .order-tracking-card {
	background: rgba(255, 255, 255, 0.03);
	border-color: rgba(255, 255, 255, 0.08);
}

.order-tracking-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.order-id {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text);
	letter-spacing: 0.02em;
}

.order-status-badge {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.6rem;
	border-radius: var(--radius-full);
	background: rgba(251, 146, 60, 0.12);
	color: #ea580c;
	border: 1px solid rgba(251, 146, 60, 0.25);
}

[data-theme="dark"] .order-status-badge {
	background: rgba(251, 146, 60, 0.15);
	color: #fb923c;
	border-color: rgba(251, 146, 60, 0.3);
}

/* Vertical progress timeline */
.order-tracking-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.tracking-step {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	position: relative;
	padding-bottom: 0.85rem;
}

/* Connector line between steps */
.tracking-step:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 16px;
	bottom: 0;
	width: 2px;
	background: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .tracking-step:not(:last-child)::after {
	background: rgba(255, 255, 255, 0.08);
}

.tracking-step.done:not(:last-child)::after,
.tracking-step.active:not(:last-child)::after {
	background: var(--accent);
	opacity: 0.4;
}

.tracking-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(0, 0, 0, 0.15);
	background: var(--bg-panel);
	flex-shrink: 0;
	margin-top: 1px;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

[data-theme="dark"] .tracking-dot {
	border-color: rgba(255, 255, 255, 0.15);
}

.tracking-step.done .tracking-dot {
	background: var(--accent);
	border-color: var(--accent);
}

/* Pulse animation on active step */
.tracking-step.active .tracking-dot {
	background: #f97316;
	border-color: #f97316;
	box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
	animation: trackingPulse 1.5s ease-in-out infinite;
}

@keyframes trackingPulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25); }
	50%       { box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.1); }
}

.tracking-info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.tracking-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text);
}

.tracking-step:not(.done):not(.active) .tracking-label {
	color: var(--text-dim);
}

.tracking-time {
	font-size: 0.74rem;
	color: var(--text-dim);
}

.tracking-step.active .tracking-time {
	color: #f97316;
	font-weight: 600;
}
