/* ==========================================================================
   FormRig Homepage — Dark Matte Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.frig-hero {
	background-color: #0D0D0D;
	color: var(--frig-text);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.frig-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient( rgba(244,96,12,0.05) 1px, transparent 1px ),
		linear-gradient( 90deg, rgba(244,96,12,0.05) 1px, transparent 1px );
	background-size: 52px 52px;
	pointer-events: none;
}

/* Radial orange glow behind content */
.frig-hero::after {
	content: '';
	position: absolute;
	top: 30%;
	left: 20%;
	width: 600px;
	height: 600px;
	background: radial-gradient( circle, rgba(244,96,12,0.08) 0%, transparent 70% );
	pointer-events: none;
}

.frig-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
	padding-top: 120px;
	padding-bottom: 80px;
	position: relative;
	z-index: 1;
}

.frig-hero__eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--frig-orange);
	margin-bottom: 16px;
}

.frig-hero__headline {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	line-height: 1.05;
	color: var(--frig-text);
	margin-bottom: 24px;
	letter-spacing: -1px;
}

.frig-hero__sub {
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--frig-text-muted);
	max-width: 480px;
	margin-bottom: 36px;
}

.frig-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.frig-hero__colours { display: flex; align-items: center; gap: 10px; }

.frig-swatch {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.15);
	display: inline-block;
}
.frig-swatch--black  { background: #2A2A2A; border-color: rgba(255,255,255,0.3); }
.frig-swatch--white  { background: #FAFAFA; }
.frig-swatch--orange { background: var(--frig-orange); box-shadow: 0 0 8px rgba(244,96,12,0.5); }

.frig-hero__colour-note { font-size: 0.78rem; color: var(--frig-text-faint); }

/* 3D model placeholder */
.frig-hero__visual { display: flex; align-items: center; justify-content: center; }

.frig-hero__model-placeholder {
	width: 100%;
	aspect-ratio: 4/3;
	border: 1px solid rgba(244,96,12,0.3);
	border-radius: var(--frig-radius-lg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--frig-text-faint);
	background: linear-gradient( 135deg, rgba(244,96,12,0.04) 0%, transparent 60% ), var(--frig-black-card);
	box-shadow: inset 0 0 60px rgba(0,0,0,0.4);
}
.frig-hero__model-placeholder p { font-size: 1rem; font-weight: 600; margin: 0 0 6px; color: var(--frig-text-muted); }
.frig-hero__model-placeholder small { font-size: 0.72rem; }

.frig-hero__scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; }
.frig-hero__scroll-arrow {
	color: var(--frig-text-faint);
	font-size: 1.4rem;
	animation: frigBounce 2s infinite;
	display: block;
}
@keyframes frigBounce {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(6px); }
}

/* --------------------------------------------------------------------------
   How It Works
   -------------------------------------------------------------------------- */

.frig-how {
	padding: 100px 0;
	background-color: var(--frig-black-card);
	text-align: center;
	position: relative;
}

/* Top edge gloss line */
.frig-how::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 1px;
	background: linear-gradient( 90deg, transparent, var(--frig-orange), transparent );
}

.frig-how__steps { display: flex; align-items: flex-start; margin-top: 16px; }

.frig-how__step { flex: 1; padding: 32px 28px; }

.frig-how__step-divider {
	flex: 0 0 auto;
	font-size: 1.6rem;
	color: var(--frig-orange);
	margin-top: 52px;
	opacity: 0.4;
}

.frig-how__step-number {
	font-size: 3rem;
	font-weight: 800;
	color: #FF7A3A;
	opacity: 1;
	line-height: 1;
	margin-bottom: 16px;
}

.frig-how__step-title { font-size: 1.15rem; margin-bottom: 10px; }
.frig-how__step-desc { font-size: 0.92rem; color: var(--frig-text-muted); line-height: 1.7; }
.frig-how__step-title { font-size: 1.15rem; margin-bottom: 10px; color: var(--frig-text); }

/* --------------------------------------------------------------------------
   Use Cases
   -------------------------------------------------------------------------- */

.frig-uses {
	padding: 100px 0;
	background-color: var(--frig-black);
	text-align: center;
}

.frig-uses__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.frig-use-card {
	background: var(--frig-black-card);
	border: 1px solid var(--frig-black-border);
	border-radius: var(--frig-radius-lg);
	padding: 32px 24px;
	text-align: left;
	position: relative;
	overflow: hidden;
	transition: border-color var(--frig-transition), box-shadow var(--frig-transition), transform var(--frig-transition);
}

/* Gloss sheen */
.frig-use-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--frig-gloss-overlay);
	pointer-events: none;
	border-radius: inherit;
}

.frig-use-card:hover {
	border-color: rgba(244,96,12,0.4);
	box-shadow: var(--frig-shadow-orange);
	transform: translateY(-3px);
}

.frig-use-card__icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.frig-use-card__title { font-size: 1rem; margin-bottom: 8px; }
.frig-use-card__desc { font-size: 0.88rem; color: var(--frig-text-muted); line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------------------
   Colours Section
   -------------------------------------------------------------------------- */

.frig-colours {
	padding: 100px 0;
	background-color: var(--frig-black-card);
	position: relative;
}

.frig-colours::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 1px;
	background: linear-gradient( 90deg, transparent, var(--frig-orange), transparent );
}

.frig-colours__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.frig-colour-options { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }

.frig-colour-option { display: flex; align-items: center; gap: 10px; }

.frig-colour-dot {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.12);
	flex-shrink: 0;
}
.frig-colour-dot--black  { background: #2A2A2A; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }
.frig-colour-dot--white  { background: #FAFAFA; }
.frig-colour-dot--orange { background: var(--frig-orange); box-shadow: 0 0 10px rgba(244,96,12,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }

.frig-colour-label { font-size: 0.85rem; color: var(--frig-text-muted); font-weight: 500; }

.frig-colour-combos { display: flex; gap: 24px; justify-content: center; }
.frig-colour-combo { display: flex; flex-direction: column; gap: 5px; align-items: center; }

.frig-combo-strip {
	width: 56px;
	height: 14px;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.frig-combo-strip--black  { background: #2A2A2A; }
.frig-combo-strip--white  { background: #D8D8D4; }
.frig-combo-strip--orange { background: var(--frig-orange); box-shadow: 0 0 6px rgba(244,96,12,0.4); }

.frig-combo-label { font-size: 0.7rem; color: var(--frig-text-faint); margin-top: 8px; text-align: center; font-weight: 500; }

.frig-colours__note { text-align: center; font-size: 0.72rem; color: var(--frig-text-faint); margin-top: 20px; }

/* --------------------------------------------------------------------------
   Shop CTA
   -------------------------------------------------------------------------- */

.frig-shop-cta {
	padding: 100px 0;
	background-color: var(--frig-black);
	text-align: center;
}

/* Centre the subtitle under the heading */
.frig-shop-cta .frig-section-sub {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.frig-shop-cta__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 48px;
	text-align: left;
	/* align-items defaults to stretch — both cards same height, buttons align */
}

.frig-kit-card {
	background: var(--frig-black-card);
	border: 1px solid var(--frig-black-border);
	border-radius: var(--frig-radius-lg);
	padding: 36px 32px;
	position: relative;
	overflow: hidden;
	transition: border-color var(--frig-transition), box-shadow var(--frig-transition);
	display: flex;
	flex-direction: column;
}

.frig-kit-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--frig-gloss-overlay);
	pointer-events: none;
}

.frig-kit-card:hover {
	border-color: rgba(244,96,12,0.5);
	box-shadow: var(--frig-shadow-orange);
}

.frig-kit-card--featured { border-color: rgba(244,96,12,0.35); }

.frig-kit-card__badge {
	position: absolute;
	top: -1px;
	left: 28px;
	background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 60%), var(--frig-orange);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 0 0 8px 8px;
}

.frig-kit-card__title { font-size: 1.25rem; margin-bottom: 10px; }
.frig-kit-card__desc { font-size: 0.9rem; color: var(--frig-text-muted); margin-bottom: 18px; line-height: 1.65; }

/* Push button to bottom of card */
.frig-kit-card__desc   { flex: 0 0 auto; }
.frig-kit-card__includes { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.frig-kit-card__includes li {
	font-size: 0.88rem;
	padding: 7px 0;
	border-bottom: 1px solid var(--frig-black-border);
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--frig-text-muted);
}
.frig-kit-card__includes li::before { content: '✓'; color: var(--frig-orange); font-weight: 700; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Benefits Bar
   -------------------------------------------------------------------------- */

.frig-benefits {
	background-color: #0D0D0D;
	border-top: 1px solid var(--frig-black-border);
	border-bottom: 1px solid var(--frig-black-border);
	padding: 24px 0;
}
.frig-benefits__grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; }
.frig-benefit { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--frig-text-muted); }
.frig-benefit__icon { font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */

.frig-faq {
	padding: 100px 0;
	background-color: var(--frig-black-card);
}

.frig-faq .frig-section-title { margin-bottom: 12px; }

.frig-faq__subtitle {
	text-align: center;
	color: var(--frig-text-muted);
	font-size: 1rem;
	margin: 0 auto 48px;
	max-width: 560px;
}

.frig-faq__list {
	max-width: 800px;
	margin: 0 auto;
}

.frig-faq details {
	background: var(--frig-black-raised);
	border: 1px solid var(--frig-black-border);
	border-left: 3px solid transparent;
	border-radius: var(--frig-radius-lg);
	margin-bottom: 10px;
	overflow: hidden;
	transition: border-color 200ms ease, border-left-color 200ms ease;
}

.frig-faq details[open] {
	border-color: rgba(244, 96, 12, 0.2);
	border-left-color: var(--frig-orange);
}

.frig-faq summary {
	padding: 20px 24px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--frig-text);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
	gap: 16px;
}

.frig-faq summary::-webkit-details-marker { display: none; }

.frig-faq summary::after {
	content: '+';
	color: var(--frig-orange);
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1;
	flex-shrink: 0;
	transition: transform 200ms ease;
}

.frig-faq details[open] summary::after { transform: rotate(45deg); }

.frig-faq summary:hover { color: var(--frig-orange); }

.frig-faq details p {
	padding: 16px 24px 22px;
	font-size: 0.93rem;
	color: var(--frig-text-muted);
	line-height: 1.75;
	margin: 0;
	border-top: 1px solid var(--frig-black-border);
}

@media ( max-width: 768px ) {
	.frig-faq summary { font-size: 0.9rem; padding: 16px 18px; }
	.frig-faq details p { padding: 14px 18px 18px; }
}

/* --------------------------------------------------------------------------
   Hero tagline (below H1, replaces old H1 marketing text)
   -------------------------------------------------------------------------- */

.frig-hero__tagline {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--frig-text-muted);
	margin-bottom: 20px;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Contact (homepage)
   -------------------------------------------------------------------------- */

.frig-contact {
	padding: 100px 0;
	background-color: var(--frig-black-card);
}

.frig-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.frig-contact__list { list-style: none; padding: 0; margin: 20px 0 0; }
.frig-contact__list li {
	font-size: 0.88rem;
	color: var(--frig-text-muted);
	padding: 8px 0;
	border-bottom: 1px solid var(--frig-black-border);
}
.frig-contact__list li::before { content: '→ '; color: var(--frig-orange); font-weight: 700; }

.frig-contact__placeholder {
	color: var(--frig-text-faint);
	font-style: italic;
	background: var(--frig-black-raised);
	padding: 20px;
	border-radius: var(--frig-radius);
	border: 1px solid var(--frig-black-border);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media ( max-width: 1024px ) {
	.frig-uses__grid { grid-template-columns: repeat(2, 1fr); }

	/* Colours section: stack vertically and center everything on tablet */
	.frig-colours__inner {
		grid-template-columns: 1fr;
		gap: 48px;
		text-align: center;
	}
	.frig-colour-options {
		justify-content: center;
	}
	.frig-colours__visual {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

@media ( max-width: 768px ) {
	.frig-hero__inner { grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
	.frig-hero__sub, .frig-section-sub { max-width: 100%; }
	.frig-hero__actions { justify-content: center; }
	.frig-hero__colours { justify-content: center; }
	.frig-hero__visual { display: none; }
	.frig-how__steps { flex-direction: column; }
	.frig-how__step-divider { transform: rotate(90deg); margin: 0 auto; }
	.frig-uses__grid { grid-template-columns: 1fr; }
	.frig-shop-cta__cards { grid-template-columns: 1fr; }
	.frig-contact__inner { grid-template-columns: 1fr; gap: 40px; }
	.frig-colour-options { flex-direction: column; gap: 14px; align-items: center; }
}
