/*
Theme Name: Astra Child Landing
Theme URI: https://wpastra.com/
Description: Custom Astra child theme for the MadeInProf landing page.
Author: MadeInProf
Template: astra
Version: 1.0.0
Text Domain: astra-child-landing
*/

:root {
	--brand-orange: #ea580c;
	--brand-orange-dark: #c2410c;
	--brand-orange-light: #fed7aa;
	--gray-50: #f8fafc;
	--gray-100: #f1f5f9;
	--gray-200: #e2e8f0;
	--gray-300: #cbd5f5;
	--gray-400: #94a3b8;
	--gray-500: #64748b;
	--gray-700: #334155;
	--gray-900: #0f172a;
	--surface-dark: #0f172a;
	--surface-light: #ffffff;
	--container-max: 1280px;
	--radius-md: 1rem;
	--radius-sm: 0.75rem;
	--radius-full: 999px;
	--shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
	--shadow-strong: 0 25px 60px rgba(15, 23, 42, 0.12);
	--transition: 200ms ease;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--gray-700);
	background-color: var(--surface-light);
	line-height: 1.6;
}

body.catalog-open {
	overflow: hidden;
}

#page {
	background-color: var(--surface-light);
}

.landing-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

#madeinprof-landing {
	min-height: 100vh;
	position: relative;
	background-color: var(--surface-light);
}

.landing-header {
	position: sticky;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--gray-100);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
	z-index: 100;
	backdrop-filter: blur(10px);
}

.landing-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	gap: 1.25rem;
}

.landing-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.landing-logo img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 0.75rem;
	box-shadow: var(--shadow-soft);
}

.landing-logo span {
	display: block;
	font-weight: 700;
	color: var(--gray-900);
	font-size: 1.5rem;
}

.landing-logo small {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gray-500);
}

.landing-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nav-item {
	position: relative;
}

.nav-link {
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--gray-700);
	padding: 0.5rem 0.25rem;
	border: none;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
	color: var(--brand-orange);
}

.nav-link svg {
	width: 16px;
	height: 16px;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	visibility: visible;
}

.nav-dropdown {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	width: 16rem;
	background: #fff;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-soft);
	border: 1px solid var(--gray-100);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	opacity: 0;
	transform: translateY(0.5rem);
	pointer-events: none;
	visibility: hidden;
	transition: all var(--transition);
	z-index: 5;
}

.nav-dropdown a {
	text-decoration: none;
	color: var(--gray-600);
	font-size: 0.9rem;
	padding: 0.45rem 0.75rem;
	border-radius: 0.5rem;
	transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
	background: var(--gray-100);
	color: var(--brand-orange);
}

.landing-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.btn-ghost,
.btn-primary,
.btn-outline {
	font-weight: 600;
	border-radius: 0.85rem;
	padding: 0.75rem 1.25rem;
	border: none;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), transform var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-ghost {
	background: var(--gray-100);
	color: var(--gray-700);
}

.btn-ghost:hover {
	background: var(--gray-200);
}

.btn-primary {
	background: var(--brand-orange);
	color: #fff;
	box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
	background: var(--brand-orange-dark);
	transform: translateY(-1px);
}

.btn-outline {
	border: 2px solid var(--gray-200);
	background: transparent;
	color: var(--gray-700);
}

.btn-outline:hover {
	border-color: var(--brand-orange);
	color: var(--brand-orange);
}

.landing-mobile-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 0.85rem;
	border: 1px solid var(--gray-200);
	background: #fff;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.landing-mobile-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--gray-900);
	position: relative;
	transition: transform var(--transition), opacity var(--transition);
}

.landing-mobile-toggle span::before,
.landing-mobile-toggle span::after {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background: var(--gray-900);
	transition: transform var(--transition);
}

.landing-mobile-toggle span::before {
	top: -6px;
}

.landing-mobile-toggle span::after {
	top: 6px;
}

.landing-mobile-toggle.is-open span {
	background: transparent;
}

.landing-mobile-toggle.is-open span::before {
	transform: translateY(6px) rotate(45deg);
}

.landing-mobile-toggle.is-open span::after {
	transform: translateY(-6px) rotate(-45deg);
}

.landing-mobile-panel {
	display: none;
	flex-direction: column;
	padding: 1rem 0;
	border-top: 1px solid var(--gray-100);
}

.landing-mobile-panel.is-open {
	display: flex;
}

.landing-mobile-panel a {
	padding: 0.65rem 0;
	text-decoration: none;
	color: var(--gray-700);
	font-weight: 500;
}

.landing-hero {
	padding: 7rem 0 4rem;
	background: linear-gradient(130deg, var(--gray-50), #fff 30%, #f7fafc 70%);
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 3rem;
	align-items: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.9rem;
	background: var(--brand-orange-light);
	color: var(--brand-orange-dark);
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 1.25rem;
}

.hero-title {
	font-size: clamp(2.5rem, 4vw, 3.75rem);
	line-height: 1.1;
	color: var(--gray-900);
	margin-bottom: 1.25rem;
}

.hero-title span {
	color: var(--brand-orange);
	display: block;
}

.hero-text {
	font-size: 1.15rem;
	color: var(--gray-600);
	margin-bottom: 2rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.metrics-card {
	background: var(--surface-dark);
	border-radius: var(--radius-md);
	padding: 2.5rem;
	color: #fff;
	box-shadow: var(--shadow-strong);
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 1.5rem;
	text-align: center;
}

.metrics-value {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.metrics-label {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.landing-section {
	padding: 4.5rem 0;
}

.landing-section--muted {
	background: var(--gray-50);
}

.section-heading {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3rem;
}

.section-heading h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: 0.75rem;
}

.section-heading p {
	font-size: 1.1rem;
	color: var(--gray-600);
}

.product-grid,
.solutions-grid,
.why-grid,
.support-grid,
.contact-grid {
	display: grid;
	gap: 1.5rem;
}

.product-grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.solutions-grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.support-grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.landing-card {
	background: #fff;
	border: 1px solid var(--gray-100);
	border-radius: var(--radius-md);
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.landing-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-soft);
	border-color: var(--brand-orange-light);
}

.icon-pill {
	width: 56px;
	height: 56px;
	border-radius: 1rem;
	background: var(--gray-100);
	color: var(--gray-700);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
}

.icon-pill svg {
	width: 28px;
	height: 28px;
	display: block;
}

.icon-pill--accent {
	background: rgba(234, 88, 12, 0.12);
	color: var(--brand-orange);
}

.landing-card h3 {
	font-size: 1.25rem;
	color: var(--gray-900);
	margin: 0;
}

.landing-card p {
	color: var(--gray-600);
	font-size: 0.95rem;
	margin: 0;
}

.feature-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: var(--gray-600);
}

.feature-list li::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--brand-orange);
	display: inline-flex;
}

.why-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cta-panel {
	background: var(--surface-dark);
	border-radius: var(--radius-md);
	padding: 2.75rem;
	color: #fff;
	box-shadow: var(--shadow-strong);
}

.cta-panel form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2rem;
}

.cta-panel input,
.cta-panel textarea,
.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 0.95rem;
}

.cta-panel input::placeholder,
.cta-panel textarea::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.cta-panel textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
	border: 1px solid var(--gray-200);
	background: #fff;
	color: var(--gray-700);
}

.contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-form label {
	font-weight: 600;
	color: var(--gray-700);
	margin-bottom: 0.35rem;
	display: block;
}

.contact-card {
	background: var(--gray-50);
	border-radius: var(--radius-md);
	padding: 1.5rem;
}

.contact-card h4 {
	margin: 0.5rem 0;
	color: var(--gray-900);
}

.landing-footer {
	background: var(--surface-dark);
	color: rgba(255, 255, 255, 0.8);
	padding: 3.5rem 0 2rem;
}

.footer-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h4 {
	color: #fff;
	margin-bottom: 1rem;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color var(--transition);
}

.footer-links a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.9rem;
}

.catalog-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), visibility var(--transition);
}

.catalog-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.catalog-panel {
	background: #fff;
	width: min(1200px, 100%);
	max-height: 90vh;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-strong);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.catalog-header {
	padding: 1.75rem;
	border-bottom: 1px solid var(--gray-100);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
}

.catalog-header h3 {
	margin: 0;
}

.catalog-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.catalog-search {
	position: relative;
}

.catalog-search input {
	padding: 0.65rem 0.9rem 0.65rem 2.5rem;
	border-radius: var(--radius-full);
	border: 1px solid var(--gray-200);
	min-width: 220px;
}

.catalog-search svg {
	position: absolute;
	top: 50%;
	left: 0.85rem;
	transform: translateY(-50%);
	color: var(--gray-400);
}

.catalog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.catalog-filter {
	padding: 0.55rem 1rem;
	border-radius: var(--radius-full);
	border: 1px solid var(--gray-200);
	background: #fff;
	color: var(--gray-600);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
}

.catalog-filter.is-active {
	background: var(--brand-orange);
	color: #fff;
	border-color: var(--brand-orange);
}

.catalog-content {
	padding: 1.75rem;
	overflow-y: auto;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}

.catalog-card {
	border: 1px solid var(--gray-100);
	border-radius: var(--radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.catalog-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.catalog-card__body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	height: 100%;
}

.catalog-price {
	font-weight: 700;
	color: var(--brand-orange);
}

.catalog-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.catalog-tag {
	font-size: 0.75rem;
	padding: 0.2rem 0.75rem;
	border-radius: var(--radius-full);
	background: var(--gray-100);
	color: var(--gray-600);
}

.catalog-footer {
	padding: 1.25rem 1.75rem;
	border-top: 1px solid var(--gray-100);
	text-align: right;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.8rem;
	padding: 0.2rem 0.7rem;
	border-radius: var(--radius-full);
}

.status-pill--success {
	background: rgba(34, 197, 94, 0.15);
	color: #15803d;
}

.status-pill--warning {
	background: rgba(245, 158, 11, 0.15);
	color: #b45309;
}

.badge-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.85rem;
	color: var(--gray-600);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 1024px) {
	.landing-nav {
		display: none;
	}

	.landing-header__actions {
		display: none;
	}

	.landing-mobile-toggle {
		display: inline-flex;
	}

	.landing-header__inner {
		padding: 0.75rem 0;
	}
}

@media (max-width: 768px) {
	.hero-actions {
		flex-direction: column;
	}

	.section-heading h2 {
		font-size: 2rem;
	}

	.catalog-panel {
		max-height: 95vh;
	}
}

