/*
Theme Name: Auto Writer AI Sales Theme
Description: A single-page sales theme for the Auto Writer AI WordPress plugin — pricing, features, and free trial, built by BWP Experts.
Version: 1.0.0
Author: BWP Experts
Text Domain: atw-sales-theme
*/

:root {
	--ink: #1a2332;
	--ink-soft: #3a4658;
	--paper: #faf6ee;
	--paper-dark: #f0e9d8;
	--accent: #c17817;
	--accent-light: #e2a94f;
	--line: #ddd4bf;
	--white: #ffffff;
	--radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
	font-family: Georgia, "Times New Roman", serif;
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 0.5em;
}

a { color: inherit; }

.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 28px;
}

/* Header */
.site-header {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-header .brand {
	font-family: Georgia, serif;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.2px;
}
.site-header .brand span { color: var(--accent); }
.site-header nav a {
	margin-left: 28px;
	text-decoration: none;
	font-size: 15px;
	color: var(--ink-soft);
}
.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero {
	padding: 90px 0 70px;
}
.hero .container {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 50px;
	align-items: center;
}
.hero h1 {
	font-size: 46px;
	max-width: 15ch;
}
.hero p.lede {
	font-size: 19px;
	color: var(--ink-soft);
	max-width: 46ch;
	margin: 20px 0 30px;
}
.hero .cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	font-size: 15.5px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
	background: var(--ink);
	color: var(--white);
	box-shadow: 0 6px 18px rgba(26,35,50,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,35,50,0.3); }
.btn-ghost {
	color: var(--ink);
	border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-download {
	color: #fff;
	background: var(--accent);
	border: 1px solid var(--accent);
}
.btn-download:hover { background: var(--accent-light); border-color: var(--accent-light); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 340px; height: auto; }

/* Trial banner */
.trial-banner {
	background: var(--ink);
	color: var(--paper);
	padding: 16px 0;
	text-align: center;
	font-size: 15.5px;
}
.trial-banner strong { color: var(--accent-light); }

/* Section shared */
.section { padding: 80px 0; }
.section-label {
	color: var(--accent);
	font-weight: 600;
	font-size: 14.5px;
	margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: 34px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-alt { background: var(--paper-dark); }

/* Features — editorial list, not identical cards */
.feature-list { display: flex; flex-direction: column; }
.feature-row {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 22px;
	padding: 26px 0;
	border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row .icon svg { width: 30px; height: 30px; }
.feature-row h3 { font-size: 20px; margin-bottom: 6px; }
.feature-row p { color: var(--ink-soft); margin: 0; max-width: 62ch; }

/* Pricing — vertical cards, middle one lifted (genuinely the recommended plan) */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: start;
}
.pricing-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px;
	text-align: left;
	position: relative;
	overflow: hidden;
}
.pricing-card.is-featured {
	border: 2px solid var(--accent);
	box-shadow: 0 18px 36px rgba(193,120,23,0.18);
	transform: translateY(-10px);
}
.plan-ribbon {
	position: absolute;
	top: 16px;
	right: -34px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.3px;
	padding: 5px 40px;
	transform: rotate(45deg);
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.pricing-card .plan-name { font-family: Georgia, serif; font-size: 22px; }
.pricing-card .plan-price { font-size: 34px; font-weight: 700; margin: 8px 0 4px; }
.pricing-card .plan-price small { font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.pricing-card .plan-tagline { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 20px; }
.plan-checklist { list-style: none; margin: 0 0 26px; padding: 0; }
.plan-checklist li {
	position: relative;
	padding: 7px 0 7px 28px;
	font-size: 15px;
	color: var(--ink);
	border-top: 1px solid var(--paper-dark);
}
.plan-checklist li:first-child { border-top: none; font-weight: 700; }
.plan-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 700;
}
.btn-get-started {
	display: block;
	text-align: center;
	background: var(--ink);
	color: #fff;
	border: none;
	width: 100%;
}
.btn-get-started:hover { background: var(--ink-soft); }
.btn-get-started.is-featured { background: var(--accent); }
.btn-get-started.is-featured:hover { background: var(--accent-light); }

.trial-note {
	margin-top: 22px;
	padding: 18px 22px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--ink-soft);
	font-size: 15px;
}
.trial-note strong { color: var(--ink); }

/* Setup guide steps */
.guide-steps { display: flex; flex-direction: column; }
.guide-step {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 20px;
	padding: 24px 0;
	border-top: 1px solid var(--line);
}
.guide-step:last-child { border-bottom: 1px solid var(--line); }
.guide-step-num {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	display: flex; align-items: center; justify-content: center;
	font-family: Georgia, serif;
	font-size: 15px;
	font-weight: 700;
}
.guide-step h3 { font-size: 18px; margin-bottom: 6px; }
.guide-step p { color: var(--ink-soft); margin: 0 0 8px; }
.guide-step-link { font-weight: 600; color: var(--accent); text-decoration: none; font-size: 14.5px; }
.guide-step-link:hover { text-decoration: underline; }

/* Slider */
.slider-section { padding-bottom: 40px; }
.slider {
	position: relative;
	min-height: 220px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
}
.slide {
	position: absolute;
	inset: 0;
	padding: 46px 50px;
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	pointer-events: none;
}
.slide.is-active {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}
.slide svg { width: 34px; height: 34px; margin-bottom: 14px; }
.slide h3 { font-size: 22px; margin-bottom: 8px; }
.slide p { color: var(--ink-soft); margin: 0; max-width: 52ch; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.slider-dots button {
	width: 9px; height: 9px; border-radius: 50%;
	border: none; background: var(--line); cursor: pointer; padding: 0;
	transition: background 0.2s ease, transform 0.2s ease;
}
.slider-dots button.is-active { background: var(--accent); transform: scale(1.3); }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); margin: 0; max-width: 70ch; }

/* Final CTA */
.final-cta { background: var(--ink); color: var(--paper); text-align: center; }
.final-cta h2 { color: var(--white); font-size: 32px; }
.final-cta p { color: #c9d0da; max-width: 50ch; margin: 12px auto 30px; }
.final-cta .btn-primary { background: var(--accent); }
.final-cta .btn-primary:hover { background: var(--accent-light); }

/* Footer */
.site-footer {
	padding: 56px 0 26px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--ink-soft);
	background: var(--paper-dark);
}
.footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 34px;
}
.footer-brand .brand { font-family: Georgia, serif; font-weight: 700; font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.footer-brand .brand span { color: var(--accent); }
.footer-brand p { max-width: 38ch; margin: 0; }
.footer-brand a { color: var(--ink-soft); text-decoration: underline; }
.footer-links h4 { font-family: -apple-system, sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.footer-links a { display: block; margin-bottom: 10px; text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 700px) {
	.footer-top { grid-template-columns: 1fr; }
}
.site-footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
	.hero .container { grid-template-columns: 1fr; }
	.hero-visual { order: -1; }
	.hero h1 { font-size: 34px; }
	.pricing-grid { grid-template-columns: 1fr; }
	.pricing-card.is-featured { transform: none; }
	.feature-row { grid-template-columns: 34px 1fr; }
	.slide { padding: 30px 26px; }
}
