/* =========================================================
   Shrang Homepage
   File: wp-content/themes/shrang/assets/css/homepage.css

   Sections:
   1.  Page wrapper
   2.  Hero
   3.  Social proof line + single waveform
   4.  Clips section
   5.  Feature cards
   6.  Section title above feature cards
   7.  Info sections
   8.  Bottom CTA section
   9.  RTL support
   10. Mobile
   ========================================================= */

/* ---------------------------------------------------------
   1. Page wrapper
--------------------------------------------------------- */
.shrang-front-page-wrap {
	max-width: 1120px;
}

/* Try to reduce the homepage-only space after the header without touching header.css */
body.home .shrang-front-page-wrap,
body.front-page .shrang-front-page-wrap {
	margin-top: 0;
}

body.home main,
body.front-page main,
body.home .site-main,
body.front-page .site-main,
body.home .shrang-main,
body.front-page .shrang-main {
	padding-top: 16px;
}

/* ---------------------------------------------------------
   2. Hero
--------------------------------------------------------- */
.shrang-home-hero {
	margin: 0 auto 24px;
}

.shrang-home-hero-inner {
	position: relative;
	width: 100%;
	max-width: 940px;
	margin: 0 auto;
	padding: clamp(38px, 5vw, 58px) 26px clamp(34px, 4vw, 46px);
	overflow: hidden;
	text-align: center;
	border: 1px solid rgba(250, 84, 32, 0.22);
	border-radius: 28px;
	background:
		radial-gradient(circle at 10% 0%, rgba(250, 84, 32, 0.18), transparent 34%),
		radial-gradient(circle at 90% 14%, rgba(124, 58, 237, 0.08), transparent 30%),
		radial-gradient(circle at 72% 98%, rgba(20, 184, 166, 0.07), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
	box-shadow: 0 20px 48px rgba(17, 17, 17, 0.07);
}

/* Soft light only, no waveform here. This prevents duplicate waveforms. */
.shrang-home-hero-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 44%),
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.72), transparent 30%);
}

.shrang-home-hero-inner > * {
	position: relative;
	z-index: 1;
}

.shrang-home-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	margin-bottom: 14px;
	padding: 5px 12px;
	color: #9a3412;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	border: 1px solid rgba(250, 84, 32, 0.22);
	border-radius: 999px;
	background: #fff2ed;
	box-shadow: 0 8px 18px rgba(250, 84, 32, 0.08);
}

.shrang-home-hero h1 {
	margin: 0;
	color: var(--shrang-black, #111111);
	font-family: "Arial Black", Arial, Helvetica, sans-serif;
	font-size: clamp(42px, 5.4vw, 60px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.075em;
}

.shrang-home-slogan {
	max-width: 760px;
	margin: 14px auto 0;
	color: var(--shrang-black, #111111);
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 900;
	line-height: 1.22;
	letter-spacing: -0.035em;
}

.shrang-home-intro {
	max-width: 680px;
	margin: 12px auto 0;
	color: #333333;
	font-size: 15.5px;
	line-height: 1.62;
}

.shrang-home-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 11px;
	margin-top: 20px;
}

.shrang-home-actions .shrang-theme-button-primary,
.shrang-home-actions .shrang-theme-button-secondary {
	min-height: 44px;
	padding: 10px 20px;
	font-size: 13px;
}

/* ---------------------------------------------------------
   3. Social proof line + single waveform
--------------------------------------------------------- */
.shrang-home-social-proof {
	position: relative;
	margin: 14px auto 0;
	max-width: 560px;
	padding-bottom: 48px;
	color: #555555;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
}

/* The only waveform on the hero. It is below the text, never behind it. */
.shrang-home-social-proof::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: min(440px, 100%);
	height: 36px;
	transform: translateX(-50%);
	opacity: 0.72;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(250, 84, 32, 0.00) 0%,
			rgba(250, 84, 32, 0.42) 8%,
			rgba(250, 84, 32, 0.76) 22%,
			rgba(250, 84, 32, 0.95) 42%,
			rgba(250, 84, 32, 0.78) 60%,
			rgba(124, 58, 237, 0.22) 78%,
			rgba(20, 184, 166, 0.14) 92%,
			rgba(20, 184, 166, 0.00) 100%
		);
	-webkit-mask:
		repeating-linear-gradient(
			90deg,
			#000 0 9px,
			transparent 9px 18px
		),
		linear-gradient(#000, #000);
	mask:
		repeating-linear-gradient(
			90deg,
			#000 0 9px,
			transparent 9px 18px
		),
		linear-gradient(#000, #000);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
	border-radius: 999px;
	animation: shrangHomeSingleWave 2.4s ease-in-out infinite;
}

@keyframes shrangHomeSingleWave {
	0%, 100% {
		opacity: 0.52;
		transform: translateX(-50%) scaleX(0.96) scaleY(0.82);
	}

	50% {
		opacity: 0.86;
		transform: translateX(-50%) scaleX(1.02) scaleY(1.18);
	}
}

/* ---------------------------------------------------------
   4. Clips section
--------------------------------------------------------- */
.shrang-home-clips-section {
	position: relative;
	margin: 0 auto 26px;
	padding: 22px;
	overflow: hidden;
	border: 1px solid rgba(250, 84, 32, 0.16);
	border-radius: 22px;
	background:
		radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.10), transparent 28%),
		radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.06), transparent 30%),
		linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
	box-shadow: 0 14px 34px rgba(17, 17, 17, 0.045);
}

.shrang-home-clips-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 22px;
	right: 22px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--shrang-orange, #FA5420), #7C3AED, #14B8A6);
	opacity: 0.9;
}

.shrang-home-clips-heading {
	position: relative;
	margin-bottom: 18px;
	padding: 15px 16px;
	overflow: visible;
	border: 1px solid rgba(250, 84, 32, 0.12);
	border-radius: 18px;
	background:
		radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.08), transparent 38%),
		radial-gradient(circle at 100% 18%, rgba(124, 58, 237, 0.045), transparent 34%),
		#ffffff;
	box-shadow: 0 10px 24px rgba(17, 17, 17, 0.035);
}

.shrang-home-clips-heading h2 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 7px;
	color: var(--shrang-black, #111111);
	font-size: clamp(19px, 2vw, 25px);
	font-weight: 900;
	line-height: 1.16;
	letter-spacing: -0.018em;
}

.shrang-home-clips-heading h2::before {
	content: "♪";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	border-radius: 999px;
	background: var(--shrang-orange, #FA5420);
	box-shadow:
		0 8px 18px rgba(250, 84, 32, 0.24),
		0 0 0 5px rgba(250, 84, 32, 0.10);
}

.shrang-home-clips-heading p {
	max-width: 780px;
	margin: 0;
	color: #555555;
	font-size: 13.5px;
	line-height: 1.55;
}

.shrang-home-clips-footer {
	margin-top: 16px;
	text-align: right;
}

.shrang-home-clips-footer a {
	color: var(--shrang-orange, #FA5420);
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.shrang-home-clips-footer a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------
   5. Feature cards
--------------------------------------------------------- */
.shrang-home-create-options {
	margin: 0 auto 22px;
}

.shrang-home-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.shrang-home-step {
	position: relative;
	min-height: 128px;
	padding: 18px;
	overflow: hidden;
	border: 1px solid rgba(250, 84, 32, 0.18);
	border-radius: 18px;
	background:
		radial-gradient(circle at 0% 0%, rgba(250, 84, 32, 0.08), transparent 34%),
		#ffffff;
	box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
}

.shrang-home-step:nth-child(2) {
	border-color: rgba(124, 58, 237, 0.18);
	background:
		radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.07), transparent 34%),
		#ffffff;
}

.shrang-home-step:nth-child(3) {
	border-color: rgba(20, 184, 166, 0.18);
	background:
		radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.075), transparent 34%),
		#ffffff;
}

.shrang-home-step h3 {
	margin: 0 0 10px;
	color: var(--shrang-black, #111111);
	font-size: 15.5px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.shrang-home-step p {
	margin: 0;
	color: #444444;
	font-size: 13px;
	line-height: 1.55;
}

/* ---------------------------------------------------------
   6. Section title above feature cards
--------------------------------------------------------- */
.shrang-home-section-title {
	margin: 0 0 14px;
	color: var(--shrang-black, #111111);
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

/* ---------------------------------------------------------
   7. Info sections
--------------------------------------------------------- */
.shrang-home-info {
	margin: 0 auto 24px;
}

.shrang-home-section-header {
	margin: 0 0 8px;
	padding: 10px 12px;
	border-left: 4px solid var(--shrang-orange, #FA5420);
	border-radius: 13px;
	background: #ffffff;
	box-shadow: 0 5px 14px rgba(17, 17, 17, 0.022);
}

.shrang-home-section-header:nth-of-type(1) {
	border-left-color: var(--shrang-orange, #FA5420);
	background: linear-gradient(135deg, rgba(250, 84, 32, 0.07), rgba(250, 84, 32, 0.018)), #ffffff;
}

.shrang-home-section-header:nth-of-type(2) {
	border-left-color: var(--shrang-purple, #7C3AED);
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.055), rgba(124, 58, 237, 0.018)), #ffffff;
}

.shrang-home-section-header:nth-of-type(3) {
	border-left-color: var(--shrang-green, #14B8A6);
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.06), rgba(20, 184, 166, 0.018)), #ffffff;
}

.shrang-home-section-header:nth-of-type(4) {
	border-left-color: var(--shrang-orange-dark, #c9461a);
	background: linear-gradient(135deg, rgba(250, 84, 32, 0.055), rgba(17, 17, 17, 0.014)), #ffffff;
}

.shrang-home-section-header:nth-of-type(5) {
	border-left-color: var(--shrang-purple, #7C3AED);
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(17, 17, 17, 0.014)), #ffffff;
}

.shrang-home-section-header h2 {
	margin: 0;
	color: var(--shrang-black, #111111);
	font-size: clamp(14px, 1.05vw, 17px);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -0.005em;
}

.shrang-home-section-header p {
	max-width: 920px;
	margin: 4px 0 0;
	color: #4a4a4a;
	font-size: 12.5px;
	line-height: 1.5;
}

/* ---------------------------------------------------------
   8. Bottom CTA section
--------------------------------------------------------- */
.shrang-home-cta-section {
	margin: 0 auto 30px;
}

.shrang-home-cta-inner {
	padding: clamp(28px, 4vw, 44px) 24px;
	text-align: center;
	border: 1px solid rgba(250, 84, 32, 0.18);
	border-radius: 24px;
	background:
		radial-gradient(circle at 50% 0%, rgba(250, 84, 32, 0.14), transparent 40%),
		radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.06), transparent 34%),
		linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
	box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}

.shrang-home-cta-inner h2 {
	margin: 0 0 8px;
	color: var(--shrang-black, #111111);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: -0.03em;
}

.shrang-home-cta-inner > p {
	margin: 0 auto 22px;
	max-width: 480px;
	color: #555555;
	font-size: 14px;
	line-height: 1.55;
}

.shrang-home-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.shrang-home-cta-buttons .shrang-theme-button-primary,
.shrang-home-cta-buttons .shrang-theme-button-secondary {
	min-height: 46px;
	padding: 11px 22px;
	font-size: 14px;
}

.shrang-home-cta-login-hint {
	margin: 16px 0 0;
	color: #888888;
	font-size: 13px;
}

.shrang-home-cta-login-hint a {
	color: var(--shrang-orange, #FA5420);
	font-weight: 900;
	text-decoration: none;
}

.shrang-home-cta-login-hint a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------
   9. RTL support
--------------------------------------------------------- */
body.shrang-app-dir-rtl .shrang-home-section-header {
	border-left: 0;
	border-right: 4px solid var(--shrang-orange, #FA5420);
}

body.shrang-app-dir-rtl .shrang-home-section-header:nth-of-type(1) {
	border-right-color: var(--shrang-orange, #FA5420);
}

body.shrang-app-dir-rtl .shrang-home-section-header:nth-of-type(2) {
	border-right-color: var(--shrang-purple, #7C3AED);
}

body.shrang-app-dir-rtl .shrang-home-section-header:nth-of-type(3) {
	border-right-color: var(--shrang-green, #14B8A6);
}

body.shrang-app-dir-rtl .shrang-home-section-header:nth-of-type(4) {
	border-right-color: var(--shrang-orange-dark, #c9461a);
}

body.shrang-app-dir-rtl .shrang-home-section-header:nth-of-type(5) {
	border-right-color: var(--shrang-purple, #7C3AED);
}

body.shrang-app-dir-rtl .shrang-home-clips-heading h2,
body.shrang-app-dir-rtl .shrang-home-cta-inner h2 {
	letter-spacing: 0;
}

body.shrang-app-dir-rtl .shrang-home-clips-footer {
	text-align: left;
}

/* ---------------------------------------------------------
   10. Mobile
--------------------------------------------------------- */
@media (max-width: 900px) {

	body.home main,
	body.front-page main,
	body.home .site-main,
	body.front-page .site-main,
	body.home .shrang-main,
	body.front-page .shrang-main {
		padding-top: 8px;
	}

	.shrang-front-page-wrap {
		width: 100%;
		max-width: 100%;
	}

	.shrang-home-hero {
		margin: 0 auto 14px;
	}

	.shrang-home-hero-inner {
		width: 100%;
		max-width: none;
		padding: 28px 14px 22px;
		border-radius: 22px;
	}

	.shrang-home-hero h1 {
		font-size: clamp(38px, 11vw, 52px);
	}

	.shrang-home-slogan {
		margin-top: 12px;
		font-size: clamp(19px, 6vw, 26px);
	}

	.shrang-home-intro {
		max-width: 100%;
		margin-top: 12px;
		font-size: 15px;
		line-height: 1.58;
	}

	.shrang-home-actions {
		flex-direction: column;
		align-items: center;
		margin-top: 18px;
	}

	.shrang-home-actions .shrang-theme-button-primary {
		width: 100%;
		max-width: 310px;
	}

	.shrang-home-actions .shrang-theme-button-secondary {
		width: auto;
	}

	.shrang-home-social-proof {
		max-width: 360px;
		margin-top: 14px;
		padding-bottom: 46px;
		color: #555555;
		font-size: 12.2px;
		font-weight: 800;
		line-height: 1.45;
	}

	.shrang-home-social-proof::after {
		bottom: 3px;
		width: min(350px, 100%);
		height: 36px;
		opacity: 0.76;
	}

	.shrang-home-steps {
		grid-template-columns: 1fr;
	}

	.shrang-home-step {
		min-height: auto;
		padding: 17px;
	}

	.shrang-home-step h3 {
		margin-bottom: 9px;
	}

	.shrang-home-clips-section {
		padding: 16px;
		border-radius: 18px;
	}

	.shrang-home-clips-section::before {
		left: 16px;
		right: 16px;
	}

	.shrang-home-clips-heading {
		padding: 15px;
		overflow: visible;
		border-radius: 16px;
	}

	.shrang-home-clips-heading h2 {
		gap: 12px;
		align-items: center;
	}

	.shrang-home-clips-heading h2::before {
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
		font-size: 15px;
	}

	.shrang-home-cta-inner {
		padding: 28px 16px;
		border-radius: 18px;
	}

	.shrang-home-cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.shrang-home-cta-buttons .shrang-theme-button-primary {
		width: 100%;
		max-width: 310px;
	}

	.shrang-home-cta-buttons .shrang-theme-button-secondary {
		width: auto;
	}
}

@media (max-width: 600px) {

	body.home main,
	body.front-page main,
	body.home .site-main,
	body.front-page .site-main,
	body.home .shrang-main,
	body.front-page .shrang-main {
		padding-top: 4px;
	}

	.shrang-home-hero {
		margin: 0 auto 12px;
	}

	.shrang-home-hero-inner {
		padding: 24px 12px 20px;
		border-radius: 20px;
	}

	.shrang-home-badge {
		margin-bottom: 12px;
		font-size: 11.5px;
	}

	.shrang-home-intro {
		font-size: 14.5px;
		line-height: 1.54;
	}

	.shrang-home-social-proof {
		max-width: 310px;
		margin-top: 12px;
		padding-bottom: 42px;
		font-size: 11.8px;
		font-weight: 800;
		line-height: 1.45;
	}

	.shrang-home-social-proof::after {
		width: min(300px, 100%);
		height: 34px;
		opacity: 0.78;
	}

	.shrang-home-clips-section {
		padding: 14px;
	}

	.shrang-home-clips-section::before {
		left: 14px;
		right: 14px;
	}

	.shrang-home-clips-heading {
		padding: 15px;
		overflow: visible;
	}

	.shrang-home-clips-heading h2 {
		gap: 12px;
		align-items: center;
		font-size: 18px;
	}

	.shrang-home-clips-heading h2::before {
		width: 32px;
		height: 32px;
		flex: 0 0 32px;
		font-size: 15px;
	}

	.shrang-home-clips-footer {
		text-align: center;
	}

	.shrang-home-section-title {
		font-size: 15px;
	}

	.shrang-home-section-header {
		padding: 9px 11px;
		border-radius: 12px;
	}

	.shrang-home-section-header h2 {
		font-size: 14px;
	}

	.shrang-home-section-header p {
		font-size: 12px;
	}

	.shrang-home-cta-inner {
		padding: 24px 14px;
	}
}

@media (max-width: 430px) {

	.shrang-home-hero-inner {
		padding-left: 11px;
		padding-right: 11px;
	}

	.shrang-home-social-proof {
		max-width: 290px;
		padding-bottom: 40px;
	}

	.shrang-home-social-proof::after {
		width: min(270px, 100%);
		height: 32px;
		opacity: 0.80;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shrang-home-social-proof::after {
		animation: none;
	}
}