/* Car Connect landing (/car-connect). Scoped to .cc-* classes; builds on bootstrap.min.css + main.css. */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6.5rem;
}

.cc-page a:not(.btn):not(.cc-badge) {
	color: #A0F192;
}

/* ---------- hero ---------- */
.cc-hero {
	position: relative;
	padding: 10rem 0 5rem;
	background:
		radial-gradient(48rem 32rem at 85% 30%, rgba(160, 241, 146, 0.14), transparent 70%),
		radial-gradient(36rem 26rem at 5% 0%, rgba(108, 215, 245, 0.12), transparent 70%);
	overflow: hidden;
}

.cc-h1 {
	font-size: clamp(2.3rem, 4.6vw, 4.2rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.cc-app-icon {
	border-radius: 22.5%;
	box-shadow: 0 10px 30px rgba(30, 210, 30, 0.25);
}

.cc-ratings > span {
	display: inline-block;
	margin: 0.3rem 0.6rem 0.3rem 0;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	font-size: 0.95rem;
	white-space: nowrap;
}

.cc-stars {
	color: #EFFB84;
	letter-spacing: 1px;
	font-size: 0.85rem;
}

.cc-phones {
	position: relative;
	height: 600px;
	max-width: 520px;
	margin: 0 auto;
}

.cc-phone {
	position: absolute;
	width: 260px;
	height: auto;
	border-radius: 34px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.cc-phone-back {
	right: 4%;
	top: 0;
	transform: rotate(6deg);
	opacity: 0.85;
}

.cc-phone-front {
	left: 6%;
	top: 50px;
	transform: rotate(-4deg);
}

/* ---------- badges ---------- */
.cc-badges {
	gap: 0.9rem;
}

.cc-badge {
	display: inline-flex;
	transition: transform 0.15s ease;
}

.cc-badge:hover {
	transform: translateY(-2px);
}

.cc-badge img {
	height: 54px;
	width: auto;
}

/* Google's badge PNG carries transparent padding; offset it so both badges look the same height. */
.cc-badge-play img {
	height: 80px;
	margin: -13px -12px;
}

/* ---------- sections ---------- */
.cc-section {
	padding: 6rem 0;
}

.cc-story {
	padding: 3rem 0;
}

.cc-shot {
	width: min(320px, 78vw);
	height: auto;
	border-radius: 36px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(160, 241, 146, 0.08);
}

.cc-eyebrow {
	font-family: "Inter-SemiBold", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
	color: #A0F192;
	margin-bottom: 0.75rem;
}

/* ---------- cards ---------- */
.cc-card,
.cc-step {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1.5rem;
	padding: 1.75rem;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.cc-card:hover {
	border-color: rgba(160, 241, 146, 0.5);
	transform: translateY(-2px);
}

.cc-icon {
	width: 46px;
	height: 46px;
	padding: 11px;
	border-radius: 13px;
	background: linear-gradient(135deg, rgba(108, 215, 245, 0.18), rgba(160, 241, 146, 0.18));
	fill: none;
	stroke: #A0F192;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cc-step-num {
	font-size: 2.6rem;
	line-height: 1;
}

/* ---------- panels ---------- */
.cc-panel,
.cc-cta {
	border: 1px solid rgba(160, 241, 146, 0.35);
	border-radius: 2rem;
	padding: 3.5rem 2rem;
	background: rgba(255, 255, 255, 0.04);
}

.cc-cta {
	background:
		radial-gradient(30rem 18rem at 50% 0%, rgba(160, 241, 146, 0.16), transparent 70%),
		rgba(255, 255, 255, 0.04);
}

.cc-brands li {
	margin: 0.3rem;
	padding: 0.45rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	font-size: 0.95rem;
}

.cc-brands li:last-child {
	border-style: dashed;
	opacity: 0.75;
}

/* ---------- FAQ ---------- */
/* Bootstrap 5 colours the accordion through these variables (dark text by default); make it white-on-dark. */
.cc-faq {
	--bs-accordion-color: #fff;
	--bs-accordion-bg: transparent;
	--bs-accordion-border-color: rgba(255, 255, 255, 0.12);
	--bs-accordion-btn-color: #fff;
	--bs-accordion-btn-bg: transparent;
	--bs-accordion-active-color: #fff;
	--bs-accordion-active-bg: transparent;
	--bs-accordion-btn-focus-box-shadow: none;
	color: #fff;
}

.cc-faq .accordion-body {
	color: rgba(255, 255, 255, 0.8);
}

.cc-faq .accordion-item {
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0;
}

.cc-faq .accordion-button {
	background: transparent;
	color: #fff;
	padding: 1.25rem 0;
	box-shadow: none;
}

.cc-faq .accordion-button::after {
	filter: invert(1);
}

.cc-faq .accordion-body {
	padding: 0 0 1.25rem;
}

.cc-legal {
	font-size: 0.8rem;
	line-height: 1.5;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
	.cc-hero {
		padding: 8.5rem 0 3rem;
	}

	.cc-phones {
		height: 480px;
		max-width: 400px;
	}

	.cc-phone {
		width: 210px;
		border-radius: 28px;
	}

	.cc-section {
		padding: 4rem 0;
	}

	.cc-story {
		padding: 2rem 0;
	}

	.cc-shot {
		width: min(280px, 72vw);
		border-radius: 30px;
	}

	.cc-panel,
	.cc-cta {
		padding: 2.5rem 1.25rem;
	}
}

@media (max-width: 575.98px) {
	.cc-phones {
		height: 400px;
		max-width: 330px;
	}

	.cc-phone {
		width: 170px;
		border-radius: 24px;
	}

	.cc-phone-front {
		left: 2%;
		top: 36px;
	}

	.cc-phone-back {
		right: 2%;
	}

	.cc-badge img {
		height: 48px;
	}

	.cc-ratings > span {
		margin: 0.25rem;
		padding: 0.4rem 0.8rem;
		font-size: 0.85rem;
	}

	.cc-stars {
		font-size: 0.75rem;
	}

	.cc-badge-play img {
		height: 71px;
		margin: -11.5px -10.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.cc-card,
	.cc-badge {
		transition: none;
	}

	.cc-card:hover,
	.cc-badge:hover {
		transform: none;
	}
}
