/**
 * Main Site Pages Styles
 * Styles for Home, About, and other main site marketing pages
 *
 * @package DigitalAllotment\PlatformManagement
 * @since 1.0.0
 */

/* ==========================================================================
	HOME PAGE STYLES
	========================================================================== */

.platform-home {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* CSS Variables */
:root {
	--primary-color: var(--color-primary-green);
	--secondary-color: var(--color-primary-green);
	--text-dark: #333;
	--text-medium: #555;
	--text-light: #777;
	--background-light: #f0f7f0;
	--background-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	--white: #ffffff;
	--border-color: var(--color-border-light);
	--shadow-light: rgba(0,0,0,0.08);
	--shadow-medium: rgba(0,0,0,0.15);
}

/* Hero Section */
.platform-home .hero-section {
	text-align: center;
	padding: 60px 20px;
	background: var(--background-gradient);
	color: var(--white);
	border-radius: 12px;
	margin-bottom: 50px;
}
.platform-home .hero-section h1 {
	font-size: 2.8rem;
	margin-bottom: 15px;
	font-weight: 700;
	color: var(--white);
}

.platform-home .hero-section .hero-subtitle {
	font-size: 1.4rem;
	max-width: 700px;
	margin: 0 auto 20px;
	opacity: 0.95;
}

.platform-home .hero-section .hero-social-proof {
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto 30px;
	opacity: 0.85;
}

.platform-home .hero-section .btn-hero {
	display: inline-block;
	background: var(--white);
	color: var(--secondary-color);
	padding: 18px 45px;
	font-size: 1.2rem;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: transform 0.2s, box-shadow 0.2s;
}
.platform-home .hero-section .btn-hero:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.platform-home .hero-section .hero-note {
	margin-top: 15px;
	font-size: 0.95em;
	opacity: 0.8;
}

/* Problem Statement */
.platform-home .problem-section {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 50px;
}

.platform-home .problem-section h2 {
	color: var(--secondary-color);
	margin-bottom: 15px;
}

.platform-home .problem-section p {
	font-size: 1.15rem;
	color: var(--text-medium);
	line-height: 1.7;
}

/* Features Section */
.platform-home .features-title {
	text-align: center;
	margin-bottom: 35px;
	color: var(--text-dark);
}
.platform-home .benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-bottom: 50px;
}

.platform-home .benefit-card {
	background: #fff;
	padding: 28px;
	border-radius: 10px;
	border-left: 5px solid #4a7c4e;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.platform-home .benefit-card h3 {
	color: var(--secondary-color);
	margin-top: 0;
	font-size: 1.25rem;
}

.platform-home .benefit-card p {
	color: var(--text-medium);
	line-height: 1.6;
	margin-bottom: 0;
}
/* Social Proof / Testimonials */
.platform-home .social-proof-section {
	background: #f0f7f0;
	padding: 40px 30px;
	border-radius: 12px;
	margin-bottom: 50px;
	text-align: center;
}

.platform-home .social-proof-section h2 {
	color: var(--color-primary-green);
	margin-top: 0;
}

.platform-home .testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.platform-home .testimonial-card {
	background: white;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.platform-home .testimonial-card .testimonial-quote {
	font-style: italic;
	color: var(--text-secondary);
	margin-bottom: 15px;
}

.platform-home .testimonial-card .testimonial-author {
	color: var(--color-primary-green);
	font-weight: bold;
}

.platform-home .testimonial-card .testimonial-location {
	font-size: 0.9em;
	color: var(--text-secondary);
}

/* Why Choose Section */
.platform-home .why-section {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	padding: 45px 35px;
	border-radius: 12px;
	margin-bottom: 50px;
}

.platform-home .why-section h2 {
	text-align: center;
	color: var(--color-primary-green);
	margin-top: 0;
}

.platform-home .why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.platform-home .why-item {
	text-align: center;
}

.platform-home .why-item .why-icon {
	font-size: 2.5em;
	margin-bottom: 10px;
}

/*
 * Inline-SVG flag in the why-icon position. Matches the visual weight of the
 * other emoji icons in the row (font-size: 2.5em + 1em-square SVG renders at
 * 2.5em) and adds a hairline frame so it reads as a flag rather than a flat
 * blue block on the pale-green card. aria-label sits on the <svg> itself.
 */
.platform-home .why-item .why-icon--flag {
	line-height: 1;
}

.platform-home .why-item .why-icon--flag svg {
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
	vertical-align: middle;
}

.platform-home .why-item strong {
	font-size: 1.15em;
	color: var(--color-primary-green);
}

.platform-home .why-item p {
	color: var(--text-secondary);
	margin-top: 8px;
}

/* Pricing Section */
.platform-home .pricing-section {
	text-align: center;
	margin-bottom: 50px;
	padding: 35px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.platform-home .pricing-section h2 {
	color: var(--color-primary-green);
	margin-top: 0;
}

.platform-home .pricing-section .pricing-intro {
	font-size: 1.1em;
	color: var(--text-secondary);
	margin-bottom: 25px;
}

.platform-home .pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	max-width: 700px;
	margin: 0 auto;
}

.platform-home .pricing-card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.platform-home .pricing-card.featured {
	background: #2c5530;
	border: 2px solid #1e3a22;
	color: #ffffff;
}

.platform-home .pricing-card.featured .plan-name,
.platform-home .pricing-card.featured .plan-price,
.platform-home .pricing-card.featured .plan-price span,
.platform-home .pricing-card.featured .plan-limit {
	color: #ffffff;
}

.platform-home .pricing-card .plan-name {
	color: var(--color-primary-green);
	font-weight: bold;
}

.platform-home .pricing-card .plan-price {
	font-size: 1.8em;
	font-weight: bold;
	color: var(--text-primary);
	margin: 10px 0;
}

.platform-home .pricing-card .plan-price span {
	font-size: 0.5em;
	font-weight: normal;
}

.platform-home .pricing-card .plan-limit {
	color: var(--text-secondary);
	font-size: 0.9em;
}

.platform-home .pricing-section .pricing-note {
	margin-top: 20px;
	color: var(--text-secondary);
	font-size: 0.95em;
}

/* CTA Section */
.platform-home .cta-section {
	text-align: center;
	padding: 50px 30px;
	background: linear-gradient(135deg, #2d5a30 0%, #1a3a1c 100%);
	color: white;
	border-radius: 12px;
}

.platform-home .cta-section h2 {
	margin-top: 0;
	font-size: 2em;
	color: white;
}

.platform-home .cta-section .cta-subtitle {
	font-size: 1.2em;
	margin-bottom: 30px;
	opacity: 0.9;
}

.platform-home .cta-section .btn-cta {
	display: inline-block;
	background: white;
	color: var(--color-primary-green);
	padding: 18px 50px;
	font-size: 1.25em;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	transition: transform 0.2s, box-shadow 0.2s;
}

.platform-home .cta-section .btn-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.platform-home .cta-section .cta-contact {
	margin-top: 20px;
	font-size: 0.95em;
	opacity: 0.8;
}

.platform-home .cta-section .cta-contact a {
	color: white;
}

/* ==========================================================================
	ABOUT PAGE STYLES
	========================================================================== */

.about-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* About Hero */
.about-page .hero-section {
	text-align: center;
	padding: 50px 20px;
	background: linear-gradient(135deg, #4a7c4e 0%, #2d5a30 100%);
	color: white;
	border-radius: 12px;
	margin-bottom: 50px;
}

.about-page .hero-section h1 {
	font-size: 2.5em;
	margin-bottom: 15px;
	color: white;
}

.about-page .hero-section .hero-subtitle {
	font-size: 1.3em;
	max-width: 700px;
	margin: 0 auto;
	opacity: 0.95;
}

/* Story Section */
.about-page .story-section {
	max-width: 800px;
	margin: 0 auto 50px;
}

.about-page .story-section h2 {
	color: var(--color-primary-green);
}

.about-page .story-section p {
	font-size: 1.1em;
	line-height: 1.8;
	color: var(--text-secondary);
}

/* Mission Section */
.about-page .mission-section {
	background: #f0f7f0;
	padding: 40px;
	border-radius: 12px;
	margin-bottom: 50px;
}

.about-page .mission-section .mission-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.about-page .mission-section h2 {
	color: var(--color-primary-green);
	margin-top: 0;
}

.about-page .mission-section p {
	font-size: 1.25em;
	line-height: 1.7;
	color: var(--text-secondary);
}

/* Values Section */
.about-page .values-section {
	max-width: 900px;
	margin: 0 auto 50px;
}

.about-page .values-section h2 {
	color: var(--color-primary-green);
	text-align: center;
	margin-bottom: 35px;
}

.about-page .values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.about-page .value-card {
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.about-page .value-card h3 {
	color: var(--color-primary-green);
	margin-top: 0;
}

.about-page .value-card p {
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 0;
}

/* UK Section */
.about-page .uk-section {
	background: #fff;
	padding: 40px;
	border-radius: 12px;
	margin-bottom: 50px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.about-page .uk-section .uk-content {
	max-width: 800px;
	margin: 0 auto;
}

.about-page .uk-section h2 {
	color: var(--color-primary-green);
	text-align: center;
}

.about-page .uk-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 25px;
	margin-top: 30px;
	text-align: center;
}

.about-page .uk-item strong {
	color: var(--color-primary-green);
	font-size: 1.1em;
}

.about-page .uk-item p {
	color: var(--text-secondary);
	margin-top: 8px;
}

/* Contact CTA */
.about-page .contact-cta {
	text-align: center;
	padding: 45px 30px;
	background: linear-gradient(135deg, #2d5a30 0%, #1a3a1c 100%);
	color: white;
	border-radius: 12px;
}

.about-page .contact-cta h2 {
	margin-top: 0;
	color: white;
}

.about-page .contact-cta .cta-subtitle {
	font-size: 1.15em;
	margin-bottom: 25px;
	opacity: 0.9;
}

.about-page .contact-cta .btn-cta {
	display: inline-block;
	background: white;
	color: var(--color-primary-green);
	padding: 15px 40px;
	font-size: 1.15em;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	transition: transform 0.2s, box-shadow 0.2s;
}

.about-page .contact-cta .btn-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.about-page .contact-cta .cta-tagline {
	font-size: 1.2em;
	margin: 25px 0;
	color: white;
}

.about-page .contact-cta .btn-contact {
	margin-bottom: 1rem;
}

.about-page .contact-cta .btn-secondary {
	background: transparent;
	border: 2px solid white;
	color: white;
}

/* Journey Section (Going Digital - The Hard Way) */
.about-page .journey-section {
	max-width: 800px;
	margin: 0 auto 50px;
	padding: 35px;
	background: #fff8e1;
	border-radius: 12px;
	border-left: 5px solid #f9a825;
}

.about-page .journey-section h2 {
	color: var(--color-alert-warning-text);
	margin-top: 0;
}

.about-page .journey-section p {
	font-size: 1.1em;
	line-height: 1.8;
	color: var(--text-secondary);
}

/* Features Section (What We Built) */
.about-page .features-section {
	max-width: 800px;
	margin: 0 auto 50px;
	padding: 40px;
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	border-radius: 12px;
}

.about-page .features-section h2 {
	color: var(--color-primary-green);
	margin-top: 0;
	text-align: center;
}

.about-page .features-section p {
	font-size: 1.1em;
	line-height: 1.7;
	color: var(--text-secondary);
	text-align: center;
}

.about-page .features-section .features-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px 30px;
	list-style: none;
	padding: 0;
	margin: 25px 0;
}

.about-page .features-section .features-list li {
	position: relative;
	padding-left: 25px;
	color: var(--text-primary);
	font-size: 1.05em;
}

.about-page .features-section .features-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--color-primary-green);
	font-weight: bold;
}

.about-page .features-section .features-tagline {
	font-weight: bold;
	color: var(--color-primary-green);
	margin-top: 20px;
	font-size: 1.15em;
}

/* Experience Section (Built From Real Experience) */
.about-page .experience-section {
	max-width: 800px;
	margin: 0 auto 50px;
	text-align: center;
}

.about-page .experience-section h2 {
	color: var(--color-primary-green);
}

.about-page .experience-section p {
	font-size: 1.1em;
	line-height: 1.7;
	color: var(--text-secondary);
}

.about-page .experience-section blockquote {
	font-size: 1.3em;
	font-style: italic;
	color: var(--color-primary-green);
	margin: 25px auto;
	padding: 20px 30px;
	background: #f0f7f0;
	border-left: 4px solid #4a7c4e;
	border-radius: 0 8px 8px 0;
	max-width: 500px;
}

/* List styling for story/journey sections */
.about-page .story-section ul,
.about-page .journey-section ul {
	margin: 15px 0 20px 25px;
	line-height: 1.8;
}

.about-page .story-section ul li,
.about-page .journey-section ul li {
	color: var(--text-secondary);
	margin-bottom: 8px;
}

/* Funding Section (A Reality Check) */
.about-page .funding-section {
	max-width: 800px;
	margin: 0 auto 50px;
	padding: 35px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	border-top: 4px solid #4a7c4e;
}

.about-page .funding-section h2 {
	color: var(--color-primary-green);
	margin-top: 0;
}

.about-page .funding-section h3 {
	color: var(--color-primary-green);
	margin-top: 25px;
}

.about-page .funding-section p {
	font-size: 1.1em;
	line-height: 1.8;
	color: var(--text-secondary);
}

.about-page .funding-section ul {
	margin: 15px 0 20px 25px;
	line-height: 1.8;
}

.about-page .funding-section ul li {
	color: var(--text-secondary);
	margin-bottom: 8px;
}

.about-page .funding-section .funding-tagline {
	font-weight: bold;
	color: var(--color-primary-green);
	font-size: 1.15em;
	margin-top: 20px;
}

/* ==========================================================================
	AFFORDABILITY CALCULATOR PAGE STYLES
	========================================================================== */

.calculator-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}

/* Calculator Hero */
.calculator-page .hero-section {
	text-align: center;
	padding: 50px 30px;
	background: linear-gradient(135deg, #4a7c4e 0%, #2d5a30 100%);
	color: white;
	border-radius: 12px;
	margin-bottom: 40px;
}

.calculator-page .hero-section h1 {
	font-size: 2.2em;
	margin-bottom: 15px;
	color: white;
}

.calculator-page .hero-section .hero-subtitle {
	font-size: 1.2em;
	max-width: 600px;
	margin: 0 auto;
	opacity: 0.95;
}

/* Calculator Section */
.calculator-page .calculator-section {
	background: #fff;
	padding: 35px;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	margin-bottom: 40px;
}

.calculator-page .calculator-section h2 {
	color: var(--color-primary-green);
	margin-top: 0;
	text-align: center;
}

.calculator-page .calc-intro {
	text-align: center;
	color: var(--text-secondary);
	margin-bottom: 30px;
}

/* Calculator Form */
.calculator-page .calculator-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.calculator-page .calc-group {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
}

.calculator-page .calc-group label {
	display: block;
	font-weight: bold;
	color: var(--text-primary);
	margin-bottom: 10px;
}

.calculator-page .calc-input {
	width: 100%;
	padding: 12px 15px;
	font-size: 1.1em;
	border: 2px solid #ddd;
	border-radius: 6px;
	box-sizing: border-box;
}

.calculator-page .calc-input:focus {
	border-color: var(--color-primary-green);
}

.calculator-page .calc-group small {
	display: block;
	margin-top: 8px;
	color: var(--text-secondary);
	font-size: 0.9em;
}

/* Calculator Results */
.calculator-page .calc-results {
	margin-top: 30px;
}

.calculator-page .calc-result-box {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	padding: 30px;
	border-radius: 10px;
	border: 2px solid #4a7c4e;
}

.calculator-page .calc-result-box h3 {
	color: var(--color-primary-green);
	margin-top: 0;
	text-align: center;
	font-size: 1.4em;
}

.calculator-page .result-breakdown {
	max-width: 400px;
	margin: 0 auto;
}

.calculator-page .result-line {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	color: var(--text-secondary);
}

.calculator-page .result-total {
	display: flex;
	justify-content: space-between;
	padding: 15px 0 0;
	font-size: 1.3em;
	font-weight: bold;
	color: var(--color-primary-green);
}

/* Reframe Section */
.calculator-page .reframe-section {
	background: #fff8e1;
	padding: 35px;
	border-radius: 12px;
	border-left: 5px solid #f9a825;
	margin-bottom: 40px;
}

.calculator-page .reframe-section h2 {
	color: var(--color-alert-warning-text);
	margin-top: 0;
	text-align: center;
}

.calculator-page .reframe-intro {
	text-align: center;
	color: var(--text-secondary);
	margin-bottom: 25px;
	font-size: 1.1em;
}

/* Opportunity Box */
.calculator-page .opportunity-box {
	background: white;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 25px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.calculator-page .opportunity-box h3 {
	color: var(--color-primary-green);
	margin-top: 0;
}

.calculator-page .opportunity-box p {
	color: var(--text-secondary);
	line-height: 1.7;
}

/* Waiting Fee Slider */
.calculator-page .waiting-fee-calc {
	margin: 25px 0;
	padding: 20px;
	background: #f0f7f0;
	border-radius: 8px;
}

.calculator-page .waiting-fee-calc label {
	display: block;
	font-weight: bold;
	color: var(--text-primary);
	margin-bottom: 15px;
}

.calculator-page .fee-slider-wrapper {
	display: flex;
	align-items: center;
	gap: 20px;
}

.calculator-page .fee-slider {
	flex: 1;
	height: 8px;
	-webkit-appearance: none;
	appearance: none;
	background: #ddd;
	border-radius: 4px;
	cursor: pointer;
}

.calculator-page .fee-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	background: #4a7c4e;
	border-radius: 50%;
	cursor: pointer;
}

.calculator-page .fee-slider::-moz-range-thumb {
	width: 24px;
	height: 24px;
	background: #4a7c4e;
	border-radius: 50%;
	cursor: pointer;
	border: none;
}

.calculator-page .fee-display {
	font-size: 1.3em;
	font-weight: bold;
	color: var(--color-primary-green);
	min-width: 100px;
	text-align: right;
}

/* Opportunity Results */
.calculator-page .opportunity-results {
	background: #e8f5e9;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
}

.calculator-page .opportunity-line {
	font-size: 1.1em;
	color: var(--text-secondary);
}

.calculator-page .opportunity-line strong {
	font-size: 1.3em;
	color: var(--color-primary-green);
}

/* Net Result Box */
.calculator-page .net-result-box {
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.calculator-page .net-result-box h3 {
	color: var(--color-primary-green);
	margin-top: 0;
	text-align: center;
}

.calculator-page .net-calculation {
	max-width: 350px;
	margin: 0 auto;
}

.calculator-page .net-line {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
	color: var(--text-secondary);
}

.calculator-page .net-line.positive {
	color: var(--color-primary-green);
}

.calculator-page .net-total {
	display: flex;
	justify-content: space-between;
	padding: 15px 0 0;
	font-size: 1.4em;
	font-weight: bold;
}

.calculator-page .net-total.positive {
	color: var(--color-primary-green);
}

.calculator-page .net-total.negative {
	color: var(--color-alert-danger-text);
}

.calculator-page .net-note {
	text-align: center;
	color: var(--text-secondary);
	margin-top: 20px;
	font-style: italic;
}

/* Benefits Section */
.calculator-page .benefits-section {
	margin-bottom: 40px;
}

.calculator-page .benefits-section h2 {
	color: var(--color-primary-green);
	text-align: center;
	margin-bottom: 30px;
}

.calculator-page .benefits-grid-small {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.calculator-page .benefit-item {
	background: #fff;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.calculator-page .benefit-item strong {
	color: var(--color-primary-green);
	font-size: 1.1em;
}

.calculator-page .benefit-item p {
	color: var(--text-secondary);
	margin-top: 10px;
	line-height: 1.6;
}

/* Evidence Section */
.calculator-page .evidence-section {
	background: #fff;
	padding: 35px;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	margin-bottom: 40px;
}

.calculator-page .evidence-section h2 {
	color: var(--color-primary-green);
	text-align: center;
	margin-top: 0;
}

.calculator-page .evidence-table-wrapper {
	overflow-x: auto;
}

.calculator-page .evidence-table {
	width: 100%;
	border-collapse: collapse;
	margin: 25px 0;
}

.calculator-page .evidence-table th,
.calculator-page .evidence-table td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.calculator-page .evidence-table th {
	font-weight: bold;
}

.calculator-page .evidence-table tr:hover {
	background: #fafafa;
}

.calculator-page .evidence-note {
	text-align: center;
	color: var(--text-secondary);
	font-style: italic;
}

/* CTA Section */
.calculator-page .cta-section {
	text-align: center;
	padding: 50px 30px;
	background: linear-gradient(135deg, #2d5a30 0%, #1a3a1c 100%);
	color: white;
	border-radius: 12px;
}

.calculator-page .cta-section h2 {
	margin-top: 0;
	font-size: 2em;
	color: white;
}

.calculator-page .cta-section .cta-subtitle {
	font-size: 1.2em;
	margin-bottom: 30px;
	opacity: 0.9;
}

.calculator-page .cta-section .btn-cta {
	display: inline-block;
	background: white;
	color: var(--color-primary-green);
	padding: 18px 50px;
	font-size: 1.25em;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	transition: transform 0.2s, box-shadow 0.2s;
}

.calculator-page .cta-section .btn-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.calculator-page .cta-section .cta-contact {
	margin-top: 20px;
	font-size: 0.95em;
	opacity: 0.8;
}

.calculator-page .cta-section .cta-contact a {
	color: white;
}

/* Calculator Card on Homepage */
.platform-home .pricing-card.calculator-card {
	background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
	border: 2px solid #f9a825;
}

.platform-home .pricing-card .btn-calculator {
	display: inline-block;
	/* WCAG 2.2 AA: white on #a86700 = 4.62:1 (was #f9a825 = 1.97:1, fail).
	   Kept warm amber tone, darkened for AA. */
	background: #a86700;
	color: white;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	margin-top: auto;
	transition: background 0.2s;
	align-self: center;
}

.platform-home .pricing-card .btn-calculator:hover {
	background: #8a5300;
}

/*
 * Secondary CTA used on the Base Platform + Optional Modules cards
 * ("See What's Included" + "Browse Modules"). margin-top:auto anchors it
 * to the bottom of the flex column so all three cards line up vertically
 * when the grid stretches them to equal height. Visual weight is lower
 * than .btn-calculator so the calculator card stays the primary action.
 */
.platform-home .pricing-card .btn-pricing-card {
	display: inline-block;
	margin-top: auto;
	padding: 8px 16px;
	background: transparent;
	color: var(--color-primary-green);
	border: 1px solid var(--color-primary-green);
	border-radius: 5px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9em;
	align-self: center;
	transition: background 0.2s, color 0.2s;
}

.platform-home .pricing-card .btn-pricing-card:hover,
.platform-home .pricing-card .btn-pricing-card:focus {
	background: var(--color-primary-green);
	color: #ffffff;
}

/*
 * On the featured (dark green) card, invert the secondary CTA so it has
 * AA-safe contrast against the dark background.
 */
.platform-home .pricing-card.featured .btn-pricing-card {
	color: #ffffff;
	border-color: #ffffff;
}

.platform-home .pricing-card.featured .btn-pricing-card:hover,
.platform-home .pricing-card.featured .btn-pricing-card:focus {
	background: #ffffff;
	color: var(--color-primary-green);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.calculator-page .hero-section h1 {
		font-size: 1.8em;
	}

	.calculator-page .calculator-form {
		grid-template-columns: 1fr;
	}

	.calculator-page .fee-slider-wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.calculator-page .fee-display {
		text-align: center;
	}

	.calculator-page .benefits-grid-small {
		grid-template-columns: 1fr;
	}
}

/* =============================================================================
	FEATURES PAGE STYLES
	============================================================================= */

.features-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem 3rem;
}

.features-page .hero-section {
	text-align: center;
	padding: 3rem 1rem 2rem;
	background: linear-gradient(135deg, var(--primary-color, var(--color-primary-green)) 0%, var(--secondary-color, #2c5530) 100%);
	color: #fff;
	border-radius: 12px;
	margin-bottom: 2rem;
}

.features-page .hero-section h1 {
	font-size: 2.2rem;
	margin-bottom: 0.75rem;
	color: #fff;
}

.features-page .hero-subtitle {
	font-size: 1.2rem;
	opacity: 0.95;
	max-width: 700px;
	margin: 0 auto;
}

/* Pricing Summary */
.features-page .pricing-summary {
	margin-bottom: 3rem;
}

.features-page .pricing-box {
	background: #f8faf6;
	border: 2px solid var(--primary-color, var(--color-primary-green));
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
}

.features-page .pricing-box h2 {
	color: var(--secondary-color, var(--color-primary-green));
	margin-bottom: 1.5rem;
}

.features-page .pricing-grid {
	display: flex;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.features-page .price-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.features-page .price-item .price {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color, var(--color-primary-green));
}

.features-page .price-item .period {
	font-size: 1rem;
	color: var(--text-secondary);
	margin-bottom: 0.25rem;
}

.features-page .price-item .label {
	font-weight: 600;
	/* WCAG 2.2 AA: --color-primary-green-dark #1b5e20 on #e8f0e4 = 6.04:1.
	   Was --secondary-color #2c5530 = 4.39:1 (just under 4.5:1). */
	color: var(--color-primary-green-dark);
	padding: 0.25rem 0.75rem;
	background: #e8f0e4;
	border-radius: 4px;
}

.features-page .pricing-note {
	color: var(--text-secondary);
	font-size: 0.95rem;
	margin-top: 1rem;
}

/* Feature Sections */
.features-page .features-section {
	margin-bottom: 3rem;
}

.features-page .features-section h2 {
	color: var(--secondary-color, var(--color-primary-green));
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--primary-color, var(--color-primary-green));
}

.features-page .section-intro {
	color: var(--text-secondary);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

/* Feature Grid */
.features-page .feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
}

/* Feature Cards */
.features-page .feature-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.5rem;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.features-page .feature-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: var(--primary-color, var(--color-primary-green));
}

.features-page .feature-icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.features-page .feature-card h3 {
	color: var(--secondary-color, var(--color-primary-green));
	font-size: 1.3rem;
	margin-bottom: 0.75rem;
}

.features-page .feature-card h4 {
	color: var(--secondary-color, var(--color-primary-green));
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
}

.features-page .what-it-does {
	margin-bottom: 0.75rem;
	line-height: 1.6;
}

.features-page .why-need-it {
	color: var(--text-secondary);
	line-height: 1.6;
	font-size: 0.95rem;
}

.features-page .feature-card strong {
	color: var(--secondary-color, var(--color-primary-green));
}

/* Module Categories */
.features-page .module-category {
	margin-bottom: 2.5rem;
}

.features-page .module-category h3 {
	color: var(--secondary-color, var(--color-primary-green));
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
}

.features-page .category-intro {
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

/* Comparison Section */
.features-page .comparison-section {
	background: #f5f5f5;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
}

.features-page .comparison-section h2 {
	text-align: center;
	border-bottom: none;
	margin-bottom: 1rem;
}

.features-page .comparison-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.features-page .comparison-item {
	background: #fff;
	border-radius: 8px;
	padding: 1.25rem;
	border-left: 4px solid #dc3545;
}

.features-page .comparison-item h4 {
	color: var(--color-alert-danger-border);
	margin-bottom: 0.5rem;
}

.features-page .comparison-item p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin: 0;
	line-height: 1.5;
}

.features-page .comparison-conclusion {
	text-align: center;
	font-size: 1.1rem;
	color: var(--secondary-color, var(--color-primary-green));
	font-weight: 500;
}

/* Features CTA */
.features-page .features-cta {
	text-align: center;
	background: linear-gradient(135deg, var(--primary-color, var(--color-primary-green)) 0%, var(--secondary-color, #2c5530) 100%);
	color: #fff;
	padding: 2.5rem 1.5rem;
	border-radius: 12px;
}

.features-page .features-cta h2 {
	color: #fff;
	border-bottom: none;
	margin-bottom: 0.75rem;
}

.features-page .features-cta p {
	opacity: 0.95;
	margin-bottom: 1.5rem;
}

.features-page .cta-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.features-page .btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.features-page .btn-large {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

.features-page .features-cta .btn {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: 2px solid #fff;
}

.features-page .features-cta .btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.features-page .features-cta .btn-primary {
	background: #fff;
	color: var(--primary-color, var(--color-primary-green));
	border-color: #fff;
}

.features-page .features-cta .btn-primary:hover {
	background: #f0f0f0;
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 480px) {
	.platform-home {
		padding: 10px;
	}

	.platform-home .hero-section {
		padding: 40px 15px;
		margin-bottom: 30px;
	}

	.platform-home .hero-section h1 {
		font-size: 2rem;
	}

	.platform-home .hero-section .hero-subtitle {
		font-size: 1.1rem;
	}

	.platform-home .benefits-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.platform-home .testimonials-grid {
		grid-template-columns: 1fr;
	}

	.platform-home .why-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.platform-home .pricing-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 481px) and (max-width: 768px) {
	.platform-home .hero-section h1 {
		font-size: 2.4rem;
	}

	.platform-home .benefits-grid {
		grid-template-columns: 1fr;
	}

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

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

	.platform-home .pricing-grid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.platform-home {
		padding: 15px;
	}

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

/* Mobile Responsive */
@media (max-width: 768px) {
	.features-page .hero-section h1 {
		font-size: 1.8rem;
	}

	.features-page .hero-subtitle {
		font-size: 1rem;
	}

	.features-page .pricing-grid {
		gap: 1.5rem;
	}

	.features-page .price-item .price {
		font-size: 2rem;
	}

	.features-page .feature-grid {
		grid-template-columns: 1fr;
	}

	.features-page .comparison-grid {
		grid-template-columns: 1fr;
	}

	.features-page .cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.features-page .btn-large {
		width: 100%;
		max-width: 300px;
		text-align: center;
	}

	.calculator-page .hero-section h1 {
		font-size: 1.8rem;
	}

	.calculator-page .calculator-form {
		grid-template-columns: 1fr;
	}

	.calculator-page .fee-slider-wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.calculator-page .fee-display {
		text-align: center;
	}

	.calculator-page .benefits-grid-small {
		grid-template-columns: 1fr;
	}

	.about-page .hero-section h1 {
		font-size: 2rem;
	}

	.about-page .values-grid {
		grid-template-columns: 1fr;
	}

	.about-page .uk-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}
}
/* ==========================================================================
	LOGIN PAGE STYLES
	========================================================================== */

.login-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-container {
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding: 40px;
}

.login-header {
	text-align: center;
	margin-bottom: 30px;
}

.login-header h1 {
	font-size: 1.8em;
	color: var(--color-primary-green);
	margin-bottom: 10px;
}

.login-subtitle {
	color: var(--text-secondary);
	font-size: 1em;
}

.login-message {
	text-align: center;
	padding: 20px 0;
}

.login-message p {
	margin-bottom: 15px;
}

.login-error {
	background: #fee2e2;
	border: 1px solid #ef4444;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	color: var(--color-alert-danger-text);
}

.login-error p {
	margin: 0;
}

/* Success message styling (password reset confirmation, etc.) */
.login-success {
	background: #ecfdf5;
	border: 1px solid #10b981;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	color: var(--color-alert-success-text);
}

.login-success p {
	margin: 0;
}

/* Form styling — applies to login, forgot-password, and reset-password forms */
.login-form-wrapper form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.login-form-wrapper form p {
	margin: 0;
}

.login-form-wrapper form label {
	display: block;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 6px;
}

.login-form-wrapper form input[type="text"],
.login-form-wrapper form input[type="password"] {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 1em;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.login-form-wrapper form input[type="text"]:focus,
.login-form-wrapper form input[type="password"]:focus {
	border-color: var(--color-primary-green);
	box-shadow: 0 0 0 3px rgba(74, 124, 78, 0.1);
	outline: none;
}

.login-form-wrapper form .forgetmenot {
	display: flex;
	align-items: center;
	gap: 8px;
}

.login-form-wrapper form .forgetmenot input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--color-primary-green);
}

.login-form-wrapper form input[type="submit"],
.login-page .btn-login {
	display: inline-block;
	width: 100%;
	padding: 14px 24px;
	background: linear-gradient(135deg, #4a7c4e 0%, #2d5a30 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1.1em;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	text-align: center;
	text-decoration: none;
}

.login-form-wrapper form input[type="submit"]:hover,
.login-page .btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(74, 124, 78, 0.3);
}

.login-links {
	text-align: center;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.login-links a {
	color: var(--color-primary-green);
	text-decoration: none;
	font-size: 0.95em;
}

.login-links a:hover {
	text-decoration: underline;
}

/* Mobile adjustments for login page */
@media (max-width: 480px) {
	.login-container {
		padding: 30px 20px;
	}

	.login-header h1 {
		font-size: 1.5em;
	}
}
/* Focus indicators for keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

/* WP Passkeys Pro — status container is hidden until JS populates it (C3: no inline style=) */
.wp-passkeys-status {
	display: none;
}

/* Accessibility: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
		scroll-behavior: auto;
	}
}
