/* Simple Profit — Homepage
   Tokens from the active Novamira design (Figma "Simple Profit DEV", node 1222:10391) */

.sp-home {
	--bg: #FFFFFF;
	--surface: #F5F1ED;
	--dark: #292929;
	--ink: #292929;
	--accent: #3499FE;
	--accent2: #FFFD6F;
	--muted: #A6A6A6;
	--font-heading: 'Adapter Hebrew Display', 'Assistant', sans-serif;
	--font-body: 'EditorSans H+L', 'Assistant', sans-serif;
	--font-display: 'Space Grotesk', sans-serif;
	--radius-badge: 16px;
	--radius-card: 20px;
	--radius-pill: 100px;
	--container: 1360px;
	--gutter: 40px;

	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	overflow-x: hidden;
}

.sp-home * { box-sizing: border-box; }
.sp-home img { max-width: 100%; display: block; }
.sp-home a { color: inherit; text-decoration: none; }
.sp-home ul { list-style: none; margin: 0; padding: 0; }
.sp-home h1, .sp-home h2, .sp-home h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.05; margin: 0; }
.sp-home p { margin: 0; }

/* ---------- Buttons / Badges ---------- */
.sp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	border-radius: var(--radius-pill);
	padding: 16px 22px;
	font-family: var(--font-body); font-size: 16px; line-height: 1;
	border: 0.5px solid var(--ink);
	white-space: nowrap;
	transition: transform .15s ease, opacity .15s ease;
}
.sp-btn:hover { transform: translateY(-1px); opacity: .92; }
.sp-btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.sp-btn--secondary { background: var(--accent2); color: var(--ink); }
.sp-btn--large { padding: 20px 40px; font-size: 18px; }

.sp-badge {
	display: inline-flex; align-items: center;
	padding: 2px 10px; border-radius: var(--radius-badge);
	background: #F3F3F3; font-size: 13px; color: var(--ink);
}
.sp-badge.is-highlighted { background: #9ACCFE; }

mark.sp-highlight { background: var(--accent2); color: var(--ink); padding: 0 4px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Nav ---------- */
.sp-nav {
	position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
	width: min(1384px, calc(100% - 80px));
	display: flex; align-items: center; justify-content: space-between;
	background: rgba(255,255,255,.75);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border-radius: var(--radius-pill);
	padding: 15px 25px;
	z-index: 20;
}
.sp-nav__side { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.sp-nav__side a.is-accent { color: var(--accent); }
.sp-nav__logo { display: flex; align-items: center; }
.sp-nav__logo img { display: block; height: 26px; width: auto; max-width: none; }

/* ---------- Hero ---------- */
.sp-hero {
	position: relative;
	min-height: 1007px;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
	padding: 190px var(--gutter) 60px;
	background-size: cover; background-position: center;
	overflow: hidden;
	text-align: center;
	isolation: isolate;
}
.sp-hero__glow {
	position: absolute; inset: -20% -10% auto -10%; height: 900px;
	background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
	filter: blur(60px); opacity: .35; z-index: -1;
}
.sp-hero__content { max-width: 949px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.sp-hero h1 { font-size: clamp(36px, 4.5vw, 70px); color: #1F1916; max-width: 820px; }
.sp-hero__subtitle { font-size: 20px; line-height: 1.35; max-width: 55ch; }
.sp-hero__mockup { margin-top: 60px; max-width: 1226px; width: 100%; }
.sp-hero__mockup img { border-radius: var(--radius-card); width: 100%; }

/* ---------- Trust strip ---------- */
.sp-trust {
	background: var(--bg);
	padding: 56px 60px;
	display: flex; flex-direction: column; align-items: center; gap: 20px;
	border-bottom: 0.5px solid #B3B3B3;
}
.sp-trust__label { font-size: 14px; color: var(--muted); }
.sp-trust__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.sp-trust__logos { width: 100%; max-width: var(--container); margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.sp-trust__logos-track { display: flex; gap: 24px; width: max-content; animation: sp-marquee 28s linear infinite; }
.sp-trust__mark { display: flex; align-items: center; justify-content: center; width: 200px; height: 56px; color: #D9D9D9; font-family: var(--font-heading); font-size: 22px; border: 1px dashed #D9D9D9; border-radius: 8px; }
@keyframes sp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Intro / Stats ---------- */
.sp-intro { background: var(--bg); padding: 100px var(--gutter); display: flex; justify-content: center; }
.sp-intro__inner { max-width: var(--container); width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.sp-intro__cta { flex-shrink: 0; margin-top: 5px; }
.sp-intro__main { display: flex; flex-direction: column; align-items: flex-end; gap: clamp(40px, 8.9vw, 128px); min-width: 0; }
.sp-intro__text { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 56px); line-height: 1.1; text-align: right; max-width: 100%; }
.sp-intro__stats { display: flex; gap: clamp(32px, 12.6vw, 181px); flex-wrap: wrap; justify-content: flex-end; width: 100%; }
.sp-stat { display: flex; align-items: center; gap: 33px; padding-inline-end: 40px; border-inline-end: 0.5px solid var(--ink); text-align: right; }
.sp-stat:last-child { border-inline-end: 0; padding-inline-end: 0; }
.sp-stat__number { font-family: var(--font-heading); font-size: 38px; line-height: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sp-stat__brand { direction: ltr; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.sp-stat__brand-pill { background: var(--ink); color: #fff; border-radius: 8px; padding: 5px 10px 6px; font-size: 20px; }
.sp-stat__label { font-size: 20px; margin-top: 8px; max-width: 16ch; }

/* ---------- Solutions (dark) ---------- */
.sp-solutions { position: relative; background: var(--dark); color: #F5F1ED; padding: 100px var(--gutter); overflow: hidden; isolation: isolate; }
.sp-solutions__glow { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 1160px; height: 1160px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); filter: blur(80px); opacity: .3; z-index: -1; }
.sp-solutions__head { display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: 730px; margin: 0 auto 120px; text-align: center; }
.sp-solutions__head h2 { font-size: clamp(32px, 5vw, 70px); color: #fff; }
.sp-solutions__list { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 80px; }
.sp-solution { display: flex; gap: 82px; align-items: center; }
.sp-solution:nth-child(even) { flex-direction: row-reverse; }
.sp-solution__text { flex: 1 1 480px; display: flex; flex-direction: column; align-items: flex-end; gap: 26px; text-align: right; }
.sp-solution__text h3 { font-size: clamp(28px, 3vw, 48px); color: #F5F1ED; }
.sp-solution__text p { font-size: 18px; line-height: 1.35; color: #F5F1ED; }
.sp-solution__bullets { width: 100%; display: flex; flex-direction: column; }
.sp-solution__bullets li { padding: 12px 0; border-top: 0.5px solid #F5F1ED; font-size: 18px; text-align: right; }
.sp-solution__bullets li:last-child { border-bottom: 0.5px solid #F5F1ED; }
.sp-solution__media { flex: 1 1 560px; }
.sp-solution__media img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius-card); }
.sp-partners-card {
	width: 100%; min-height: 560px; border-radius: var(--radius-card);
	background: radial-gradient(circle at 50% 50%, var(--accent), rgba(52,153,254,0));
	border: 1px solid #fff;
	display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px 30px;
	align-items: center; justify-items: center; padding: 60px;
	overflow: hidden;
}
.sp-partners-card img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }

/* ---------- Values ---------- */
.sp-values { background: var(--surface); padding: 100px var(--gutter) 80px; display: flex; flex-direction: column; align-items: center; gap: 68px; }
.sp-values__head { display: flex; flex-direction: column; align-items: flex-end; gap: 32px; max-width: var(--container); width: 100%; text-align: right; }
.sp-values__head h2 { font-size: clamp(28px, 3.5vw, 48px); max-width: 16ch; align-self: flex-end; }
.sp-values__grid { max-width: var(--container); width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sp-value {
	border: 1px solid var(--ink); border-radius: 4px;
	padding: 50px 40px; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; text-align: right;
	min-height: 320px; justify-content: center;
}
.sp-value--1 { transform: translateY(176px); }
.sp-value--2 { transform: translateY(83px); }
.sp-value__icon { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); background: linear-gradient(135deg, var(--accent2) 40%, transparent 40%); }
.sp-value h3 { font-size: 26px; }
.sp-value p { font-size: 18px; line-height: 1.25; }

/* ---------- Testimonials + CTA + Footer ---------- */
.sp-testimonials { position: relative; padding: 100px var(--gutter) 0; background-color: var(--surface); background-size: cover; background-position: top center; isolation: isolate; }
.sp-testimonials__glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, var(--accent), var(--surface)); filter: blur(120px); opacity: .5; z-index: -1; }
.sp-testimonials__head { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; margin: 0 auto 60px; }
.sp-testimonials__head h2 { font-size: clamp(36px, 6vw, 92px); line-height: .95; max-width: 14ch; }
.sp-testimonials__row { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; align-items: end; }
.sp-testimonial { display: flex; flex-direction: column; gap: 12px; }
.sp-testimonial--0, .sp-testimonial--2 { align-self: end; }
.sp-testimonial--1 { transform: translateY(146px); }
.sp-testimonial--3 { transform: translateY(-40px); }
.sp-testimonial__photo { border-radius: var(--radius-card); border: 1px solid var(--ink); width: 100%; aspect-ratio: 326/429; object-fit: cover; }
.sp-testimonial figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sp-testimonial__venue-logo { height: 43px; width: auto; object-fit: contain; }
.sp-testimonial figcaption span { font-size: 13px; text-align: right; }

.sp-cta {
	margin-top: 60px; padding: 176px var(--gutter);
	background: linear-gradient(to top, var(--dark), rgba(41,41,41,0));
	display: flex; align-items: center; justify-content: center;
}

.sp-footer { background-color: var(--dark); background-size: cover; background-position: center; padding: 70px var(--gutter) 40px; color: #F5F1ED; }
.sp-footer__top { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; padding-bottom: 60px; }
.sp-footer__newsletter { flex: 1 1 320px; max-width: 432px; display: flex; flex-direction: column; align-items: flex-end; gap: 24px; text-align: right; }
.sp-footer__newsletter > p { color: var(--accent); font-size: 20px; }
.sp-footer__form { display: flex; gap: 12px; width: 100%; }
.sp-footer__form input { flex: 1; border-radius: var(--radius-pill); border: 0.5px solid var(--ink); background: var(--surface); color: var(--ink); padding: 12px 20px; font-family: var(--font-body); }
.sp-footer__consent { font-size: 9px; opacity: .8; }
.sp-footer__links { display: flex; gap: 60px; }
.sp-footer__col { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; text-align: right; }
.sp-footer__col-title { color: var(--accent); font-size: 14px; }
.sp-footer__col ul { display: flex; flex-direction: column; gap: 5px; }
.sp-footer__col a { font-size: 16px; }

.sp-footer__wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(60px, 15vw, 241px); line-height: .95; color: #fff; text-align: center; max-width: var(--container); margin: 0 auto; }
.sp-footer__bottom { max-width: var(--container); margin: 25px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; padding-top: 25px; border-top: 0.5px solid rgba(245,241,237,.2); }
.sp-footer__credit { color: var(--accent2); }
.sp-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.sp-values__grid { grid-template-columns: repeat(2, 1fr); }
	.sp-value--1, .sp-value--2 { transform: none; }
	.sp-testimonials__row { grid-template-columns: repeat(2, 1fr); }
	.sp-testimonial--1, .sp-testimonial--3 { transform: none; }
}

@media (max-width: 900px) {
	.sp-nav { position: static; transform: none; width: 100%; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; gap: 12px; }
	.sp-nav__side { flex-wrap: wrap; justify-content: center; }
	.sp-hero { padding-top: 24px; }
	.sp-solution, .sp-solution:nth-child(even) { flex-direction: column; }
	.sp-solution__text, .sp-intro__main, .sp-intro__text, .sp-values__head { align-items: center; text-align: center; }
	.sp-intro__inner { flex-direction: column; align-items: center; }
	.sp-intro__stats { justify-content: center; }
	.sp-footer__top { flex-direction: column; align-items: center; text-align: center; }
	.sp-footer__newsletter, .sp-footer__col { align-items: center; text-align: center; }
	.sp-footer__links { flex-direction: column; gap: 32px; align-items: center; }
}

@media (max-width: 640px) {
	.sp-values__grid, .sp-testimonials__row { grid-template-columns: 1fr; }
	.sp-intro__stats { flex-direction: column; align-items: center; gap: 24px; }
	.sp-stat { border-inline-end: 0; padding-inline-end: 0; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.sp-trust__logos-track { animation: none; }
}
