/* =====================================================
   Live Radio — Landing Page Styles
   ===================================================== */

/* ── Базовые переменные ── */
:root {
	--rl-primary: #6366f1;
	--rl-primary-dk: #4f46e5;
	--rl-accent: #a855f7;
	--rl-dark: #0f172a;
	--rl-gray: #64748b;
	--rl-light: #f8fafc;
	--rl-white: #ffffff;
	--rl-radius: 16px;
	--rl-shadow: 0 20px 60px rgba(99, 102, 241, .18);
	--rl-hero-gradient: linear-gradient(135deg, #000000 0%, #8b5cf6 55%, #0e0912 100%);
}

.rl-landing {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--rl-dark);
	overflow-x: hidden;
}

.rl-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Section title ── */
.rl-section-title {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 700;
	margin-bottom: 48px;
	color: var(--rl-dark);
}

/* =====================================================
   HERO
   ===================================================== */
.rl-hero {
	background: var(--rl-hero-gradient);
	min-height: 100vh;
	color: var(--rl-white);
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
}

.rl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, .18), transparent 55%),
		radial-gradient(ellipse at 85% 85%, rgba(168, 85, 247, .35), transparent 60%);
	pointer-events: none;
}

.rl-hero > * {
	position: relative;
	z-index: 1;
}

.rl-hero__inner {
	display: flex;
	align-items: center;
	gap: 60px;
	width: 100%;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* Title + Logo row */
.rl-hero__title-row {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.rl-hero__title-row .rl-hero__title {
	margin-bottom: 0;
}

/* Heading = logo + h1 */
.rl-hero__heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

/* Logo (над заголовком) */
.rl-hero__logo {
	height: 88px;
	width: auto;
	border-radius: 14px;
	flex-shrink: 0;
}

/* Text */
.rl-hero__text {
	flex: 1;
	min-width: 280px;
}

.rl-hero__title {
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 20px;
	color: var(--rl-white);
}

.rl-hero__title span {
	color: #c7d2fe;
}

.rl-hero__sub {
	font-size: 1.15rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, .8);
	margin: 0 0 36px;
	max-width: 440px;
}

/* App Store button */
.rl-appstore-btn {
	display: inline-block;
	transition: transform .2s, opacity .2s;
}

.rl-appstore-btn:hover {
	transform: translateY(-2px);
	opacity: .9;
}

.rl-appstore-btn img,
.rl-appstore-btn svg {
	height: 55px;
	width: auto;
	border-radius: 0;
}

/* Hero mockup */
.rl-hero__mockup {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
}

.rl-hero__mockup-screen {
	width: 240px;
	height: auto;
	border-radius: 20px;
}

.rl-hero__mockup-qr-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0px;
}

.rl-hero__mockup-qr {
	width: 110px;
	height: auto;
	border-radius: 12px;
	background: #fff;
	padding: 6px;
	margin-bottom: 15px;
}

.rl-hero__mockup-qr-label {
	font-size: .72rem;
	color: #fff;
	text-align: center;
	letter-spacing: .02em;
}

/* =====================================================
   FEATURES
   ===================================================== */
.rl-features {
	padding: 96px 0;
	background: var(--rl-light);
}

.rl-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
}

.rl-feature-card {
	background: var(--rl-white);
	border-radius: var(--rl-radius);
	padding: 36px 28px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
	transition: transform .25s, box-shadow .25s;
}

.rl-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--rl-shadow);
}

.rl-feature-card__icon {
	font-size: 2.4rem;
	margin-bottom: 16px;
	line-height: 1;
}

.rl-feature-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--rl-dark);
}

.rl-feature-card p {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--rl-gray);
	margin: 0;
}

/* =====================================================
   SEO GRID (карточки)
   ===================================================== */
.rl-seo-grid-section {
	padding: 96px 0;
	background: var(--rl-light);
}

.rl-seo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.rl-seo-card {
	background: var(--rl-white);
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: box-shadow .25s, transform .25s;
}

.rl-seo-card:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.rl-seo-card__icon {
	font-size: 2rem;
	line-height: 1;
}

.rl-seo-card h2,
.rl-seo-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--rl-dark);
	margin: 0;
	line-height: 1.3;
}

.rl-seo-card p {
	font-size: 15px;
	line-height: 1.75;
	color: var(--rl-gray);
	margin: 0;
}

/* SEO block (full-width text) */
.rl-seo-block {
	padding: 80px 0;
	background: var(--rl-light);
}

.rl-seo-block h2 {
	font-size: 26px;
	font-weight: 700;
	color: var(--rl-dark);
	margin-bottom: 24px;
}

.rl-seo-block p {
	font-size: 17px;
	line-height: 1.8;
	color: var(--rl-gray);
	max-width: 100%;
	margin-bottom: 20px;
}

/* =====================================================
   FAQ accordion
   ===================================================== */
.rl-faq {
	padding: 96px 0;
	background: var(--rl-light);
}

.rl-faq__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--rl-dark);
	margin-bottom: 48px;
	text-align: center;
}

.rl-faq__list {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rl-faq__item {
	background: var(--rl-white);
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}

.rl-faq__item:hover {
	border-color: #cbd5e1;
}

.rl-faq__item.rl-faq--open {
	border-color: var(--rl-primary);
	box-shadow: 0 4px 20px rgba(99, 102, 241, .15);
}

.rl-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	color: var(--rl-dark);
	line-height: 1.4;
	transition: color .2s;
}


.rl-faq__icon {
	width: 20px;
	height: 20px;
	min-width: 20px;
	flex-shrink: 0;
	color: #94a3b8;
	transition: transform .3s ease, color .2s;
}

.rl-faq--open .rl-faq__icon {
	transform: rotate(180deg);
	color: var(--rl-primary);
}

/* Анимация сворачивания через grid */
.rl-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .3s ease;
}

.rl-faq--open .rl-faq__a {
	grid-template-rows: 1fr;
}

.rl-faq__a-inner {
	overflow: hidden;
	min-height: 0;
}

.rl-faq__a-inner p {
	font-size: 15px;
	line-height: 1.75;
	color: var(--rl-gray);
	padding: 0 24px 20px;
	margin: 0;
	border-top: 1px solid #f1f5f9;
	padding-top: 16px;
}

/* =====================================================
   SCREENSHOTS
   ===================================================== */
.rl-screenshots {
	padding: 96px 0;
	background: var(--rl-white);
}

.rl-screenshots__track {
	display: flex;
	justify-content: center;
	gap: 24px;
	overflow-x: auto;
	padding-bottom: 16px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.rl-screenshots__track::-webkit-scrollbar {
	height: 4px;
}

.rl-screenshots__track::-webkit-scrollbar-track {
	background: #e2e8f0;
	border-radius: 2px;
}

.rl-screenshots__track::-webkit-scrollbar-thumb {
	background: var(--rl-primary);
	border-radius: 2px;
}

.rl-screenshot-frame {
	flex: 0 0 auto;
	border-radius: 24px;
	background: #e2e8f0;
	overflow: hidden;
	scroll-snap-align: start;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
	display: flex;
	flex-direction: column;
}

.rl-screenshot-frame img {
	width: 175px;
	height: auto;
	display: block;
	object-fit: unset;
	cursor: zoom-in;
	transition: transform .2s;
}

.rl-screenshot-frame img:hover {
	transform: scale(1.03);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.rl-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .85);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.rl-lightbox--open {
	display: flex;
}

.rl-lightbox__img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.rl-lightbox__close {
	position: absolute;
	top: 20px;
	right: 28px;
	background: none;
	border: none;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
	opacity: .7;
	transition: opacity .2s;
	z-index: 1;
}

.rl-lightbox__close:hover {
	opacity: 1;
}

.rl-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #fff;
	border: none;
	color: #0f172a;
	font-size: 1.5rem;
	line-height: 1;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
	transition: transform .2s, box-shadow .2s;
	z-index: 1;
}

.rl-lightbox__nav:hover {
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

.rl-lightbox__prev {
	left: 24px;
}

.rl-lightbox__next {
	right: 24px;
}

.rl-screenshot-placeholder {
	align-items: center;
	justify-content: center;
}

.rl-screenshot-placeholder::before {
	content: "📻";
	font-size: 52px;
	opacity: .35;
}

.rl-screenshot-label {
	display: block;
	text-align: center;
	font-size: .8rem;
	color: var(--rl-gray);
	padding: 10px 8px;
	background: var(--rl-white);
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */
@media (max-width: 768px) {
	.rl-hero__inner {
		flex-direction: column;
		text-align: center;
		gap: 40px;
	}

	.rl-hero__sub {
		max-width: 100%;
	}

	.rl-hero__mockup-screen {
		width: 160px;
	}

	.rl-hero__mockup-qr {
		display: none;
	}

	.rl-hero__mockup-qr-label {
		display: none;
	}

	.rl-hero__heading {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 14px;
	}

	.rl-hero__logo {
		height: 72px;
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.rl-hero {
		min-height: 100svh;
	}

	.rl-features,
	.rl-screenshots {
		padding: 64px 0;
	}

	.rl-screenshots__track {
		justify-content: flex-start;
		padding-left: 24px;
		padding-right: 24px;
	}

	.rl-seo-grid {
		grid-template-columns: 1fr;
	}

	.rl-screenshot-frame img {
		width: 130px;
	}

	.rl-lightbox__img {
		max-width: 95vw;
		max-height: 85vh;
	}

	.rl-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 20px;
	}

	.rl-genres,
	.rl-how,
	.rl-devices,
	.rl-cta {
		padding: 64px 0;
	}

	.rl-genres__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rl-hero__pills {
		justify-content: center;
	}
}


/* =====================================================
   HERO PILLS (under CTA button)
   ===================================================== */
.rl-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.rl-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
}

/* =====================================================
   STATS STRIP
   ===================================================== */
.rl-stats {
	background: var(--rl-white);
	padding: 48px 0;
	border-bottom: 1px solid #eef0f6;
}

.rl-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.rl-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.rl-stats__value {
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	font-weight: 800;
	color: var(--rl-dark);
	line-height: 1;
}

.rl-stats__label {
	font-size: .88rem;
	font-weight: 600;
	color: var(--rl-dark);
	text-transform: uppercase;
	letter-spacing: .05em;
}

/* =====================================================
   GENRES GRID
   ===================================================== */
.rl-genres {
	padding: 96px 0;
	background: var(--rl-white);
}

.rl-genres__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}

.rl-genre {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 20px;
	background: var(--rl-light);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	transition: transform .2s, box-shadow .2s, border-color .2s;
	cursor: default;
}

.rl-genre:hover {
	transform: translateY(-3px);
	border-color: var(--rl-primary);
	box-shadow: 0 8px 24px rgba(99, 102, 241, .15);
}

.rl-genre__icon {
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
}

.rl-genre__name {
	font-size: .98rem;
	font-weight: 700;
	color: var(--rl-dark);
}

/* =====================================================
   HOW IT WORKS (3 steps)
   ===================================================== */
.rl-how {
	padding: 96px 0;
	background: var(--rl-light);
}

.rl-how__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	max-width: 960px;
	margin: 0 auto;
}

.rl-how__step {
	position: relative;
	background: var(--rl-white);
	border-radius: 20px;
	padding: 40px 28px 32px;
	text-align: center;
	box-shadow: 0 4px 24px rgba(15, 23, 42, .05);
	border: 1px solid #eef0f6;
}

.rl-how__step-num {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #5b6cf9, #a855f7);
	color: #fff;
	font-weight: 800;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(99, 102, 241, .35);
}

.rl-how__step h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--rl-dark);
	margin: 12px 0 10px;
}

.rl-how__step p {
	font-size: .95rem;
	line-height: 1.65;
	color: var(--rl-gray);
	margin: 0;
}

/* =====================================================
   DEVICES ROW
   ===================================================== */
.rl-devices {
	padding: 96px 0;
	background: var(--rl-white);
}

.rl-devices__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.rl-device {
	text-align: center;
	padding: 28px 18px;
	border-radius: 18px;
	border: 1px solid #eef0f6;
	background: var(--rl-light);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}

.rl-device:hover {
	transform: translateY(-4px);
	border-color: var(--rl-primary);
	box-shadow: 0 12px 32px rgba(99, 102, 241, .14);
}

.rl-device__icon {
	font-size: 2.4rem;
	line-height: 1;
	margin-bottom: 12px;
}

.rl-device__name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--rl-dark);
	margin-bottom: 6px;
}

.rl-device__desc {
	font-size: .82rem;
	line-height: 1.5;
	color: var(--rl-gray);
}

/* =====================================================
   FINAL CTA BANNER
   ===================================================== */
.rl-cta {
	padding: 80px 0;
	background: var(--rl-hero-gradient);
	position: relative;
	overflow: hidden;
}

.rl-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, .2), transparent 55%),
		radial-gradient(ellipse at 15% 90%, rgba(168, 85, 247, .4), transparent 60%);
	pointer-events: none;
}

.rl-cta__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
}

.rl-cta__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}

.rl-cta__sub {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, .85);
	margin: 0 0 8px;
	max-width: 560px;
}

/* =====================================================
   PAGE FOOTER
   ===================================================== */
.rl-page-footer {
	background: var(--rl-dark);
	padding: 28px 0;
}

.rl-page-footer .rl-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.rl-page-footer__copy {
	margin: 0;
	font-size: .875rem;
	color: rgba(255, 255, 255, .45);
}

.rl-page-footer__nav {
	display: flex;
	gap: 24px;
}

.rl-page-footer__nav a {
	font-size: .875rem;
	color: rgba(255, 255, 255, .6);
	text-decoration: none;
	transition: color .2s;
}

.rl-page-footer__nav a:hover {
	color: var(--rl-white);
}

/* =====================================================
   RESPONSIVE — TABLET (after all base styles)
   ===================================================== */
@media (max-width: 1024px) {
	.rl-how__steps {
		grid-template-columns: 1fr;
		gap: 20px;
		max-width: 100%;
	}

	.rl-how__step {
		text-align: left;
		padding: 32px 24px 28px;
	}

	.rl-how__step-num {
		position: static;
		transform: none;
		margin-bottom: 14px;
	}

	.rl-how__step h3 {
		margin-top: 0;
		margin-bottom: 10px;
	}

	.rl-devices__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.rl-device {
		text-align: left;
		padding: 28px 24px;
	}

	.rl-device__icon {
		margin-bottom: 14px;
	}

	.rl-device__name {
		margin-bottom: 8px;
	}
}
