/*==============================================================================
    delaPORTAL Download Page

    Purpose:
        Styles for the public Docker installer page.

    Updated:
        2026-07-04

==============================================================================*/

/*==============================================================================
    CSS Variables
==============================================================================*/
:root {
	--primary: #1d6df2;
	--primary-dark: #1558d6;
	--success: #20b64b;
	--success-dark: #178f3b;
	--bg: #f6f8fc;
	--card: #ffffff;
	--text: #1f2937;
	--muted: #6b7280;
	--border: #e5e7eb;
	--radius: 22px;
	--shadow: 0 12px 40px rgba(0, 0, 0, .08);
	--transition: .25s ease;
	--max-width: 1180px;
}

/*==============================================================================
    Global Reset
==============================================================================*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%
}

a {
	text-decoration: none
}

/*==============================================================================
    Global Sections
==============================================================================*/
section {
	width: min(var(--max-width), 92%);
	margin: 0 auto;
	padding: 5rem 0;
}

/*==============================================================================
    Brand
==============================================================================*/

.brand {
	text-align: center;
	margin-bottom: 2rem;
}

.brand-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
}

.brand-dp {
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
	font-size: 5.0rem;
	font-weight: 600;
	color: #2d73f5;
	line-height: 1;
	letter-spacing: -0.10em;
	transform: translateY(-3px);
}

.brand-line {
	width: 120px;
	height: 3px;
	background: var(--primary);
	border-radius: 999px;
	margin: 10px auto;
}

/*==============================================================================
    Hero
==============================================================================*/
.hero {
	text-align: center;
	padding: 3rem 1rem 3rem;
	/* was 5rem */
}

.hero h1 {
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 800;
	margin-top: -1.5rem;
	margin-bottom: .75rem;
}

.subtitle {
	font-size: 1.55rem;
	font-weight: 500;
	color: #374151;
}

.description {
	max-width: 760px;
	margin: 1.2rem auto 2.2rem;
	font-size: 1.25rem;
	font-weight: 400;
	color: #4b5563;
}

/*==============================================================================
    Installation Badge
==============================================================================*/
.install-time {
	display: inline-block;
	background: var(--card);
	border-radius: 999px;
	padding: 1.15rem 2rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--primary);
	box-shadow: var(--shadow);
}

/*==============================================================================
    Downloads
==============================================================================*/
.downloads {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	padding-top: 2.5rem;
	padding-bottom: 2rem;
}

/*==============================================================================
    Download Card
==============================================================================*/
.download-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 3rem;
	text-align: center;
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
}

.download-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

/*==============================================================================
    Download Icons
==============================================================================*/
.download-card img {
	width: 92px;
	height: 92px;
	margin: 0 auto 1.5rem;
}

.download-icon {
	width: 62px;
	height: 62px;
}

/*==============================================================================
    Download Card Text
==============================================================================*/
.download-card h2 {
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.download-card p {
	color: var(--muted);
	margin-bottom: 2rem;
	min-height: 3.5em;
}

.download-card small {
	display: block;
	margin-top: 1rem;
	color: var(--muted);
	min-height: 2.5em;
}

/*==============================================================================
    Buttons
==============================================================================*/
.button {
	display: inline-block;
	padding: 1rem 2rem;
	border-radius: 14px;
	color: #fff;
	font-weight: 700;
	transition: background var(--transition), transform var(--transition);
}

.button:hover {
	transform: translateY(-2px);
}

.button.blue {
	background: var(--primary);
}

.button.blue:hover {
	background: var(--primary-dark);
}

.button.green {
	background: var(--success);
}

.button.green:hover {
	background: var(--success-dark);
}

.button.orange {
	background: #f59e0b;
}

.button.orange:hover {
	background: #d97706;
}

/*==============================================================================
    Installation
==============================================================================*/
.installation {
	text-align: center;
	padding-top: 2rem;
	padding-bottom: 5rem;
	/* or whatever you want */
}

.installation h2 {
	font-size: 2.2rem;
	margin-bottom: .5rem;
}

.installation>p {
	color: var(--muted);
	margin-bottom: 2rem;
}

/*==============================================================================
    Steps
==============================================================================*/
.steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}

.linux-steps {
	grid-template-columns: repeat(4, 1fr);
}

.step {
	background: var(--card);
	border-radius: 18px;
	padding: 2rem 1rem;
	min-height: 210px;
	box-shadow: var(--shadow);

	display: flex;
	flex-direction: column;
	align-items: center;
}

.step span {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
	margin-bottom: 1rem;
}

.step-icon {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: rgba(29, 109, 242, .20);
}

.step-icon svg {
	width: 34px;
	height: 34px;
	fill: var(--primary);
}

.step-icon img {
	width: 34px;
	height: 34px;
}

.step h3 {
	min-height: 3.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: .9rem;
	/* add this */
}

.step p {
	font-size: 1rem;
	color: #4b5563;
	text-align: center;
	line-height: 1.55;
}

.step-icon.terminal {
	width: auto;
	height: auto;
	background: none;
	margin-bottom: 1rem;
}

.step-svg {
	width: 42px;
	height: 42px;
	color: var(--primary);
	margin-top: 14px;
	/* adjust to taste */
}

.step-browser-icon {
	width: 25px;
	height: 25px;
}

/*==============================================================================
    Features
==============================================================================*/
.features {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.benefits {
	display: grid;
	grid-template-columns: 390px 1fr;
	background: #fff;
	border-radius: 24px;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.benefits-left {
	padding: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 4rem 3rem;
}

.benefits-right {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-left: 1px solid #eef2f7;
}

.benefit {
	padding: 2.5rem 2rem;
	text-align: center;

	display: flex;
	flex-direction: column;
	align-items: center;
}

.benefit:nth-child(3n+1) {
	border-left: none;
}

.benefit:nth-child(-n+3) {
	border-bottom: 1px solid #eef2f7;
}

.benefit h3 {
	min-height: 2.6em;
	margin: 0 0 .9rem;
}

.benefit p {
	color: var(--muted);
	line-height: 1.5;
}

.benefit-icon {
	width: 72px;
	height: 72px;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-bottom: 1.25rem;

	border-radius: 50%;
	background: rgba(29, 109, 242, .15);
}

.benefit-icon img {
	width: 34px;
	height: 34px;
}

.benefit:hover .benefit-icon {
	transform: translateY(-4px);
	transition: .2s;
}

.laptop {
	width: 85%;
	max-width: 260px;
	height: auto;
	margin: .5rem auto 0;
	display: block;
}

.big-feature-icon {
	width: 180px;
	height: 180px;
	filter: invert(33%) sepia(95%) saturate(2400%) hue-rotate(210deg) brightness(98%);
	opacity: .18;
	transform: translate(-15px, -20px);
}

.benefits-graphic {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
}

.benefits-diagram {
	width: 140px;
	opacity: .18;
}

/* Tablet */
@media (max-width:980px) {
	.benefits {
		grid-template-columns: 1fr;
	}

	.benefits-left {
		border-right: none;
		border-bottom: 1px solid #eef2f7;
		text-align: center;
	}

	.benefits-right {
		border-left: none;
	}
}

/* Phone */
@media (max-width:700px) {
	.benefits-right {
		grid-template-columns: 1fr;
	}

	.benefit {
		border-bottom: 1px solid #eef2f7;
	}

	.benefit:last-child {
		border-bottom: none;
	}
}

/*==============================================================================
    Footer
==============================================================================*/
.footer-section {
	width: min(var(--max-width), 92%);
	margin: 0 auto 3rem;
	padding: .8rem 0 1rem;
}

.footer-card {
	background: #fff;
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 420px;
	align-items: center;
	gap: 2rem;
	padding: 2rem 3rem;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 3rem;
	border-top: 1px solid var(--border);
	font-size: .95rem;
	color: var(--muted);
}

.footer-help {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.footer-icon {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: rgba(29, 109, 242, .12);

	display: flex;
	justify-content: center;
	align-items: center;

	flex-shrink: 0;
}

.footer-icon img {
	width: 42px;
	height: 42px;
}

.footer-text h2 {
	margin: 0 0 .35rem;
	font-size: 2rem;
}

.footer-text p {
	color: var(--muted);
	line-height: 1.6;
}

.footer-email {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	height: 82px;
	background: #f8faff;
	border-radius: 18px;
	color: var(--primary);
	font-size: 1.6rem;
	font-weight: 700;
	transition: .25s;
}

.footer-email:hover {
	background: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(29, 109, 242, .12);
}

.footer-logo img {
	height: 48px;
}

.footer-email img {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.footer-dp {
	font-family: "Inter", "Segoe UI", Arial, sans-serif;
	font-size: 2.6rem;
	font-weight: 600;
	color: #2d73f5;
	line-height: 1;
	letter-spacing: -0.10em;
}

/*==============================================================================
    Footer - Tablet
==============================================================================*/
@media (max-width:980px) {

	.footer-top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-help {
		justify-content: center;
		text-align: center;
	}

	.footer-text {
		text-align: left;
	}

	.footer-email {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}

}

/*==============================================================================
    Footer - Mobile
==============================================================================*/
@media (max-width:700px) {

	.footer-top {
		padding: 2.4rem;
	}

	.footer-help {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.footer-text {
		text-align: center;
	}

	.footer-email {
		height: 72px;
		font-size: 1.2rem;
		padding: 0 1rem;
	}

	.footer-email img {
		width: 30px;
		height: 30px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
		padding: 1.5rem;
	}

	.footer-dp {
		font-size: 2rem;
	}

}

@media (max-width:500px) {

	.footer-email {
		font-size: 1rem;
	}

}

/*==============================================================================
    Support
==============================================================================*/
.support-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	width: min(var(--max-width), 92%);
	/* margin:0 auto 1rem; */
	margin-top: -50px;
}

.support-card {
	display: block;
	background: #fff;
	border-radius: 20px;
	padding: 2.3rem;
	box-shadow: var(--shadow);
	transition: .25s;
	font-size: 1.45rem;
	font-weight: 700;
	margin-bottom: .75rem;
	min-height: 150px;
	position: relative;
}

.support-card::after {
	content: "→";
	position: absolute;
	right: 28px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--primary);
	opacity: 0;
	transition: .25s;
}

.support-card:hover::after {
	opacity: 1;
	right: 22px;
}

.support-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

.support-card:hover h2 {
	color: var(--primary);
}

.support-card img,
.support-card .icon {
	margin-bottom: 1rem;
}

.support-card h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: .9rem;
	line-height: 1.25;
}

.support-card p {
	font-size: 1.05rem;
	font-weight: 400;
	color: #1f2937;
	line-height: 1.6;
}

/*==============================================================================
    Support - Mobile
==============================================================================*/
@media (max-width:700px) {
	.support-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.support-card {
		min-height: auto;
		padding: 2rem;
		margin-bottom: 0;
	}

	.support-card h2 {
		font-size: 1.35rem;
	}
}

/*==============================================================================
    Generic
==============================================================================*/
.page-width {
	width: min(var(--max-width), 92%);
	/* margin:0 auto; */
	margin-top: -40px;
}

/*==============================================================================
    Page Navigation
==============================================================================*/
.page-nav {
	width: min(var(--max-width), 92%);
	margin: 0 auto 2.5rem;

	display: flex;
	justify-content: space-between;
	align-items: center;
}

.page-link {
	color: var(--primary);
	font-weight: 600;
	font-size: 1rem;
	transition: .2s;
}

.page-link:hover {
	color: var(--primary-dark);
	transform: translateX(-2px);
}

.page-link.primary {
	display: inline-block;

	padding: .8rem 1.5rem;

	background: var(--primary);
	color: #fff;

	border-radius: 12px;

	transition: .25s;
}

.page-link.primary:hover {
	background: var(--primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

/*==============================================================================
    Responsive Design
==============================================================================*/
@media (max-width:900px) {

	.downloads,
	.feature-grid,
	.steps {
		grid-template-columns: 1fr
	}

	.download-card {
		padding: 2rem
	}
}

@media (max-width:700px) {
	.page-nav {
		flex-direction: column;
		gap: 1rem;
		align-items: stretch;
	}

	.page-link {
		text-align: center;
	}
}

.installation-guide {
	padding-top: 0;
	padding-bottom: 3rem;
	text-align: left;
}

.downloads.linux {
	display: flex;
	justify-content: center;
}

/*==============================================================================
    Trial Form
==============================================================================*/

.trial-section {
	padding-top: 2;
	padding-bottom: 4rem;
}

.trial-card {
	max-width: 900px;
	margin: 0 auto;
	padding: 3rem;

	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.trial-card-header {
	display: grid;
	grid-template-columns: 72px 1fr;
	align-items: center;
	gap: 1.5rem;

	padding-bottom: 2rem;
	margin-bottom: 2rem;

	border-bottom: 1px solid var(--border);
}

.trial-card-header h2 {
	margin: 0 0 .45rem;
	font-size: 1.75rem;
	line-height: 1.25;
}

.trial-card-header p {
	margin: 0;
	color: var(--muted);
	font-size: 1.05rem;
}

.trial-icon {
	width: 72px;
	height: 72px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;
	background: rgba(29, 109, 242, .12);
}

.trial-icon img {
	width: 34px;
	height: 34px;
}

.trial-form {
	display: grid;
	gap: 1.75rem;
}

.form-group {
	display: grid;
	gap: .6rem;
}

.form-group label {
	font-size: 1.05rem;
	font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
	width: 100%;
	height: 58px;
	padding: 0 1.1rem;

	border: 2px solid var(--border);
	border-radius: 14px;

	background: #fff;
	color: var(--text);

	font-family: inherit;
	font-size: 1.1rem;

	outline: none;

	transition:
		border-color var(--transition),
		box-shadow var(--transition);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(29, 109, 242, .12);
}

.field-help {
	margin: 0;
	color: var(--muted);
	font-size: .95rem;
}

.form-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.trial-confirmation {
	display: flex;
	align-items: flex-start;
	gap: .9rem;

	padding: 1.15rem 1.25rem;

	background: #f8faff;
	border: 1px solid #e8eefb;
	border-radius: 14px;

	color: #374151;
	font-size: .98rem;
	line-height: 1.55;

	cursor: pointer;
}

.trial-confirmation input {
	width: 20px;
	height: 20px;
	margin-top: .15rem;
	flex-shrink: 0;
	accent-color: var(--primary);
}

.trial-actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.trial-submit {
	min-width: 230px;
	padding: 1rem 1.75rem;

	border: 0;
	border-radius: 14px;

	background: var(--success);
	color: #fff;

	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;

	cursor: pointer;

	transition:
		background var(--transition),
		transform var(--transition);
}

.trial-submit:hover {
	background: var(--success-dark);
	transform: translateY(-2px);
}

.trial-processing-note {
	margin: 0;
	color: var(--muted);
	font-size: .95rem;
}

.trial-security-note {
	display: flex;
	align-items: center;
	gap: .75rem;

	margin-top: 2rem;
	padding-top: 1.5rem;

	border-top: 1px solid var(--border);

	color: var(--muted);
	font-size: .9rem;
}

.trial-security-note img {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.checklist {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

.checklist li {
	margin: 10px 0;
}

.checklist li::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid #555;
	border-radius: 2px;
	margin-top: -3px;
	margin-right: 10px;
	vertical-align: middle;
	box-sizing: border-box;
}

.sublist {
	margin-top: 8px;
	margin-left: 30px;
}