@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/inter-v19-latin-700.woff2') format('woff2');
}

body {
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	background: #fff;
	color: #111;
}

.container, .header {
	max-width: 960px;
	margin: 0 auto;
	padding: 2rem;
	padding-top: 0;
}

.header {
	max-width: 1100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	padding: 2rem;
}

.header nav a {
	color: #111;
	text-decoration: none;
}

.header nav a:hover {
	color: #013DC4;
	text-decoration: underline;
}

.logo {
	font-weight: bold;
	color: #013DC4;
	font-size: 1.2rem;
}

.logo img {
	width: 225px;
}

.hero .container {
	justify-content: space-between;
	align-items: flex-start;
	height: 400px;
}

.hero {
	/*text-align: center;*/
	padding-bottom: 0;
	height: 100%;
	background:
	/*linear-gradient(to top, #290065 0, transparent 60%),*/
	#f4f7ff url(../images/header-doctopus_mobile.jpg) bottom center no-repeat;
	background-size: cover;
}

.hero-text h1 {
	font-size: 2.5rem;
	line-height: 2rem;
	font-weight: 700;
	color: #013DC4;
	margin-bottom: 2rem;
}

.hero-text p {
	color: #333;
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.hero-img img {
	max-width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.signup-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1rem;
	color: #fff;
	margin-top: 300px;
}

.signup-form .signup-input {
	display: flex;
}

.signup-form input[type="email"] {
	padding: 0.6rem;
	width: 100%;
	max-width: 400px;
	border: 1px solid #ccc;
	border-radius: 4px 0px 0px 4px;
}

.signup-form button {
	padding: 0.6rem 2rem;
	background-color: #6688ff;
	color: white;
	border: none;
	border-radius: 0px 4px 4px 0px;
	cursor: pointer;
}

.signup-form button:hover {
	background-color: #ded2f0;
	color: #073dc3;
}

.benefits, .status {
	background: #eaf3ff;
	padding: 2rem 0;
	text-align: center;
	font-size: 1.15rem;
}

.status {
	background: #fff;
}

.benefits h2, .status h2 {
	font-size: 2.5rem;
	line-height: 3rem;
	color: #013DC4;
}

.main-sections {
	display: flex;
	flex-direction: column;
}

.cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 5rem;
}

.card {
	background: white;
	padding: 1rem;
	border-radius: 8px;
	text-align: left;
	border: 1px solid rgba(0, 0, 0, 0.05);
	/*box-shadow: 0 0 8px rgba(0, 0, 0, 0.025);*/
	min-height: 225px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.benefits .cards {
	margin-top: 3rem;
}

.benefits .card {
	padding: 1.5rem;
	min-height: 110px;
}

.card h3 {
	margin-top: 0;
	margin-bottom: 5px;
	color: #013DC4;
	font-size: 1.15rem;
}

.card p {
	font-size: 1rem;
}

.card .meta {
	font-size: 0.8rem;
	line-height: 1rem;
	color: #888;
	margin-top: auto;
	display: block;
	background: url(../images/meta.svg) left center no-repeat;
	padding-left: 63px;
	height: 53px;
}

.card .meta b {
	padding-top: 10px;
	display: block;
	color: #013DC4;
}

.tentacle-bottom::after {
	content: '';
	position: absolute;
	right: 5px;
	bottom: -27px;
	width: 180px;
	height: 90px;
	background-image: url(../images/tentacle_bottom.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 0;
}

.tentacle-left::after {
	content: '';
	position: absolute;
	left: -50px;
	top: -50px;
	width: 128px;
	height: 181px;
	background-image: url(../images/tentacle_left.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 0;
}

.tentacle-right::after {
	content: '';
	position: absolute;
	right: 10px;
	top: -54px;
	width: 78px;
	height: 132px;
	background-image: url(../images/tentacle_top_left.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 0;
}

.footer {
	background: #340065;
	color: white;
	padding: 2rem 0 0 0;
}

.footer .signup-form {
	align-items: center;
	margin-top: 40px;
}

.footer .signup-form input[type="email"] {
	max-width: 300px;
}

.footer .footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.socials a {
	color: white;
	margin: 0 0.5rem;
	font-size: 1.5rem;
	text-decoration: none;
}

.contact-info {
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #6688ff;
}

.contact-info span {
	color: #fff;
	font-weight: 700;
	margin-bottom: 10px;
	display: inline-block;
}

.footer h3 {
	font-size: 0.8rem;
	margin-bottom: 0;
}

.footer .socials {
	margin-top: 5px;
	margin-left: 55px;
}

.footer img {
	width: 225px;
}

.copyright {
	text-align: center;
	font-size: 0.75rem;
	margin-top: 1.5rem;
	padding: 1rem;
	color: #fff;
	background: #6688ff;
}

.signup-form {
	padding: 20px;
	/*background: rgba(50, 0, 104, 0.75);*/
	background: rgba(1, 61, 196, 0.5);
	border-radius: 5px;
	display: none;
}

.footer .signup-form, .status .signup-form {
	background: none;
	display: flex;
}

.status .signup-form {
	background: #340065;
	display: flex;
	margin-top: 50px;
}

.status .signup-form .signup-input {
	display: block;
}

.status .form-wrapper {
	font-size: 1.375rem;
	line-height: 1.5rem;
	position: relative;
}

.status .form-wrapper .signup-form::after {
	content: '';
	position: absolute;
	right: 0px;
	top: -54px;
	width: 78px;
	height: 132px;
	background-image: url(../images/tentacle_top_left.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 0;
}

.status .signup-form .signup-input .email-input {
	border-radius: 4px;
	width: 80%;
	margin-top: 1rem;
}

.status .signup-form .signup-input button {
	border-radius: 4px;
	width: 88%;
	margin-top: 1rem;
}

#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(5, 60, 202, 0.25);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

#form-message {
	position: relative;
	padding: 5rem 0;
	width: 80%;
	border-radius: 5px;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	border: 1px solid rgba(0, 0, 0, 0.05);
	background: #fff;
}

#form-message::before {
	content: '';
	position: absolute;
	left: -50px;
	top: -50px;
	width: 128px;
	height: 181px;
	background-image: url(../images/tentacle_left.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 0;
}

#form-message::after {
	content: '';
	position: absolute;
	right: 5px;
	bottom: -27px;
	width: 180px;
	height: 90px;
	background-image: url(../images/tentacle_bottom.png);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 0;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 2rem;
	color: #666;
	cursor: pointer;
}

.form-message.success { background-color: #d4edda; color: #155724; }
.form-message.error { background-color: #f8d7da; color: #721c24; }

/* Responsive */
@media (min-width: 768px) {

	.header {
		width: 100%;
	}

	.container {
		width: 90%;
		padding: 2rem;
	}

	#form-message {
		width: 500px;
	}

	.hero {
		text-align: left;
		background:
		/*linear-gradient(to top left, #290065 0, transparent 50%),*/
		#f4f7ff url(../images/header-doctopus.jpg) bottom center no-repeat;
		background-size: cover;
		max-width: 1920px;
		margin: 0 auto;
	}

	.hero .container {
		display: flex;
		align-items: flex-start;
		gap: 2rem;
		height: 650px;
	}

	.hero-text {
		max-width: 500px;
	}

	.hero .signup-form {
		margin-top: 500px;
		display: flex;
	}

	.status .signup-form {
		display: none;
	}

	.main-sections {
		flex-direction: column-reverse;
	}

	.benefits, .status {
		padding: 4rem 0;
	}

	.benefits .container h2 {
		margin: 0px 20% 2rem 20%;
	}

	.status .container h2 {
		margin: 0px 15% 2rem 15%;
	}

	.benefits .container p, .status .container p {
		margin: 0 5%;
	}

	.benefits .container .cards p, .status .container .cards p { margin: 0; }

	.cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.card {
		min-height: 250px;
	}

	.benefits .card {
		padding: 1.5rem;
		min-height: 150px;
	}

	.footer .footer-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.footer .signup-form {
		align-items: flex-start;
		padding: 0px;
	}

	.footer .socials {
		margin-left: 0px;
	}

	.contact-info {
		margin-top: 50px;
		text-align: left;
		margin-left: 60px;
	}
}
