.terms-purple, .terms-purple h1, .terms-purple h2, .terms-purple h3, .terms-purple h4, .terms-purple h5, .terms-purple h6, .terms-purple p, .terms-purple a, .terms-purple span, .terms-purple li, .terms-purple strong, .terms-purple em {
	color: #4b3aff !important;
}

.footer-flex {
	display: flex;
	align-items: baseline;
	gap: 48px;
}
.footer-brand {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 220px;
}
.footer-links {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}
.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	min-width: 160px;
}
.footer-title {
	margin-top: 0;
	margin-bottom: 8px;
	text-align: left;
	font-weight: 700;
	color: #4b3aff;
	font-size: calc(1em + 3px);
}
.footer-brand {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.footer-links {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}
.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}
.footer-title {
	margin-top: 0;
	margin-bottom: 8px;
	text-align: left;
}
.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.footer-title {
	margin-top: 0;
	text-align: left;
}
.main-form input[type="text"] {
	border: 2px solid #4b3aff;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 1rem;
	outline: none;
	transition: border 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 8px #4b3aff11;
}
.main-form input[type="text"]:focus {
	border-color: #4b3aff;
	box-shadow: 0 0 0 2px #4b3aff33;
}
.main-form input[type="text"]::placeholder {
	color: #a89cff;
	opacity: 1;
}
.cta-button {
	background: #4b3aff;
	color: #fff;
	border: none;
	border-radius: 24px;
	padding: 12px 32px;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	box-shadow: 0 2px 8px #4b3aff22;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	display: inline-block;
	cursor: pointer;
}
.cta-button:hover {
	background: #222;
	color: #fff;
	box-shadow: 0 4px 16px #4b3aff33;
}
.cta-button.secondary {
	background: #fff;
	color: #4b3aff;
	border: 2px solid #4b3aff;
	margin-left: 8px;
}
.cta-button.secondary:hover {
	background: #6f59ff;
	color: #fff;
	border-color: #fff;
	box-shadow: 0 4px 16px #6f59ff33;
}
.cta-button.secondary:focus {
	outline: none;
	box-shadow: 0 0 0 4px #6f59ff33;
	border-color: #fff;
}
.why-kubolink h4 {
	font-size: calc(1.2em + 2px);
}
.cta-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
}
.cta-link-inline {
	color: #fff;
	text-decoration: none;
	font-size: 1rem;
	padding: 0 8px;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	height: 44px;
	font-weight: 700;
	position: relative;
	top: -5px;
}

.cta-link-inline:hover {
	color: #222;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.login-header {
	color: #222;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	padding: 8px 16px;
	border-radius: 20px;
	transition: background 0.2s, color 0.2s;
}
.login-header:hover {
	background: #f5f5ff;
	color: #4b3aff;
}
.cta-header {
	background: #4b3aff;
	color: #fff;
	border: none;
	border-radius: 24px;
	padding: 8px 24px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s;
}
.cta-header:hover {
	background: #222;
}
body {
	font-family: 'Montserrat', Arial, sans-serif;
	background: #fff;
	color: #222;
	margin: 0;
	padding: 0;
}

* {
	box-sizing: border-box;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.main-content {
    padding-top: 72px;
}

.header {
	background: #fff;
	border-bottom: 1px solid rgba(75,58,255,0.3);
	padding: 16px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
.header .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 32px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 2px;
	font-weight: 700;
	font-size: 1.2rem;
	color: #4b3aff;
	cursor: pointer;
	margin-right: auto;
}
.nav {
	display: flex;
	gap: 24px;
}
.nav a {
	text-decoration: none;
	color: #222;
	font-weight: 500;
	transition: color 0.2s;
}
.nav a:hover {
	color: #4b3aff;
}
.cta-header {
	background: #222;
	color: #fff;
	border: none;
	border-radius: 24px;
	padding: 8px 24px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s;
}
.cta-header:hover {
	background: #4b3aff;
}

.hero {
	padding: 64px 0 32px 0;
	text-align: center;
}
.mini-cta {
	background: #f5f5ff;
	color: #4b3aff;
	border: none;
	border-radius: 16px;
	padding: 6px 18px;
	font-size: 0.9rem;
	margin-bottom: 24px;
	font-weight: 600;
}
.hero h1 {
	font-size: 2.6rem;
	font-weight: 900;
	margin: 0 0 16px 0;
	line-height: 1.2;
}
.highlight {
	color: #4b3aff;
	text-shadow: 0 2px 8px #d1caff;
}
.hero p {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 32px;
}
.form-box {
	background: #fff;
	box-shadow: 0 4px 24px #e6e6fa44;
	border-radius: 16px;
	padding: 24px;
	max-width: 420px;
	margin: 0 auto;
}
.form-toggle {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}
.form-toggle button {
	flex: 1;
	background: #f5f5ff;
	border: none;
	border-radius: 12px;
	padding: 8px 0;
	font-weight: 600;
	color: #4b3aff;
	cursor: pointer;
	transition: background 0.2s;
}
.form-toggle .active {
	background: #4b3aff;
	color: #fff;
}
.main-form {
	display: flex;
	gap: 8px;
}
.main-form input {
	flex: 1;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 12px;
	font-size: 1rem;
	outline: none;
}
.main-form button {
	background: #4b3aff;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 12px 24px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 2px 8px #4b3aff22;
	transition: background 0.18s, transform 0.08s;
}
.main-form button:hover {
    background: #3729b0;
    transform: translateY(-1px);
}
.features {
	padding: 48px 0;
	background: #fafaff;
}
.features-row {
	display: flex;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
}
.feature {
	text-align: center;
	max-width: 260px;
	flex: 1 1 220px;
}
.feature i {
	margin-bottom: 12px;
	font-size: 2.2rem;
	color: #4b3aff;
}
.feature h3 {
	font-size: 1.2rem;
	color: #4b3aff;
	margin-bottom: 8px;
}
.feature p {
	color: #555;
	font-size: 1rem;
}

 .why-kubolink {
	padding: 0 0 48px 0;
	text-align: center;
}
.why-kubolink h4 {
	color: #4b3aff;
	font-weight: 700;
	margin-bottom: 8px;
}
.why-kubolink h2 {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 12px;
}
.why-kubolink p {
	color: #555;
	margin-bottom: 32px;
}
.differentials {
	display: flex;
	justify-content: center;
	gap: 32px;
	flex-wrap: wrap;
}
.diff {
	background: #f5f5ff;
	border-radius: 12px;
	padding: 24px 16px;
	min-width: 220px;
	max-width: 260px;
	flex: 1 1 220px;
	box-sizing: border-box;
	text-align: center;
}
#result button#download-png,
#result button#share-png {
	background: #4b3aff;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 700;
	font-family: 'Montserrat', Arial, sans-serif;
	cursor: pointer;
	box-shadow: 0 2px 8px #4b3aff22;
	transition: background 0.18s, transform 0.08s;
}
#result button#download-png:hover,
#result button#share-png:hover {
	background: #3729b0;
	transform: translateY(-1px);
}

#result button#download-png { margin-right: 8px; }

#result button#copy-url,
#result button#share-url {
	background: #4b3aff;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 700;
	font-family: 'Montserrat', Arial, sans-serif;
	cursor: pointer;
	box-shadow: 0 2px 8px #4b3aff22;
	transition: background 0.18s, transform 0.08s;
}
#result button#copy-url:hover,
#result button#share-url:hover {
	background: #3729b0;
	transform: translateY(-1px);
}
#result button#copy-url { margin-right: 8px; }
.diff h5 {
	color: #4b3aff;
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 1.2rem;
}
#result > span {
	display: block;
	margin-bottom: 1px;
}
#result > a#short-url {
	display: block;
	margin: 1px 0;
}
#result img#qr-img {
	margin-bottom: 8px !important;
	margin-top: 0px;
}
#result > div {
	margin-top: 8px !important;
}
.diff p {
	color: #555;
	font-size: 0.95rem;
	}
	.diff i {
		font-size: 2.2rem;
		color: #4b3aff;
		margin-bottom: 12px;
		display: block;
	}

.cta-section {
	background: #563bff;
	color: #fff;
	padding: 48px 0;
	text-align: center;
}
	.cta-section .container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
.cta-section h2 {
	font-size: 1.8rem;
	font-weight: 900;
	margin-bottom: 24px;
}
.cta-main {
	background: #fff;
	color: #4b3aff;
	border: none;
	border-radius: 24px;
	padding: 12px 32px;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 12px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.cta-main:hover {
	background: #222;
	color: #fff;
}
.cta-link {
	display: block;
	color: #4b3aff;
	margin-top: 8px;
	text-decoration: none;
	font-size: 1rem;
}

.footer {
	background: #fafaff;
	padding: 40px 0 16px 0;
	color: #222;
}
.footer .container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}
.footer-brand {
	max-width: 320px;
}
.footer-brand span {
	font-weight: 900;
	color: #4b3aff;
	font-size: 1.3rem;
}
.invalid-msg {
    color: #4b3aff;
    font-size: 18px;
}

#loading span {
	color: #4b3aff;
	font-size: 18px;
}
.footer-brand p {
	color: #555;
	margin: 16px 0;
}
.footer-social {
	display: flex;
	gap: 12px;
}
.footer-social i {
	font-size: 1.7rem;
	color: #4b3aff;
	transition: color 0.2s;
}
.footer-social a:hover i {
	color: #222;
}
.logo i {
	font-size: 1.5rem;
	color: #4b3aff;
	margin-right: 2px;
}
.footer-links {
	display: flex;
	gap: 48px;
	justify-content: center;
	align-items: center;
}
.footer-links h6 {
	font-weight: 700;
	color: #4b3aff;
	margin-bottom: 8px;
	font-size: calc(1em + 3px);
}
.footer-links a {
	display: block;
	color: #222;
	text-decoration: none;
	margin-bottom: 6px;
	font-size: 0.98rem;
	transition: color 0.2s;
}
.footer-links a:hover {
	color: #4b3aff;
}
.footer-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 22px;
	font-size: 0.95rem;
	color: #4b3aff;
	border-top: 1px solid rgba(75,58,255,0.3);
	padding-top: 12px;
	gap: 24px;
}
.footer-bottom a, .footer-bottom span {
	color: #4b3aff;
	margin-left: 16px;
	text-decoration: none;
}

@media (max-width: 480px) {
	.container {
		padding: 0 14px;
	}

	.main-content {
		padding-top: 90px;
	}

	.header {
		padding: 10px 0;
	}

	.header .container {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.logo {
		margin-right: 0;
		width: 100%;
		justify-content: center;
	}

	.nav {
		width: 100%;
		justify-content: center;
		gap: 16px;
		flex-wrap: wrap;
	}

	.nav a {
		font-size: 0.92rem;
	}

	.hero {
		padding: 12px 0 20px 0;
	}

	.hero h1 {
		font-size: 1.75rem;
		line-height: 1.25;
	}

	.hero p {
		font-size: 0.98rem;
		line-height: 1.45;
	}

	.hero p br {
		display: none;
	}

	.form-box {
		padding: 14px;
		max-width: 100%;
	}

	.main-form {
		flex-direction: column;
		gap: 10px;
	}

	.main-form button {
		width: 100%;
	}

	#result > div {
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin-top: 8px !important;
	}

	#result button#copy-url,
	#result button#share-url,
	#result button#download-png,
	#result button#share-png {
		width: 100%;
		margin-right: 0 !important;
	}

	#toast {
		left: 14px !important;
		right: 14px !important;
		bottom: 14px !important;
		padding: 10px 14px !important;
		text-align: center;
	}

	.why-kubolink h2,
	.cta-section h2 {
		font-size: 1.5rem;
		line-height: 1.3;
	}

	.differentials {
		gap: 14px;
	}

	.diff {
		min-width: 100%;
		max-width: 100%;
	}

	.cta-section {
		padding: 36px 0;
	}

	.cta-actions {
		width: 100%;
		flex-direction: column;
		gap: 10px;
	}

	.cta-button,
	.cta-button.secondary {
		width: 100%;
		margin-left: 0;
	}

	.footer {
		padding-top: 28px;
	}

	.footer-bottom {
		margin-top: 8px;
		padding-top: 10px;
		font-size: 0.84rem;
		text-align: center;
	}

	.footer-bottom a,
	.footer-bottom span {
		margin-left: 0;
	}
}

/* Install banner styles */
.install-banner {
	position: fixed;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%) translateY(120%);
	background: #fff;
	color: #222;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(75,58,255,0.15);
	z-index: 11000;
	transition: transform 300ms ease, opacity 300ms ease;
	opacity: 0;
	padding: 12px 16px;
	min-width: 280px;
	max-width: calc(100% - 40px);
}
.install-banner.visible {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}
.install-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
}
.install-text {
	font-weight: 700;
	color: #222;
	font-size: 1rem;
}
.install-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.install-actions .install-btn { min-width: 110px; }
.install-btn {
	background: transparent;
	border: 1px solid #dcdcff;
	padding: 8px 12px;
	border-radius: 10px;
	font-weight: 700;
	color: #4b3aff;
	cursor: pointer;
}
.install-btn.primary {
	background: #4b3aff;
	color: #fff;
	border-color: transparent;
}

@media (max-width: 480px) {
	.install-banner { bottom: 14px; min-width: auto; padding: 10px; }
	.install-text { font-size: 0.9rem; }
}

