/*
 Theme Name:   Growth Plugins
 Theme URI:    https://growthplugins.com
 Description:  Child theme de Astra para Growth Plugins — WordPress Apps for Agencies
 Author:       Antonio Blanco
 Author URI:   https://growthplugins.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  growthplugins
*/

/* ============================================
   DESIGN TOKENS — Growth Plugins
   Based on Pencil design spec
   ============================================ */

:root {
	/* Colors */
	--gp-primary: #2563EB;
	--gp-primary-hover: #1d4ed8;
	--gp-green: #22C55E;
	--gp-green-light: #F0FDF4;
	--gp-cyan-light: #ECFEFF;
	--gp-cyan-border: #A5F3FC;
	--gp-dark: #18181B;
	--gp-text: #18181B;
	--gp-text-secondary: #71717A;
	--gp-text-muted: #A1A1AA;
	--gp-border: #E4E4E7;
	--gp-border-light: #D4D4D8;
	--gp-bg: #FFFFFF;
	--gp-bg-light: #FAFAFA;
	--gp-footer-bg: #18181B;
	--gp-footer-sep: #27272A;

	/* Typography */
	--gp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Spacing */
	--gp-section-padding: 80px;
	--gp-header-v-padding: 16px;
	--gp-header-h-padding: 80px;
	--gp-hero-v-padding: 96px;
	--gp-footer-v-padding: 48px;

	/* Border Radius */
	--gp-radius-sm: 8px;
	--gp-radius-md: 10px;
	--gp-radius-lg: 12px;
	--gp-radius-xl: 16px;
	--gp-radius-full: 100px;
}

/* ============================================
   GLOBAL RESETS
   ============================================ */

body {
	font-family: var(--gp-font);
	color: var(--gp-text);
	background: var(--gp-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Override Astra defaults */
.ast-container {
	max-width: 1440px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, .gp-headline {
	font-family: var(--gp-font);
	font-size: 56px;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1.1;
	color: var(--gp-text);
}

h2, .gp-section-title {
	font-family: var(--gp-font);
	font-size: 32px;
	font-weight: 600;
	color: var(--gp-text);
}

h3 {
	font-family: var(--gp-font);
	font-size: 18px;
	font-weight: 600;
	color: var(--gp-text);
}

p {
	font-family: var(--gp-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gp-text-secondary);
}

/* ============================================
   HEADER
   ============================================ */

.ast-primary-header-bar,
.site-header {
	background: var(--gp-bg) !important;
	border-bottom: 1px solid var(--gp-border) !important;
	padding: var(--gp-header-v-padding) var(--gp-header-h-padding) !important;
}

.site-branding .site-title a,
.site-branding .ast-site-title-wrap a {
	font-family: var(--gp-font);
	font-size: 20px;
	font-weight: 700;
	color: var(--gp-text) !important;
}

.main-header-menu .menu-item > a {
	font-family: var(--gp-font);
	font-size: 14px;
	font-weight: 500;
	color: var(--gp-text-secondary) !important;
}

.main-header-menu .menu-item > a:hover {
	color: var(--gp-text) !important;
}

.ast-header-button-1 .ast-custom-button-link .ast-custom-button,
.ast-builder-menu .menu-item.gp-cta-btn a {
	background: var(--gp-primary) !important;
	color: #FFFFFF !important;
	font-family: var(--gp-font);
	font-size: 14px;
	font-weight: 600;
	padding: 10px 24px !important;
	border-radius: var(--gp-radius-sm) !important;
	border: none !important;
	transition: background 0.2s ease;
}

.ast-header-button-1 .ast-custom-button-link .ast-custom-button:hover {
	background: var(--gp-primary-hover) !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.wp-block-button .wp-block-button__link,
.gp-btn-primary {
	background: var(--gp-primary);
	color: #FFFFFF;
	font-family: var(--gp-font);
	font-size: 16px;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: var(--gp-radius-md);
	border: none;
	cursor: pointer;
	transition: background 0.2s ease;
	text-decoration: none;
	display: inline-block;
}

.wp-block-button .wp-block-button__link:hover,
.gp-btn-primary:hover {
	background: var(--gp-primary-hover);
	color: #FFFFFF;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.gp-btn-dark {
	background: var(--gp-dark);
	color: #FFFFFF;
	font-family: var(--gp-font);
	font-size: 18px;
	font-weight: 700;
	padding: 16px 0;
	border-radius: var(--gp-radius-md);
	border: none;
	text-align: center;
	width: 100%;
}

/* ============================================
   BADGE / PILL
   ============================================ */

.gp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-full);
	font-family: var(--gp-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--gp-text-secondary);
}

.gp-badge::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gp-green);
	flex-shrink: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.gp-hero {
	text-align: center;
	padding: var(--gp-hero-v-padding) var(--gp-section-padding);
	background: var(--gp-bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.gp-hero h1 {
	max-width: 900px;
}

.gp-hero .gp-subtitle {
	font-size: 22px;
	color: var(--gp-text-secondary);
}

.gp-hero .gp-desc {
	font-size: 18px;
	font-weight: 500;
	color: var(--gp-text-muted);
}

.gp-hero .gp-trust-line {
	font-size: 14px;
	color: var(--gp-text-muted);
	max-width: 700px;
}

.gp-cta-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gp-secondary-link {
	font-family: var(--gp-font);
	font-size: 15px;
	font-weight: 500;
	color: var(--gp-primary);
	text-decoration: none;
}

.gp-secondary-link:hover {
	text-decoration: underline;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.gp-how-it-works {
	background: var(--gp-green-light);
	padding: var(--gp-section-padding);
}

.gp-how-it-works h2 {
	margin-bottom: 48px;
}

.gp-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.gp-step-card {
	background: var(--gp-bg);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gp-step-number {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gp-primary);
	color: #FFFFFF;
	font-family: var(--gp-font);
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gp-step-card h3 {
	margin: 0;
}

.gp-step-card p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--gp-text-secondary);
	margin: 0;
}

/* ============================================
   WHY SECTION
   ============================================ */

.gp-why-section {
	background: var(--gp-bg);
	padding: var(--gp-section-padding);
}

.gp-why-content {
	display: grid;
	grid-template-columns: 1fr 480px;
	gap: 48px;
	margin-top: 32px;
}

.gp-why-left p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.gp-why-left p.gp-highlight {
	color: var(--gp-text);
	font-weight: 500;
}

.gp-why-left .gp-author {
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-primary);
	margin-bottom: 20px;
}

.gp-why-right {
	background: var(--gp-green-light);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-lg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	height: 320px;
}

.gp-why-right svg {
	width: 64px;
	height: 64px;
	color: var(--gp-green);
}

.gp-why-right p {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
}

/* ============================================
   APPS SECTION
   ============================================ */

.gp-apps-section {
	background: var(--gp-bg-light);
	padding: var(--gp-section-padding);
	text-align: center;
}

.gp-apps-section h2 {
	margin-bottom: 48px;
}

.gp-apps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	text-align: center;
}

.gp-app-card {
	background: var(--gp-bg);
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-lg);
	overflow: hidden;
}

.gp-app-card-img {
	height: 200px;
	background: var(--gp-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 500;
	color: var(--gp-text-muted);
}

.gp-app-card-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.gp-app-card-content h3 {
	text-align: center;
}

.gp-app-card-content p {
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.gp-pricing {
	background: var(--gp-bg);
	padding: var(--gp-section-padding);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.gp-pricing-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.gp-pricing h2 {
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.gp-pricing .gp-pricing-subtitle {
	font-size: 18px;
	color: var(--gp-text-secondary);
}

.gp-pricing-card {
	background: var(--gp-cyan-light);
	border: 1.5px solid var(--gp-cyan-border);
	border-radius: var(--gp-radius-xl);
	padding: 40px;
	max-width: 480px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;
	text-align: left;
}

.gp-pricing-card-header h3 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 8px 0;
}

.gp-pricing-card-header p {
	font-size: 16px;
	font-weight: 600;
	color: var(--gp-text);
	margin: 0;
}

.gp-pricing-card hr {
	border: none;
	height: 1px;
	background: var(--gp-cyan-border);
	margin: 0;
}

.gp-pricing-features {
	display: flex;
	flex-direction: column;
	gap: 14px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.gp-pricing-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--gp-font);
	font-size: 15px;
	color: var(--gp-text);
}

.gp-pricing-features li svg,
.gp-pricing-features li::before {
	color: var(--gp-primary);
	flex-shrink: 0;
}

.gp-pricing-note {
	font-size: 14px;
	color: var(--gp-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer,
.gp-footer {
	background: var(--gp-footer-bg) !important;
	padding: var(--gp-footer-v-padding) var(--gp-section-padding) !important;
	color: var(--gp-border-light);
}

.gp-footer-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 32px;
}

.gp-footer-brand {
	max-width: 320px;
}

.gp-footer-brand-name {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.gp-footer-brand-name::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gp-green);
}

.gp-footer-brand-name span {
	font-family: var(--gp-font);
	font-size: 18px;
	font-weight: 700;
	color: #FFFFFF;
}

.gp-footer-brand p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--gp-text-muted);
}

.gp-footer-links {
	display: flex;
	gap: 64px;
}

.gp-footer-col h4 {
	font-family: var(--gp-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gp-text-muted);
	margin-bottom: 14px;
}

.gp-footer-col a {
	display: block;
	font-family: var(--gp-font);
	font-size: 14px;
	color: var(--gp-border-light);
	text-decoration: none;
	margin-bottom: 14px;
}

.gp-footer-col a:hover {
	color: #FFFFFF;
}

.gp-footer-separator {
	height: 1px;
	background: var(--gp-footer-sep);
	margin-bottom: 32px;
}

.gp-footer-bottom {
	display: flex;
	justify-content: space-between;
	font-family: var(--gp-font);
	font-size: 13px;
	color: var(--gp-text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
	:root {
		--gp-section-padding: 48px;
		--gp-header-h-padding: 24px;
	}

	h1, .gp-headline {
		font-size: 40px;
	}

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

	.gp-why-content {
		grid-template-columns: 1fr;
	}

	.gp-why-right {
		height: 240px;
	}

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

	.gp-footer-top {
		flex-direction: column;
		gap: 48px;
	}
}

@media (max-width: 768px) {
	:root {
		--gp-section-padding: 32px;
		--gp-hero-v-padding: 64px;
	}

	h1, .gp-headline {
		font-size: 32px;
		letter-spacing: -0.5px;
	}

	h2, .gp-section-title {
		font-size: 24px;
	}

	.gp-hero .gp-subtitle {
		font-size: 18px;
	}

	.gp-steps-grid,
	.gp-apps-grid {
		grid-template-columns: 1fr;
	}

	.gp-cta-row {
		flex-direction: column;
	}

	.gp-footer-links {
		flex-direction: column;
		gap: 32px;
	}

	.gp-footer-bottom {
		flex-direction: column;
		gap: 8px;
	}

	.gp-pricing-card {
		padding: 24px;
	}
}
