/*
Theme Name: Pluginora
Theme URI: https://pluginora.com
Author: Pluginora
Description: Marketing and waitlist theme for Pluginora, the AI plugin builder for WordPress.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pluginora
*/

/* ---------- Small helpers used by the patterns ---------- */

.pg-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--deep-green);
	margin: 0;
}
.has-ink-background-color .pg-eyebrow { color: var(--wp--preset--color--mint); }

.pg-lead { font-size: 20px; color: var(--wp--preset--color--body); max-width: 36ch; }
.has-ink-background-color .pg-lead { color: var(--wp--preset--color--mist); }

.pg-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px;
	padding: 24px;
	height: 100%;
	box-sizing: border-box;
}
.pg-card p { color: var(--wp--preset--color--body); }
.pg-step {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	color: var(--wp--preset--color--deep-green);
	margin: 0;
}

.pg-dark-card {
	background: var(--wp--preset--color--night);
	border-radius: 16px;
	padding: 20px;
	height: 100%;
	box-sizing: border-box;
}
.pg-dark-card h3 { font-size: 19px; color: var(--wp--preset--color--paper); }
.pg-dark-card p { color: var(--wp--preset--color--mist); font-size: 15px; }

.pg-price-card { display: flex; flex-direction: column; }
.pg-price-card ul { flex-grow: 1; color: var(--wp--preset--color--body); padding-left: 20px; }
.pg-price-card.has-ink-background-color { border-color: var(--wp--preset--color--ink); }
.pg-price-card.has-ink-background-color ul { color: var(--wp--preset--color--mist); }
.pg-price-card.has-ink-background-color p,
.pg-price-card.has-ink-background-color h3 { color: var(--wp--preset--color--paper); }
.pg-price {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -0.02em;
	margin: 0;
}
.pg-tag {
	display: inline-block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	background: var(--wp--preset--color--green);
	color: #fff;
	padding: 4px 8px;
	border-radius: 6px;
}

.pg-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pg-feature-list li {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	padding: 16px 18px;
}

/* Header */
.pg-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.pg-logo { display: inline-flex; line-height: 0; }
.pg-logo img { height: 36px; width: auto; }

/* Outline buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid currentColor;
	padding: 12px 21px;
}
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--paper); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.pg-btn-light .wp-block-button__link { background: #fff; color: var(--wp--preset--color--ink); }
.pg-btn-light .wp-block-button__link:hover { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }

/* FAQ */
.wp-block-details summary { font-weight: 600; font-size: 19px; cursor: pointer; }
.wp-block-details p { color: var(--wp--preset--color--body); margin-top: 12px; }

/* Hero preview card (custom HTML block) */
.pg-hero-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 22px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-shadow: 0 24px 48px -28px rgba(18, 20, 28, 0.35);
}
.pg-hero-card .pg-browser { border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden; }
.pg-hero-card .pg-browser-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--wp--preset--color--line); }
.pg-hero-card .pg-dots { display: flex; gap: 5px; }
.pg-hero-card .pg-dots span { width: 9px; height: 9px; border-radius: 50%; background: #D9D5CA; }
.pg-hero-card .pg-url { flex-grow: 1; background: #fff; border-radius: 6px; padding: 3px 10px; font-size: 12px; color: var(--wp--preset--color--muted); }
.pg-hero-card .pg-notice { background: var(--wp--preset--color--deep-green); color: #fff; font-size: 14px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 12px; }
.pg-hero-card .pg-products { padding: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pg-hero-card .pg-products span { aspect-ratio: 1; background: #ECE9E1; border-radius: 8px; }
.pg-hero-card .pg-ready { display: flex; align-items: center; gap: 10px; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.pg-hero-card .pg-tick-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--wp--preset--color--mint-tint); display: flex; align-items: center; justify-content: center; }
.pg-hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--wp--preset--color--body); }
.pg-hero-card li { display: flex; gap: 10px; align-items: baseline; }
.pg-hero-card .pg-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; }
.pg-hero-card .pg-chips span { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--body); padding: 6px 12px; border-radius: 999px; }

/* Waitlist form (plugin markup) */
.pluginora-waitlist {
	background: #fff;
	border: 1px solid #D9D5CA;
	border-radius: 16px;
	padding: 20px;
	display: grid;
	gap: 14px;
	box-shadow: 0 1px 0 rgba(18, 20, 28, 0.04), 0 12px 32px -16px rgba(18, 20, 28, 0.18);
}
.pluginora-waitlist label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
.pluginora-waitlist .pw-optional { font-weight: 400; color: var(--wp--preset--color--muted); }
.pluginora-waitlist input[type="email"],
.pluginora-waitlist textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 16px;
	border: 1px solid #D9D5CA;
	border-radius: 10px;
	padding: 12px 14px;
	color: var(--wp--preset--color--ink);
	background: #fff;
}
.pluginora-waitlist input:focus-visible,
.pluginora-waitlist textarea:focus-visible,
.pluginora-waitlist button:focus-visible { outline: 3px solid var(--wp--preset--color--mint); outline-offset: 2px; }
.pluginora-waitlist fieldset { border: 0; margin: 0; padding: 0; }
.pluginora-waitlist legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.pluginora-waitlist .pw-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.pluginora-waitlist .pw-roles label {
	display: inline-flex; align-items: center; gap: 8px; margin: 0;
	font-weight: 500; border: 1px solid #D9D5CA; border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 24px;
}
.pluginora-waitlist .pw-roles input { accent-color: var(--wp--preset--color--deep-green); }
.pluginora-waitlist .pw-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--wp--preset--color--body); margin: 0; }
.pluginora-waitlist .pw-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--wp--preset--color--deep-green); flex-shrink: 0; }
.pluginora-waitlist button {
	font: inherit; font-weight: 600; font-size: 16px;
	background: var(--wp--preset--color--deep-green); color: #fff;
	border: 0; border-radius: 10px; padding: 14px 22px; cursor: pointer; justify-self: start; min-height: 48px;
}
.pluginora-waitlist button:hover { background: #075A3E; }
.pluginora-waitlist .pw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pluginora-waitlist-message { border-radius: 12px; padding: 14px 16px; font-weight: 600; margin: 0 0 14px; }
.pluginora-waitlist-message.is-success { background: var(--wp--preset--color--mint-tint); color: #075A3E; }
.pluginora-waitlist-message.is-error { background: #FDE7E4; color: #9B1C10; }

/* Footer */
.pg-footer a { color: var(--wp--preset--color--mist); }
.pg-footer a:hover { color: #fff; }

/* Full-width sections sit flush against each other */
.wp-site-blocks > main,
.wp-site-blocks > footer { margin-block-start: 0; }
