:root {
	/* Primary brand color */
	--bs-primary: #fd2323;
	--bs-primary-rgb: 253, 35, 35;

	/* Link colors derived from primary */
	--bs-link-color: #fd2323;
	--bs-link-color-rgb: 253, 35, 35;
	--bs-link-hover-color: #ca1c1c;
	--bs-link-hover-color-rgb: 202, 28, 28;

	/* Body colors */
	--bs-body-color: #000;
	--bs-body-color-rgb: 0, 0, 0;
	--bs-body-bg: #fff;
	--bs-body-bg-rgb: 255, 255, 255;

	/* Background variations */
	--bs-secondary-bg: #f4f5f5;
	--bs-secondary-bg-rgb: 244, 245, 245;
	--bs-tertiary-bg: #f0f0f0;
	--bs-tertiary-bg-rgb: 240, 240, 240;

	/* Dark/emphasis text color */
	--bs-dark: #333;
	--bs-dark-rgb: 51, 51, 51;
	--bs-emphasis-color: #333;
	--bs-emphasis-color-rgb: 51, 51, 51;

	/* Border color */
	--bs-border-color: #d0d0d0;
	--bs-border-color-rgb: 208, 208, 208;

	/* Success color */
	--bs-success: #4caf50;
	--bs-success-rgb: 76, 175, 80;

	/* Custom colors */
	--color-primary-hover: #e51e1e;
	--color-primary-hover-rgb: 229, 30, 30;
	--color-primary-bg-subtle: #fff5f5;
	--color-primary-bg-subtle-rgb: 255, 245, 245;

	--color-success-emphasis: #2e7d32;
	--color-success-emphasis-rgb: 46, 125, 50;
	--color-success-bg-subtle: #e8f5e9;
	--color-success-bg-subtle-rgb: 232, 245, 233;

	--color-text-muted: #8e8b8b;
	--color-text-muted-rgb: 142, 139, 139;
	--color-text-secondary: #555;
	--color-text-secondary-rgb: 85, 85, 85;

	--color-platform-toggle-bg: #e8e8e8;
	--color-platform-toggle-bg-rgb: 232, 232, 232;
}

* {
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	outline: none;
	overflow-wrap: break-word;
}

body {
	color: var(--bs-body-color);
	background: var(--bs-body-bg);
}

/* Global dropdown styling */
.dropdown-toggle {
	border-radius: 0.75rem;
}
.dropdown-menu {
	border-radius: 0.75rem;
}

hr {
	border-color: var(--bs-border-color);
	opacity: 1;
}

.navbar-container {
	padding-top: 30px;
	padding-bottom: 30px;
	background-color: var(--bs-secondary-bg);
}

.navbar {
	border: none !important;
	margin-bottom: 0px !important;
	min-height: 55px !important;
}
.navbar .content-width {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.navbar-nav .nav-link {
	color: var(--bs-dark) !important;
}
.navbar-nav .nav-link:hover {
	color: var(--bs-emphasis-color) !important;
}
.navbar-brand {
	padding: 0;
	margin-right: 0;
}
.navbar-toggler {
	padding-right: 0 !important;
	border: none !important;
}
.navbar-collapse {
	flex-grow: 0;
}

.platform-toggle {
	display: inline-flex;
	background-color: var(--color-platform-toggle-bg);
	border-radius: 8px;
	overflow: hidden;
	vertical-align: middle;
}
.platform-toggle a {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	color: var(--color-text-muted);
	text-decoration: none;
	font-weight: 500;
	border: 1px solid var(--bs-border-color);
	border-right: none;
	background-color: var(--bs-body-bg);
}
.platform-toggle a:first-child {
	border-radius: 8px 0 0 8px;
}
.platform-toggle a:last-child {
	border-radius: 0 8px 8px 0;
	border-right: 1px solid var(--bs-border-color);
}
.platform-toggle a:hover {
	background-color: var(--bs-tertiary-bg);
	text-decoration: none;
}
.platform-toggle a.active {
	background-color: var(--bs-primary);
	color: var(--bs-body-bg);
	border-color: var(--bs-primary);
}
.platform-toggle a.active:hover {
	background-color: var(--color-primary-hover);
}
.platform-toggle a i {
	margin-right: 6px;
	vertical-align: middle;
}
.navbar-center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	z-index: 10;
}
.mobile-only {
	display: none !important;
}
@media all and (max-width: 991px) {
	.navbar-center {
		display: none;
	}
	.mobile-only {
		display: block !important;
	}
	.navbar-nav {
		text-align: right;
	}
	.navbar-nav .nav-link {
		display: inline-block;
		padding-right: 0 !important;
	}
	.navbar-nav .nav-item.nav-separator {
		margin-top: 15px;
	}
}

.content {
	padding-top: 30px;
	padding-bottom: 30px;
}

.content-width {
	max-width: 960px;
	margin:auto;
	padding-left: 22px;
	padding-right: 22px;
}

/* Reset Bootstrap container padding so layout aligns with content-width */
.container,
.container-fluid {
	padding-left: 0;
	padding-right: 0;
}

.header-main {
	text-align: center;
	padding-top: 5vh;
	padding-bottom: 5vh;
	margin-bottom: 5vh;
	background-color: var(--bs-secondary-bg);
}
.header-main p {
	color: var(--bs-secondary-color);
}

.apps-main {
	margin-top: 3vh;
}

.app-icons {
	text-align:center;
}

.app-icons a.app-icon {
	display: inline-block;
	min-width: 220px;
	margin-left: 30px;
	margin-right: 30px;
	margin-top: 15px;
	margin-bottom: 15px;
	
	-moz-transition: all 0.5s;
  	-webkit-transition: all 0.5s;
  	transition: all 0.5s;
}

a.app-icon img {
	-moz-transition: all 0.3s;
  	-webkit-transition: all 0.3s;
  	transition: all 0.3s;
}

a.app-icon:hover img {
  	-moz-transform: scale(1.1);
  	-webkit-transform: scale(1.1);
  	transform: scale(1.1);
}

.app-icons > a,
.app-icons > a:hover
.app-icons > a:focus
.app-icons > a:active {
	color: var(--color-text-muted);
	text-decoration: none;
}

.download-badge {
	display: inline-flex;
	align-items: center;
	background-color: var(--bs-body-color);
	color: var(--bs-body-bg);
	padding: 10px 20px;
	border-radius: 10px;
	text-align: left;
	border: 1px solid var(--color-text-secondary);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}
.download-badge:hover,
a.app-icon:hover .download-badge {
	background-color: var(--bs-dark);
	color: var(--bs-body-bg);
	text-decoration: none;
}
.download-badge .badge-icon {
	font-size: 22px;
	margin-right: 12px;
}
.download-badge .badge-text {
	display: flex;
	flex-direction: column;
}
.download-badge .badge-subtitle {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
}
.download-badge .badge-title {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
}
.download-badge-large {
	padding: 12px 28px;
}
.download-badge-large .badge-icon {
	font-size: 28px;
	margin-right: 14px;
}
.download-badge-large .badge-subtitle {
	font-size: 14px;
}
.download-badge-large .badge-title {
	font-size: 28px;
}

.footer {
	text-align: center;
	padding-top: 30px;
	padding-bottom: 30px;
	background-color: var(--bs-secondary-bg);
}
.footer a {
	text-decoration: none;
}

.footer-support {
	margin-bottom: 3rem;
}

.language-flag {
	display: inline-block;
	width: 22px;
	height: 15px;
	margin-right: 8px;
	vertical-align: middle;
	position: relative;
	top: -1px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 22px 15px;
}

.en {
	background-image: url('/images/flags/us.png');
}
.es {
	background-image: url('/images/flags/es.png');
}
.fr {
	background-image: url('/images/flags/fr.png');
}
.ja {
	background-image: url('/images/flags/jp.png');
}
.zh {
	background-image: url('/images/flags/cn.png');
}
.ru {
	background-image: url('/images/flags/ru.png');
}
.de {
	background-image: url('/images/flags/de.png');
}
.it {
	background-image: url('/images/flags/it.png');
}
.nl {
	background-image: url('/images/flags/nl.png');
}
.pt {
	background-image: url('/images/flags/pt.png');
}
.ko {
	background-image: url('/images/flags/ko.png');
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	color: var(--bs-tertiary-color);
}
.footer-links > *:not(:last-child)::after {
	content: "•";
	margin-left: 0.75rem;
}
.footer-links a {
	color: inherit;
}
.footer-links a:hover {
	color: var(--bs-secondary-color);
}
.footer-links .dropdown-toggle::after {
	vertical-align: middle;
}
.footer-links .dropdown-item.active {
	background-color: var(--bs-secondary-bg);
	color: var(--bs-body-color);
}

.footer-copyright {
	margin-top: 1.5rem;
	text-align: center;
	color: var(--bs-tertiary-color);
}
.footer-copyright > *:not(:last-child)::after {
	content: "";
	margin-left: 0.75rem;
}
.footer-copyright a {
	color: inherit;
}
.footer-copyright a:hover {
	color: var(--bs-secondary-color);
}

@media (max-width: 600px) {
	.footer-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding-left: 1rem;
	}
	.footer-links > *::after {
		display: none;
	}
}


/* Pricing Section */
.pricing-section {
	background-color: var(--bs-secondary-bg);
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	margin-top: 3rem;
	margin-bottom: 3rem;
}
.pricing-section p {
	color: var(--bs-secondary-color);
}
.pricing-cards {
	max-width: 900px;
}
.pricing-card {
	padding: 32px;
	width: 340px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background-color: var(--bs-body-bg);
	color: var(--bs-body-color);
}
.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(var(--bs-body-color-rgb), 0.12);
}
.pricing-card.featured {
	border: 2px solid var(--bs-primary);
}
.pricing-card .popular-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--bs-primary);
	color: var(--bs-body-bg);
	padding: 4px 16px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	min-width: 100px;
	text-align: center;
}
.pricing-card .plan-description {
	min-height: 40px;
	color: var(--bs-secondary-color);
}
.pricing-card .features-list {
	flex-grow: 1;
	margin-bottom: 1.5rem;
}
.pricing-card .features-list li {
	padding: 8px 0;
	font-size: 14px;
	color: var(--color-text-secondary);
	border-bottom: 1px solid var(--bs-tertiary-bg);
	display: flex;
	align-items: center;
}
.pricing-card .features-list li:last-child {
	border-bottom: none;
}
.pricing-card .features-list li::before {
	content: "✓";
	color: var(--bs-success);
	font-weight: 700;
	margin-right: 10px;
	font-size: 14px;
}
.pricing-card .plan-button {
	display: block;
	width: 100%;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}
.pricing-card .plan-button:hover {
	text-decoration: none;
}
.pricing-card .plan-button.btn-outline {
	background: var(--bs-body-bg);
	border: 2px solid var(--bs-border-color);
	color: var(--color-text-secondary);
}
.pricing-card .plan-button.btn-outline:hover {
	background: var(--bs-secondary-bg);
}
.pricing-card .plan-button.btn-primary {
	background: var(--bs-primary);
	border: 2px solid var(--bs-primary);
	color: var(--bs-body-bg);
}
.pricing-card .plan-button.btn-primary:hover {
	opacity: 0.85;
}
.pricing-card .billing-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px;
	border: 2px solid var(--bs-border-color);
	border-radius: 8px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: border-color 0.2s ease;
	min-height: 70px;
}
.pricing-card .billing-option .option-radio {
	width: 20px;
	height: 20px;
	border: 2px solid var(--bs-border-color);
	border-radius: 50%;
	margin-right: 12px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease;
}
.pricing-card .billing-option .option-radio::after {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--bs-primary);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.pricing-card .billing-option.selected .option-radio {
	border-color: var(--bs-primary);
}
.pricing-card .billing-option.selected .option-radio::after {
	opacity: 1;
}
.pricing-card .billing-option:last-child {
	margin-bottom: 0;
}
.pricing-card .billing-option:hover {
	border-color: var(--bs-primary);
}
.pricing-card .billing-option.selected {
	border-color: var(--bs-primary);
	background: var(--color-primary-bg-subtle);
}
.pricing-card .billing-option .option-info {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.pricing-card .billing-option .option-label {
	font-weight: 500;
	color: var(--bs-dark);
}
.pricing-card .billing-option .option-price {
	font-weight: 600;
	color: var(--bs-dark);
}
.pricing-card .billing-option .option-savings {
	font-size: 11px;
	color: var(--color-success-emphasis);
	background: var(--color-success-bg-subtle);
	padding: 2px 6px;
	border-radius: 3px;
	margin-top: 4px;
	display: inline-block;
	width: fit-content;
}
@media (max-width: 760px) {
	.pricing-cards {
		flex-direction: column;
		align-items: center;
	}
	.pricing-card {
		width: 100%;
		max-width: 340px;
	}
}
.pricing-footer {
	max-width: 700px;
	margin-top: 3rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.pricing-footer .pricing-note a {
	text-decoration: underline;
	color:inherit;
}
.pricing-footer .pricing-note a:hover {
	color: var(--bs-body-color);
}
