/* ============================================================
   # Landing — Кибербезопасность (page-security.php)
   ============================================================ */

/* ---- Security Hero ---- */

.sc-hero {
	position: relative;
	overflow: hidden;
	padding: 4rem 0 3rem;
	background: #0f172a;
	color: #fff;
	text-align: center;
}

.sc-hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.07;
	background-image:
		linear-gradient(rgba(239, 68, 68, 0.4) 1px, transparent 1px),
		linear-gradient(90deg, rgba(239, 68, 68, 0.4) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
}

.sc-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
	margin-inline: auto;
}

.sc-hero__badge {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background: rgba(239, 68, 68, 0.15);
	color: #fca5a5;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: 1px solid rgba(239, 68, 68, 0.3);
	margin-bottom: 1.5rem;
	animation: sc-pulse 2s ease-in-out infinite;
}

@keyframes sc-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

.sc-hero__title {
	font-size: clamp(2rem, 7vw, 3.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin-bottom: 1.5rem;
	color: #fff;
}

.sc-hero__title-accent {
	background: linear-gradient(135deg, #ef4444, #f59e0b);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sc-hero__subtitle {
	font-size: 1.125rem;
	line-height: 1.75;
	color: #cbd5e1;
	max-width: 40rem;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

.sc-hero__cta {
	display: inline-block;
	padding: 1rem 2rem;
	background: #1e293b;
	border: 1px solid #334155;
	color: #fff;
	font-weight: 700;
	font-size: 1.125rem;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.sc-hero__cta:visited,
.sc-hero__cta:link {
	color: #fff;
}

.sc-hero__cta:hover,
.sc-hero__cta:focus-visible {
	background: #334155;
	box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.4);
	color: #fff;
}

/* ---- Tablet ---- */
@media (min-width: 48rem) {
	.sc-hero {
		padding: 6rem 0 5rem;
	}

	.sc-hero__subtitle {
		font-size: 1.25rem;
	}
}

/* ---- Desktop ---- */
@media (min-width: 75rem) {
	.sc-hero {
		padding: 8rem 0 6rem;
	}

	.sc-hero__cta {
		padding: 1.125rem 2.5rem;
		font-size: 1.1875rem;
		border-radius: 1rem;
	}
}

/* ---- Security Problem (Chart) Section ---- */

.sc-problem {
	padding: 3rem 0;
	background: #0f172a;
}

.sc-problem__header {
	text-align: center;
	margin-bottom: 2rem;
}

.sc-problem__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	color: #f1f5f9;
	margin-bottom: 1rem;
}

.sc-problem__subtitle {
	font-size: 1rem;
	color: #94a3b8;
	line-height: 1.6;
	max-width: 42rem;
	margin-inline: auto;
}

.sc-problem__card {
	background: #1e293b;
	border-radius: var(--radius-lg);
	border: 1px solid #334155;
	padding: 1.5rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.sc-problem__chart-wrap {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin-inline: auto;
	height: 260px;
}

/* Notes below chart */
.sc-problem__notes {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #334155;
}

.sc-problem__note-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.sc-problem__note-icon {
	font-size: 1.25rem;
	line-height: 1.4;
	flex-shrink: 0;
}

.sc-problem__note-title {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #f1f5f9;
	margin-bottom: 0.25rem;
}

.sc-problem__note-text {
	font-size: 0.8125rem;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0;
}

/* ---- Tablet ---- */
@media (min-width: 48rem) {
	.sc-problem {
		padding: 4.5rem 0;
	}

	.sc-problem__header {
		margin-bottom: 3rem;
	}

	.sc-problem__card {
		padding: 2.5rem;
	}

	.sc-problem__chart-wrap {
		height: 350px;
	}

	.sc-problem__notes {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---- Desktop ---- */
@media (min-width: 75rem) {
	.sc-problem {
		padding: 5rem 0;
	}

	.sc-problem__chart-wrap {
		height: 400px;
	}
}

/* ---- Security Solution Section ---- */

.sc-solution {
	padding: 3rem 0;
	background: #020617;
}

.sc-solution__header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.sc-solution__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	color: #f1f5f9;
	margin-bottom: 1rem;
}

.sc-solution__subtitle {
	font-size: 1rem;
	color: #94a3b8;
	line-height: 1.6;
	max-width: 42rem;
	margin-inline: auto;
}

.sc-solution__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

/* Protection card */
.sc-protect-card {
	background: #0f172a;
	border-radius: var(--radius-lg);
	border: 1px solid #1e293b;
	padding: 2rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sc-protect-card:hover {
	border-color: #10b981;
	box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.sc-protect-card__icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1;
}

.sc-protect-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #f1f5f9;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.sc-protect-card__text {
	font-size: 0.9375rem;
	color: #94a3b8;
	line-height: 1.7;
	margin-bottom: 1rem;
}

.sc-protect-card__checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sc-protect-card__checklist li {
	position: relative;
	padding-left: 1.5rem;
	font-size: 0.875rem;
	color: #cbd5e1;
	line-height: 1.5;
}

.sc-protect-card__checklist li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: 700;
}

/* ---- Tablet ---- */
@media (min-width: 48rem) {
	.sc-solution {
		padding: 4.5rem 0;
	}

	.sc-solution__header {
		margin-bottom: 3.5rem;
	}

	.sc-solution__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

/* ---- Desktop ---- */
@media (min-width: 75rem) {
	.sc-solution {
		padding: 5rem 0;
	}

	.sc-solution__grid {
		gap: 2rem;
	}

	.sc-protect-card {
		padding: 2.5rem;
	}

	.sc-protect-card__title {
		font-size: 1.25rem;
	}

	.sc-protect-card__text {
		font-size: 1rem;
	}
}

/* ---- Security Calculator Section ---- */

.sc-calc {
	padding: 3rem 0;
	background: #0f172a;
}

.sc-calc__wrap {
	position: relative;
	overflow: hidden;
	background: #1e293b;
	border-radius: var(--radius-lg);
	padding: 2rem 1.5rem;
	color: #fff;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.sc-calc__accent-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #dc2626, #f59e0b);
}

.sc-calc__content {
	position: relative;
	z-index: 1;
}

.sc-calc__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	text-align: center;
	margin-bottom: 1rem;
	color: #fff;
}

.sc-calc__subtitle {
	text-align: center;
	font-size: 1rem;
	color: #94a3b8;
	line-height: 1.6;
	max-width: 40rem;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

.sc-calc__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

/* Slider controls */
.sc-calc__inputs {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.sc-calc-slider__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
}

.sc-calc-slider__label {
	font-weight: 500;
	font-size: 0.9375rem;
	color: #cbd5e1;
}

.sc-calc-slider__value {
	font-weight: 700;
	font-size: 0.9375rem;
	color: #fca5a5;
}

/* Range slider */
.sc-calc-slider__input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: #475569;
	/* outline: none; removed for accessibility */
	border: none;
	padding: 0;
}

.sc-calc-slider__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ef4444;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	border: 2px solid #fff;
}

.sc-calc-slider__input::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ef4444;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	border: 2px solid #fff;
}

/* Output dashboard */
.sc-calc__output {
	background: rgba(239, 68, 68, 0.08);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(239, 68, 68, 0.2);
	border-radius: var(--radius-md);
	padding: 2rem;
	text-align: center;
}

.sc-calc__result-label {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fca5a5;
	margin-bottom: 0.5rem;
}

.sc-calc__result-value {
	font-size: clamp(2rem, 8vw, 3rem);
	font-weight: 800;
	color: #ef4444;
	letter-spacing: -0.02em;
	margin-bottom: 0.5rem;
}

.sc-calc__result-note {
	font-size: 0.875rem;
	color: #94a3b8;
	margin-bottom: 1.5rem;
}

/* Breakdown rows */
.sc-calc__breakdown {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sc-calc__breakdown-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.8125rem;
	color: #cbd5e1;
}

.sc-calc__breakdown-row span:last-child {
	font-weight: 600;
	color: #fbbf24;
}

/* ---- Tablet ---- */
@media (min-width: 48rem) {
	.sc-calc {
		padding: 4.5rem 0;
	}

	.sc-calc__wrap {
		padding: 3rem;
	}
}

/* ---- Desktop ---- */
@media (min-width: 64rem) {
	.sc-calc__grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		align-items: center;
	}
}

@media (min-width: 75rem) {
	.sc-calc {
		padding: 5rem 0;
	}

	.sc-calc__wrap {
		padding: 3.5rem;
		border-radius: var(--radius-lg);
	}
}

/* ---- Security Form Section ---- */

.sc-form-section {
	padding: 3rem 0;
	background: #0f172a;
}

.sc-form-section__header {
	text-align: center;
	margin-bottom: 2rem;
}

.sc-form-section__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	color: #f1f5f9;
	margin-bottom: 1rem;
}

.sc-form-section__subtitle {
	font-size: 1rem;
	color: #94a3b8;
	line-height: 1.6;
	max-width: 42rem;
	margin-inline: auto;
}

.sc-form-section__card {
	max-width: 46rem;
	margin-inline: auto;
	background: #1e293b;
	border-radius: var(--radius-lg);
	border: 1px solid #334155;
	padding: 2rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Override audit-form colors for dark theme */
.sc-form-section .audit-form__label {
	color: #cbd5e1;
}

.sc-form-section .audit-form__input,
.sc-form-section .audit-form__select {
	background: #0f172a;
	border-color: #334155;
	color: #f1f5f9;
}

.sc-form-section .audit-form__select option {
	background: #0f172a;
	color: #f1f5f9;
}

.sc-form-section .audit-form__input::placeholder {
	color: #64748b;
}

.sc-form-section .audit-form__input:focus,
.sc-form-section .audit-form__select:focus {
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.sc-form-section .audit-form__req {
	color: #10b981;
}

.sc-form-section__submit {
	background: #10b981;
	box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.35);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sc-form-section__submit:hover,
.sc-form-section__submit:focus-visible {
	background: #059669;
	box-shadow: 0 12px 25px -4px rgba(16, 185, 129, 0.45);
}

.sc-form-section .audit-form__privacy {
	color: #64748b;
}

/* Green label badge above form title */
.sc-form-section__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: rgba(16, 185, 129, 0.1);
	color: #34d399;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid rgba(16, 185, 129, 0.2);
	margin-bottom: 1rem;
}

/* Red header CTA — now handled by .header-cta--red in style.css */

/* ---- Tablet ---- */
@media (min-width: 48rem) {
	.sc-form-section {
		padding: 4.5rem 0;
	}

	.sc-form-section__header {
		margin-bottom: 2.5rem;
	}

	.sc-form-section__card {
		padding: 2.5rem;
	}
}

/* ---- Desktop ---- */
@media (min-width: 75rem) {
	.sc-form-section {
		padding: 5rem 0;
	}

	.sc-form-section__card {
		padding: 3rem;
	}
}
