@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
	--bg: #fbf3e3;
	--bg-alt: #f4e7cd;
	--card: #fffdf7;
	--green: #57a63f;
	--green-dark: #3f7d2c;
	--amber: #f4a72a;
	--orange: #ef7d3a;
	--brown: #4f3d2a;
	--text: #6d5b45;
	--border: rgba(79, 61, 42, 0.12);
	--shadow: 0 1.5rem 3.5rem rgba(79, 61, 42, 0.12);
	--shadow-sm: 0 0.6rem 1.6rem rgba(79, 61, 42, 0.1);
	--cta-grad: linear-gradient(135deg, #f7b733 0%, #ef7d3a 100%);
	--radius: 1.6rem;
	--maxw: 120rem;
	--header-h: 8rem;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-family: 'Nunito', sans-serif;
	font-size: 1.7rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

body.fixed {
	overflow: hidden;
}

h1, h2, h3 {
	font-family: 'Fredoka', sans-serif;
	font-weight: 600;
	color: var(--brown);
	line-height: 1.15;
}

a {
	text-decoration: none;
	color: inherit;
}

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

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 2.4rem;
}

.section {
	padding: 8rem 0;
}

.section-head {
	text-align: center;
	max-width: 62rem;
	margin: 0 auto 5rem;
}

.section-head h2 {
	font-size: 3.8rem;
}

.eyebrow {
	display: inline-block;
	font-family: 'Fredoka', sans-serif;
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--green-dark);
	background: rgba(87, 166, 63, 0.12);
	padding: 0.5rem 1.4rem;
	border-radius: 10rem;
	margin-bottom: 1.6rem;
}

/* Preloader */
#preloader {
	position: fixed;
	inset: 0;
	background: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	color: var(--green);
}

#preloader img {
	width: 5.4rem;
	height: 5.4rem;
}

html.hide #preloader {
	display: none;
}

/* Buttons */
.btn {
	display: inline-block;
	font-family: 'Fredoka', sans-serif;
	font-weight: 600;
	font-size: 1.8rem;
	color: #fff;
	background: var(--cta-grad);
	padding: 1.4rem 3.2rem;
	border-radius: 10rem;
	box-shadow: 0 0.8rem 1.8rem rgba(239, 125, 58, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	border: 0;
}

.btn:hover {
	transform: translateY(-0.3rem);
	box-shadow: 0 1.2rem 2.4rem rgba(239, 125, 58, 0.45);
}

.btn-sm {
	font-size: 1.5rem;
	padding: 1rem 2.2rem;
	box-shadow: 0 0.5rem 1.2rem rgba(239, 125, 58, 0.3);
}

.btn-hero {
	font-size: 2rem;
	padding: 1.6rem 3.8rem;
	animation: levitate 3s ease-in-out infinite;
}

.btn-hero:hover {
	animation-play-state: paused;
}

@keyframes levitate {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-0.8rem); }
}

/* Header */
#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-h);
	z-index: 1000;
	transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

#header.scrolled {
	background: rgba(251, 243, 227, 0.92);
	backdrop-filter: blur(10px);
	box-shadow: 0 0.4rem 1.6rem rgba(79, 61, 42, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: 100%;
}

.logo {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.logo-mark {
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 1.1rem;
	box-shadow: var(--shadow-sm);
}

.logo-text {
	font-family: 'Fredoka', sans-serif;
	font-weight: 700;
	font-size: 2.2rem;
	color: var(--brown);
}

.nav {
	display: flex;
	gap: 2.8rem;
	margin-left: auto;
}

.nav-link {
	font-family: 'Fredoka', sans-serif;
	font-weight: 500;
	font-size: 1.6rem;
	color: var(--brown);
	position: relative;
	padding: 0.4rem 0;
	transition: color 0.2s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 0.2rem;
	background: var(--green);
	border-radius: 2px;
	transition: width 0.25s ease;
}

.nav-link:hover {
	color: var(--green-dark);
}

.nav-link:hover::after {
	width: 100%;
}

.header-cta {
	flex-shrink: 0;
}

.burger-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	width: 4.4rem;
	height: 4.4rem;
	background: transparent;
	border: 0;
	cursor: pointer;
	margin-left: auto;
}

.burger-btn span {
	display: block;
	width: 2.6rem;
	height: 0.3rem;
	border-radius: 2px;
	background: var(--brown);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.act span:nth-child(1) {
	transform: translateY(0.8rem) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
	opacity: 0;
}

.burger-btn.act span:nth-child(3) {
	transform: translateY(-0.8rem) rotate(-45deg);
}

/* Mobile menu */
#mobile-menu {
	position: fixed;
	top: var(--header-h);
	left: 0;
	width: 100%;
	background: var(--bg);
	box-shadow: 0 1.2rem 2rem rgba(79, 61, 42, 0.12);
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-1rem);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.opened {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	padding: 2rem 2.4rem 3rem;
	gap: 0.5rem;
}

.mobile-nav .nav-link {
	padding: 1.3rem 0;
	font-size: 2rem;
	border-bottom: 1px solid var(--border);
}

.mobile-cta {
	margin-top: 1.6rem;
	text-align: center;
}

/* Hero */
.hero {
	position: relative;
	padding: calc(var(--header-h) + 5rem) 0 8rem;
	background: radial-gradient(120% 90% at 80% 0%, #fdf8ec 0%, var(--bg) 45%, var(--bg-alt) 100%);
	overflow: hidden;
}

.hero-decor {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.5;
	pointer-events: none;
}

.hero-decor-1 {
	width: 32rem;
	height: 32rem;
	background: radial-gradient(circle, rgba(87, 166, 63, 0.35), transparent 70%);
	top: -6rem;
	left: -8rem;
}

.hero-decor-2 {
	width: 40rem;
	height: 40rem;
	background: radial-gradient(circle, rgba(244, 167, 42, 0.3), transparent 70%);
	bottom: -12rem;
	right: -6rem;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 5rem;
}

.hero-content h1 {
	font-size: 5.4rem;
	font-weight: 700;
	margin: 1.4rem 0 2rem;
}

.hero-sub {
	font-size: 1.9rem;
	max-width: 52rem;
	margin-bottom: 3rem;
}

.hero-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.hero-note {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--green-dark);
}

.hero-visual {
	display: flex;
	justify-content: center;
}

/* Phone frame */
.phone {
	position: relative;
	width: 27rem;
	max-width: 100%;
	border: 0.9rem solid #3a2c1e;
	border-radius: 3.4rem;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: #3a2c1e;
}

.phone img {
	width: 100%;
	border-radius: 2.6rem;
}

.hero-visual .phone {
	transform: rotate(2deg);
}

/* About */
.about {
	background: var(--bg);
}

.about-inner {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: center;
	gap: 5rem;
}

.about-visual {
	display: flex;
	justify-content: center;
}

.about-visual .phone {
	transform: rotate(-2deg);
}

.about-content h2 {
	font-size: 3.6rem;
	margin-bottom: 2rem;
}

.about-content p {
	margin-bottom: 1.4rem;
}

/* Features */
.features {
	background: var(--bg-alt);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.4rem;
}

.feature-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.6rem 1.6rem 2.4rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
	transform: translateY(-0.6rem);
	box-shadow: var(--shadow);
}

.feature-thumb {
	border-radius: 1.2rem;
	overflow: hidden;
	margin-bottom: 1.8rem;
	aspect-ratio: 3 / 4;
}

.feature-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.feature-card h3 {
	font-size: 2rem;
	margin-bottom: 0.8rem;
}

.feature-card p {
	font-size: 1.55rem;
}

/* How it works */
.how {
	background: var(--bg);
}

.how-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
}

.how-card {
	position: relative;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2.4rem;
	box-shadow: var(--shadow-sm);
	text-align: center;
}

.how-num {
	position: absolute;
	top: -1.8rem;
	left: 50%;
	transform: translateX(-50%);
	width: 4.4rem;
	height: 4.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Fredoka', sans-serif;
	font-weight: 700;
	font-size: 2rem;
	color: #fff;
	background: var(--cta-grad);
	border-radius: 50%;
	box-shadow: 0 0.6rem 1.4rem rgba(239, 125, 58, 0.4);
}

.how-thumb {
	border-radius: 1.2rem;
	overflow: hidden;
	margin: 1.6rem 0 1.8rem;
	aspect-ratio: 3 / 4;
	max-width: 20rem;
	margin-left: auto;
	margin-right: auto;
}

.how-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.how-card h3 {
	font-size: 2.2rem;
	margin-bottom: 0.8rem;
}

/* Reviews */
.reviews {
	background: var(--bg-alt);
}

.review-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.4rem;
}

.review-card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2.8rem;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}

.stars {
	font-size: 1.9rem;
	color: var(--amber);
	letter-spacing: 0.15em;
	margin-bottom: 1.4rem;
}

.star-empty {
	color: rgba(79, 61, 42, 0.2);
}

.review-quote {
	font-family: 'Fredoka', sans-serif;
	font-weight: 500;
	font-size: 1.85rem;
	color: var(--brown);
	line-height: 1.4;
	margin-bottom: 1.2rem;
}

.review-body {
	font-size: 1.6rem;
	margin-bottom: 1.6rem;
}

.review-name {
	margin-top: auto;
	font-weight: 800;
	color: var(--green-dark);
}

/* FAQ */
.faq {
	background: var(--bg);
}

.faq-list {
	max-width: 82rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.faq-item {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.6rem;
	text-align: left;
	font-family: 'Fredoka', sans-serif;
	font-weight: 500;
	font-size: 1.95rem;
	color: var(--brown);
	background: transparent;
	border: 0;
	padding: 2.2rem 2.4rem;
	cursor: pointer;
}

.faq-icon {
	position: relative;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
}

.faq-icon::before,
.faq-icon::after {
	content: '';
	position: absolute;
	background: var(--green);
	border-radius: 2px;
	transition: transform 0.3s ease;
}

.faq-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 0.3rem;
	transform: translateY(-50%);
}

.faq-icon::after {
	left: 50%;
	top: 0;
	width: 0.3rem;
	height: 100%;
	transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
	transform: translateX(-50%) scaleY(0);
}

.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.faq-a p {
	padding: 0 2.4rem 2.2rem;
	font-size: 1.65rem;
}

/* Final CTA */
.final-cta {
	position: relative;
	text-align: center;
	color: #fff;
	background: linear-gradient(180deg, rgba(63, 125, 44, 0.82), rgba(63, 125, 44, 0.92)), url('../img/valley-bg.webp') center/cover no-repeat;
}

.final-inner {
	position: relative;
	max-width: 68rem;
}

.final-cta h2 {
	color: #fff;
	font-size: 4rem;
	margin-bottom: 1.4rem;
}

.final-cta p {
	font-size: 1.9rem;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 3rem;
}

/* Footer */
#footer {
	background: #3a2c1e;
	color: rgba(255, 255, 255, 0.75);
	padding: 4rem 0;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.8rem;
	text-align: center;
}

#footer .logo-text {
	color: #fff;
}

.footer-links {
	display: flex;
	gap: 2.4rem;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-links a {
	font-family: 'Fredoka', sans-serif;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--amber);
}

.copyright {
	font-size: 1.45rem;
	color: rgba(255, 255, 255, 0.55);
}

/* Legal pages */
.legal-page {
	padding: calc(var(--header-h) + 5rem) 0 8rem;
	background: var(--bg);
}

.legal-content {
	max-width: 82rem;
	margin: 0 auto;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 4rem 4.4rem;
}

.legal-content h1 {
	font-size: 3.6rem;
	margin-bottom: 2rem;
}

.legal-content h2 {
	font-size: 2.3rem;
	margin: 2.8rem 0 1rem;
}

.legal-content p,
.legal-content li {
	font-size: 1.6rem;
	margin-bottom: 1.2rem;
}

.legal-content ul,
.legal-content ol {
	padding-left: 2.4rem;
	margin-bottom: 1.2rem;
}

.legal-content a {
	color: var(--green-dark);
	font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
	.section-head h2 { font-size: 3.4rem; }
	.hero-content h1 { font-size: 4.6rem; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.nav, .header-cta { display: none; }
	.burger-btn { display: flex; }
	.hero-inner { grid-template-columns: 1fr; text-align: center; }
	.hero-content h1 { font-size: 4rem; }
	.hero-cta { align-items: center; }
	.hero-sub { margin-left: auto; margin-right: auto; }
	.hero-visual { order: -1; margin-bottom: 2rem; }
	.about-inner { grid-template-columns: 1fr; }
	.about-visual { order: -1; }
	.how-grid { grid-template-columns: 1fr; gap: 4rem; max-width: 42rem; margin: 0 auto; }
	.review-grid { grid-template-columns: 1fr; max-width: 48rem; margin: 0 auto; }
}

@media (max-width: 640px) {
	.section { padding: 6rem 0; }
	.section-head h2 { font-size: 2.9rem; }
	.hero-content h1 { font-size: 3.4rem; }
	.hero-sub { font-size: 1.7rem; }
	.feature-grid { grid-template-columns: 1fr; max-width: 40rem; margin: 0 auto; }
	.about-content h2 { font-size: 2.9rem; }
	.final-cta h2 { font-size: 3rem; }
	.logo-text { font-size: 1.9rem; }
	.legal-content { padding: 3rem 2.2rem; }
}
