/**
 * KKASBS Pension Calculator Stylesheet
 * Strict Namespace: .kkpc-
 */

:root {
	--kkpc-primary: #0284c7;
	--kkpc-primary-hover: #0369a1;
	--kkpc-accent: #0f172a;
	--kkpc-bg: #ffffff;
	--kkpc-surface: #f8fafc;
	--kkpc-border: #e2e8f0;
	--kkpc-border-focus: #0284c7;
	--kkpc-text: #0f172a;
	--kkpc-text-muted: #64748b;
	--kkpc-error: #ef4444;
	--kkpc-success: #16a34a;
	--kkpc-radius: 8px;
	--kkpc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	--kkpc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* Ensure common WordPress theme content containers allow the 90% expansion */
.entry-content:has(#kkpc-app),
.entry-content:has(.kkpc-container),
.site-main:has(#kkpc-app),
.site-main:has(.kkpc-container),
.content-area:has(#kkpc-app),
.content-area:has(.kkpc-container),
.wp-block-post-content:has(#kkpc-app),
.wp-block-post-content:has(.kkpc-container),
article:has(#kkpc-app),
article:has(.kkpc-container),
.site-content:has(#kkpc-app),
.site-content:has(.kkpc-container),
.ast-container:has(#kkpc-app),
.ast-container:has(.kkpc-container) {
	max-width: 100% !important;
	overflow: visible !important;
}

/* If a theme sidebar exists, hide it so the calculator occupies the full centered width */
body:has(#kkpc-app) #secondary,
body:has(#kkpc-app) .widget-area,
body:has(#kkpc-app) .sidebar,
body:has(#kkpc-app) aside#secondary,
.site:has(#kkpc-app) #secondary,
.site:has(#kkpc-app) .widget-area,
.site:has(#kkpc-app) .sidebar {
	display: none !important;
}

body:has(#kkpc-app) #primary,
body:has(#kkpc-app) .content-area,
.site:has(#kkpc-app) #primary,
.site:has(#kkpc-app) .content-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.kkpc-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--kkpc-text);
	background: var(--kkpc-bg);
	border: 1px solid var(--kkpc-border);
	border-radius: 16px;
	padding: 24px;
	margin: 28px auto;
	width: 90vw !important;
	max-width: min(90vw, 1680px) !important;
	min-width: 320px;
	box-shadow: var(--kkpc-shadow);
	box-sizing: border-box !important;
	line-height: 1.6;
	font-size: 16px;
	position: relative !important;
	float: none !important;
	clear: both !important;
	display: block !important;
}

@media (max-width: 767px) {
	.kkpc-container {
		width: 96% !important;
		max-width: 96% !important;
		padding: 20px 14px;
		margin: 14px auto !important;
	}
}

@media (min-width: 768px) {
	.kkpc-container {
		width: 90vw !important;
		max-width: min(90vw, 1680px) !important;
		margin-left: calc(50% - min(45vw, 840px)) !important;
		margin-right: calc(50% - min(45vw, 840px)) !important;
		padding: 36px 44px;
	}
}

@media (min-width: 1200px) {
	.kkpc-container {
		padding: 44px 54px;
	}
}

.kkpc-container.kkpc-width-wide,
.kkpc-container.alignwide {
	width: 95vw !important;
	max-width: min(95vw, 1780px) !important;
	margin-left: calc(50% - min(47.5vw, 890px)) !important;
	margin-right: calc(50% - min(47.5vw, 890px)) !important;
}

.kkpc-container.kkpc-width-full,
.kkpc-container.alignfull {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	border-radius: 0;
	border-left: none;
	border-right: none;
}

.kkpc-container *,
.kkpc-container *::before,
.kkpc-container *::after {
	box-sizing: border-box;
}

/* Header & Brand */
.kkpc-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--kkpc-border);
	padding-bottom: 20px;
	margin-bottom: 24px;
}

.kkpc-brand .kkpc-title {
	margin: 0 0 6px 0;
	font-size: 28px;
	font-weight: 800;
	color: var(--kkpc-accent);
}

.kkpc-brand .kkpc-subtitle {
	margin: 0;
	font-size: 15.5px;
	color: var(--kkpc-text-muted);
}

.kkpc-auth-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 15px;
}

/* Tabs Navigation */
.kkpc-nav {
	display: flex;
	gap: 8px;
	border-bottom: 2px solid var(--kkpc-border);
	margin-bottom: 24px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.kkpc-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 14px 22px;
	font-size: 16.5px;
	font-weight: 600;
	color: var(--kkpc-text-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
	margin-bottom: -2px;
}

.kkpc-tab-btn:hover {
	color: var(--kkpc-primary);
}

.kkpc-tab-btn.active {
	color: var(--kkpc-primary);
	border-bottom-color: var(--kkpc-primary);
}

.kkpc-tab-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #475569;
	font-size: 13px;
	font-weight: 700;
}

.kkpc-tab-btn.active .kkpc-tab-num {
	background: var(--kkpc-primary);
	color: #ffffff;
}

/* Tab Panels */
.kkpc-tab-panel {
	display: none;
}

.kkpc-tab-panel.active {
	display: block;
	animation: kkpc-fade 0.25s ease-in-out;
}

@keyframes kkpc-fade {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Layout Grid */
.kkpc-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 992px) {
	.kkpc-grid {
		grid-template-columns: 1.1fr 1fr;
	}
}

.kkpc-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 576px) {
	.kkpc-grid-2 {
		grid-template-columns: 1fr 1fr;
	}
}

.kkpc-grid-3 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 576px) {
	.kkpc-grid-3 {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

/* Cards */
.kkpc-card {
	background: var(--kkpc-bg);
	border: 1px solid var(--kkpc-border);
	border-radius: 12px;
	padding: 28px;
	box-shadow: var(--kkpc-shadow);
}

.kkpc-card-title {
	margin: 0 0 22px 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--kkpc-accent);
}

.kkpc-form-section-title {
	font-size: 15.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--kkpc-primary);
	margin: 22px 0 14px 0;
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--kkpc-border);
}

/* Form Fields */
.kkpc-field {
	margin-bottom: 18px;
}

.kkpc-label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #334155;
}

.kkpc-req {
	color: var(--kkpc-error);
}

.kkpc-input {
	width: 100%;
	height: 48px;
	padding: 10px 14px;
	font-size: 16px;
	border: 1px solid var(--kkpc-border);
	border-radius: 8px;
	background: #ffffff;
	color: var(--kkpc-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kkpc-input:focus {
	outline: none;
	border-color: var(--kkpc-border-focus);
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.kkpc-input-prefix,
.kkpc-input-suffix {
	position: relative;
	display: flex;
	align-items: center;
}

.kkpc-input-prefix span {
	position: absolute;
	left: 14px;
	font-size: 14.5px;
	font-weight: 600;
	color: #94a3b8;
	pointer-events: none;
}

.kkpc-input-prefix .kkpc-input {
	padding-left: 42px;
}

.kkpc-input-suffix span {
	position: absolute;
	right: 14px;
	font-size: 14.5px;
	font-weight: 600;
	color: #94a3b8;
	pointer-events: none;
}

.kkpc-input-suffix .kkpc-input {
	padding-right: 38px;
}

.kkpc-field-error {
	display: none;
	font-size: 13.5px;
	color: var(--kkpc-error);
	margin-top: 5px;
}

.kkpc-field-error.active {
	display: block;
}

.kkpc-field-help {
	font-size: 13.5px;
	color: var(--kkpc-text-muted);
	margin: 6px 0 0 0;
}

/* Accordion Toggle Box */
.kkpc-accordion-box {
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 18px;
}

.kkpc-checkbox-label {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15.5px;
	font-weight: 600;
	cursor: pointer;
}

.kkpc-consent-text {
	font-weight: 400 !important;
	color: #475569;
	font-size: 13.5px;
	line-height: 1.5;
}

.kkpc-consent-text a,
.kkpc-consent-text .kkpc-link {
	color: var(--kkpc-primary);
	text-decoration: underline;
	font-weight: 500;
}

.kkpc-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--kkpc-primary);
}

.kkpc-toggle-content {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--kkpc-border);
}

.kkpc-radio-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 6px;
}

.kkpc-radio-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15.5px;
	cursor: pointer;
}

/* Buttons */
.kkpc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	padding: 0 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s ease;
}

.kkpc-btn-primary {
	background: var(--kkpc-primary);
	color: #ffffff;
}

.kkpc-btn-primary:hover {
	background: var(--kkpc-primary-hover);
}

.kkpc-btn-secondary {
	background: #f1f5f9;
	color: #475569;
	border-color: #cbd5e1;
}

.kkpc-btn-secondary:hover {
	background: #e2e8f0;
}

.kkpc-btn-outline {
	background: transparent;
	color: var(--kkpc-primary);
	border: 1px solid var(--kkpc-primary);
	transition: all 0.2s ease;
}

.kkpc-btn-outline:hover,
.kkpc-btn-outline:focus {
	background: var(--kkpc-primary) !important;
	color: #ffffff !important;
	border-color: var(--kkpc-primary) !important;
}

/* Logout button specifically */
#kkpc-logout-btn {
	background: transparent !important;
	color: #e11d48 !important;
	border: 1px solid #fda4af !important;
	transition: all 0.2s ease !important;
}

#kkpc-logout-btn:hover,
#kkpc-logout-btn:focus {
	background: #e11d48 !important;
	color: #ffffff !important;
	border-color: #e11d48 !important;
}

.kkpc-btn-whatsapp {
	background: #25d366;
	color: #ffffff;
}

.kkpc-btn-whatsapp:hover {
	background: #20ba59;
}

.kkpc-btn-sm {
	height: 38px;
	padding: 0 16px;
	font-size: 14px;
}

.kkpc-btn-block {
	width: 100%;
}

.kkpc-btn-group {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.kkpc-link-btn {
	background: none;
	border: none;
	padding: 0;
	color: var(--kkpc-primary);
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

.kkpc-link-btn {
	background: none;
	border: none;
	padding: 0;
	color: var(--kkpc-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

/* Results Display */
.kkpc-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--kkpc-text-muted);
}

.kkpc-empty-icon {
	color: #cbd5e1;
	margin-bottom: 16px;
}

.kkpc-results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.kkpc-table-responsive {
	width: 100%;
	overflow-x: auto;
}

.kkpc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
}

.kkpc-table th,
.kkpc-table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--kkpc-border);
	text-align: left;
}

.kkpc-table th {
	font-weight: 600;
	color: #475569;
}

.kkpc-table td.kkpc-val {
	text-align: right;
	font-weight: 600;
	color: var(--kkpc-accent);
}

.kkpc-table tr:hover {
	background: #f8fafc;
}

.kkpc-row-highlight {
	background: #f0fdf4 !important;
}

.kkpc-val-highlight {
	color: var(--kkpc-success) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
}

.kkpc-table-sm th,
.kkpc-table-sm td {
	padding: 10px 12px;
	font-size: 14px;
}

/* Warnings Box */
.kkpc-warnings {
	margin-top: 20px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 8px;
	padding: 16px 18px;
	font-size: 14.5px;
	color: #92400e;
}

/* Next Step CTA Box */
.kkpc-next-step-box {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--kkpc-border);
}

/* Locked Card Overlay */
.kkpc-locked-overlay {
	position: relative;
	border-radius: var(--kkpc-radius);
	overflow: hidden;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kkpc-locked-backdrop {
	position: absolute;
	inset: 0;
	filter: blur(8px);
	opacity: 0.35;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	pointer-events: none;
}

.kkpc-mock-row {
	height: 28px;
	background: #cbd5e1;
	border-radius: 4px;
	width: 100%;
}

.kkpc-mock-total {
	height: 42px;
	background: #94a3b8;
	border-radius: 6px;
	width: 100%;
	margin-top: auto;
}

.kkpc-locked-card {
	position: relative;
	z-index: 2;
	background: #ffffff;
	border: 1px solid var(--kkpc-border);
	border-radius: 14px;
	padding: 36px 28px;
	max-width: 460px;
	text-align: center;
	box-shadow: var(--kkpc-shadow-lg);
}

.kkpc-locked-icon {
	color: var(--kkpc-primary);
	margin-bottom: 16px;
}

.kkpc-locked-card h4 {
	margin: 0 0 10px 0;
	font-size: 24px;
	font-weight: 700;
	color: var(--kkpc-accent);
}

.kkpc-locked-card p {
	margin: 0 0 20px 0;
	font-size: 15.5px;
	color: var(--kkpc-text-muted);
}

.kkpc-locked-sub {
	margin-top: 16px;
}

/* Scenario Cards (Tab 3 & 4) */
.kkpc-scenario-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 24px;
}

@media (min-width: 576px) {
	.kkpc-scenario-cards {
		grid-template-columns: 1fr 1fr;
	}
}

.kkpc-scenario-card {
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	transition: all 0.2s ease;
}

.kkpc-scenario-highlight {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.kkpc-scenario-badge {
	display: inline-block;
	background: #e2e8f0;
	color: #334155;
	font-size: 13px;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 12px;
	margin-bottom: 12px;
}

.kkpc-scenario-highlight .kkpc-scenario-badge {
	background: #dcfce7;
	color: #166534;
}

.kkpc-scenario-amount {
	font-size: 28px;
	font-weight: 800;
	color: var(--kkpc-accent);
	margin-bottom: 4px;
}

.kkpc-scenario-sub {
	font-size: 14.5px;
	color: var(--kkpc-text-muted);
	margin-bottom: 14px;
}

.kkpc-scenario-stats {
	border-top: 1px solid rgba(0,0,0,0.06);
	padding-top: 12px;
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #475569;
}

/* Metrics Grid (Tab 4) */
.kkpc-metric-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.kkpc-metric-item {
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 8px;
	padding: 16px;
}

.kkpc-metric-label {
	display: block;
	font-size: 13.5px;
	color: var(--kkpc-text-muted);
	margin-bottom: 4px;
}

.kkpc-metric-value {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: var(--kkpc-accent);
}

.kkpc-metric-deficit {
	background: #fef2f2;
	border-color: #fecaca;
}

.kkpc-metric-deficit .kkpc-metric-value {
	color: #dc2626;
}

/* Details and Accordion */
.kkpc-details {
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 8px;
	padding: 14px 18px;
}

.kkpc-summary {
	font-weight: 600;
	font-size: 15.5px;
	cursor: pointer;
	color: var(--kkpc-primary);
}

/* Summary Box (Tab 2) */
.kkpc-summary-box {
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 10px;
	padding: 18px;
	margin-top: 20px;
}

.kkpc-summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	font-size: 15.5px;
}

/* Disclaimer Footer */
.kkpc-disclaimer {
	margin-top: 32px;
	padding: 22px;
	background: var(--kkpc-surface);
	border-left: 4px solid var(--kkpc-primary);
	border-radius: 0 8px 8px 0;
	font-size: 14px;
	color: #475569;
}

.kkpc-disclaimer h4 {
	margin: 0 0 8px 0;
	font-size: 16px;
	color: var(--kkpc-accent);
}

/* Modal Dialog */
.kkpc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.kkpc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
}

.kkpc-modal-dialog {
	position: relative;
	z-index: 2;
	background: #ffffff;
	border-radius: 14px;
	max-width: 520px;
	width: 100%;
	padding: 36px 32px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	max-height: 90vh;
	overflow-y: auto;
}

.kkpc-modal-close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
}

.kkpc-modal-close:hover {
	color: #0f172a;
}

.kkpc-modal-header {
	margin-bottom: 20px;
}

.kkpc-modal-header h3 {
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 700;
	color: var(--kkpc-accent);
}

.kkpc-modal-pill {
	display: inline-block;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 12.5px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 12px;
	margin-bottom: 8px;
}

.kkpc-modal-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 14px;
	padding: 12px 14px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 13.5px;
	color: #334155;
	font-weight: 600;
}

.kkpc-modal-header p {
	margin: 0;
	font-size: 15.5px;
	color: var(--kkpc-text-muted);
}

.kkpc-modal-footer-switch {
	margin-top: 18px;
	text-align: center;
	font-size: 14.5px;
	color: var(--kkpc-text-muted);
}

.kkpc-success-icon {
	margin-bottom: 16px;
}

.kkpc-cooldown-box {
	margin-top: 20px;
	padding: 14px;
	background: #f1f5f9;
	border-radius: 8px;
	font-size: 14px;
}

/* Spinner */
.kkpc-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #e2e8f0;
	border-top-color: var(--kkpc-primary);
	border-radius: 50%;
	animation: kkpc-spin 0.8s linear infinite;
	margin: 20px auto;
}

.kkpc-btn-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: kkpc-spin 0.8s linear infinite;
}

@keyframes kkpc-spin {
	to { transform: rotate(360deg); }
}

/* Verification screen standalone */
.kkpc-verify-wrapper {
	max-width: 480px;
	margin: 60px auto;
	text-align: center;
}

.kkpc-verify-card {
	background: #ffffff;
	border: 1px solid var(--kkpc-border);
	border-radius: 12px;
	padding: 40px 24px;
	box-shadow: var(--kkpc-shadow-lg);
}

.kkpc-verify-icon {
	color: var(--kkpc-primary);
	margin-bottom: 16px;
}

/* =============================================================
 * LANDING PAGE HERO & SHOWCASE SECTION
 * ============================================================= */
.kkpc-landing-section {
	margin-bottom: 0;
	padding-bottom: 16px;
	border-bottom: none;
}

.kkpc-landing-hero-banner {
	text-align: center;
	max-width: 1300px;
	margin: 0 auto 40px auto;
	padding: 14px 0;
}

.kkpc-hero-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.kkpc-pill-badge {
	font-size: 14px;
	font-weight: 700;
	padding: 7px 18px;
	border-radius: 24px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.kkpc-pill-primary {
	background: #e0f2fe;
	color: #0369a1;
	border: 1px solid #bae6fd;
}

.kkpc-pill-neutral {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
}

.kkpc-pill-success {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.kkpc-hero-headline {
	font-size: 32px;
	font-weight: 800;
	color: var(--kkpc-accent);
	line-height: 1.25;
	margin: 0 0 18px 0;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.kkpc-hero-headline {
		font-size: 42px;
	}
}

@media (min-width: 1200px) {
	.kkpc-hero-headline {
		font-size: 50px;
	}
}

.kkpc-hero-lead {
	font-size: 18px;
	color: var(--kkpc-text-muted);
	line-height: 1.7;
	margin: 0 auto;
	max-width: 1100px;
}

@media (min-width: 768px) {
	.kkpc-hero-lead {
		font-size: 20px;
	}
}

@media (min-width: 1200px) {
	.kkpc-hero-lead {
		font-size: 21px;
	}
}

/* Landing Grid */
.kkpc-landing-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}

@media (min-width: 1080px) {
	.kkpc-landing-grid {
		grid-template-columns: minmax(0, 1.8fr) minmax(420px, 460px);
		gap: 36px;
	}
}

@media (min-width: 1400px) {
	.kkpc-landing-grid {
		grid-template-columns: minmax(0, 2fr) 480px;
		gap: 44px;
	}
}

/* Showcase Column */
.kkpc-showcase-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kkpc-showcase-header {
	margin-bottom: 8px;
}

.kkpc-showcase-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--kkpc-accent);
	margin: 0 0 8px 0;
}

.kkpc-showcase-desc {
	font-size: 16px;
	color: var(--kkpc-text-muted);
	margin: 0;
	line-height: 1.6;
}

/* 4 Modules Grid: 2 columns to prevent downward pile-up */
.kkpc-modules-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 680px) {
	.kkpc-modules-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

.kkpc-module-card {
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 14px;
	padding: 24px 26px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.kkpc-module-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.06);
	background: #ffffff;
}

.kkpc-module-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 12px;
}

.kkpc-module-icon {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.kkpc-module-icon svg {
	width: 24px;
	height: 24px;
}

.kkpc-icon-blue {
	background: #e0f2fe;
	color: #0284c7;
}

.kkpc-icon-green {
	background: #dcfce7;
	color: #16a34a;
}

.kkpc-icon-purple {
	background: #f3e8ff;
	color: #9333ea;
}

.kkpc-icon-amber {
	background: #fef3c7;
	color: #d97706;
}

.kkpc-module-tag {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	display: block;
	margin-bottom: 4px;
}

.kkpc-module-title {
	font-size: 21px;
	font-weight: 800;
	color: var(--kkpc-accent);
	margin: 0;
}

.kkpc-module-desc {
	font-size: 16px;
	color: #334155;
	line-height: 1.65;
	margin: 0 0 12px 0;
}

.kkpc-feature-list {
	margin: auto 0 0 0;
	padding-left: 20px;
	font-size: 15px;
	color: #475569;
	line-height: 1.7;
}

/* Landing Form Card */
.kkpc-landing-form-card {
	background: #ffffff;
	border: 2px solid var(--kkpc-primary);
	border-radius: 16px;
	padding: 36px 32px;
	box-shadow: 0 12px 25px -5px rgba(2, 132, 199, 0.15), 0 8px 10px -6px rgba(2, 132, 199, 0.08);
	position: sticky;
	top: 24px;
}

.kkpc-form-badge {
	display: inline-block;
	background: var(--kkpc-primary);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 5px 14px;
	border-radius: 14px;
	margin-bottom: 14px;
}

.kkpc-form-title {
	font-size: 26px;
	font-weight: 800;
	color: var(--kkpc-accent);
	margin: 0 0 8px 0;
}

.kkpc-form-intro {
	font-size: 16px;
	color: var(--kkpc-text-muted);
	margin: 0 0 22px 0;
	line-height: 1.6;
}

.kkpc-btn-lg {
	height: 56px;
	font-size: 18px;
	font-weight: 700;
	border-radius: 8px;
}

.kkpc-form-switch-row {
	margin-top: 18px;
	text-align: center;
	font-size: 14.5px;
	color: var(--kkpc-text-muted);
}

.kkpc-trust-footer {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--kkpc-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kkpc-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	color: #475569;
}

.kkpc-trust-icon {
	font-size: 18px;
	flex-shrink: 0;
}

.kkpc-scroll-invite {
	text-align: center;
	margin: 28px 0 6px 0;
}

.kkpc-scroll-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--kkpc-primary);
	text-decoration: none;
	padding: 10px 22px;
	background: var(--kkpc-surface);
	border: 1px solid var(--kkpc-border);
	border-radius: 24px;
	transition: all 0.2s ease;
}

.kkpc-scroll-btn:hover {
	background: #f0f9ff;
	border-color: var(--kkpc-primary);
}

/* Alerts */
.kkpc-alert {
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 15px;
	margin-bottom: 18px;
}

.kkpc-alert-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.kkpc-alert-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

/* Print Stylesheet */
@media print {
	body {
		background: #ffffff !important;
		color: #000000 !important;
	}

	.kkpc-header,
	.kkpc-nav,
	.kkpc-form-card,
	.kkpc-btn,
	.kkpc-modal,
	.kkpc-locked-overlay,
	.kkpc-empty-state,
	.kkpc-next-step-box {
		display: none !important;
	}

	.kkpc-container {
		border: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
	}

	.kkpc-grid {
		display: block !important;
	}

	.kkpc-tab-panel {
		display: block !important;
	}

	.kkpc-results-content {
		display: block !important;
	}

	.kkpc-table th,
	.kkpc-table td {
		padding: 6px 8px !important;
		font-size: 12px !important;
	}
}

