/**
 * pages/cloud-accounting.css — Cloud Accounting & Bookkeeping Page Styles
 *
 * Structure:
 *   1. Hero section — Gradient background, breadcrumb, title, description
 *   2. Pricing Plans — 4 pricing cards (Popular badge on PREMIER)
 *   3. Add-on Services — Flexible table layout
 *   4. Why MJC Fintech — 3 items grid with numbered circles
 *   5. CTA Section — Gradient background with 3 buttons
 *
 * @package MJC_Fintech_Child
 */

/* =====================================================
   GLOBAL UTILITIES
   ===================================================== */

.ca-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 64px;
}

.ca-bar {
	width: 80px;
	height: 4px;
	background-color: #2bbfce;
	border-radius: 2px;
	margin-top: 16px;
}

.ca-bar--center {
	margin-left: auto;
	margin-right: auto;
}

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */

.ca-hero {
	background: linear-gradient(90deg, #0a2540 0%, #1e5f8c 100%);
	border-bottom: 1px solid #1e2939;
	padding: 64px 0 48px;
}

.ca-breadcrumb-current {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	color: #0a2540;
}

.ca-hero__title {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin: 48px 0 0 0;
	display: block;
	line-height: 1.2;
}

.ca-hero__description {
	font-family: var(--font-body);
	font-size: 18px;
	color: #2bbfce;
	text-align: center;
	max-width: 720px;
	margin: 24px auto 0;
	line-height: 29px;
}

/* =====================================================
   SECTION 2 — PRICING PLANS
   ===================================================== */

.ca-plans {
	background-color: #ffffff;
	padding: 80px 0;
}

.ca-plans__heading {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	margin: 0;
	display: block;
	line-height: 1.2;
}

.ca-plans-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 64px;
	position: relative;
}

.ca-plan-card {
	background-color: #e8f4f8;
	border: 1px solid #1e2939;
	border-radius: 24px;
	padding: 33px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-height: 692px;
	position: relative;
	transition: all 0.25s ease;
}

.ca-plan-card:hover {
	box-shadow: 0 8px 24px rgba(43, 191, 206, 0.1);
}

.ca-plan-card--popular {
	border: 2px solid #2bbfce;
}

.ca-plan-card__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #0a2540;
	border-radius: 100px;
	padding: 8px 16px;
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	display: block;
}

.ca-plan-card__name {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	margin: 0;
	display: block;
}

.ca-plan-card__rows {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ca-plan-card__row {
	border-bottom: 1px solid #1e2939;
	padding-bottom: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ca-plan-card__row--last {
	border-bottom: none;
	padding-bottom: 0;
}

.ca-plan-card__label {
	font-family: var(--font-body);
	font-size: 12px;
	color: #4a5565;
}

.ca-plan-card__value {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	color: #0a2540;
}

.ca-plan-card__button {
	background-color: #0a2540;
	border-radius: 100px;
	height: 56px;
	width: 100%;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s ease;
	cursor: pointer;
}

.ca-plan-card__button:hover {
	background-color: #1e5f8c;
}

.ca-plan-card__button:focus-visible {
	outline: 2px solid #2bbfce;
	outline-offset: 2px;
}

.ca-plan-card__button--gradient {
	background: linear-gradient(176deg, #2bbfce 7.7%, #1e5f8c 50%, #0a2540 92.3%);
	box-shadow: 0 4px 24px rgba(43, 191, 206, 0.3);
}

.ca-plan-card__button--gradient:hover {
	background: linear-gradient(176deg, #1fa8a8 7.7%, #1e5f8c 50%, #0a1f2f 92.3%);
}

/* =====================================================
   SECTION 3 — ADD-ON SERVICES
   ===================================================== */

.ca-addons {
	background-color: #e8f4f8;
	padding: 80px 0;
}

.ca-addons__heading {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	margin: 0;
	display: block;
	line-height: 1.2;
}

.ca-addons-table {
	max-width: 900px;
	margin: 64px auto 0;
	width: 100%;
}

.ca-addons-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 73px;
	border-bottom: 1px solid #1e2939;
	padding-bottom: 1px;
}

.ca-addons-row--last {
	border-bottom: none;
}

.ca-addons-row__label {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #0a2540;
	flex: 1;
}

.ca-addons-row__value {
	font-family: var(--font-body);
	font-size: 16px;
	color: #364153;
	flex-shrink: 0;
	text-align: right;
}

/* =====================================================
   SECTION 4 — WHY MJC FINTECH
   ===================================================== */

.ca-why {
	background-color: #ffffff;
	padding: 80px 0;
}

.ca-why__heading {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	margin: 0;
	display: block;
	line-height: 1.2;
}

.ca-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 64px;
	text-align: center;
}

.ca-why-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ca-why-item__circle {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: rgba(43, 191, 206, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: #2bbfce;
	flex-shrink: 0;
}

.ca-why-item__title {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	color: #0a2540;
	margin-top: 24px;
	display: block;
	line-height: 1.3;
}

.ca-why-item__description {
	font-family: var(--font-body);
	font-size: 14px;
	color: #364153;
	text-align: center;
	line-height: 22.75px;
	max-width: 320px;
	margin: 16px auto 0;
}

/* =====================================================
   SECTION 5 — CTA
   ===================================================== */

.ca-cta {
	background: linear-gradient(173deg, #0a2540 7.5%, #1e5f8c 92.5%);
	padding: 64px 0;
	text-align: center;
}

.ca-cta__heading {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	display: block;
	text-align: center;
	line-height: 1.3;
}

.ca-cta__subtext {
	font-family: var(--font-body);
	font-size: 18px;
	color: #e8f4f8;
	margin: 24px 0 0 0;
	line-height: 1.6;
}

.ca-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 48px;
	flex-wrap: wrap;
}

.ca-cta__button {
	border: 1px solid #ffffff;
	border-radius: 100px;
	height: 56px;
	padding: 0 40px;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #ffffff;
	background-color: transparent;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s, color 0.25s;
	cursor: pointer;
}

.ca-cta__button:hover {
	background-color: #ffffff;
	color: #0a2540;
	border-color: #ffffff;
}

.ca-cta__button:focus-visible {
	outline: 2px solid #67E8F9;
	outline-offset: 2px;
}

/* =====================================================
   RESPONSIVE — TABLET (1200px and below)
   ===================================================== */

@media (max-width: 1200px) {
	.ca-plans-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =====================================================
   RESPONSIVE — TABLET (1024px and below)
   ===================================================== */

@media (max-width: 1024px) {
	.ca-container {
		padding: 0 40px;
	}

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

/* =====================================================
   RESPONSIVE — MOBILE (768px and below)
   ===================================================== */

@media (max-width: 768px) {
	.ca-container {
		padding: 0 24px;
	}

	.ca-hero {
		padding: 48px 0 32px;
	}

	.ca-hero__title {
		font-size: 32px;
		margin-top: 32px;
	}

	.ca-hero__description {
		font-size: 16px;
		margin-top: 16px;
	}

	.ca-plans {
		padding: 64px 0;
	}

	.ca-plans__heading {
		font-size: 32px;
	}

	.ca-plans-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.ca-plan-card {
		min-height: auto;
		padding: 24px;
		gap: 24px;
	}

	.ca-plan-card__badge {
		top: -8px;
		padding: 6px 12px;
		font-size: 11px;
	}

	.ca-addons {
		padding: 64px 0;
	}

	.ca-addons__heading {
		font-size: 32px;
	}

	.ca-addons-table {
		max-width: 100%;
		margin-top: 48px;
	}

	.ca-addons-row {
		flex-direction: column;
		height: auto;
		gap: 12px;
		align-items: flex-start;
		padding: 20px 0;
	}

	.ca-addons-row__label {
		font-size: 14px;
	}

	.ca-addons-row__value {
		font-size: 14px;
		text-align: left;
	}

	.ca-why {
		padding: 64px 0;
	}

	.ca-why__heading {
		font-size: 32px;
	}

	.ca-why-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ca-why-item {
		align-items: center;
	}

	.ca-why-item__title {
		font-size: 18px;
		margin-top: 20px;
	}

	.ca-why-item__description {
		font-size: 13px;
		max-width: 100%;
		margin-top: 12px;
	}

	.ca-cta {
		padding: 48px 0;
	}

	.ca-cta__heading {
		font-size: 24px;
	}

	.ca-cta__subtext {
		font-size: 16px;
		margin-top: 16px;
	}

	.ca-cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 12px;
		margin-top: 32px;
	}

	.ca-cta__button {
		width: 100%;
		height: 48px;
		font-size: 14px;
		padding: 0 24px;
	}
}
