/*
Theme Name: WP Chat
Theme URI: https://wp-chat.com/
Author: Potent Pages
Author URI: https://potentpages.com/
Description: A clean WordPress theme converted from the WP Chat AI landing page design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wp-chat-ai-landing
*/

:root {
	--ink: #10233f;
	--muted: #5e6b7a;
	--line: #d9dee7;
	--paper: #ffffff;
	--soft: #f5f7fa;
	--accent: #c5a24a;
	--accent2: #8f6d1f;
	--white: #fff;
	--shadow: 0 18px 50px rgba(16, 35, 63, .12);
	--radius: 22px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.65;
}

a {
	color: inherit;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	left: 20px;
	top: 20px;
	width: auto;
	height: auto;
	z-index: 100;
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
	padding: 10px 14px;
}

.wrap {
	width: min(1180px, calc(100% - 40px));
	margin: auto;
}

.nav {
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 20;
}

.admin-bar .nav {
	top: 32px;
}

.nav .wrap {
	height: 78px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.brand {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	text-decoration: none;
}

.brand-main {
	font-weight: 800;
	letter-spacing: -.03em;
	font-size: 22px;
}

.brand-main span {
	color: var(--accent);
}

.brand-sub {
	margin-top: 5px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #6b7788;
}

.links {
	display: flex;
	gap: 26px;
	margin-left: auto;
}

.links a {
	text-decoration: none;
	font-size: 14px;
	font-weight: 650;
	color: #34445b;
}

.nav-cta,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 750;
	transition: .2s ease;
}

.nav-cta {
	padding: 10px 17px;
	background: var(--ink);
	color: #fff;
	font-size: 13px;
}

.hero {
	padding: 88px 0 72px;
	border-bottom: 1px solid var(--line);
	background: radial-gradient(circle at 85% 15%, #f3ead0 0, transparent 30%), linear-gradient(180deg, #fff 0, #f7f9fc 100%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.18fr .82fr;
	gap: 72px;
	align-items: center;
}

.eyebrow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.eyebrow span,
.tag {
	display: inline-flex;
	border: 1px solid #d9c58b;
	background: #fffaf0;
	color: #8a681f;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .03em;
}

.hero h1 {
	font-size: clamp(46px, 6vw, 78px);
	line-height: 1.01;
	letter-spacing: -.055em;
	margin: 0 0 25px;
	max-width: 850px;
}

.lead {
	font-size: 20px;
	color: #4e5f73;
	max-width: 760px;
	margin: 0 0 18px;
}

.hero-secondary {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--ink);
	max-width: 760px;
	margin: 0 0 30px;
}

.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.download-note {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
	max-width: 680px;
}

.download-note a {
	color: var(--ink);
	font-weight: 750;
	text-decoration-color: #d9c58b;
	text-underline-offset: 3px;
}

.btn {
	padding: 14px 21px;
	border: 1px solid var(--ink);
	font-size: 14px;
}

.btn-primary {
	background: var(--ink);
	color: #fff;
}

.btn-secondary {
	background: #fff;
}

.hero-art {
	min-height: 440px;
	border: 1px solid #d4dae4;
	border-radius: 32px;
	background: #f3f5f8;
	box-shadow: var(--shadow);
	padding: 28px;
	position: relative;
	overflow: hidden;
}

.hero-art:before,
.hero-art:after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: #eadcae;
}

.hero-art:before {
	width: 190px;
	height: 190px;
	right: -40px;
	top: -55px;
}

.hero-art:after {
	width: 120px;
	height: 120px;
	left: -35px;
	bottom: -35px;
}

.browser {
	position: relative;
	z-index: 2;
	background: #fff;
	border: 1px solid #d4dae4;
	border-radius: 18px;
	box-shadow: 0 16px 35px rgba(16, 35, 63, .14);
	overflow: hidden;
	transform: rotate(-1.5deg);
	margin-top: 22px;
}

.browser-top {
	height: 38px;
	background: #f4f6f9;
	border-bottom: 1px solid #dfe4eb;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 13px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #aab3bf;
}

.screen {
	padding: 20px;
	min-height: 290px;
}

.chat-head {
	font-weight: 800;
	font-size: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e6ec;
}

.bubble {
	max-width: 84%;
	padding: 11px 13px;
	border-radius: 14px;
	margin-top: 14px;
	font-size: 13px;
	line-height: 1.45;
}

.bubble.user {
	margin-left: auto;
	background: #10233f;
	color: #fff;
	border-bottom-right-radius: 4px;
}

.bubble.ai {
	background: #f4f6fa;
	border-bottom-left-radius: 4px;
}

.input {
	margin-top: 18px;
	border: 1px solid #d9dee7;
	border-radius: 12px;
	padding: 12px;
	color: #7c8796;
	font-size: 12px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.stat {
	padding: 28px 20px;
	text-align: center;
	border-right: 1px solid var(--line);
}

.stat:last-child {
	border-right: 0;
}

.stat strong {
	display: block;
	font-size: 24px;
	letter-spacing: -.03em;
}

.stat span {
	font-size: 13px;
	color: var(--muted);
}

section {
	padding: 82px 0;
}

.section-head {
	display: grid;
	grid-template-columns: .75fr 1.25fr;
	gap: 45px;
	margin-bottom: 34px;
}

.kicker {
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: 12px;
	font-weight: 800;
	color: var(--accent);
}

h1,
h2,
h3,
p {
	overflow-wrap: break-word;
}

h2 {
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.08;
	letter-spacing: -.04em;
	margin: 8px 0 0;
}

.section-intro {
	font-size: 18px;
	color: var(--muted);
	margin: 8px 0 0;
}

.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 27px;
	transition: .2s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 13px 35px rgba(16, 35, 63, .10);
}

.num {
	font-size: 12px;
	font-weight: 850;
	color: var(--accent);
	letter-spacing: .12em;
}

.card h3 {
	font-size: 21px;
	line-height: 1.2;
	letter-spacing: -.02em;
	margin: 12px 0 10px;
}

.card p {
	margin: 0;
	color: var(--muted);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
}

.tags .tag {
	background: #fafcfb;
	color: #526174;
	border-color: #dce1e8;
}

.trust-panel {
	background: linear-gradient(180deg, #fff 0, #f8fafc 100%);
	border-bottom: 1px solid var(--line);
}

.trust-grid,
.privacy-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.trust-card,
.privacy-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: 0 10px 28px rgba(16, 35, 63, .06);
}

.trust-card.highlight {
	background: #10233f;
	border-color: #10233f;
	color: #fff;
}

.trust-card h3,
.privacy-card h3 {
	font-size: 18px;
	line-height: 1.25;
	letter-spacing: -.02em;
	margin: 0 0 9px;
}

.trust-card p,
.privacy-card p {
	margin: 0;
	color: var(--muted);
}

.trust-card.highlight p {
	color: #dce4ef;
}

.developer-section {
	padding-top: 0;
	background: #f8fafc;
}

.developer-box {
	border: 1px solid #dfcf9f;
	border-radius: 30px;
	background: linear-gradient(135deg, #fffaf0, #fff);
	padding: 42px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 30px;
	align-items: center;
}

.developer-box h2 {
	font-size: clamp(30px, 3vw, 44px);
	margin-bottom: 12px;
}

.developer-box p {
	margin: 0;
	color: var(--muted);
	max-width: 760px;
}

.developer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.slab {
	background: #0b1f3a;
	color: #f7f9fc;
}

.slab .kicker {
	color: #d8b85e;
}

.slab h2 {
	color: #fff;
}

.slab .section-intro {
	color: #c8d0dc;
}

.setup {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 42px;
	align-items: start;
}

.steps {
	counter-reset: step;
}

.step {
	counter-increment: step;
	position: relative;
	padding: 0 0 29px 62px;
	border-left: 1px solid #51627a;
	margin-left: 20px;
}

.step:last-child {
	padding-bottom: 0;
}

.step:before {
	content: counter(step);
	position: absolute;
	left: -21px;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #c5a24a;
	color: #0b1f3a;
	font-weight: 900;
}

.step h3 {
	margin: 0 0 5px;
	color: #fff;
}

.step p {
	margin: 0;
	color: #c8d0dc;
}

.codebox {
	background: #08172c;
	border: 1px solid #40516b;
	border-radius: 24px;
	padding: 24px;
	position: sticky;
	top: 110px;
}

.admin-bar .codebox {
	top: 142px;
}

.codebox .label {
	font-size: 12px;
	color: #d8b85e;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 800;
}

.codebox pre {
	white-space: pre-wrap;
	color: #e8edf4;
	font-size: 13px;
	line-height: 1.7;
	margin: 15px 0 0;
}

.faq {
	max-width: 900px;
	margin-left: auto;
}

.faq details {
	border-top: 1px solid var(--line);
	padding: 20px 0;
}

.faq details:last-child {
	border-bottom: 1px solid var(--line);
}

summary {
	cursor: pointer;
	list-style: none;
	font-weight: 800;
	font-size: 18px;
	display: flex;
	justify-content: space-between;
	gap: 15px;
}

summary::-webkit-details-marker {
	display: none;
}

summary:after {
	content: "+";
	font-size: 24px;
	font-weight: 400;
	color: var(--accent);
}

details[open] summary:after {
	content: "−";
}

.faq p {
	color: var(--muted);
	margin: 12px 36px 0 0;
}

.privacy-section {
	background: #f5f7fa;
}

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

.cta {
	padding-top: 20px;
}

.cta-box {
	border-radius: 30px;
	background: linear-gradient(135deg, #f7f1df, #ffffff);
	border: 1px solid #dfcf9f;
	padding: 52px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
}

.cta-box h2 {
	font-size: clamp(34px, 4vw, 52px);
	margin: 0 0 12px;
}

.cta-box p {
	margin: 0;
	color: var(--muted);
	max-width: 700px;
}

.cta-actions {
	display: grid;
	gap: 12px;
	justify-items: end;
	max-width: 360px;
}

.cta-actions .download-note {
	margin: 0;
	text-align: right;
}

.footer {
	margin-top: 0;
	background: #08172c;
	color: #c7cfda;
	padding: 36px 0;
	font-size: 13px;
}

.footer .wrap {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: .6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: none;
}

.site-main-basic {
	padding: 82px 0;
}

.entry-header {
	margin-bottom: 28px;
}

.entry-title {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.05;
	letter-spacing: -.04em;
	margin: 0;
}

.entry-content {
	color: var(--ink);
	max-width: 860px;
}

.entry-content p {
	color: var(--muted);
}

.site-main-full-width-html {
	width: 100%;
	padding: 0;
}

.full-width-html-page,
.entry-content-full-width,
.entry-content-full-width > .wp-block-html,
.entry-content-full-width > .wp-block-html > * {
	width: 100%;
	max-width: none;
}

.entry-content-full-width > * {
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 850px) {
	.links {
		display: none;
	}

	.hero {
		padding-top: 58px;
	}

	.hero-grid,
	.section-head,
	.setup,
	.developer-box,
	.cta-box {
		grid-template-columns: 1fr;
	}

	.hero-art {
		min-height: 390px;
	}

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

	.stat {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

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

	.trust-grid,
	.privacy-grid {
		grid-template-columns: 1fr;
	}

	.section-head {
		gap: 12px;
	}

	.developer-links {
		justify-content: flex-start;
	}

	.codebox {
		position: static;
	}

	.cta-box {
		padding: 34px;
	}

	.cta-actions {
		justify-items: start;
		max-width: none;
	}

	.cta-actions .download-note {
		text-align: left;
	}

	.footer .wrap {
		flex-direction: column;
	}
}

@media (max-width: 782px) {
	.admin-bar .nav {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .nav {
		top: 0;
	}
}

@media (max-width: 520px) {
	.wrap {
		width: min(100% - 24px, 1180px);
	}

	.nav .wrap {
		height: 68px;
	}

	.nav-cta {
		display: none;
	}

	.hero h1 {
		font-size: 46px;
	}

	.lead {
		font-size: 17px;
	}

	.hero-art {
		padding: 15px;
		min-height: 350px;
	}

	section {
		padding: 62px 0;
	}

	.card {
		padding: 22px;
	}

	.cta-box {
		padding: 27px;
	}
}
