/* ==========================================================================
   Cooler Cafe home / pre-launch landing page
   Styles the Divi layout imported from cooler-cafe-home-divi5.json.
   Every block is targeted by the CSS Class set on its Divi module
   (Module > Advanced > CSS ID & Classes), so content stays editable in
   the Visual Builder and the look lives here.
   ========================================================================== */

/* ---------- Page canvas ---------- */
body.cc-landing,
body.cc-landing #page-container,
body.cc-landing #main-content {
	background: var(--cc-page-bg) !important;
}

body.cc-landing {
	font-family: var(--cc-font-body);
	color: var(--cc-text);
	-webkit-font-smoothing: antialiased;
}

.cc-hero.et_pb_section {
	position: relative;
	overflow: hidden;
	padding: 64px 0 0 !important;
	background:
		radial-gradient(1100px 700px at 30% 18%, rgba(219, 234, 254, 0.55), transparent 60%),
		radial-gradient(900px 900px at 85% 80%, rgba(226, 232, 240, 0.55), transparent 65%),
		var(--cc-page-bg) !important;
}

/* Kill Divi's default spacing inside this section; spacing is set per block below. */
.cc-hero .et_pb_module,
.cc-hero .et_pb_column {
	margin-bottom: 0 !important;
}
/* Divi 5 columns are flex containers with a default gap; spacing is set per block instead. */
.cc-hero .et_pb_column,
.cc-hero .et_pb_group {
	gap: 0 !important;
	row-gap: 0 !important;
}
.cc-hero .et_pb_text_inner p:last-of-type,
.cc-hero .et_pb_text_inner p {
	padding-bottom: 0;
}
.cc-hero h1, .cc-hero h2, .cc-hero h3, .cc-hero h4 {
	padding-bottom: 0;
}

/* ---------- Grid ---------- */
.cc-hero .et_pb_row.cc-row {
	width: 100% !important;
	max-width: 1280px !important;
	padding: 0 32px 64px !important;
	margin: 0 auto !important;
	display: flex;
	align-items: center;
	gap: 64px;
}
.cc-hero .cc-row > .et_pb_column {
	width: auto !important;
	flex: 1 1 0;
	min-width: 0;
	margin: 0 !important;
	position: relative;
}

/* ---------- Brand lockup ---------- */
.cc-brand .cc-brand__lockup {
	display: flex;
	align-items: center;
	gap: 12px;
}
.cc-brand .cc-brand__mark {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	border-radius: 14px;
	background: var(--cc-navy-900);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 20px -6px rgba(16, 42, 67, 0.35);
	overflow: hidden;
}
.cc-brand .cc-brand__mark img {
	width: 44px;
	height: auto;
	display: block;
}
.cc-brand .cc-brand__name {
	font-family: var(--cc-font-heading);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--cc-navy-900);
	line-height: 1.2;
}

/* ---------- Coming soon badge ---------- */
.cc-hero .cc-badge {
	margin-top: 32px !important;
}
.cc-badge .cc-chip {
	display: inline-flex;
	align-items: center;
	height: 31px;
	padding: 0 16px;
	border-radius: 999px;
	background: #dae1e8;
	border: 1px solid #c8d1db;
	font-family: var(--cc-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cc-navy-900);
	line-height: 1;
}

/* ---------- Headline + lead ---------- */
.cc-hero .cc-title {
	margin-top: 24px !important;
}
.cc-title h1 {
	font-family: var(--cc-font-heading) !important;
	font-size: clamp(40px, 4.85vw, 62px) !important;
	line-height: 1.1 !important;
	font-weight: 800 !important;
	letter-spacing: -0.025em;
	color: var(--cc-navy-900) !important;
	margin: 0;
}
.cc-title h1 .cc-accent {
	color: var(--cc-blue-600);
}
.cc-hero .cc-lead {
	margin-top: 24px !important;
}
.cc-lead p {
	font-size: 20px;
	line-height: 1.65;
	color: var(--cc-slate-600);
	max-width: 580px;
}

/* ---------- Early access form card ---------- */
.cc-hero .cc-form-card {
	margin-top: 40px !important;
	background: var(--cc-white);
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.02);
}
.cc-form-head h2 {
	font-family: var(--cc-font-heading) !important;
	font-size: 24px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	color: var(--cc-navy-900) !important;
	letter-spacing: -0.01em;
}
.cc-form-head p {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--cc-slate-600);
}
.cc-hero .cc-form-embed {
	margin-top: 24px !important;
	min-height: 240px;
}
.cc-form-embed .hs-form-frame,
.cc-form-embed iframe {
	width: 100% !important;
}

/* ---------- Trust row ---------- */
.cc-hero .cc-trust {
	margin-top: 40px !important;
}
.cc-trust ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}
.cc-trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--cc-slate-600);
	padding: 0 !important;
}
.cc-trust li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: no-repeat center / contain;
}
.cc-trust .cc-i-leaf::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3E%3Cpath d='M21 3c-9.5 0-15.4 3.6-17 10.3-.4 1.7-.4 3.3-.1 4.8L2 20.6 3.4 22l2.4-2.4c1.4.4 3 .4 4.7 0C17.3 18 21 12.6 21 3zM9.6 17.8c-.9.2-1.8.2-2.6 0l6.3-6.3-1.4-1.4-6.3 6.3c-.2-.8-.2-1.7 0-2.6C6.8 8.9 11 6.2 18.9 5.1c-1 7.4-3.9 11.6-9.3 12.7z'/%3E%3C/svg%3E");
}
.cc-trust .cc-i-shield::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M12 2 4 5v6c0 5.2 3.4 10 8 11 4.6-1 8-5.8 8-11V5l-8-3zm0 2.2 6 2.2V11c0 4-2.5 7.8-6 8.9V4.2z'/%3E%3C/svg%3E");
}
.cc-trust .cc-i-truck::before {
	width: 18px;
	flex-basis: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23102a43'%3E%3Cpath d='M1 4h13v4h4l4 4.5V17h-2a3 3 0 0 1-6 0H9a3 3 0 0 1-6 0H1V4zm15 6v2.5h4.2L18 10h-2zM6 15.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM3 8v1.5h6V8H3zm1 3v1.5h5V11H4z'/%3E%3C/svg%3E");
}

/* ---------- Product card (right column) ---------- */
.cc-hero .cc-product-card {
	position: relative;
	background:
		radial-gradient(circle at 0% 100%, #eff6ff 0 160px, transparent 161px),
		var(--cc-white);
	border-radius: 28px;
	padding: 32px;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.14);
	overflow: visible;
}
.cc-pill .cc-chip {
	display: inline-flex;
	align-items: center;
	height: 33px;
	padding: 0 16px;
	border-radius: 999px;
	background: #e7e9ec;
	font-size: 14px;
	font-weight: 600;
	color: var(--cc-navy-900);
	line-height: 1;
}

/* Floating "Trusted by" card */
.cc-hero .cc-trusted {
	position: absolute !important;
	top: -24px;
	right: -24px;
	z-index: 3;
	width: auto;
	min-width: 253px;
	background: var(--cc-white);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.03);
}
.cc-trusted .cc-trusted__top {
	display: flex;
	align-items: center;
	gap: 12px;
}
.cc-trusted .cc-trusted__icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 12px;
	background: #dbeafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") no-repeat center / 20px;
}
.cc-trusted .cc-trusted__title {
	white-space: nowrap;
	font-family: var(--cc-font-body);
	font-size: 18px;
	font-weight: 700;
	color: var(--cc-navy-900);
	line-height: 1.3;
}
.cc-trusted p.cc-trusted__sub {
	margin-top: 16px;
	white-space: nowrap;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--cc-slate-500);
}

/* Product image panel */
.cc-hero .cc-product-image {
	margin-top: 24px !important;
	background: #f6f8fb;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.10);
}
.cc-product-image .et_pb_image_wrap,
.cc-product-image img {
	display: block;
	width: 100%;
	border-radius: 8px;
}
.cc-product-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.25);
}

/* Stat tiles */
.cc-hero .cc-stats {
	margin-top: 24px !important;
}
.cc-stats .et_pb_text_inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.cc-stats .cc-stat {
	border-radius: 12px;
	padding: 16px 8px;
	min-height: 79px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--cc-white);
	box-shadow: 0 10px 20px -8px rgba(15, 23, 42, 0.35);
}
.cc-stats .cc-stat strong {
	display: block;
	font-family: var(--cc-font-body);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--cc-white);
}
.cc-stats .cc-stat span {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.9);
}
.cc-stats .cc-stat--navy  { background: linear-gradient(135deg, #102a43, #243b53); }
.cc-stats .cc-stat--blue  { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.cc-stats .cc-stat--slate { background: linear-gradient(135deg, #334155, #1e293b); }

/* Feature checklist */
.cc-hero .cc-features {
	margin-top: 24px !important;
}
.cc-features ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0;
	display: grid;
	gap: 12px;
}
.cc-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 12px !important;
	border-radius: 12px;
	background: #f8fafc;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--cc-slate-700);
}
.cc-features li::before {
	content: "";
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 8px;
	background: #dcfce7 no-repeat center / 16px;
}
.cc-features li.cc-check--green::before {
	background-color: #dcfce7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.cc-features li.cc-check--blue::before {
	background-color: #dbeafe;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.cc-features li.cc-check--navy::before {
	background-color: #e2e6ea;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102a43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Lineup image + energy card ---------- */
.cc-hero .cc-energy {
	position: relative;
	margin-top: 24px !important;
	margin-bottom: 84px !important;
}
.cc-energy-image .et_pb_image_wrap,
.cc-energy-image img {
	display: block;
	width: 100%;
	border-radius: 12px;
}
.cc-energy-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}
.cc-hero .cc-energy-card {
	position: absolute !important;
	left: -24px;
	bottom: -84px;
	z-index: 2;
	width: 320px;
	background: var(--cc-white);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.03);
}
.cc-energy-card .cc-energy-card__top {
	display: flex;
	align-items: center;
	gap: 12px;
}
.cc-energy-card .cc-energy-card__icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 12px;
	background: var(--cc-navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M13.5 2 5 13.5h6L10.5 22 19 10.5h-6z'/%3E%3C/svg%3E") no-repeat center / 18px;
}
.cc-energy-card strong {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--cc-navy-900);
}
.cc-energy-card .cc-energy-card__label {
	display: block;
	font-size: 13px;
	line-height: 1.3;
	color: var(--cc-slate-600);
}
.cc-energy-card p.cc-energy-card__desc {
	margin-top: 16px;
	font-size: 12.5px;
	line-height: 1.35;
	color: var(--cc-slate-500);
}

/* ---------- Footer bar ---------- */
.cc-hero .et_pb_row.cc-footer-row {
	width: 100% !important;
	max-width: none !important;
	padding: 24px 16px !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.cc-hero .cc-footer-row > .et_pb_column {
	width: auto !important;
	margin: 0 !important;
}
.cc-copyright p {
	font-size: 14px;
	color: var(--cc-slate-500);
}
.cc-footer-links .et_pb_text_inner,
.cc-footer-links p {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 14px;
}
.cc-footer-links a {
	color: var(--cc-slate-500);
	text-decoration: none;
	transition: color var(--cc-transition);
}
.cc-footer-links a:hover {
	color: var(--cc-navy-900);
}
.cc-footer-links .cc-social {
	display: inline-block;
	width: 18px;
	height: 18px;
	font-size: 0;
	background-color: currentColor;
	-webkit-mask: var(--cc-icon) no-repeat center / contain;
	mask: var(--cc-icon) no-repeat center / contain;
}
.cc-footer-links .cc-social--linkedin {
	--cc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.07 2.07 0 1 1 0-4.13 2.07 2.07 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E");
}
.cc-footer-links .cc-social--twitter {
	--cc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.95 4.57a10 10 0 0 1-2.82.77 4.96 4.96 0 0 0 2.16-2.72c-.95.56-2 .96-3.12 1.19a4.92 4.92 0 0 0-8.38 4.48A13.94 13.94 0 0 1 1.64 3.16a4.92 4.92 0 0 0 1.52 6.57 4.9 4.9 0 0 1-2.23-.62v.06a4.92 4.92 0 0 0 3.95 4.83 4.96 4.96 0 0 1-2.21.08 4.93 4.93 0 0 0 4.6 3.42A9.87 9.87 0 0 1 0 19.54a14 14 0 0 0 7.56 2.21c9.05 0 14-7.5 14-13.98 0-.21 0-.42-.02-.63A9.94 9.94 0 0 0 24 4.59z'/%3E%3C/svg%3E");
}
.cc-footer-links .cc-social--facebook {
	--cc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.69 4.53-4.69 1.31 0 2.68.24 2.68.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.25h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E");
}
.cc-footer-links .cc-divider {
	width: 1px;
	height: 20px;
	background: #cbd5e1;
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 980px) {
	.cc-hero.et_pb_section {
		padding-top: 40px !important;
	}
	.cc-hero .et_pb_row.cc-row {
		flex-direction: column;
		align-items: stretch;
		gap: 56px;
		padding: 0 24px 48px !important;
	}
	.cc-hero .cc-row > .et_pb_column {
		flex: 0 0 auto;
		width: 100% !important;
		max-width: 620px;
		margin: 0 auto !important;
	}
	.cc-hero .cc-trusted {
		right: -8px;
	}
	.cc-hero .cc-energy-card {
		left: -8px;
	}
}

@media (max-width: 600px) {
	.cc-hero .et_pb_row.cc-row {
		padding: 0 16px 40px !important;
	}
	.cc-lead p {
		font-size: 18px;
	}
	.cc-hero .cc-form-card,
	.cc-hero .cc-product-card {
		padding: 20px;
		border-radius: 20px;
	}
	.cc-hero .cc-product-card {
		padding-top: 24px;
	}
	/* Trusted card drops into the flow on phones so it never covers the image. */
	.cc-hero .cc-trusted {
		position: relative !important;
		top: auto;
		right: auto;
		width: auto;
		margin-top: 16px !important;
		min-width: 0;
		box-shadow: 0 0 0 1px #e2e8f0;
		padding: 16px;
	}
	.cc-hero .cc-product-image {
		padding: 16px;
	}
	.cc-stats .et_pb_text_inner {
		gap: 8px;
	}
	.cc-stats .cc-stat strong {
		font-size: 20px;
	}
	.cc-stats .cc-stat span {
		font-size: 12px;
	}
	.cc-hero .cc-energy {
		margin-bottom: 0 !important;
	}
	.cc-hero .cc-energy-card {
		position: relative !important;
		left: auto;
		bottom: auto;
		width: auto;
		margin: -40px 12px 0 !important;
	}
	.cc-hero .et_pb_row.cc-footer-row {
		flex-direction: column;
		align-items: flex-start;
	}
}
