/* Recordo Pricing page
   Cards, billing toggle, comparison table, FAQ accordion, CTA banner. */

/* ---------- Page wrapper + decorative dot grids ---------- */
.recordo-pricing {
	position: relative;
	overflow: hidden;
}
.recordo-dotgrid {
	position: absolute;
	width: 140px;
	height: 140px;
	background-image: radial-gradient(rgba(37, 59, 131, 0.35) 1.4px, transparent 1.4px);
	background-size: 14px 14px;
	opacity: 0.7;
	pointer-events: none;
}
.recordo-dotgrid--tr { top: 80px;  right: 40px; }
.recordo-dotgrid--bl { top: 220px; left: 40px;  }

/* ---------- Hero (page heading + intro) ---------- */
.recordo-pricing-hero {
	text-align: center;
	padding-top: 4rem;
	padding-bottom: 1.5rem;
}
.recordo-pricing-hero h1 {
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.025em;
	margin: 0 0 1rem 0;
}
.recordo-pricing-hero h1 .accent { color: #253B83; }
.recordo-pricing-hero p {
	color: #4E4E4E;
	font-size: 1.0625rem;
	line-height: 1.55;
	max-width: 640px;
	margin: 0 auto;
}

/* ---------- Billing toggle ---------- */
.recordo-billing {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 2rem auto 0;
	font-size: 0.95rem;
	font-weight: 500;
}
.recordo-billing input { display: none; }
.recordo-billing-switch {
	width: 48px;
	height: 26px;
	background: #D5D9E5;
	border-radius: 999px;
	position: relative;
	cursor: pointer;
	transition: background 0.2s ease;
}
.recordo-billing-switch::after {
	content: "";
	position: absolute;
	top: 3px; left: 3px;
	width: 20px; height: 20px;
	background: #FFFFFF;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease;
}
.recordo-billing input:checked + .recordo-billing-switch { background: #253B83; }
.recordo-billing input:checked + .recordo-billing-switch::after { transform: translateX(22px); }

.recordo-billing-label {
	color: #7D7D7D;
	transition: color 0.15s ease;
}
.recordo-billing-label.is-active { color: #0A0A0A; font-weight: 600; }
.recordo-billing-badge {
	background: #E3F6E8;
	color: #1F7A38;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	margin-left: 0.4rem;
}

/* ---------- Pricing cards grid ---------- */
.recordo-tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.recordo-tier {
	background: #FFFFFF;
	border: 1px solid #EBEBEB;
	border-radius: 1rem;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.recordo-tier:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(37, 59, 131, 0.10);
}
.recordo-tier--featured {
	border: 2px solid #253B83;
	box-shadow: 0 10px 32px rgba(37, 59, 131, 0.18);
}
.recordo-tier-badge {
	position: absolute;
	top: -14px; left: 50%;
	transform: translateX(-50%);
	background: #253B83;
	color: #FFFFFF;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.recordo-tier h3 {
	font-size: 1.375rem;
	font-weight: 700;
	color: #253B83;
	margin: 0 0 0.35rem 0;
	letter-spacing: -0.015em;
}
.recordo-tier-sub {
	font-size: 0.875rem;
	color: #7D7D7D;
	margin: 0 0 1.5rem 0;
}
.recordo-tier-price {
	font-size: 0.875rem;
	color: #7D7D7D;
	margin: 0 0 1.75rem 0;
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.recordo-tier-price .amount {
	font-size: 2.5rem;
	font-weight: 800;
	color: #0A0A0A;
	letter-spacing: -0.02em;
	line-height: 1;
}
.recordo-tier-price .period { color: #7D7D7D; font-size: 0.95rem; font-weight: 500; }
.recordo-tier-price--enterprise .amount {
	font-size: 1.75rem;
	color: #253B83;
	font-weight: 700;
}

.recordo-tier-features {
	list-style: none;
	padding: 0;
	margin: 0 0 1.75rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: 0.9375rem;
	color: #2C2C2C;
	flex-grow: 1;
}
.recordo-tier-features li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.recordo-tier-features li::before {
	content: "";
	width: 18px; height: 18px;
	flex: 0 0 18px;
	border-radius: 50%;
	background: #E3E6F0 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253B83' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>") center/12px no-repeat;
}

.recordo-tier-cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 0.85rem 1rem;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 0.6rem;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.recordo-tier-cta--outline {
	background: transparent;
	color: #253B83;
	border: 1.5px solid #C8CDDF;
}
.recordo-tier-cta--outline:hover {
	border-color: #253B83;
	color: #FFFFFF;
	background: #253B83;
}
.recordo-tier-cta--filled {
	background: #253B83;
	color: #FFFFFF;
	border: 1.5px solid #253B83;
}
.recordo-tier-cta--filled:hover { background: #253B83; border-color: #253B83; }

/* ---------- Plan groups: freelancers (app stores) / companies (per seat) ---------- */
.recordo-plan-group {
	margin-top: 3rem;
	padding: 2.5rem;
	background: #F8FAFD;
	border: 1px solid #EBEBEB;
	border-radius: 1.25rem;
}
.recordo-plan-group + .recordo-plan-group { margin-top: 2rem; }
.recordo-plan-group-head {
	max-width: 640px;
	margin: 0 0 2.25rem 0;
}
.recordo-plan-group-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #253B83;
	background: #E3E6F0;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}
.recordo-plan-group-head h2 {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #0A0A0A;
	margin: 0 0 0.5rem 0;
}
.recordo-plan-group-head p {
	color: #4E4E4E;
	font-size: 1rem;
	line-height: 1.55;
	margin: 0;
}
.recordo-plan-group-head .recordo-plan-group-note {
	color: #253B83;
	font-size: 0.875rem;
	font-weight: 600;
	margin-top: 0.75rem;
}

/* Freelancer plans are bought in the app: store buttons take the CTA slot. */
.recordo-tier .recordo-stores { display: flex; }
.recordo-tier .recordo-store-btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Comparison table ---------- */
.recordo-compare-wrap {
	margin-top: 5rem;
	border: 1px solid #EBEBEB;
	border-radius: 1rem;
	overflow: hidden;
	background: #FFFFFF;
}
.recordo-compare-title {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #0A0A0A;
	letter-spacing: -0.02em;
	padding: 2rem 1.5rem 1rem;
	margin: 0;
}
.recordo-compare {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}
.recordo-compare thead th {
	font-weight: 600;
	color: #0A0A0A;
	padding: 0.9rem 1.25rem;
	background: #F8FAFD;
	border-bottom: 1px solid #EBEBEB;
	text-align: center;
}
.recordo-compare thead th:first-child { text-align: left; }
.recordo-compare thead th.is-highlight { background: #F1F3F9; color: #253B83; }
.recordo-compare tbody td {
	padding: 0.9rem 1.25rem;
	border-bottom: 1px solid #F2F2F2;
	color: #2C2C2C;
	text-align: center;
	vertical-align: middle;
}
.recordo-compare tbody td:first-child {
	text-align: left;
	font-weight: 500;
}
.recordo-compare tbody td:first-child svg {
	margin-right: 0.5rem;
	color: #7D7D7D;
	vertical-align: middle;
}
.recordo-compare tbody td.is-highlight { background: #FAFCFF; }
.recordo-compare .check { color: #253B83; font-weight: 700; }
.recordo-compare .dash { color: #C9C9C9; }
.recordo-compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Trust strip ---------- */
.recordo-trust {
	margin-top: 3rem;
	background: #FFFFFF;
	border: 1px solid #EBEBEB;
	border-radius: 1rem;
	padding: 1.5rem 2rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.recordo-trust-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}
.recordo-trust-icon {
	flex: 0 0 38px;
	width: 38px; height: 38px;
	border-radius: 0.5rem;
	background: #F1F3F9;
	color: #253B83;
	display: flex;
	align-items: center;
	justify-content: center;
}
.recordo-trust-text h4 {
	margin: 0 0 0.2rem 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #0A0A0A;
}
.recordo-trust-text p {
	margin: 0;
	font-size: 0.85rem;
	color: #7D7D7D;
}

/* ---------- FAQ ---------- */
.recordo-faq {
	margin-top: 4rem;
}
.recordo-faq-title {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #0A0A0A;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}
.recordo-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem 1.25rem;
}
.recordo-faq details {
	border: 1px solid #EBEBEB;
	border-radius: 0.6rem;
	background: #FFFFFF;
	padding: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.recordo-faq details[open] {
	border-color: #C8CDDF;
	box-shadow: 0 6px 16px rgba(37, 59, 131, 0.07);
}
.recordo-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
	font-size: 0.95rem;
	color: #0A0A0A;
}
.recordo-faq summary::-webkit-details-marker { display: none; }
.recordo-faq summary::after {
	content: "";
	width: 12px; height: 12px;
	border-right: 2px solid #7D7D7D;
	border-bottom: 2px solid #7D7D7D;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.recordo-faq details[open] summary::after {
	transform: rotate(-135deg);
	border-color: #253B83;
}
.recordo-faq details > div {
	padding: 0 1.25rem 1rem;
	color: #4E4E4E;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* ---------- CTA banner ---------- */
.recordo-cta-banner {
	margin-top: 4rem;
	background: linear-gradient(135deg, #253B83 0%, #1B2C66 100%);
	border-radius: 1.25rem;
	padding: 2.25rem 2.5rem;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}
.recordo-cta-banner::before {
	content: "";
	position: absolute;
	right: -40px; bottom: -40px;
	width: 220px; height: 220px;
	background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.6px, transparent 1.6px);
	background-size: 14px 14px;
	opacity: 0.6;
	pointer-events: none;
}
.recordo-cta-banner::after {
	content: "";
	position: absolute;
	top: 0; left: 30%;
	width: 600px; height: 200%;
	background: radial-gradient(closest-side, rgba(37, 59, 131, 0.35) 0%, transparent 70%);
	transform: rotate(-12deg);
	pointer-events: none;
}
.recordo-cta-banner > * { position: relative; z-index: 1; }
.recordo-cta-banner h2 {
	margin: 0 0 0.4rem 0;
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}
.recordo-cta-banner p {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 460px;
}
.recordo-cta-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.recordo-cta-actions a {
	display: inline-block;
	padding: 0.85rem 1.4rem;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 0.6rem;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.recordo-cta-actions .filled {
	background: #FFFFFF;
	color: #253B83;
}
.recordo-cta-actions .filled:hover { background: #F1F3F9; }
.recordo-cta-actions .outline {
	background: transparent;
	color: #FFFFFF;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.recordo-cta-actions .outline:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.recordo-plan-group { padding: 1.75rem; }
}
@media (max-width: 900px) {
	.recordo-tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 781px) {
	.recordo-plan-group { padding: 1.25rem; }
	.recordo-trust { grid-template-columns: repeat(2, 1fr); }
	.recordo-faq-grid { grid-template-columns: 1fr; }
	.recordo-compare { font-size: 0.825rem; }
	.recordo-compare thead th, .recordo-compare tbody td { padding: 0.7rem 0.6rem; }
	.recordo-cta-banner { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
	.recordo-dotgrid { display: none; }
}
