:root {
	--white: #ffffff;
    --primary: #F97316;
    --primary-gray: #6B7280;
	--cookpea-green: #18de00;
	--cookpea-green-dark: #14b500;
    --background: #fff8f2;
    --text: #000000;
	--text-muted: #4d4d4d;
	--text-input: #f9fcff;
	--header-bg: #6b7280;
	--header-text: #fff8f2;
	--primary-muted: #ffa463;

	--primary-hover: #c75d10;
	--background-hover: #eae3dc;

	--gradient-primary: linear-gradient(to bottom right, var(--background), var(--primary-muted));

    --radius: 10px;
    --maxw: 1500px;
}

/* General */
body {
	margin: 0;
	font-family: 'Inter', system-ui, sans-serif;
	background: var(--background);
	color: var(--text);
}
h1, h2, h3, p {
	padding: 0;
	margin: 0;
}
ul {
	margin: 0;
}
h2, h3 {
	color: var(--text-muted);
}
p, li {
	font-size: 1.1rem;
	color: var(--text-muted);
}
a:link {
	color: var(--primary-muted);
}
a:link:hover {
	color: var(--primary);
}
a:visited {
	color: var(--primary);
}
a:active {
	color: #ff4040;
}
a.alt:link {
	color: skyblue;
}
a:link:hover {
	color: purple;
}
a.alt:visited {
	color: purple;
}

/* Main structure */
.full-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
}
.main-content {
	width: 100%;
	flex: 1;
}
.container {
	flex: 1;
	padding: 56px 56px;
	/* width: 100%; */
	height: auto;
}
.content {
	max-width:var(--maxw); /* Leave this here? */
	height: auto;
	margin:0 auto;
	gap: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.style-2 {
	background: var(--gradient-primary);
}
.style-3 {
	background: var(--primary-gray);
}

/* Text */
.big {
	font-size: 1.3rem;
	font-weight: 500;
}
.center {
	text-align: center;
}
.light {
	color: var(--header-text);
}
.cookpea-title {
	display: flex;
	flex-direction: row;
  	gap: 0;
}
.cookpea-title p {
	font-size: 2.2rem;
	font-weight: 400;
	padding: 0;
	margin: 0;
}
.cookpea-title .cook {
	color: var(--white);
}
.cookpea-title .pea {
	color: var(--primary);
}
.easy-peasy {
	display: flex;
	flex-direction: row;
	gap: 6px;
}
.easy-peasy-title {
	display: flex;
	flex-direction: row;
  	gap: 0;
}
.easy-peasy-title .green {
	color: var(--cookpea-green);
}
.easy-peasy-title .dark-green {
	color: var(--cookpea-green-dark);
}

/* Header */
.header {
	background:var(--header-bg);
	position:sticky;
	top:0;
	z-index:40;
	border-bottom:1px solid rgba(0,0,0,0.04);
	padding-top: 0px;
	padding-bottom: 0px;
	backdrop-filter: blur(4px);
	float: right;
	text-align: right;
}
.header .header-bar {
	display:flex;
	align-items:center;
	justify-content:space-between;
	max-width:var(--maxw);
	margin:0 auto;
	gap:12px;
	height: 80px;
}

.header-left {
	display: flex;
	align-items: center;
	max-width: 40%;
	gap: 10px;
	cursor: pointer;
}
.logo {
  	display:flex;
}
.logo img {
	aspect-ratio: 1.0;
}
.header-logo.small {
 	display: none;
}

.header-center {
	display: flex;
	align-items: center;
	min-width: 100px;
}
.mobile-page-title {
	display: none;
	font-size: 18px;
	font-weight: 600;
	color: var(--header-text);
}
.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 26px;
	color: var(--header-text);
	padding: 4px 8px;
}
.nav-toggle .icon-close {
  	display: none;
}
.nav a {
	margin: 0px;
	padding: 5px 9px;
	border-radius: var(--radius);
	text-decoration:none;
	color:var(--header-text);
	font-weight:600;
	transition: background 0.5s ease, color 0.5s ease;
}
.nav .nav-current {
	color:var(--primary);
	/* background: var(--primary); */
	transition: background 0.5s ease, color 0.5s ease;
}

.header-right {
	min-width: 78px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.btn.short {
	display: none;
}

/* Footer */
.footer {
  /* flex:0 0 auto; */
  text-align:center;
  justify-content: center;
  background: var(--header-bg);
}
.footer p {
  color:var(--header-text);
}
.footer-content {
  z-index: 20;
  max-width: var(--maxw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-items: center;
  padding: 20px 0;
  margin: auto;
}
.footer-top {
  margin-top: 0;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:12px;
}
.footer-top-card {
  width: 250px;
  /* background: red; */
  /* margin-bottom: auto; */
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-top-card .logo img {
  border-radius: var(--radius);
}
.footer-line {
  height: 1px;
  width: 100%;
  background: var(--header-text);
  margin: 20px 0;
}
.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.footer p {
  margin: 0;
  text-align: left;
}
.footer p.lead a {
  color: var(--header-text);
  text-decoration: none;
  transition: color 0.5s ease;
}
.footer-logo-container {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	cursor: pointer;
}

/* Home page */
.available-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	border-radius: 999px;
	border: 2px solid var(--primary-gray);
	padding: 0.6rem 1.4rem;
	margin-bottom: 20px;
	transition: 
		transform 0.5s ease,
		border 0.5s ease;
}
.circle {
	width: 15px;
	height: 15px;
	border-radius: 25px;
	background-color: var(--primary);
	transition: transform 0.5s ease;
}
.title-container {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
}
.logo-container {
	display: flex;
	width: 100%; 
	align-items: center; 
	justify-content: center
}
.logo-img {
    height: 200px;
    aspect-ratio: 1;
	transition: transform 0.5s ease;
}
.contain {
	border-radius: var(--radius);
}
.buttons {
	margin-top: 2rem;
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}
.btn {
	background: var(--primary);
	color: white;
	padding: 0.8rem 1.4rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	transition: 
		background 0.5s ease,
		transform 0.5s ease;
}
.btn.no-style {
	color: white;
}
.btn.secondary {
	background: var(--background);
	border: 2px solid var(--primary);
	color: var(--primary);
}
.screenshots-container {
	width: 100%;
	/* display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 250px)); */
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-items: center;
	margin: 20px 0 0;
}
.screenshot {
	background-color: var(--primary-gray);
	height: 400px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	object-fit: contain;
}
.screenshot p {
	color: var(--header-text);
}
.screenshot img {
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
	border-radius: var(--radius);
	transition: transform 0.5s ease;
}

/* About */
.stats-container {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px,1fr));
	gap: 50px;
}
.stat-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
p.stat {
	font-size: 2rem;
	font-weight: 600;
	color: var(--primary);
}

/* Contact */
.form-container {
	width: 100%;
}
.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.form-grid-item {
	width: 95%;
}
.form-grid-item.left {
	margin-right: auto;
}
.form-grid-item.right {
	margin-left: auto;
}
.input, textarea, select {
	width: 100%;
	padding: 12px;
	margin: 5px 0px;
	border-radius: 8px;
	border: 1px solid rgba(0,0,0,0.08);
	font-size: 0.95rem;
	background-color: var(--text-input);
	color: var(--text);
}
textarea {
	min-height: 140px;
	resize: vertical;
	font-family: 'Inter', system-ui, sans-serif;
}
.form-button {
	display:inline-block;
	background: none;
	padding: 0;
	border: 0;
	cursor: pointer;
	margin-top: 24px;
}

/* Privacy Policy */
.content.privacy {
	align-items: flex-start;
	gap: 15px;
}
.privacy .center {
	margin: auto;
	text-align: center;
}
.privacy h2, .privacy h3 {
	color: var(--text);
	margin-top: 10px;
}


/* Responsive  */
@media (max-width:800px) {
	.header-center {
		display: flex;
		align-items: center;
		gap: 12px;
		position: relative;
		cursor: pointer;
	}
	.mobile-page-title {
		display: block;
		font-size: 18px;
		font-weight: 600;
		flex: 1;
		color: var(--header-text);
		transition: opacity 0.5s ease;
	}
	.nav-toggle {
		display: block;
		background: none;
		border: none;
		padding: 6px;
		cursor: pointer;
		color: var(--header-text);
		position: relative;
	}
	.nav-toggle .icon-menu {
		display: block;
		transition: opacity 0.5s ease;
	}
	.nav-toggle.open .icon-menu {
		opacity: 0;
	}
	.nav-toggle .icon-close {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		opacity: 0;
		transition: opacity 0.5s ease;
	}
	.nav-toggle.open .icon-close {
		opacity: 1;
	}
	.nav {
		position: absolute;
		top: 100%;
		right: 0;
		width: 150px;
		background: var(--header-bg);
		border: 1px solid rgba(0,0,0,0.08);
		border-radius: var(--radius);
		overflow: hidden;
		flex-direction: column;
		z-index: 1000;

		/* collapsed */
		max-height: 0;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition:
		max-height 0.5s ease,
		opacity 0.5s ease,
		transform 0.5s ease;
	}
	.nav.open {
		max-height: 600px;      
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}
	.nav a {
		padding: 12px 14px;
		display: block;
		font-weight: 600;
		border-radius: 0;
	}
	.mobile-page-title.dimmed {
		opacity: 0.3;
	}

	.form-grid {
		grid-template-columns:1fr
	}
	.form-grid-item {
		width: 100%;
	}
}

@media (max-width:650px) {
	.header.container {
		padding: 0px 28px; 
	}
	.header-left .cookpea-title {
		display: none;
	}
	.btn.full {
		display: none;
	}
	.btn.short {
		display: block;
	}
}

/* Only enable hover effects on mouse devices */
@media (hover: hover) and (pointer: fine) {
	/* Header */
	.nav a:hover {
		color: var(--primary-muted);
	}
	.btn.downloadButton:hover {
		transform: scale(1.1);
		background-color: var(--primary);
	}

	/* Footer */
	p.lead a:hover {
		color: var(--primary);
	}

	/* Home */
	.btn:hover {
		background-color: var(--primary-hover);
		transform: translateY(-10%);
	}
	.btn.secondary:hover {
		background-color: var(--background-hover);
	}

	.available-container:hover {
		border: 2px solid var(--primary);
		transform: scale(1.05);
	}
	.available-container:hover .circle {
		transform: scale(1.2);
	}
	.logo-img:hover {
		transform: scale(1.1);
	}
	.screenshot img:hover {
		transform: scale(1.1);
	}
}
